The Substitution Method

Inspection runs out of steam quickly — we need a systematic technique. Substitution is the chain rule played backwards: transform ∫f(x) dx\int f(x)\,dx by changing the variable from xx to tt via x=g(t)x = g(t), so that dx=g′(t) dtdx = g'(t)\,dt and

∫f(x) dx=∫f(g(t)) g′(t) dt\int f(x)\,dx = \int f(g(t))\,g'(t)\,dt

In practice you usually spot it the other way round: substitute t=(some inner function)t = (\text{some inner function}) whose derivative also sits in the integrand.

Annotated integral showing inner function t and its derivative dt

The 4-step recipe

  1. Spot the inner function whose derivative (up to a constant) appears as a factor: in ∫2xsin⁡(x2+1) dx\int 2x\sin(x^2+1)\,dx, the inner function is x2+1x^2 + 1 and its derivative 2x2x is right there.
  2. Substitute: t=x2+1t = x^2 + 1, dt=2x dxdt = 2x\,dx — the integral collapses to ∫sin⁡t dt\int \sin t\,dt.
  3. Integrate in tt: −cos⁡t+C-\cos t + C.
  4. Return to xx: −cos⁡(x2+1)+C-\cos(x^2 + 1) + C. Always convert back — an answer left in tt is incomplete.

If the derivative appears with a wrong constant, adjust: for ∫sin⁡mx dx\int \sin mx\,dx, put t=mxt = mx, dt=m dxdt = m\,dx, so dx=dtmdx = \frac{dt}{m} and the answer is −1mcos⁡mx+C-\frac{1}{m}\cos mx + C.

Key Point: Substitution works when the integrand is (inner function's derivative) × (function of the inner function). Train your eye to scan for the pair g(x)g(x) and g′(x)g'(x) before anything else.

[JEE Tip] Common inner functions with instantly recognisable derivatives: x2+ax^2 + a (deriv 2x2x), log⁡x\log x (deriv 1x\frac{1}{x}), tan⁡−1x\tan^{-1}x (deriv 11+x2\frac{1}{1+x^2}), sin⁡−1x\sin^{-1}x (deriv 11−x2\frac{1}{\sqrt{1-x^2}}), x\sqrt{x} (deriv 12x\frac{1}{2\sqrt x}), exe^x, sin⁡x/cos⁡x\sin x/\cos x pairs. Half of JEE substitution questions use one of these seven.

The Four Famous Results

Substitution immediately delivers four integrals used constantly for the rest of the chapter — memorise them as table entries:

Card of four standard integrals tan cot sec cosec with substitutions

1. ∫tan⁡x dx=log⁡∣sec⁡x∣+C\displaystyle\int \tan x\,dx = \log|\sec x| + C

Proof: ∫sin⁡xcos⁡xdx\int \frac{\sin x}{\cos x}dx; put t=cos⁡xt = \cos x, dt=−sin⁡x dxdt = -\sin x\,dx: −∫dtt=−log⁡∣cos⁡x∣+C=log⁡∣sec⁡x∣+C-\int\frac{dt}{t} = -\log|\cos x| + C = \log|\sec x| + C.

2. ∫cot⁡x dx=log⁡∣sin⁡x∣+C\displaystyle\int \cot x\,dx = \log|\sin x| + C

Proof: ∫cos⁡xsin⁡xdx\int\frac{\cos x}{\sin x}dx; put t=sin⁡xt = \sin x, dt=cos⁡x dxdt = \cos x\,dx: ∫dtt=log⁡∣sin⁡x∣+C\int\frac{dt}{t} = \log|\sin x| + C.

3. ∫sec⁡x dx=log⁡∣sec⁡x+tan⁡x∣+C\displaystyle\int \sec x\,dx = \log|\sec x + \tan x| + C

Proof (the famous trick): multiply and divide by sec⁡x+tan⁡x\sec x + \tan x: ∫sec⁡x(sec⁡x+tan⁡x)sec⁡x+tan⁡xdx\int \frac{\sec x(\sec x + \tan x)}{\sec x + \tan x}dx Put t=sec⁡x+tan⁡xt = \sec x + \tan x; then dt=(sec⁡xtan⁡x+sec⁡2x) dxdt = (\sec x\tan x + \sec^2 x)\,dx — exactly the numerator! So the integral is ∫dtt=log⁡∣sec⁡x+tan⁡x∣+C\int\frac{dt}{t} = \log|\sec x + \tan x| + C.

4. ∫cosec x dx=log⁡∣cosec x−cot⁡x∣+C\displaystyle\int \text{cosec}\,x\,dx = \log|\text{cosec}\,x - \cot x| + C

Proof: same trick with cosec x+cot⁡x\text{cosec}\,x + \cot x, then simplify using cosec2x−cot⁡2x=1\text{cosec}^2x - \cot^2 x = 1.

Key Point: The sec⁡\sec and cosec\text{cosec} derivations are exam questions in their own right ("Prove that ∫sec⁡x dx=…\int \sec x\,dx = \ldots"). Learn the multiply-and-divide trick, not just the results.

[Board Important] Write the modulus signs in all four results. log⁡sec⁡x\log \sec x without modulus loses a mark whenever sec⁡x\sec x can be negative.

Harder Substitution Patterns

Pattern 1 — Odd powers of sine or cosine: peel one factor off.

For ∫sin⁡3xcos⁡2x dx\int \sin^3 x\cos^2 x\,dx: the power of sine is odd, so write sin⁡3x=(1−cos⁡2x)sin⁡x\sin^3 x = (1 - \cos^2 x)\sin x and substitute t=cos⁡xt = \cos x:

∫(1−t2)t2(−dt)=−t33⋅(−1)…=−cos⁡3x3+cos⁡5x5+C\int (1 - t^2)t^2(-dt) = -\frac{t^3}{3}\cdot(-1)\ldots = -\frac{\cos^3 x}{3} + \frac{\cos^5 x}{5} + C

Rule of thumb: odd power of sin⁡\sin → substitute t=cos⁡xt = \cos x; odd power of cos⁡\cos → substitute t=sin⁡xt = \sin x; both even → use identities (next block).

Pattern 2 — Shifted angles: substitute the shift.

For ∫sin⁡xsin⁡(x+a)dx\int \frac{\sin x}{\sin(x + a)}dx: put t=x+at = x + a, expand sin⁡(t−a)=sin⁡tcos⁡a−cos⁡tsin⁡a\sin(t - a) = \sin t\cos a - \cos t\sin a:

∫sin⁡(t−a)sin⁡tdt=cos⁡a∫dt−sin⁡a∫cot⁡t dt=xcos⁡a−sin⁡alog⁡∣sin⁡(x+a)∣+C\int \frac{\sin(t-a)}{\sin t}dt = \cos a\int dt - \sin a\int \cot t\,dt = x\cos a - \sin a\log|\sin(x+a)| + C

Pattern 3 — 11+tan⁡x\frac{1}{1 + \tan x} types: split the numerator smartly.

∫dx1+tan⁡x=∫cos⁡x dxcos⁡x+sin⁡x\int \frac{dx}{1 + \tan x} = \int\frac{\cos x\,dx}{\cos x + \sin x}. Write the numerator as a combination of the denominator and its derivative:

cos⁡x=12(cos⁡x+sin⁡x)+12(cos⁡x−sin⁡x)\cos x = \frac{1}{2}(\cos x + \sin x) + \frac{1}{2}(\cos x - \sin x)

The first piece integrates to x2\frac{x}{2}; the second is 12∫d(cos⁡x+sin⁡x)cos⁡x+sin⁡x=12log⁡∣cos⁡x+sin⁡x∣\frac{1}{2}\int\frac{d(\cos x + \sin x)}{\cos x + \sin x} = \frac{1}{2}\log|\cos x + \sin x|. Total: x2+12log⁡∣cos⁡x+sin⁡x∣+C\frac{x}{2} + \frac{1}{2}\log|\cos x + \sin x| + C.

Key Point: Pattern 3's idea — numerator = A(denominator) + B(derivative of denominator) — is a general JEE technique for ∫asin⁡x+bcos⁡xcsin⁡x+dcos⁡xdx\int\frac{a\sin x + b\cos x}{c\sin x + d\cos x}dx. Solve for A and B by comparing coefficients.

[JEE Tip] In Pattern 1, if BOTH powers are odd, peel from the smaller power — less algebra. If the integrand is sin⁡mxcos⁡nx\sin^m x\cos^n x with m+nm + n even and negative-ready, JEE-level shortcuts exist via t=tan⁡xt = \tan x — see the JEE Corner.

Integration Using Trigonometric Identities

When the integrand is built from powers or products of sines and cosines with NO convenient derivative pair, reshape it with identities until every term is linear in some sin⁡(kx)\sin(kx) or cos⁡(kx)\cos(kx).

Power reduction (even powers):

cos⁡2x=1+cos⁡2x2,sin⁡2x=1−cos⁡2x2\cos^2 x = \frac{1 + \cos 2x}{2}, \qquad \sin^2 x = \frac{1 - \cos 2x}{2}

So ∫cos⁡2x dx=x2+sin⁡2x4+C\int \cos^2 x\,dx = \frac{x}{2} + \frac{\sin 2x}{4} + C, and fourth powers just need the identity twice: sin⁡4x=(1−cos⁡2x2)2\sin^4 x = \left(\frac{1-\cos 2x}{2}\right)^2, then reduce cos⁡22x\cos^2 2x again.

Cubes (odd powers) via triple-angle:

sin⁡3x=3sin⁡x−sin⁡3x4,cos⁡3x=3cos⁡x+cos⁡3x4\sin^3 x = \frac{3\sin x - \sin 3x}{4}, \qquad \cos^3 x = \frac{3\cos x + \cos 3x}{4}

giving ∫sin⁡3x dx=−34cos⁡x+112cos⁡3x+C\int \sin^3 x\,dx = -\frac{3}{4}\cos x + \frac{1}{12}\cos 3x + C (equivalently −cos⁡x+cos⁡3x3+C-\cos x + \frac{\cos^3 x}{3} + C by the peel-a-factor route — both are correct, differing by a constant… in fact by identity they are equal!).

Products into sums:

sin⁡xcos⁡y=12[sin⁡(x+y)+sin⁡(x−y)],cos⁡xcos⁡y=12[cos⁡(x+y)+cos⁡(x−y)],sin⁡xsin⁡y=12[cos⁡(x−y)−cos⁡(x+y)]\sin x\cos y = \tfrac{1}{2}[\sin(x+y) + \sin(x-y)], \quad \cos x\cos y = \tfrac{1}{2}[\cos(x+y) + \cos(x-y)], \quad \sin x\sin y = \tfrac{1}{2}[\cos(x-y) - \cos(x+y)]

So ∫sin⁡2xcos⁡3x dx=12∫[sin⁡5x−sin⁡x] dx=−cos⁡5x10+cos⁡x2+C\int \sin 2x\cos 3x\,dx = \frac{1}{2}\int[\sin 5x - \sin x]\,dx = -\frac{\cos 5x}{10} + \frac{\cos x}{2} + C.

Half-angle for 1±cos⁡x1 \pm \cos x:

1+cos⁡x=2cos⁡2x2,1−cos⁡x=2sin⁡2x21 + \cos x = 2\cos^2\tfrac{x}{2}, \qquad 1 - \cos x = 2\sin^2\tfrac{x}{2}

These demolish integrands like 1−cos⁡x1+cos⁡x=tan⁡2x2\frac{1-\cos x}{1+\cos x} = \tan^2\frac{x}{2}.

Key Point: The goal of every identity manoeuvre is the same: reach a sum of terms of the form asin⁡(kx)a\sin(kx), bcos⁡(kx)b\cos(kx) or constants — each integrable in one line with the divide-by-kk reflex.

[Board Important] For ∫sin⁡Acos⁡B\int \sin A\cos B products, expect half-marks reserved for correctly writing the product-to-sum identity. Quote it, substitute, then integrate — don't jump.

Solved Examples

Example 1: The basic adjust-the-constant substitution

Integrate sin⁡mx\sin mx with respect to xx.

Solution:

  1. Substitute: t=mxt = mx, so dt=m dxdt = m\,dx, i.e. dx=dtmdx = \frac{dt}{m}.
  2. Transform: ∫sin⁡mx dx=1m∫sin⁡t dt=−1mcos⁡t+C\int \sin mx\,dx = \frac{1}{m}\int \sin t\,dt = -\frac{1}{m}\cos t + C.
  3. Return to xx: −1mcos⁡mx+C-\frac{1}{m}\cos mx + C.

Final Answer: −1mcos⁡mx+C-\frac{1}{m}\cos mx + C.

Takeaway: Linear inner functions just cost a division by the coefficient — soon you will do this without writing the substitution at all.

Example 2: The model derivative-pair substitution

Find ∫2xsin⁡(x2+1) dx\int 2x \sin(x^2 + 1)\,dx.

Solution:

  1. Spot the pair: inner function x2+1x^2 + 1 has derivative 2x2x — present as a factor.
  2. Substitute: t=x2+1t = x^2 + 1, dt=2x dxdt = 2x\,dx: the integral becomes ∫sin⁡t dt\int \sin t\,dt.
  3. Integrate and return: −cos⁡t+C=−cos⁡(x2+1)+C-\cos t + C = -\cos(x^2 + 1) + C.

Final Answer: −cos⁡(x2+1)+C-\cos(x^2 + 1) + C.

Takeaway: This is the picture-perfect substitution: derivative sitting beside its function. Most exam integrands are disguised versions of exactly this.

Example 3: Substitution inside substitution

Find ∫tan⁡4x sec⁡2xx dx\int \frac{\tan^4\sqrt{x}\,\sec^2\sqrt{x}}{\sqrt{x}}\,dx.

Solution:

  1. First substitution: t=xt = \sqrt x, dt=dx2xdt = \frac{dx}{2\sqrt x}, so dxx=2 dt\frac{dx}{\sqrt x} = 2\,dt: the integral is 2∫tan⁡4tsec⁡2t dt2\int \tan^4 t\sec^2 t\,dt.
  2. Second substitution: u=tan⁡tu = \tan t, du=sec⁡2t dtdu = \sec^2 t\,dt: it becomes 2∫u4du=2u552\int u^4 du = \frac{2u^5}{5}.
  3. Unwind both: 25tan⁡5t=25tan⁡5x+C\frac{2}{5}\tan^5 t = \frac{2}{5}\tan^5\sqrt{x} + C.

Final Answer: 25tan⁡5x+C\frac{2}{5}\tan^5\sqrt{x} + C.

Takeaway: Layered integrands unwrap one layer at a time — and the single substitution u=tan⁡xu = \tan\sqrt x would have done it in one step. Practice builds that compression.

Example 4: An inverse-trig inner function

Find ∫sin⁡(tan⁡−1x)1+x2 dx\int \frac{\sin(\tan^{-1}x)}{1 + x^2}\,dx.

Solution:

  1. Spot the pair: tan⁡−1x\tan^{-1}x has derivative 11+x2\frac{1}{1+x^2} — present.
  2. Substitute: t=tan⁡−1xt = \tan^{-1}x, dt=dx1+x2dt = \frac{dx}{1+x^2}: the integral is ∫sin⁡t dt=−cos⁡t+C\int \sin t\,dt = -\cos t + C.
  3. Return: −cos⁡(tan⁡−1x)+C-\cos(\tan^{-1}x) + C.

Final Answer: −cos⁡(tan⁡−1x)+C-\cos(\tan^{-1}x) + C.

Takeaway: 11+x2\frac{1}{1+x^2} in an integrand is a flashing sign saying "substitute t=tan⁡−1xt = \tan^{-1}x".

Example 5: Deriving the famous ∫tan⁡x\int \tan x and ∫sec⁡x\int \sec x

Prove that (i) ∫tan⁡x dx=log⁡∣sec⁡x∣+C\int \tan x\,dx = \log|\sec x| + C and (ii) ∫sec⁡x dx=log⁡∣sec⁡x+tan⁡x∣+C\int \sec x\,dx = \log|\sec x + \tan x| + C.

Solution:

  1. (i) Write as a fraction: ∫sin⁡xcos⁡xdx\int \frac{\sin x}{\cos x}dx. Put t=cos⁡xt = \cos x, dt=−sin⁡x dxdt = -\sin x\,dx.
  2. Integrate: −∫dtt=−log⁡∣t∣+C=−log⁡∣cos⁡x∣+C=log⁡∣sec⁡x∣+C-\int\frac{dt}{t} = -\log|t| + C = -\log|\cos x| + C = \log|\sec x| + C.
  3. (ii) The multiply-divide trick: ∫sec⁡x dx=∫sec⁡x(sec⁡x+tan⁡x)sec⁡x+tan⁡xdx\int \sec x\,dx = \int\frac{\sec x(\sec x + \tan x)}{\sec x + \tan x}dx.
  4. Substitute the denominator: t=sec⁡x+tan⁡xt = \sec x + \tan x gives dt=(sec⁡xtan⁡x+sec⁡2x)dxdt = (\sec x\tan x + \sec^2 x)dx — precisely the numerator.
  5. Integrate: ∫dtt=log⁡∣t∣+C=log⁡∣sec⁡x+tan⁡x∣+C\int\frac{dt}{t} = \log|t| + C = \log|\sec x + \tan x| + C. ∎

Takeaway: (ii) is a Board favourite "prove that" question. The whole trick is manufacturing the derivative of the denominator in the numerator.

Example 6: Odd power — peel a factor

Find ∫sin⁡3xcos⁡2x dx\int \sin^3 x\cos^2 x\,dx.

Solution:

  1. Peel one sine: sin⁡3xcos⁡2x=(1−cos⁡2x)cos⁡2x sin⁡x\sin^3 x\cos^2 x = (1 - \cos^2 x)\cos^2 x\,\sin x.
  2. Substitute: t=cos⁡xt = \cos x, dt=−sin⁡x dxdt = -\sin x\,dx: the integral is −∫(1−t2)t2 dt=−∫(t2−t4)dt-\int(1 - t^2)t^2\,dt = -\int(t^2 - t^4)dt.
  3. Integrate: −(t33−t55)+C-\left(\frac{t^3}{3} - \frac{t^5}{5}\right) + C.
  4. Return: −cos⁡3x3+cos⁡5x5+C-\frac{\cos^3 x}{3} + \frac{\cos^5 x}{5} + C.

Final Answer: −13cos⁡3x+15cos⁡5x+C-\frac{1}{3}\cos^3 x + \frac{1}{5}\cos^5 x + C.

Takeaway: Odd power of sin⁡\sin → save one sin⁡x\sin x for dtdt, convert the rest to cosines. The parity decides the substitution for you.

Example 7: The shifted-angle pattern

Find ∫sin⁡xsin⁡(x+a) dx\int \frac{\sin x}{\sin(x + a)}\,dx.

Solution:

  1. Substitute the shift: t=x+at = x + a, dx=dtdx = dt: the integral is ∫sin⁡(t−a)sin⁡tdt\int\frac{\sin(t - a)}{\sin t}dt.
  2. Expand the numerator: sin⁡(t−a)=sin⁡tcos⁡a−cos⁡tsin⁡a\sin(t-a) = \sin t\cos a - \cos t\sin a, so the integrand splits as cos⁡a−sin⁡acot⁡t\cos a - \sin a\cot t.
  3. Integrate: tcos⁡a−sin⁡alog⁡∣sin⁡t∣+C1t\cos a - \sin a\log|\sin t| + C_1.
  4. Return and absorb constants: (x+a)cos⁡a−sin⁡alog⁡∣sin⁡(x+a)∣+C1=xcos⁡a−sin⁡alog⁡∣sin⁡(x+a)∣+C(x+a)\cos a - \sin a\log|\sin(x+a)| + C_1 = x\cos a - \sin a\log|\sin(x+a)| + C.

Final Answer: xcos⁡a−sin⁡a log⁡∣sin⁡(x+a)∣+Cx\cos a - \sin a\,\log|\sin(x + a)| + C.

Takeaway: The constant acos⁡aa\cos a melted into CC — arbitrary constants absorb every fixed number. Expect the same in the cos⁡xcos⁡(x−a)\frac{\cos x}{\cos(x-a)} family.

Example 8: Numerator = A(denominator) + B(derivative)

Find ∫dx1+tan⁡x\int \frac{dx}{1 + \tan x}.

Solution:

  1. Clear the tan: 11+tan⁡x=cos⁡xcos⁡x+sin⁡x\frac{1}{1+\tan x} = \frac{\cos x}{\cos x + \sin x}.
  2. Split the numerator: cos⁡x=12(cos⁡x+sin⁡x)+12(cos⁡x−sin⁡x)\cos x = \frac{1}{2}(\cos x + \sin x) + \frac{1}{2}(\cos x - \sin x) — half the denominator plus half its derivative.
  3. Integrate the first piece: 12∫dx=x2\frac{1}{2}\int dx = \frac{x}{2}.
  4. Integrate the second piece: 12∫cos⁡x−sin⁡xcos⁡x+sin⁡xdx\frac{1}{2}\int\frac{\cos x - \sin x}{\cos x + \sin x}dx; with t=cos⁡x+sin⁡xt = \cos x + \sin x, dt=(cos⁡x−sin⁡x)dxdt = (\cos x - \sin x)dx: =12log⁡∣cos⁡x+sin⁡x∣= \frac{1}{2}\log|\cos x + \sin x|.

Final Answer: x2+12log⁡∣cos⁡x+sin⁡x∣+C\frac{x}{2} + \frac{1}{2}\log|\cos x + \sin x| + C.

Takeaway: For ∫asin⁡x+bcos⁡xcsin⁡x+dcos⁡xdx\int\frac{a\sin x + b\cos x}{c\sin x + d\cos x}dx, always try numerator =A(denominator)+B(denominator)′= A(\text{denominator}) + B(\text{denominator})' — a two-unknown comparison that JEE reuses constantly.

Example 9: Even power — reduce it

Find ∫cos⁡2x dx\int \cos^2 x\,dx.

Solution:

  1. Power-reduce: cos⁡2x=1+cos⁡2x2\cos^2 x = \frac{1 + \cos 2x}{2}.
  2. Integrate: 12∫dx+12∫cos⁡2x dx=x2+12⋅sin⁡2x2\frac{1}{2}\int dx + \frac{1}{2}\int \cos 2x\,dx = \frac{x}{2} + \frac{1}{2}\cdot\frac{\sin 2x}{2}.

Final Answer: x2+sin⁡2x4+C\frac{x}{2} + \frac{\sin 2x}{4} + C.

Takeaway: Even powers cannot be peeled — they must be reduced. x2+sin⁡2x4\frac{x}{2} + \frac{\sin 2x}{4} is worth memorising; it appears inside dozens of longer problems.

Example 10: Product to sum

Find ∫sin⁡2xcos⁡3x dx\int \sin 2x\cos 3x\,dx.

Solution:

  1. Apply the identity sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A\cos B = \frac{1}{2}[\sin(A+B) + \sin(A-B)]: sin⁡2xcos⁡3x=12[sin⁡5x+sin⁡(−x)]=12(sin⁡5x−sin⁡x)\sin 2x\cos 3x = \frac{1}{2}[\sin 5x + \sin(-x)] = \frac{1}{2}(\sin 5x - \sin x).
  2. Integrate term by term: 12[−cos⁡5x5+cos⁡x]+C\frac{1}{2}\left[-\frac{\cos 5x}{5} + \cos x\right] + C.

Final Answer: −110cos⁡5x+12cos⁡x+C-\frac{1}{10}\cos 5x + \frac{1}{2}\cos x + C.

Takeaway: sin⁡(−x)=−sin⁡x\sin(-x) = -\sin x — the sign inside the product-to-sum identity is where most marks are lost.

Example 11: sin⁡3x\sin^3 x two ways

Find ∫sin⁡3x dx\int \sin^3 x\,dx (i) using the triple-angle identity, (ii) by peeling a factor.

Solution:

  1. (i) Triple angle: from sin⁡3x=3sin⁡x−4sin⁡3x\sin 3x = 3\sin x - 4\sin^3 x: sin⁡3x=3sin⁡x−sin⁡3x4\sin^3 x = \frac{3\sin x - \sin 3x}{4}.
  2. Integrate: 34∫sin⁡x dx−14∫sin⁡3x dx=−34cos⁡x+112cos⁡3x+C\frac{3}{4}\int\sin x\,dx - \frac{1}{4}\int\sin 3x\,dx = -\frac{3}{4}\cos x + \frac{1}{12}\cos 3x + C.
  3. (ii) Peel: sin⁡3x=(1−cos⁡2x)sin⁡x\sin^3 x = (1 - \cos^2 x)\sin x; with t=cos⁡xt = \cos x: −∫(1−t2)dt=−t+t33-\int(1 - t^2)dt = -t + \frac{t^3}{3}, i.e. −cos⁡x+cos⁡3x3+C-\cos x + \frac{\cos^3 x}{3} + C.
  4. Reconcile: expanding cos⁡3x=4cos⁡3x−3cos⁡x\cos 3x = 4\cos^3 x - 3\cos x in (i) reproduces (ii) exactly — the two answers are identical, not merely equivalent.

Final Answer: −34cos⁡x+112cos⁡3x+C-\frac{3}{4}\cos x + \frac{1}{12}\cos 3x + C   (=−cos⁡x+cos⁡3x3+C)\;\left(= -\cos x + \frac{\cos^3 x}{3} + C\right).

Takeaway: Different legitimate methods can produce different-looking answers. Differentiate (or use identities) before suspecting an error.

Example 12: Log and inverse-tan pairs

Find (i) ∫(log⁡x)2x dx\int \frac{(\log x)^2}{x}\,dx (ii) ∫etan⁡−1x1+x2 dx\int \frac{e^{\tan^{-1}x}}{1 + x^2}\,dx.

Solution:

  1. (i) Substitute: t=log⁡xt = \log x, dt=dxxdt = \frac{dx}{x}: ∫t2dt=t33+C=(log⁡x)33+C\int t^2 dt = \frac{t^3}{3} + C = \frac{(\log x)^3}{3} + C.
  2. (ii) Substitute: t=tan⁡−1xt = \tan^{-1}x, dt=dx1+x2dt = \frac{dx}{1+x^2}: ∫etdt=et+C=etan⁡−1x+C\int e^t dt = e^t + C = e^{\tan^{-1}x} + C.

Final Answer: (i) (log⁡x)33+C\frac{(\log x)^3}{3} + C; (ii) etan⁡−1x+Ce^{\tan^{-1}x} + C.

Takeaway: 1x\frac{1}{x} next to a function of log⁡x\log x, and 11+x2\frac{1}{1+x^2} next to a function of tan⁡−1x\tan^{-1}x — two of the most reused derivative pairs in exams.

Example 13: A fourth power, fully reduced

Find ∫sin⁡4x dx\int \sin^4 x\,dx.

Solution:

  1. Reduce once: sin⁡4x=(1−cos⁡2x2)2=1−2cos⁡2x+cos⁡22x4\sin^4 x = \left(\frac{1 - \cos 2x}{2}\right)^2 = \frac{1 - 2\cos 2x + \cos^2 2x}{4}.
  2. Reduce the leftover square: cos⁡22x=1+cos⁡4x2\cos^2 2x = \frac{1 + \cos 4x}{2}, so sin⁡4x=14−cos⁡2x2+18+cos⁡4x8=38−cos⁡2x2+cos⁡4x8\sin^4 x = \frac{1}{4} - \frac{\cos 2x}{2} + \frac{1}{8} + \frac{\cos 4x}{8} = \frac{3}{8} - \frac{\cos 2x}{2} + \frac{\cos 4x}{8}.
  3. Integrate term by term: 3x8−sin⁡2x4+sin⁡4x32+C\frac{3x}{8} - \frac{\sin 2x}{4} + \frac{\sin 4x}{32} + C.

Final Answer: 3x8−sin⁡2x4+sin⁡4x32+C\frac{3x}{8} - \frac{\sin 2x}{4} + \frac{\sin 4x}{32} + C.

Takeaway: Each application of power reduction halves the power and doubles the angle. Two rounds turn any fourth power into one-line integrals.