Differentiation, Integration & Applications
A limit describes the value a function approaches as the input approaches a particular point:
$$\lim_{x o a} f(x) = L$$
means $f(x)$ gets arbitrarily close to $L$ as $x$ approaches $a$ (but need not equal $L$ at $x = a$).
A function $f$ is continuous at $x = a$ if three conditions hold:
The derivative $f'(x)$ gives the instantaneous rate of change of $f$ at $x$, and equals the gradient of the tangent to $y = f(x)$ at that point.
$\dfrac{d}{dx}[x^n] = nx^{n-1}$
$\dfrac{d}{dx}[e^x] = e^x$
$\dfrac{d}{dx}[\ln x] = \dfrac{1}{x}$
$\dfrac{d}{dx}[\sin x] = \cos x$
$\dfrac{d}{dx}[\cos x] = -\sin x$
$\dfrac{d}{dx}[\tan x] = \sec^2 x$
At the point $(a, f(a))$:
At a stationary point $x = c$ (where $f'(c) = 0$):
A point of inflection is where concavity changes ($f''(x) = 0$ and changes sign).
Second derivative test: if $f'(c)=0$ and $f''(c) < 0$, then local max; if $f''(c) > 0$, then local min.
Integration is the reverse of differentiation. The indefinite integral includes an arbitrary constant $C$.
$\displaystyle\int x^n\,dx = \dfrac{x^{n+1}}{n+1} + C \quad (n \neq -1)$
$\displaystyle\int e^x\,dx = e^x + C$
$\displaystyle\int \frac{1}{x}\,dx = \ln|x| + C$
$\displaystyle\int \sin x\,dx = -\cos x + C$
$\displaystyle\int \cos x\,dx = \sin x + C$
For $\displaystyle\int f(g(x)) \cdot g'(x)\,dx$, let $u = g(x)$, then $du = g'(x)\,dx$:
$$\int f(g(x)) \cdot g'(x)\,dx = \int f(u)\,du$$
$$\int_a^b f(x)\,dx = F(b) - F(a)$$
where $F$ is any antiderivative of $f$ (i.e., $F' = f$).
The area enclosed between $y = f(x)$ (upper) and $y = g(x)$ (lower), from $x = a$ to $x = b$:
$$A = \int_a^b [f(x) - g(x)]\,dx$$
If the curves intersect, find the intersection points first and split the integral as needed.
Calculus connects the three kinematic quantities: displacement $s$, velocity $v$, and acceleration $a$.
$$v = \frac{ds}{dt} = s'(t) \qquad a = \frac{dv}{dt} = v'(t) = s''(t)$$
$$s = \int v\,dt \qquad v = \int a\,dt$$
Find the local maxima and minima of $f(x) = 2x^3 - 9x^2 + 12x - 4$.
Find the area enclosed by $y = x^2 - 4$ and the $x$-axis.
A particle moves along a straight line with velocity $v(t) = t^2 - 5t + 6$ m/s, $t \geq 0$. (a) Find when the particle is at rest. (b) Find the total distance travelled in the first 4 seconds.
Q1. Differentiate $f(x) = (3x^2 + 1)^4$ using the chain rule.
Let $u = 3x^2 + 1$, so $f = u^4$.
$\dfrac{du}{dx} = 6x$ and $\dfrac{df}{du} = 4u^3$.
$f'(x) = 4u^3 \cdot 6x = 4(3x^2+1)^3 \cdot 6x = \mathbf{24x(3x^2+1)^3}$
Q2. Find the equation of the tangent to $y = x^3 - 3x + 2$ at the point where $x = 2$.
At $x = 2$: $y = 8 - 6 + 2 = 4$. Point: $(2, 4)$.
$y' = 3x^2 - 3$. At $x = 2$: $m = 3(4)-3 = 9$.
Tangent: $y - 4 = 9(x - 2) \implies \mathbf{y = 9x - 14}$.
Q3. Evaluate $\displaystyle\int_0^{\pi/2} (2\sin x + 3\cos x)\,dx$.
$\displaystyle\int_0^{\pi/2}(2\sin x + 3\cos x)\,dx = \big[-2\cos x + 3\sin x\big]_0^{\pi/2}$
$= \big(-2\cos\frac{\pi}{2} + 3\sin\frac{\pi}{2}\big) - \big(-2\cos 0 + 3\sin 0\big)$
$= (0 + 3) - (-2 + 0) = 3 + 2 = \mathbf{5}$
Q4. The acceleration of a particle is $a(t) = 6t - 2$ m/s². The particle has velocity $v = 3$ m/s at $t = 0$. Find $v(t)$ and the displacement from $t = 0$ to $t = 3$.
$v(t) = \displaystyle\int a\,dt = 3t^2 - 2t + C$. Using $v(0) = 3$: $C = 3$. So $v(t) = 3t^2 - 2t + 3$.
Displacement $= \displaystyle\int_0^3 v\,dt = \big[t^3 - t^2 + 3t\big]_0^3 = (27 - 9 + 9) - 0 = \mathbf{27}$ m.