This chapter covers Advanced Higher Mathematics content.
Further Differentiation Implicit Differentiation When a function is defined implicitly (e.g., x 2 + y 2 = 25 x^2 + y^2 = 25 x 2 + y 2 = 25 ), differentiate both sides with
Respect to x x x Treating y y y as a function of x x x .
d d x [ y n ] = n y n − 1 d y d x \frac{d}{dx}[y^n] = ny^{n-1}\frac{dy}{dx} d x d [ y n ] = n y n − 1 d x d y This is the chain rule applied to y ( x ) n y(x)^n y ( x ) n : d d x [ y n ] = n y n − 1 ⋅ y ′ ( x ) \frac{d}{dx}[y^n] = ny^{n-1} \cdot y'(x) d x d [ y n ] = n y n − 1 ⋅ y ′ ( x ) .
Example: Find d y d x \dfrac{dy}{dx} d x d y for x 2 + y 2 = 25 x^2 + y^2 = 25 x 2 + y 2 = 25 .
2 x + 2 y d y d x = 0 2x + 2y\frac{dy}{dx} = 0 2 x + 2 y d x d y = 0 d y d x = − x y \frac{dy}{dx} = -\frac{x}{y} d x d y = − y x This makes geometric sense: on the upper semicircle (y > 0 y > 0 y > 0 ), increasing x x x decreases y y y Giving A
negative slope. On the lower semicircle (y < 0 y < 0 y < 0 ), the slope is positive.
Example: Find d y d x \dfrac{dy}{dx} d x d y for x 3 + y 3 = 6 x y x^3 + y^3 = 6xy x 3 + y 3 = 6 x y .
Differentiate implicitly:
3 x 2 + 3 y 2 d y d x = 6 y + 6 x d y d x 3x^2 + 3y^2\frac{dy}{dx} = 6y + 6x\frac{dy}{dx} 3 x 2 + 3 y 2 d x d y = 6 y + 6 x d x d y 3 y 2 d y d x − 6 x d y d x = 6 y − 3 x 2 3y^2\frac{dy}{dx} - 6x\frac{dy}{dx} = 6y - 3x^2 3 y 2 d x d y − 6 x d x d y = 6 y − 3 x 2 d y d x ( 3 y 2 − 6 x ) = 6 y − 3 x 2 \frac{dy}{dx}(3y^2 - 6x) = 6y - 3x^2 d x d y ( 3 y 2 − 6 x ) = 6 y − 3 x 2 d y d x = 6 y − 3 x 2 3 y 2 − 6 x = 2 y − x 2 y 2 − 2 x \frac{dy}{dx} = \frac{6y - 3x^2}{3y^2 - 6x} = \frac{2y - x^2}{y^2 - 2x} d x d y = 3 y 2 − 6 x 6 y − 3 x 2 = y 2 − 2 x 2 y − x 2 Example: Find the tangent to x 2 + y 2 + 2 x − 4 y = 11 x^2 + y^2 + 2x - 4y = 11 x 2 + y 2 + 2 x − 4 y = 11 at the point ( 1 , 2 ) (1, 2) ( 1 , 2 ) .
Verify: 1 + 4 + 2 − 8 = − 1 ≠ 11 1 + 4 + 2 - 8 = -1 \neq 11 1 + 4 + 2 − 8 = − 1 = 11 . The point is not on the curve. Let us find the gradient
Function first:
2 x + 2 y d y d x + 2 − 4 d y d x = 0 2x + 2y\frac{dy}{dx} + 2 - 4\frac{dy}{dx} = 0 2 x + 2 y d x d y + 2 − 4 d x d y = 0 ( 2 y − 4 ) d y d x = − 2 x − 2 (2y - 4)\frac{dy}{dx} = -2x - 2 ( 2 y − 4 ) d x d y = − 2 x − 2 d y d x = − 2 x − 2 2 y − 4 = − x − 1 y − 2 \frac{dy}{dx} = \frac{-2x - 2}{2y - 4} = \frac{-x - 1}{y - 2} d x d y = 2 y − 4 − 2 x − 2 = y − 2 − x − 1 Second derivatives implicitly. Differentiate d y d x \frac{dy}{dx} d x d y again with respect to x x x Using The
chain rule wherever y y y appears.
Parametric Differentiation If x = f ( t ) x = f(t) x = f ( t ) and y = g ( t ) y = g(t) y = g ( t ) Then:
d y d x = d y / d t d x / d t = g ′ ( t ) f ′ ( t ) \frac{dy}{dx} = \frac{dy/dt}{dx/dt} = \frac{g'(t)}{f'(t)} d x d y = d x / d t d y / d t = f ′ ( t ) g ′ ( t ) This follows from the chain rule: d y d x = d y / d t d x / d t \frac{dy}{dx} = \frac{dy/dt}{dx/dt} d x d y = d x / d t d y / d t .
Second Derivative:
d 2 y d x 2 = d d x ( d y d x ) = d d t ( d y d x ) d x / d t \frac{d^2y}{dx^2} = \frac{d}{dx}\left(\frac{dy}{dx}\right) = \frac{\frac{d}{dt}\left(\frac{dy}{dx}\right)}{dx/dt} d x 2 d 2 y = d x d ( d x d y ) = d x / d t d t d ( d x d y ) Example: A curve has parametric equations x = 2 cos t x = 2\cos t x = 2 cos t , y = sin 2 t y = \sin 2t y = sin 2 t . Find d y d x \dfrac{dy}{dx} d x d y at
t = π 4 t = \dfrac{\pi}{4} t = 4 π .
d x d t = − 2 sin t , d y d t = 2 cos 2 t \frac{dx}{dt} = -2\sin t, \quad \frac{dy}{dt} = 2\cos 2t d t d x = − 2 sin t , d t d y = 2 cos 2 t d y d x = 2 cos 2 t − 2 sin t = − cos 2 t sin t \frac{dy}{dx} = \frac{2\cos 2t}{-2\sin t} = -\frac{\cos 2t}{\sin t} d x d y = − 2 sin t 2 cos 2 t = − sin t cos 2 t At t = π 4 t = \dfrac{\pi}{4} t = 4 π :
d y d x = − cos ( π / 2 ) sin ( π / 4 ) = − 0 1 / 2 = 0 \frac{dy}{dx} = -\frac{\cos(\pi/2)}{\sin(\pi/4)} = -\frac{0}{1/\sqrt{2}} = 0 d x d y = − sin ( π /4 ) cos ( π /2 ) = − 1/ 2 0 = 0 Example: Find d 2 y d x 2 \frac{d^2y}{dx^2} d x 2 d 2 y for x = t 2 x = t^2 x = t 2 , y = t 3 y = t^3 y = t 3 .
d y d x = 3 t 2 2 t = 3 t 2 \frac{dy}{dx} = \frac{3t^2}{2t} = \frac{3t}{2} d x d y = 2 t 3 t 2 = 2 3 t d 2 y d x 2 = d / d t ( 3 t / 2 ) d x / d t = 3 / 2 2 t = 3 4 t \frac{d^2y}{dx^2} = \frac{d/dt(3t/2)}{dx/dt} = \frac{3/2}{2t} = \frac{3}{4t} d x 2 d 2 y = d x / d t d / d t ( 3 t /2 ) = 2 t 3/2 = 4 t 3 Differentiation of Inverse Trigonometric Functions d d x [ arcsin x ] = 1 1 − x 2 , ∣ x ∣ < 1 \frac{d}{dx}[\arcsin x] = \frac{1}{\sqrt{1 - x^2}}, \quad |x| < 1 d x d [ arcsin x ] = 1 − x 2 1 , ∣ x ∣ < 1 d d x [ arccos x ] = − 1 1 − x 2 , ∣ x ∣ < 1 \frac{d}{dx}[\arccos x] = \frac{-1}{\sqrt{1 - x^2}}, \quad |x| < 1 d x d [ arccos x ] = 1 − x 2 − 1 , ∣ x ∣ < 1 d d x [ arctan x ] = 1 1 + x 2 \frac{d}{dx}[\arctan x] = \frac{1}{1 + x^2} d x d [ arctan x ] = 1 + x 2 1 Proof that d d x [ arctan x ] = 1 1 + x 2 \frac{d}{dx}[\arctan x] = \frac{1}{1+x^2} d x d [ arctan x ] = 1 + x 2 1 . Let y = arctan x y = \arctan x y = arctan x So x = tan y x = \tan y x = tan y .
Differentiating implicitly: 1 = sec 2 y ⋅ d y d x 1 = \sec^2 y \cdot \frac{dy}{dx} 1 = sec 2 y ⋅ d x d y Giving
d y d x = 1 sec 2 y = 1 1 + tan 2 y = 1 1 + x 2 \frac{dy}{dx} = \frac{1}{\sec^2 y} = \frac{1}{1 + \tan^2 y} = \frac{1}{1 + x^2} d x d y = s e c 2 y 1 = 1 + t a n 2 y 1 = 1 + x 2 1 .
Example: Differentiate f ( x ) = arcsin ( 3 x ) f(x) = \arcsin(3x) f ( x ) = arcsin ( 3 x ) .
F ′ ( x ) = 1 1 − ( 3 x ) 2 ⋅ 3 = 3 1 − 9 x 2 F'(x) = \frac{1}{\sqrt{1 - (3x)^2}} \cdot 3 = \frac{3}{\sqrt{1 - 9x^2}} F ′ ( x ) = 1 − ( 3 x ) 2 1 ⋅ 3 = 1 − 9 x 2 3 Logarithmic Differentiation For functions of the form y = [ f ( x ) ] g ( x ) y = [f(x)]^{g(x)} y = [ f ( x ) ] g ( x ) Take natural logarithms first:
ln y = g ( x ) ln f ( x ) \ln y = g(x) \ln f(x) ln y = g ( x ) ln f ( x ) Then differentiate implicitly.
Example: Differentiate y = x x y = x^x y = x x .
ln y = x ln x \ln y = x \ln x ln y = x ln x 1 y d y d x = ln x + x ⋅ 1 x = ln x + 1 \frac{1}{y}\frac{dy}{dx} = \ln x + x \cdot \frac{1}{x} = \ln x + 1 y 1 d x d y = ln x + x ⋅ x 1 = ln x + 1 d y d x = y ( ln x + 1 ) = x x ( ln x + 1 ) \frac{dy}{dx} = y(\ln x + 1) = x^x(\ln x + 1) d x d y = y ( ln x + 1 ) = x x ( ln x + 1 ) Example: Differentiate y = x sin x y = x^{\sin x} y = x s i n x .
ln y = sin x ⋅ ln x \ln y = \sin x \cdot \ln x ln y = sin x ⋅ ln x 1 y d y d x = cos x ⋅ ln x + sin x ⋅ 1 x \frac{1}{y}\frac{dy}{dx} = \cos x \cdot \ln x + \sin x \cdot \frac{1}{x} y 1 d x d y = cos x ⋅ ln x + sin x ⋅ x 1 d y d x = x sin x ( cos x ln x + sin x x ) \frac{dy}{dx} = x^{\sin x}\!\left(\cos x \ln x + \frac{\sin x}{x}\right) d x d y = x s i n x ( cos x ln x + x sin x ) Related rates problems involve finding the rate of change of one quantity given the rate of change
Of a related quantity.
Example: A ladder 5 m long leans against a wall. The bottom slides away at 0.5 m/s. How fast is
The top sliding down when the bottom is 3 m from the wall?
Let x x x be the distance from the wall and y y y be the height. Then x 2 + y 2 = 25 x^2 + y^2 = 25 x 2 + y 2 = 25 .
Differentiate: 2 x d x d t + 2 y d y d t = 0 2x\frac{dx}{dt} + 2y\frac{dy}{dt} = 0 2 x d t d x + 2 y d t d y = 0 .
When x = 3 x = 3 x = 3 : y = 25 − 9 = 4 y = \sqrt{25 - 9} = 4 y = 25 − 9 = 4 .
2(3)(0.5) + 2(4)\frac{dy}{dt} = 0 \implies 3 + 8\frac{dy}{dt} = 0 \implies \frac{dy}{dt} = -\frac{3}{8} \mathrm{ m/s Further Integration Integration by Parts ∫ u d v = u v − ∫ v d u \int u \, dv = uv - \int v \, du ∫ u d v = uv − ∫ v d u Proof. By the product rule: d d x [ u v ] = u ′ v + u v ′ \frac{d}{dx}[uv] = u'v + uv' d x d [ uv ] = u ′ v + u v ′ So u v ′ = d d x [ u v ] − u ′ v uv' = \frac{d}{dx}[uv] - u'v u v ′ = d x d [ uv ] − u ′ v .
Integrating both sides: ∫ u v ′ d x = u v − ∫ u ′ v d x \int uv'\,dx = uv - \int u'v\,dx ∫ u v ′ d x = uv − ∫ u ′ v d x .
LIATE rule for choosing u u u (in order of priority): Logarithmic, Inverse trig, Algebraic,
Trigonometric, Exponential. Choose u u u as the function that appears earliest in this list.
Example: Evaluate ∫ x e 2 x d x \int x e^{2x} \, dx ∫ x e 2 x d x .
Let u = x$$dv = e^{2x} dx . Then du = dx$$v = \dfrac{e^{2x}}{2} .
∫ x e 2 x d x = x ⋅ e 2 x 2 − ∫ e 2 x 2 d x = x e 2 x 2 − e 2 x 4 + C = e 2 x ( 2 x − 1 ) 4 + C \int x e^{2x} \, dx = x \cdot \frac{e^{2x}}{2} - \int \frac{e^{2x}}{2} \, dx = \frac{x e^{2x}}{2} - \frac{e^{2x}}{4} + C = \frac{e^{2x}(2x - 1)}{4} + C ∫ x e 2 x d x = x ⋅ 2 e 2 x − ∫ 2 e 2 x d x = 2 x e 2 x − 4 e 2 x + C = 4 e 2 x ( 2 x − 1 ) + C Example: Evaluate ∫ x 2 cos x d x \int x^2 \cos x \, dx ∫ x 2 cos x d x .
Let u = x^2$$dv = \cos x \, dx . Then du = 2x \, dx$$v = \sin x .
= x 2 sin x − ∫ 2 x sin x d x = x^2 \sin x - \int 2x \sin x \, dx = x 2 sin x − ∫ 2 x sin x d x Apply integration by parts again for ∫ x sin x d x \int x \sin x \, dx ∫ x sin x d x :
Let u = x$$dv = \sin x \, dx . Then du = dx$$v = -\cos x .
∫ x sin x d x = − x cos x + ∫ cos x d x = − x cos x + sin x \int x \sin x \, dx = -x\cos x + \int \cos x \, dx = -x\cos x + \sin x ∫ x sin x d x = − x cos x + ∫ cos x d x = − x cos x + sin x So:
∫ x 2 cos x d x = x 2 sin x − 2 ( − x cos x + sin x ) + C = x 2 sin x + 2 x cos x − 2 sin x + C \int x^2 \cos x \, dx = x^2 \sin x - 2(-x\cos x + \sin x) + C = x^2 \sin x + 2x\cos x - 2\sin x + C ∫ x 2 cos x d x = x 2 sin x − 2 ( − x cos x + sin x ) + C = x 2 sin x + 2 x cos x − 2 sin x + C Cyclic Integration by Parts Some integrals require integration by parts twice, then solving algebraically.
Example: Evaluate ∫ e x cos x d x \int e^x \cos x \, dx ∫ e x cos x d x .
Let u = e^x$$dv = \cos x\,dx . Then du = e^x\,dx$$v = \sin x .
I = e x sin x − ∫ e x sin x d x I = e^x \sin x - \int e^x \sin x\,dx I = e x sin x − ∫ e x sin x d x Apply parts again for ∫ e x sin x d x \int e^x \sin x\,dx ∫ e x sin x d x : u = e^x$$dv = \sin x\,dx .
∫ e x sin x d x = − e x cos x + ∫ e x cos x d x = − e x cos x + I \int e^x \sin x\,dx = -e^x \cos x + \int e^x \cos x\,dx = -e^x \cos x + I ∫ e x sin x d x = − e x cos x + ∫ e x cos x d x = − e x cos x + I Substituting back:
I = e x sin x − ( − e x cos x + I ) = e x sin x + e x cos x − I I = e^x \sin x - (-e^x \cos x + I) = e^x \sin x + e^x \cos x - I I = e x sin x − ( − e x cos x + I ) = e x sin x + e x cos x − I 2 I = e x ( sin x + cos x ) 2I = e^x(\sin x + \cos x) 2 I = e x ( sin x + cos x ) I = e x ( sin x + cos x ) 2 + C I = \frac{e^x(\sin x + \cos x)}{2} + C I = 2 e x ( sin x + cos x ) + C Integration by Substitution \int f(g(x))g'(x) \, dx = \int f(u) \, du \quad \mathrm{where u = g(x) Example: Evaluate ∫ x x 2 + 1 d x \int \dfrac{x}{x^2 + 1} \, dx ∫ x 2 + 1 x d x .
Let u = x 2 + 1 u = x^2 + 1 u = x 2 + 1 So d u = 2 x d x du = 2x \, dx d u = 2 x d x Giving 1 2 d u = x d x \dfrac{1}{2} du = x \, dx 2 1 d u = x d x .
∫ x x 2 + 1 d x = 1 2 ∫ d u u = 1 2 ln ∣ u ∣ + C = 1 2 ln ( x 2 + 1 ) + C \int \frac{x}{x^2 + 1} \, dx = \frac{1}{2}\int \frac{du}{u} = \frac{1}{2}\ln|u| + C = \frac{1}{2}\ln(x^2 + 1) + C ∫ x 2 + 1 x d x = 2 1 ∫ u d u = 2 1 ln ∣ u ∣ + C = 2 1 ln ( x 2 + 1 ) + C Definite Integration by Substitution When using substitution in a definite integral, you must change the limits.
Example: Evaluate ∫ 0 1 2 x x 2 + 1 d x \displaystyle\int_0^1 \frac{2x}{x^2 + 1}\,dx ∫ 0 1 x 2 + 1 2 x d x .
Let u = x 2 + 1 u = x^2 + 1 u = x 2 + 1 . When x = 0$$u = 1 . When x = 1$$u = 2 .
∫ 0 1 2 x x 2 + 1 d x = ∫ 1 2 d u u = [ ln u ] 1 2 = ln 2 − ln 1 = ln 2 \int_0^1 \frac{2x}{x^2 + 1}\,dx = \int_1^2 \frac{du}{u} = [\ln u]_1^2 = \ln 2 - \ln 1 = \ln 2 ∫ 0 1 x 2 + 1 2 x d x = ∫ 1 2 u d u = [ ln u ] 1 2 = ln 2 − ln 1 = ln 2 Partial Fractions in Integration Rational functions can be decomposed using partial fractions to make them easier to integrate.
Example: Evaluate ∫ 2 x + 1 ( x + 1 ) ( x − 2 ) d x \displaystyle\int \frac{2x + 1}{(x + 1)(x - 2)} \, dx ∫ ( x + 1 ) ( x − 2 ) 2 x + 1 d x .
2 x + 1 ( x + 1 ) ( x − 2 ) = A x + 1 + B x − 2 \frac{2x + 1}{(x + 1)(x - 2)} = \frac{A}{x + 1} + \frac{B}{x - 2} ( x + 1 ) ( x − 2 ) 2 x + 1 = x + 1 A + x − 2 B 2 x + 1 = A ( x − 2 ) + B ( x + 1 ) 2x + 1 = A(x - 2) + B(x + 1) 2 x + 1 = A ( x − 2 ) + B ( x + 1 ) x = − 1 x = -1 x = − 1 : − 2 + 1 = A ( − 3 ) -2 + 1 = A(-3) − 2 + 1 = A ( − 3 ) So A = 1 3 A = \dfrac{1}{3} A = 3 1 .
x = 2 x = 2 x = 2 : 4 + 1 = B ( 3 ) 4 + 1 = B(3) 4 + 1 = B ( 3 ) So B = 5 3 B = \dfrac{5}{3} B = 3 5 .
∫ 2 x + 1 ( x + 1 ) ( x − 2 ) d x = 1 3 ∫ d x x + 1 + 5 3 ∫ d x x − 2 = 1 3 ln ∣ x + 1 ∣ + 5 3 ln ∣ x − 2 ∣ + C \int \frac{2x + 1}{(x + 1)(x - 2)} \, dx = \frac{1}{3}\int \frac{dx}{x + 1} + \frac{5}{3}\int \frac{dx}{x - 2} = \frac{1}{3}\ln|x + 1| + \frac{5}{3}\ln|x - 2| + C ∫ ( x + 1 ) ( x − 2 ) 2 x + 1 d x = 3 1 ∫ x + 1 d x + 3 5 ∫ x − 2 d x = 3 1 ln ∣ x + 1∣ + 3 5 ln ∣ x − 2∣ + C Integration of Trigonometric Functions ∫ tan x d x = − ln ∣ cos x ∣ + C = ln ∣ sec x ∣ + C \int \tan x \, dx = -\ln|\cos x| + C = \ln|\sec x| + C ∫ tan x d x = − ln ∣ cos x ∣ + C = ln ∣ sec x ∣ + C ∫ cot x d x = ln ∣ sin x ∣ + C \int \cot x \, dx = \ln|\sin x| + C ∫ cot x d x = ln ∣ sin x ∣ + C ∫ sec x d x = ln ∣ sec x + tan x ∣ + C \int \sec x \, dx = \ln|\sec x + \tan x| + C ∫ sec x d x = ln ∣ sec x + tan x ∣ + C Example: Evaluate ∫ tan 2 x d x \int \tan^2 x \, dx ∫ tan 2 x d x .
∫ tan 2 x d x = ∫ ( sec 2 x − 1 ) d x = tan x − x + C \int \tan^2 x \, dx = \int (\sec^2 x - 1) \, dx = \tan x - x + C ∫ tan 2 x d x = ∫ ( sec 2 x − 1 ) d x = tan x − x + C Example: Evaluate ∫ d x sin 2 x + 4 cos 2 x \displaystyle\int \frac{dx}{\sin^2 x + 4\cos^2 x} ∫ sin 2 x + 4 cos 2 x d x .
Divide numerator and denominator by cos 2 x \cos^2 x cos 2 x :
= ∫ sec 2 x tan 2 x + 4 d x = \int \frac{\sec^2 x}{\tan^2 x + 4} \, dx = ∫ tan 2 x + 4 sec 2 x d x Let u = \tan x$$du = \sec^2 x \, dx :
= ∫ d u u 2 + 4 = 1 2 arctan ( u 2 ) + C = 1 2 arctan ( tan x 2 ) + C = \int \frac{du}{u^2 + 4} = \frac{1}{2}\arctan\left(\frac{u}{2}\right) + C = \frac{1}{2}\arctan\left(\frac{\tan x}{2}\right) + C = ∫ u 2 + 4 d u = 2 1 arctan ( 2 u ) + C = 2 1 arctan ( 2 tan x ) + C Volumes of Revolution The volume generated by rotating y = f ( x ) y = f(x) y = f ( x ) about the x x x -axis from x = a x = a x = a to x = b x = b x = b :
V = π ∫ a b [ f ( x ) ] 2 d x V = \pi \int_a^b [f(x)]^2 \, dx V = π ∫ a b [ f ( x ) ] 2 d x The volume generated by rotating about the y y y -axis:
V = π ∫ c d [ f − 1 ( y ) ] 2 d y V = \pi \int_c^d [f^{-1}(y)]^2 \, dy V = π ∫ c d [ f − 1 ( y ) ] 2 d y Example: Find the volume generated by rotating y = x y = \sqrt{x} y = x about the x x x -axis from x = 0 x = 0 x = 0 to
x = 4 x = 4 x = 4 .
V = π ∫ 0 4 x d x = π [ x 2 2 ] 0 4 = 8 π V = \pi \int_0^4 x \, dx = \pi\left[\frac{x^2}{2}\right]_0^4 = 8\pi V = π ∫ 0 4 x d x = π [ 2 x 2 ] 0 4 = 8 π Differential Equations First Order Separable Equations Separable Equations: Equations of the form d y d x = f ( x ) g ( y ) \dfrac{dy}{dx} = f(x)g(y) d x d y = f ( x ) g ( y ) can be solved by
Separating variables:
∫ d y g ( y ) = ∫ f ( x ) d x \int \frac{dy}{g(y)} = \int f(x) \, dx ∫ g ( y ) d y = ∫ f ( x ) d x Example: Solve d y d x = x y \dfrac{dy}{dx} = \dfrac{x}{y} d x d y = y x with y ( 0 ) = 2 y(0) = 2 y ( 0 ) = 2 .
Y d y = x d x Y \, dy = x \, dx Y d y = x d x ∫ y d y = ∫ x d x \int y \, dy = \int x \, dx ∫ y d y = ∫ x d x y 2 2 = x 2 2 + C \frac{y^2}{2} = \frac{x^2}{2} + C 2 y 2 = 2 x 2 + C Y 2 = x 2 + 2 C Y^2 = x^2 + 2C Y 2 = x 2 + 2 C Using y ( 0 ) = 2 y(0) = 2 y ( 0 ) = 2 : 4 = 0 + 2 C 4 = 0 + 2C 4 = 0 + 2 C So C = 2 C = 2 C = 2 .
Y 2 = x 2 + 4 Y^2 = x^2 + 4 Y 2 = x 2 + 4 Since y ( 0 ) = 2 > 0 y(0) = 2 > 0 y ( 0 ) = 2 > 0 : y = x 2 + 4 y = \sqrt{x^2 + 4} y = x 2 + 4 .
First Order Linear Differential Equations Equations of the form:
d y d x + P ( x ) y = Q ( x ) \frac{dy}{dx} + P(x)y = Q(x) d x d y + P ( x ) y = Q ( x ) Integrating Factor: μ ( x ) = e ∫ P ( x ) d x \mu(x) = e^{\int P(x) \, dx} μ ( x ) = e ∫ P ( x ) d x
Multiply through by the integrating factor:
d d x [ μ y ] = μ Q \frac{d}{dx}[\mu y] = \mu Q d x d [ μ y ] = μ Q Y = 1 μ ∫ μ Q d x Y = \frac{1}{\mu}\int \mu Q \, dx Y = μ 1 ∫ μ Q d x Why this works. We want to write the left side as the derivative of a product. If we multiply by
μ \mu μ :
μ d y d x + μ P y = μ Q \mu\frac{dy}{dx} + \mu P y = \mu Q μ d x d y + μ P y = μ Q This is d d x [ μ y ] \frac{d}{dx}[\mu y] d x d [ μ y ] provided μ ′ = μ P \mu' = \mu P μ ′ = μ P I.e., μ = e ∫ P d x \mu = e^{\int P\,dx} μ = e ∫ P d x .
Example: Solve d y d x + 3 y = 6 e − 3 x \dfrac{dy}{dx} + 3y = 6e^{-3x} d x d y + 3 y = 6 e − 3 x .
Integrating factor: μ = e ∫ 3 d x = e 3 x \mu = e^{\int 3 \, dx} = e^{3x} μ = e ∫ 3 d x = e 3 x .
E 3 x d y d x + 3 e 3 x y = 6 E^{3x}\frac{dy}{dx} + 3e^{3x}y = 6 E 3 x d x d y + 3 e 3 x y = 6 d d x [ e 3 x y ] = 6 \frac{d}{dx}[e^{3x}y] = 6 d x d [ e 3 x y ] = 6 E 3 x y = 6 x + C E^{3x}y = 6x + C E 3 x y = 6 x + C Y = e − 3 x ( 6 x + C ) Y = e^{-3x}(6x + C) Y = e − 3 x ( 6 x + C ) Second Order Differential Equations Homogeneous equations with constant coefficients:
A d 2 y d x 2 + b d y d x + c y = 0 A\frac{d^2y}{dx^2} + b\frac{dy}{dx} + cy = 0 A d x 2 d 2 y + b d x d y + cy = 0 Try y = e m x y = e^{mx} y = e m x : the auxiliary equation is a m 2 + b m + c = 0 am^2 + bm + c = 0 a m 2 + bm + c = 0 .
Case 1: Two distinct real roots m 1 , m 2 m_1, m_2 m 1 , m 2 :
Y = A e m 1 x + B e m 2 x Y = Ae^{m_1 x} + Be^{m_2 x} Y = A e m 1 x + B e m 2 x Case 2: Repeated root m m m :
Y = ( A x + B ) e m x Y = (Ax + B)e^{mx} Y = ( A x + B ) e m x Case 3: Complex roots m = α ± β i m = \alpha \pm \beta i m = α ± β i :
Y = e α x ( A cos β x + B sin β x ) Y = e^{\alpha x}(A\cos\beta x + B\sin\beta x) Y = e α x ( A cos β x + B sin β x ) Why the complex case produces sines and cosines. If m = α + β i m = \alpha + \beta i m = α + β i Then
e ( α + β i ) x = e α x ( cos β x + i sin β x ) e^{(\alpha+\beta i)x} = e^{\alpha x}(\cos\beta x + i\sin\beta x) e ( α + β i ) x = e α x ( cos β x + i sin β x ) . Since the original DE has real
Coefficients, both e ( α + β i ) x e^{(\alpha+\beta i)x} e ( α + β i ) x and e ( α − β i ) x e^{(\alpha-\beta i)x} e ( α − β i ) x are solutions. Their linear
Combinations give e α x cos β x e^{\alpha x}\cos\beta x e α x cos β x and e α x sin β x e^{\alpha x}\sin\beta x e α x sin β x .
Example: Solve d 2 y d x 2 − 5 d y d x + 6 y = 0 \dfrac{d^2y}{dx^2} - 5\dfrac{dy}{dx} + 6y = 0 d x 2 d 2 y − 5 d x d y + 6 y = 0 .
Auxiliary equation: m 2 − 5 m + 6 = 0 m^2 - 5m + 6 = 0 m 2 − 5 m + 6 = 0 So ( m − 2 ) ( m − 3 ) = 0 (m - 2)(m - 3) = 0 ( m − 2 ) ( m − 3 ) = 0 Giving m = 2 , 3 m = 2, 3 m = 2 , 3 .
Y = A e 2 x + B e 3 x Y = Ae^{2x} + Be^{3x} Y = A e 2 x + B e 3 x Example: Solve d 2 y d x 2 + 4 y = 0 \dfrac{d^2y}{dx^2} + 4y = 0 d x 2 d 2 y + 4 y = 0 .
Auxiliary equation: m 2 + 4 = 0 m^2 + 4 = 0 m 2 + 4 = 0 So m = ± 2 i m = \pm 2i m = ± 2 i .
Y = A cos 2 x + B sin 2 x Y = A\cos 2x + B\sin 2x Y = A cos 2 x + B sin 2 x Example: Solve d 2 y d x 2 + 6 d y d x + 9 y = 0 \dfrac{d^2y}{dx^2} + 6\dfrac{dy}{dx} + 9y = 0 d x 2 d 2 y + 6 d x d y + 9 y = 0 .
Auxiliary equation: m 2 + 6 m + 9 = 0 m^2 + 6m + 9 = 0 m 2 + 6 m + 9 = 0 So ( m + 3 ) 2 = 0 (m + 3)^2 = 0 ( m + 3 ) 2 = 0 Giving m = − 3 m = -3 m = − 3 (repeated).
Y = ( A x + B ) e − 3 x Y = (Ax + B)e^{-3x} Y = ( A x + B ) e − 3 x Non-Homogeneous Second Order Equations A d 2 y d x 2 + b d y d x + c y = f ( x ) A\frac{d^2y}{dx^2} + b\frac{dy}{dx} + cy = f(x) A d x 2 d 2 y + b d x d y + cy = f ( x ) General Solution: y = y h + y p y = y_h + y_p y = y h + y p (complementary function + particular integral).
Method for finding y p y_p y p : Guess the form of y p y_p y p based on f ( x ) f(x) f ( x ) .
f ( x ) f(x) f ( x ) Guess for y p y_p y p e k x e^{kx} e k x C e k x Ce^{kx} C e k x (if k k k is not a root)k x + b kx + b k x + b A x + B Ax + B A x + B cos k x \cos kx cos k x or sin k x \sin kx sin k x A cos k x + B sin k x A\cos kx + B\sin kx A cos k x + B sin k x
Example: Solve d 2 y d x 2 − 3 d y d x + 2 y = 4 e 3 x \dfrac{d^2y}{dx^2} - 3\dfrac{dy}{dx} + 2y = 4e^{3x} d x 2 d 2 y − 3 d x d y + 2 y = 4 e 3 x .
Complementary function: m 2 − 3 m + 2 = 0 m^2 - 3m + 2 = 0 m 2 − 3 m + 2 = 0 So m = 1 , 2 m = 1, 2 m = 1 , 2 .
Y h = A e x + B e 2 x Y_h = Ae^x + Be^{2x} Y h = A e x + B e 2 x For the particular integral, try y p = C e 3 x y_p = Ce^{3x} y p = C e 3 x :
9 C e 3 x − 9 C e 3 x + 2 C e 3 x = 4 e 3 x 9Ce^{3x} - 9Ce^{3x} + 2Ce^{3x} = 4e^{3x} 9 C e 3 x − 9 C e 3 x + 2 C e 3 x = 4 e 3 x 2 C = 4 ⟹ C = 2 2C = 4 \implies C = 2 2 C = 4 ⟹ C = 2 Y p = 2 e 3 x Y_p = 2e^{3x} Y p = 2 e 3 x General solution: y = A e x + B e 2 x + 2 e 3 x y = Ae^x + Be^{2x} + 2e^{3x} y = A e x + B e 2 x + 2 e 3 x .
Maclaurin Series The Maclaurin series expands a function as a power series about x = 0 x = 0 x = 0 :
F ( x ) = f ( 0 ) + f ′ ( 0 ) x + f ′ ′ ( 0 ) 2 ! x 2 + f ′ ′ ′ ( 0 ) 3 ! x 3 + ⋯ = ∑ n = 0 ∞ f ( n ) ( 0 ) n ! x n F(x) = f(0) + f'(0)x + \frac{f''(0)}{2!}x^2 + \frac{f'''(0)}{3!}x^3 + \cdots = \sum_{n=0}^{\infty} \frac{f^{(n)}(0)}{n!}x^n F ( x ) = f ( 0 ) + f ′ ( 0 ) x + 2 ! f ′′ ( 0 ) x 2 + 3 ! f ′′′ ( 0 ) x 3 + ⋯ = n = 0 ∑ ∞ n ! f ( n ) ( 0 ) x n Standard Maclaurin Series E x = 1 + x + x 2 2 ! + x 3 3 ! + ⋯ E^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots E x = 1 + x + 2 ! x 2 + 3 ! x 3 + ⋯ sin x = x − x 3 3 ! + x 5 5 ! − ⋯ \sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots sin x = x − 3 ! x 3 + 5 ! x 5 − ⋯ cos x = 1 − x 2 2 ! + x 4 4 ! − ⋯ \cos x = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots cos x = 1 − 2 ! x 2 + 4 ! x 4 − ⋯ ln ( 1 + x ) = x − x 2 2 + x 3 3 − x 4 4 + ⋯ , ∣ x ∣ ≤ 1 , x ≠ − 1 \ln(1 + x) = x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \cdots, \quad |x| \leq 1, x \neq -1 ln ( 1 + x ) = x − 2 x 2 + 3 x 3 − 4 x 4 + ⋯ , ∣ x ∣ ≤ 1 , x = − 1 ( 1 + x ) n = 1 + n x + n ( n − 1 ) 2 ! x 2 + n ( n − 1 ) ( n − 2 ) 3 ! x 3 + ⋯ , ∣ x ∣ < 1 (1 + x)^n = 1 + nx + \frac{n(n-1)}{2!}x^2 + \frac{n(n-1)(n-2)}{3!}x^3 + \cdots, \quad |x| < 1 ( 1 + x ) n = 1 + n x + 2 ! n ( n − 1 ) x 2 + 3 ! n ( n − 1 ) ( n − 2 ) x 3 + ⋯ , ∣ x ∣ < 1 Deriving Maclaurin Series Example: Find the Maclaurin series for f ( x ) = e − x 2 f(x) = e^{-x^2} f ( x ) = e − x 2 up to the term in x 6 x^6 x 6 .
Substitute − x 2 -x^2 − x 2 into the series for e u e^u e u :
E − x 2 = 1 + ( − x 2 ) + ( − x 2 ) 2 2 ! + ( − x 2 ) 3 3 ! + ⋯ E^{-x^2} = 1 + (-x^2) + \frac{(-x^2)^2}{2!} + \frac{(-x^2)^3}{3!} + \cdots E − x 2 = 1 + ( − x 2 ) + 2 ! ( − x 2 ) 2 + 3 ! ( − x 2 ) 3 + ⋯ = 1 − x 2 + x 4 2 − x 6 6 + ⋯ = 1 - x^2 + \frac{x^4}{2} - \frac{x^6}{6} + \cdots = 1 − x 2 + 2 x 4 − 6 x 6 + ⋯ Applications of Maclaurin Series Limits: Maclaurin series can be used to evaluate limits that are indeterminate.
Example: Evaluate lim x → 0 e x − 1 − x x 2 \displaystyle\lim_{x \to 0} \frac{e^x - 1 - x}{x^2} x → 0 lim x 2 e x − 1 − x .
E x − 1 − x = ( 1 + x + x 2 2 + ⋯ ) − 1 − x = x 2 2 + ⋯ E^x - 1 - x = \left(1 + x + \frac{x^2}{2} + \cdots\right) - 1 - x = \frac{x^2}{2} + \cdots E x − 1 − x = ( 1 + x + 2 x 2 + ⋯ ) − 1 − x = 2 x 2 + ⋯ e x − 1 − x x 2 = x 2 2 + ⋯ x 2 = 1 2 + ⋯ → 1 2 \frac{e^x - 1 - x}{x^2} = \frac{\frac{x^2}{2} + \cdots}{x^2} = \frac{1}{2} + \cdots \to \frac{1}{2} x 2 e x − 1 − x = x 2 2 x 2 + ⋯ = 2 1 + ⋯ → 2 1 Integration of Series:
Example: Find ∫ 0 0.5 e − x 2 d x \displaystyle\int_0^{0.5} e^{-x^2} \, dx ∫ 0 0.5 e − x 2 d x to 4 decimal places.
E − x 2 ≈ 1 − x 2 + x 4 2 − x 6 6 E^{-x^2} \approx 1 - x^2 + \frac{x^4}{2} - \frac{x^6}{6} E − x 2 ≈ 1 − x 2 + 2 x 4 − 6 x 6 ∫ 0 0.5 e − x 2 d x ≈ [ x − x 3 3 + x 5 10 − x 7 42 ] 0 0.5 \int_0^{0.5} e^{-x^2} \, dx \approx \left[x - \frac{x^3}{3} + \frac{x^5}{10} - \frac{x^7}{42}\right]_0^{0.5} ∫ 0 0.5 e − x 2 d x ≈ [ x − 3 x 3 + 10 x 5 − 42 x 7 ] 0 0.5 = 0.5 − 0.125 3 + 0.03125 10 − 0.0078125 42 = 0.5 - \frac{0.125}{3} + \frac{0.03125}{10} - \frac{0.0078125}{42} = 0.5 − 3 0.125 + 10 0.03125 − 42 0.0078125 = 0.5 − 0.04167 + 0.003125 − 0.000186 = 0.46127 = 0.5 - 0.04167 + 0.003125 - 0.000186 = 0.46127 = 0.5 − 0.04167 + 0.003125 − 0.000186 = 0.46127 Worked Examples See the examples integrated throughout the sections above.
Common Pitfalls
Forgetting the chain rule in implicit differentiation: When differentiating y 3 y^3 y 3 The result
is 3 y 2 d y d x 3y^2 \dfrac{dy}{dx} 3 y 2 d x d y Not 3 y 2 3y^2 3 y 2 .
Wrong choice of u u u in integration by parts: Follow the LIATE rule. Choosing algebraic
functions as d v dv d v instead of u u u leads to more complicated integrals.
Missing the constant of integration: Always include + C +C + C for indefinite integrals.
Incorrect auxiliary equation: For d 2 y d x 2 + 4 y = 0 \dfrac{d^2y}{dx^2} + 4y = 0 d x 2 d 2 y + 4 y = 0 The auxiliary equation is
m 2 + 4 = 0 m^2 + 4 = 0 m 2 + 4 = 0 Not m 2 + 4 m = 0 m^2 + 4m = 0 m 2 + 4 m = 0 .
Domain restrictions in Maclaurin series: The series for ln ( 1 + x ) \ln(1 + x) ln ( 1 + x ) is valid for
− 1 < x ≤ 1 -1 < x \le 1 − 1 < x ≤ 1 Not all x x x .
Forgetting to change limits in definite substitution: When u = g ( x ) u = g(x) u = g ( x ) The new limits are
u ( a ) u(a) u ( a ) and u ( b ) u(b) u ( b ) Not a a a and b b b .
Not checking that the particular integral guess works: If your guess for y p y_p y p contains a
term already in y h y_h y h Multiply by x x x and try again.
Practice Questions
Find d y d x \dfrac{dy}{dx} d x d y for x 3 + x y 2 + y 3 = 7 x^3 + xy^2 + y^3 = 7 x 3 + x y 2 + y 3 = 7 .
Evaluate ∫ x 2 e − x d x \displaystyle\int x^2 e^{-x} \, dx ∫ x 2 e − x d x by parts.
Solve the differential equation d y d x = 2 x + 1 3 y − 2 \dfrac{dy}{dx} = \dfrac{2x + 1}{3y - 2} d x d y = 3 y − 2 2 x + 1 with y ( 0 ) = 1 y(0) = 1 y ( 0 ) = 1 .
Find the Maclaurin series for f ( x ) = cos ( 2 x ) f(x) = \cos(2x) f ( x ) = cos ( 2 x ) up to the term in x 6 x^6 x 6 .
Solve d 2 y d x 2 + 2 d y d x + y = 0 \dfrac{d^2y}{dx^2} + 2\dfrac{dy}{dx} + y = 0 d x 2 d 2 y + 2 d x d y + y = 0 .
A curve has parametric equations x = t^2$$y = t^3 - 3t . Find the coordinates of the stationary
points.
Evaluate ∫ 0 1 d x 1 + x 3 \displaystyle\int_0^1 \frac{dx}{1 + x^3} ∫ 0 1 1 + x 3 d x by first finding the partial fraction
decomposition.
Solve d y d x + 2 y x = x 3 \dfrac{dy}{dx} + \dfrac{2y}{x} = x^3 d x d y + x 2 y = x 3 using an integrating factor.
Solve d 2 y d x 2 − 4 y = 2 e 3 x \dfrac{d^2y}{dx^2} - 4y = 2e^{3x} d x 2 d 2 y − 4 y = 2 e 3 x .
Find the volume of revolution when y = sin x y = \sin x y = sin x is rotated about the x x x -axis from x = 0 x = 0 x = 0 to
x = π x = \pi x = π .
Evaluate ∫ e x sin x d x \displaystyle\int e^x \sin x \, dx ∫ e x sin x d x using cyclic integration by parts.
Use Maclaurin series to evaluate lim x → 0 1 − cos x x 2 \displaystyle\lim_{x \to 0} \frac{1 - \cos x}{x^2} x → 0 lim x 2 1 − cos x .
Summary This topic covers the mathematical techniques and concepts related to further calculus, including
key theorems, methods, and problem-solving approaches.
Key concepts include:
differentiation from first principles
product, quotient, and chain rules
integration techniques (by parts, substitution)
differential equations
applications to kinematics
Regular practice with a variety of question types is essential to build fluency and confidence in
applying these mathematical techniques.