How to Use This Section

Thirty fully worked problems spanning the entire chapter, arranged easy → medium → hard. The first two batches drill the standard integrals and substitution; the middle batches cover partial fractions and by parts; the final batches take on NCERT's miscellaneous examples and definite integrals with properties.

Method discipline for every problem:

  1. Classify first — standard form? function-derivative pair (substitution)? rational function (partial fractions)? product (by parts)? symmetric definite integral (properties)?
  2. Write the plan in one line before computing.
  3. Check by differentiating the answer — thirty seconds that catches most sign and factor errors.

Key Point: Examiners reuse structures, not numbers. If you can classify each of the thirty problems below at sight, you can classify anything the board paper throws at you.

Batch 1 — Standard Forms and Direct Integration (Easy)

Example 1: Term-by-term basics

Find ∫(2x+3cos⁡x+ex)dx\displaystyle\int \left(2x + 3\cos x + e^x\right)dx.

Solution:

  1. Integrate term by term: ∫2x dx=x2\int 2x\,dx = x^2; ∫3cos⁡x dx=3sin⁡x\int 3\cos x\,dx = 3\sin x; ∫exdx=ex\int e^x dx = e^x.
  2. Combine with one constant: a single CC covers all three.

Final Answer: x2+3sin⁡x+ex+Cx^2 + 3\sin x + e^x + C.

Example 2: Trig identity before integrating

Find ∫tan⁡2x dx\displaystyle\int \tan^2 x\,dx.

Solution:

  1. Convert: tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1 (no standard integral of tan⁡2x\tan^2 x exists directly).
  2. Integrate: ∫(sec⁡2x−1)dx=tan⁡x−x\int(\sec^2 x - 1)dx = \tan x - x.

Final Answer: tan⁡x−x+C\tan x - x + C.

Example 3: Power reduction

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

Solution:

  1. Reduce the power: cos⁡2x=1+cos⁡2x2\cos^2 x = \frac{1 + \cos 2x}{2}.
  2. Integrate: x2+sin⁡2x4\frac{x}{2} + \frac{\sin 2x}{4}.

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

Example 4: Completing the square (7.4 form)

Find ∫dxx2+4x+8\displaystyle\int \frac{dx}{x^2 + 4x + 8}.

Solution:

  1. Complete the square: x2+4x+8=(x+2)2+4x^2 + 4x + 8 = (x + 2)^2 + 4.
  2. Match the standard form ∫dtt2+a2=1atan⁡−1ta\int\frac{dt}{t^2 + a^2} = \frac1a\tan^{-1}\frac ta with t=x+2t = x + 2, a=2a = 2.

Final Answer: 12tan⁡−1(x+22)+C\dfrac{1}{2}\tan^{-1}\left(\dfrac{x + 2}{2}\right) + C.

Example 5: The odd-power trick

Find ∫sin⁡3x dx\displaystyle\int \sin^3 x\,dx.

Solution:

  1. Peel one factor: sin⁡3x=(1−cos⁡2x)sin⁡x\sin^3 x = (1 - \cos^2 x)\sin x.
  2. Substitute t=cos⁡xt = \cos x, dt=−sin⁡x dxdt = -\sin x\,dx: ∫(t2−1) dt=t33−t\int(t^2 - 1)\,dt = \frac{t^3}{3} - t.
  3. Return: cos⁡3x3−cos⁡x\frac{\cos^3 x}{3} - \cos x.

Final Answer: −cos⁡x+cos⁡3x3+C-\cos x + \dfrac{\cos^3 x}{3} + C.

Example 6: Product to sum

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

Solution:

  1. Convert the product: sin⁡3xcos⁡4x=12[sin⁡7x+sin⁡(−x)]=12(sin⁡7x−sin⁡x)\sin 3x\cos 4x = \frac{1}{2}[\sin 7x + \sin(-x)] = \frac{1}{2}(\sin 7x - \sin x).
  2. Integrate: 12[−cos⁡7x7+cos⁡x]\frac12\left[-\frac{\cos 7x}{7} + \cos x\right].

Final Answer: cos⁡x2−cos⁡7x14+C\dfrac{\cos x}{2} - \dfrac{\cos 7x}{14} + C.

Batch 2 — Substitution at Full Power (Easy-Medium)

Example 7: Root of a linear-in-disguise

Find ∫cos⁡6x1+sin⁡6x dx\displaystyle\int \cos 6x\sqrt{1 + \sin 6x}\,dx.

Solution:

  1. Substitute: t=1+sin⁡6xt = 1 + \sin 6x, dt=6cos⁡6x dxdt = 6\cos 6x\,dx.
  2. Integrate: 16∫t1/2dt=16⋅23t3/2=19t3/2\frac16\int t^{1/2}dt = \frac16\cdot\frac23 t^{3/2} = \frac19 t^{3/2}.
  3. Return: t=1+sin⁡6xt = 1 + \sin 6x.

Final Answer: 19(1+sin⁡6x)3/2+C\dfrac{1}{9}\left(1 + \sin 6x\right)^{3/2} + C.

Example 8: Square roots in the denominator

Find ∫dxx(1+x)\displaystyle\int \frac{dx}{\sqrt x\left(1 + \sqrt x\right)}.

Solution:

  1. Substitute: t=1+xt = 1 + \sqrt x, dt=dx2xdt = \frac{dx}{2\sqrt x}.
  2. Integrate: 2∫dtt=2log⁡∣t∣2\int\frac{dt}{t} = 2\log|t|.

Final Answer: 2log⁡∣1+x∣+C2\log\left|1 + \sqrt x\right| + C.

Example 9: Exponential of an inverse

Find ∫etan⁡−1x1+x2 dx\displaystyle\int \frac{e^{\tan^{-1}x}}{1 + x^2}\,dx.

Solution:

  1. Spot the pair: 11+x2\frac{1}{1+x^2} is the derivative of tan⁡−1x\tan^{-1}x.
  2. Substitute t=tan⁡−1xt = \tan^{-1}x: ∫etdt=et\int e^t dt = e^t.

Final Answer: etan⁡−1x+Ce^{\tan^{-1}x} + C.

Example 10: A clever power split

Find ∫(x4−x)1/4x5 dx\displaystyle\int \frac{\left(x^4 - x\right)^{1/4}}{x^5}\,dx.

Solution:

  1. Extract xx from the bracket: (x4−x)1/4=x(1−1x3)1/4(x^4 - x)^{1/4} = x\left(1 - \frac{1}{x^3}\right)^{1/4}, so the integrand is 1x4(1−1x3)1/4=(1−x−3)1/4⋅1x4\frac{1}{x^4}\left(1 - \frac{1}{x^3}\right)^{1/4} = \left(1 - x^{-3}\right)^{1/4}\cdot\frac{1}{x^4}.
  2. Substitute: t=1−1x3t = 1 - \frac{1}{x^3}, dt=3x4dxdt = \frac{3}{x^4}dx.
  3. Integrate: 13∫t1/4dt=13⋅45t5/4=415t5/4\frac13\int t^{1/4}dt = \frac13\cdot\frac45 t^{5/4} = \frac{4}{15}t^{5/4}.

Final Answer: 415(1−1x3)5/4+C\dfrac{4}{15}\left(1 - \dfrac{1}{x^3}\right)^{5/4} + C.

Takeaway: When a bracket contains mixed powers, factor out the highest power of xx — the leftover 1xn\frac{1}{x^n} frequently is the derivative needed for a clean substitution.

Example 11: Numerator = derivative of denominator

Find ∫x21+x3 dx\displaystyle\int \frac{x^2}{1 + x^3}\,dx.

Solution:

  1. Spot the pair: ddx(1+x3)=3x2\frac{d}{dx}(1 + x^3) = 3x^2.
  2. Substitute t=1+x3t = 1 + x^3: 13∫dtt=13log⁡∣t∣\frac13\int\frac{dt}{t} = \frac13\log|t|.

Final Answer: 13log⁡∣1+x3∣+C\dfrac{1}{3}\log\left|1 + x^3\right| + C.

Example 12: A 7.4 form under a root

Find ∫dx9+8x−x2\displaystyle\int \frac{dx}{\sqrt{9 + 8x - x^2}}.

Solution:

  1. Complete the square: 9+8x−x2=25−(x−4)29 + 8x - x^2 = 25 - (x - 4)^2.
  2. Match ∫dta2−t2=sin⁡−1ta\int\frac{dt}{\sqrt{a^2 - t^2}} = \sin^{-1}\frac ta with t=x−4t = x - 4, a=5a = 5.

Final Answer: sin⁡−1(x−45)+C\sin^{-1}\left(\dfrac{x - 4}{5}\right) + C.

Batch 3 — Partial Fractions and By Parts (Medium)

Example 13: Three distinct linear factors

Find ∫3x−1(x−1)(x−2)(x−3) dx\displaystyle\int \frac{3x - 1}{(x - 1)(x - 2)(x - 3)}\,dx.

Solution:

  1. Set up: 3x−1(x−1)(x−2)(x−3)=Ax−1+Bx−2+Cx−3\frac{3x-1}{(x-1)(x-2)(x-3)} = \frac{A}{x-1} + \frac{B}{x-2} + \frac{C}{x-3}.
  2. Cover-up at each root: A=3(1)−1(1−2)(1−3)=22=1A = \frac{3(1)-1}{(1-2)(1-3)} = \frac{2}{2} = 1; B=5(1)(−1)=−5B = \frac{5}{(1)(-1)} = -5; C=8(2)(1)=4C = \frac{8}{(2)(1)} = 4.
  3. Integrate: log⁡∣x−1∣−5log⁡∣x−2∣+4log⁡∣x−3∣\log|x-1| - 5\log|x-2| + 4\log|x-3|.

Final Answer: log⁡∣x−1∣−5log⁡∣x−2∣+4log⁡∣x−3∣+C\log|x - 1| - 5\log|x - 2| + 4\log|x - 3| + C.

Example 14: Improper fraction with a quadratic factor

Find ∫x4(x−1)(x2+1) dx\displaystyle\int \frac{x^4}{(x - 1)(x^2 + 1)}\,dx.

Solution:

  1. Divide first (degree 4 over degree 3): x4(x−1)(x2+1)=(x+1)+1(x−1)(x2+1)\frac{x^4}{(x-1)(x^2+1)} = (x + 1) + \frac{1}{(x-1)(x^2+1)}.
  2. Decompose the remainder: 1(x−1)(x2+1)=Ax−1+Bx+Cx2+1\frac{1}{(x-1)(x^2+1)} = \frac{A}{x-1} + \frac{Bx + C}{x^2+1}; solving 1=A(x2+1)+(Bx+C)(x−1)1 = A(x^2+1) + (Bx+C)(x-1) gives A=12A = \frac12, B=C=−12B = C = -\frac12.
  3. Integrate each piece: ∫(x+1)dx=x22+x\int(x+1)dx = \frac{x^2}{2} + x; 12log⁡∣x−1∣\frac12\log|x-1|; −12∫x dxx2+1=−14log⁡(x2+1)-\frac12\int\frac{x\,dx}{x^2+1} = -\frac14\log(x^2+1); −12tan⁡−1x-\frac12\tan^{-1}x.

Final Answer: x22+x+12log⁡∣x−1∣−14log⁡(x2+1)−12tan⁡−1x+C\dfrac{x^2}{2} + x + \dfrac{1}{2}\log|x - 1| - \dfrac{1}{4}\log\left(x^2 + 1\right) - \dfrac{1}{2}\tan^{-1}x + C.

Example 15: By parts twice with a polynomial

Find ∫x2sin⁡x dx\displaystyle\int x^2\sin x\,dx.

Solution:

  1. Round 1 (f=x2f = x^2): −x2cos⁡x+2∫xcos⁡x dx-x^2\cos x + 2\int x\cos x\,dx.
  2. Round 2 (f=xf = x): ∫xcos⁡x dx=xsin⁡x+cos⁡x\int x\cos x\,dx = x\sin x + \cos x.
  3. Combine: −x2cos⁡x+2xsin⁡x+2cos⁡x-x^2\cos x + 2x\sin x + 2\cos x.

Final Answer: (2−x2)cos⁡x+2xsin⁡x+C\left(2 - x^2\right)\cos x + 2x\sin x + C.

Example 16: Nested logs

Find ∫[log⁡(log⁡x)+1(log⁡x)2]dx\displaystyle\int \left[\log(\log x) + \frac{1}{(\log x)^2}\right]dx.

Solution:

  1. Split: I=∫log⁡(log⁡x) dx+∫dx(log⁡x)2I = \int\log(\log x)\,dx + \int\frac{dx}{(\log x)^2}.
  2. By parts on the first (with 11 as second function): xlog⁡(log⁡x)−∫xxlog⁡xdx=xlog⁡(log⁡x)−∫dxlog⁡xx\log(\log x) - \int\frac{x}{x\log x}dx = x\log(\log x) - \int\frac{dx}{\log x}.
  3. By parts again on ∫dxlog⁡x\int\frac{dx}{\log x}: it equals xlog⁡x+∫dx(log⁡x)2\frac{x}{\log x} + \int\frac{dx}{(\log x)^2}.
  4. Combine: the two ∫dx(log⁡x)2\int\frac{dx}{(\log x)^2} terms cancel: I=xlog⁡(log⁡x)−xlog⁡xI = x\log(\log x) - \frac{x}{\log x}.

Final Answer: xlog⁡(log⁡x)−xlog⁡x+Cx\log(\log x) - \dfrac{x}{\log x} + C.

Takeaway: Neither piece alone has an elementary answer — but their sum does. The pairing is deliberate: integrate by parts and watch the impossible parts cancel.

Example 17: Exponential-times-trig with a coefficient

Find ∫e2xsin⁡x dx\displaystyle\int e^{2x}\sin x\,dx.

Solution:

  1. Round 1 (f=e2xf = e^{2x}): I=−e2xcos⁡x+2∫e2xcos⁡x dxI = -e^{2x}\cos x + 2\int e^{2x}\cos x\,dx.
  2. Round 2: ∫e2xcos⁡x dx=e2xsin⁡x−2I\int e^{2x}\cos x\,dx = e^{2x}\sin x - 2I.
  3. Solve the loop: I=−e2xcos⁡x+2e2xsin⁡x−4II = -e^{2x}\cos x + 2e^{2x}\sin x - 4I, so 5I=e2x(2sin⁡x−cos⁡x)5I = e^{2x}(2\sin x - \cos x).

Final Answer: e2x5(2sin⁡x−cos⁡x)+C\dfrac{e^{2x}}{5}\left(2\sin x - \cos x\right) + C.

Example 18: The quotient-shaped ex[f+f′]e^x[f + f']

Find ∫(x−3)ex(x−1)3 dx\displaystyle\int \frac{(x - 3)e^x}{(x - 1)^3}\,dx.

Solution:

  1. Split the numerator: x−3(x−1)3=(x−1)−2(x−1)3=1(x−1)2−2(x−1)3\frac{x - 3}{(x-1)^3} = \frac{(x - 1) - 2}{(x-1)^3} = \frac{1}{(x-1)^2} - \frac{2}{(x-1)^3}.
  2. Test: with f=1(x−1)2f = \frac{1}{(x-1)^2}, f′=−2(x−1)3f' = -\frac{2}{(x-1)^3} — the bracket is f+f′f + f'.
  3. Quote the pattern: ∫ex[f+f′]dx=exf\int e^x[f + f']dx = e^x f.

Final Answer: ex(x−1)2+C\dfrac{e^x}{(x - 1)^2} + C.

Batch 4 — The Chapter's Hardest Indefinite Integrals (Hard)

Example 19: The cot-plus-tan classic

Find ∫(cot⁡x+tan⁡x)dx\displaystyle\int \left(\sqrt{\cot x} + \sqrt{\tan x}\right)dx.

Solution:

  1. Factor: I=∫tan⁡x(1+cot⁡x)dxI = \int\sqrt{\tan x}\left(1 + \cot x\right)dx.
  2. Substitute: tan⁡x=t2\tan x = t^2, so sec⁡2x dx=2t dt\sec^2 x\,dx = 2t\,dt, i.e. dx=2t dt1+t4dx = \frac{2t\,dt}{1 + t^4}: I=∫t(1+1t2)2t dt1+t4=2∫t2+1t4+1dtI = \int t\left(1 + \frac{1}{t^2}\right)\frac{2t\,dt}{1+t^4} = 2\int\frac{t^2 + 1}{t^4 + 1}dt.
  3. Divide by t2t^2: 2∫1+1t2t2+1t2dt=2∫(1+1t2)dt(t−1t)2+22\int\frac{1 + \frac{1}{t^2}}{t^2 + \frac{1}{t^2}}dt = 2\int\frac{\left(1 + \frac{1}{t^2}\right)dt}{\left(t - \frac1t\right)^2 + 2}.
  4. Substitute y=t−1ty = t - \frac1t (then dy=(1+1t2)dtdy = \left(1 + \frac{1}{t^2}\right)dt): 2∫dyy2+2=22tan⁡−1y22\int\frac{dy}{y^2 + 2} = \frac{2}{\sqrt2}\tan^{-1}\frac{y}{\sqrt2}.

Final Answer: 2 tan⁡−1(tan⁡x−12tan⁡x)+C\sqrt 2\,\tan^{-1}\left(\dfrac{\tan x - 1}{\sqrt{2\tan x}}\right) + C.

Takeaway: The pattern ∫t2+1t4+1dt\int\frac{t^2 + 1}{t^4 + 1}dt — divide by t2t^2, then substitute y=t−1ty = t - \frac1t — is a JEE evergreen. The twin ∫t2−1t4+1dt\int\frac{t^2 - 1}{t^4 + 1}dt uses y=t+1ty = t + \frac1t instead.

Example 20: A sin⁡−1\sin^{-1} ending

Find ∫sin⁡2xcos⁡2x9−cos⁡42x dx\displaystyle\int \frac{\sin 2x\cos 2x}{\sqrt{9 - \cos^4 2x}}\,dx.

Solution:

  1. Substitute: t=cos⁡22xt = \cos^2 2x, so dt=−4cos⁡2xsin⁡2x dxdt = -4\cos 2x\sin 2x\,dx, i.e. sin⁡2xcos⁡2x dx=−dt4\sin 2x\cos 2x\,dx = -\frac{dt}{4}.
  2. Integrate: −14∫dt9−t2=−14sin⁡−1t3-\frac14\int\frac{dt}{\sqrt{9 - t^2}} = -\frac14\sin^{-1}\frac t3.

Final Answer: −14sin⁡−1(cos⁡22x3)+C-\dfrac{1}{4}\sin^{-1}\left(\dfrac{\cos^2 2x}{3}\right) + C.

Example 21: Both log endings from one decomposition

Find ∫x(x2+1)(x2+2) dx\displaystyle\int \frac{x}{(x^2 + 1)(x^2 + 2)}\,dx.

Solution:

  1. Substitute first: y=x2y = x^2, dy=2x dxdy = 2x\,dx: 12∫dy(y+1)(y+2)\frac12\int\frac{dy}{(y+1)(y+2)}.
  2. Decompose: 1(y+1)(y+2)=1y+1−1y+2\frac{1}{(y+1)(y+2)} = \frac{1}{y+1} - \frac{1}{y+2}.
  3. Integrate and return: 12log⁡∣y+1y+2∣=12log⁡x2+1x2+2\frac12\log\left|\frac{y+1}{y+2}\right| = \frac12\log\frac{x^2+1}{x^2+2}.

Final Answer: 12log⁡(x2+1x2+2)+C\dfrac{1}{2}\log\left(\dfrac{x^2 + 1}{x^2 + 2}\right) + C.

Example 22: The x(xn+1)x(x^n + 1) family

Find ∫dxx(x3+1)\displaystyle\int \frac{dx}{x\left(x^3 + 1\right)}.

Solution:

  1. Multiply and divide by x2x^2: I=∫x2 dxx3(x3+1)I = \int\frac{x^2\,dx}{x^3(x^3+1)}.
  2. Substitute t=x3t = x^3, dt=3x2dxdt = 3x^2dx: 13∫dtt(t+1)\frac13\int\frac{dt}{t(t+1)}.
  3. Decompose and integrate: 13∫(1t−1t+1)dt=13log⁡∣tt+1∣\frac13\int\left(\frac1t - \frac{1}{t+1}\right)dt = \frac13\log\left|\frac{t}{t+1}\right|.

Final Answer: 13log⁡∣x3x3+1∣+C\dfrac{1}{3}\log\left|\dfrac{x^3}{x^3 + 1}\right| + C.

Takeaway: For ∫dxx(xn+1)\int\frac{dx}{x(x^n + 1)}, multiplying by xn−1xn−1\frac{x^{n-1}}{x^{n-1}} converts the problem to a two-term partial fraction in t=xnt = x^n — one substitution replaces an nn-factor decomposition.

Example 23: The loop-back with secant

Find ∫sec⁡3x dx\displaystyle\int \sec^3 x\,dx.

Solution:

  1. Split: I=∫sec⁡x⋅sec⁡2x dxI = \int\sec x\cdot\sec^2 x\,dx; by parts with f=sec⁡xf = \sec x, g=sec⁡2xg = \sec^2 x: I=sec⁡xtan⁡x−∫sec⁡xtan⁡2x dxI = \sec x\tan x - \int\sec x\tan^2 x\,dx.
  2. Convert: tan⁡2x=sec⁡2x−1\tan^2 x = \sec^2 x - 1: I=sec⁡xtan⁡x−I+∫sec⁡x dxI = \sec x\tan x - I + \int\sec x\,dx.
  3. Solve the loop: 2I=sec⁡xtan⁡x+log⁡∣sec⁡x+tan⁡x∣2I = \sec x\tan x + \log|\sec x + \tan x|.

Final Answer: 12[sec⁡xtan⁡x+log⁡∣sec⁡x+tan⁡x∣]+C\dfrac{1}{2}\left[\sec x\tan x + \log\left|\sec x + \tan x\right|\right] + C.

Example 24: Splitting a linear numerator over a root

Find ∫x+2x2+4x+5 dx\displaystyle\int \frac{x + 2}{\sqrt{x^2 + 4x + 5}}\,dx.

Solution:

  1. Spot the derivative: ddx(x2+4x+5)=2x+4=2(x+2)\frac{d}{dx}(x^2 + 4x + 5) = 2x + 4 = 2(x + 2) — the numerator is exactly half of it.
  2. Substitute t=x2+4x+5t = x^2 + 4x + 5: 12∫dtt=t\frac12\int\frac{dt}{\sqrt t} = \sqrt t.

Final Answer: x2+4x+5+C\sqrt{x^2 + 4x + 5} + C.

Batch 5 — Definite Integrals with Properties (Hard)

Example 25: Modulus with a trig zero

Evaluate ∫−13/2∣xsin⁡πx∣dx\displaystyle\int_{-1}^{3/2} \left|x\sin\pi x\right|dx.

Solution:

  1. Sign chart: xsin⁡πx≥0x\sin\pi x \geq 0 on [−1,1][-1, 1] (both factors change sign together) and ≤0\leq 0 on [1,32]\left[1, \frac32\right].
  2. Split (P2): I=∫−11xsin⁡πx dx−∫13/2xsin⁡πx dxI = \int_{-1}^{1} x\sin\pi x\,dx - \int_1^{3/2} x\sin\pi x\,dx.
  3. Anti-derivative by parts: ∫xsin⁡πx dx=−xcos⁡πxπ+sin⁡πxπ2\int x\sin\pi x\,dx = -\frac{x\cos\pi x}{\pi} + \frac{\sin\pi x}{\pi^2}.
  4. Evaluate: with F(x)=−xcos⁡πxπ+sin⁡πxπ2F(x) = -\frac{x\cos\pi x}{\pi} + \frac{\sin\pi x}{\pi^2}: first piece F(1)−F(−1)=1π−(−1π)=2πF(1) - F(-1) = \frac1\pi - \left(-\frac1\pi\right) = \frac{2}{\pi}; second piece F(32)−F(1)=−1π2−1πF\left(\frac32\right) - F(1) = -\frac{1}{\pi^2} - \frac{1}{\pi}, entering with a minus sign. Total: 2π+1π+1π2\frac{2}{\pi} + \frac{1}{\pi} + \frac{1}{\pi^2}.

Final Answer: 3π+1π2\dfrac{3}{\pi} + \dfrac{1}{\pi^2}.

Example 26: The aa-bb symmetric denominator

Evaluate ∫0πx dxa2cos⁡2x+b2sin⁡2x\displaystyle\int_0^{\pi} \frac{x\,dx}{a^2\cos^2 x + b^2\sin^2 x}.

Solution:

  1. King's rule (P4): the trig block is unchanged under x↦π−xx \mapsto \pi - x, so adding the mirrored copy: 2I=π∫0πdxa2cos⁡2x+b2sin⁡2x2I = \pi\int_0^{\pi}\frac{dx}{a^2\cos^2x + b^2\sin^2x}.
  2. Use P6 (f(π−x)=f(x)f(\pi - x) = f(x)): 2I=2π∫0π/2dxa2cos⁡2x+b2sin⁡2x2I = 2\pi\int_0^{\pi/2}\frac{dx}{a^2\cos^2x + b^2\sin^2x}.
  3. Divide by cos⁡2x\cos^2 x and substitute t=tan⁡xt = \tan x: I=π∫0∞dta2+b2t2=πab[tan⁡−1bta]0∞=πab⋅π2I = \pi\int_0^{\infty}\frac{dt}{a^2 + b^2t^2} = \frac{\pi}{ab}\left[\tan^{-1}\frac{bt}{a}\right]_0^{\infty} = \frac{\pi}{ab}\cdot\frac{\pi}{2}.

Final Answer: π22ab\dfrac{\pi^2}{2ab}.

Takeaway: An alternative route splits [0,π2]\left[0, \frac{\pi}{2}\right] at π4\frac{\pi}{4} and uses tan⁡\tan and cot⁡\cot substitutions to avoid the improper limit — same value, more steps. Either route needs the King's rule first to kill the naked xx.

Example 27: Odd about the centre (P6)

Evaluate ∫02πcos⁡5x dx\displaystyle\int_0^{2\pi} \cos^5 x\,dx.

Solution:

  1. Check the [0,2a][0, 2a] symmetry with a=πa = \pi: cos⁡5(2π−x)=cos⁡5x\cos^5(2\pi - x) = \cos^5 x, so P6 gives I=2∫0πcos⁡5x dxI = 2\int_0^{\pi}\cos^5 x\,dx.
  2. Check again with a=π2a = \frac{\pi}{2}: cos⁡5(π−x)=−cos⁡5x\cos^5(\pi - x) = -\cos^5 x — the anti-symmetric case of P6.
  3. Conclude: ∫0πcos⁡5x dx=0\int_0^{\pi}\cos^5 x\,dx = 0, hence I=0I = 0.

Final Answer: 00.

Example 28: A log-one-liner

Evaluate ∫0π/2sin⁡x1+cos⁡x dx\displaystyle\int_0^{\pi/2} \frac{\sin x}{1 + \cos x}\,dx.

Solution:

  1. Spot the pair: numerator =−ddx(1+cos⁡x)= -\frac{d}{dx}(1 + \cos x).
  2. Integrate: −log⁡(1+cos⁡x)-\log(1 + \cos x); evaluate from 00 to π2\frac{\pi}{2}: −log⁡1+log⁡2-\log 1 + \log 2.

Final Answer: log⁡2\log 2.

Example 29: Rationalise, then integrate (Miscellaneous style)

Evaluate ∫01dx1+x+x\displaystyle\int_0^1 \frac{dx}{\sqrt{1 + x} + \sqrt x}.

Solution:

  1. Rationalise: multiply by 1+x−x1+x−x\frac{\sqrt{1+x} - \sqrt x}{\sqrt{1+x} - \sqrt x}: denominator becomes (1+x)−x=1(1 + x) - x = 1, so the integrand is 1+x−x\sqrt{1+x} - \sqrt x.
  2. Integrate: 23(1+x)3/2−23x3/2\frac23(1+x)^{3/2} - \frac23 x^{3/2}.
  3. Evaluate: 23[22−1]−23[1−0]=42−43\frac23\left[2\sqrt2 - 1\right] - \frac23\left[1 - 0\right] = \frac{4\sqrt2 - 4}{3}.

Final Answer: 4(2−1)3\dfrac{4\left(\sqrt 2 - 1\right)}{3}.

Example 30: The half-angle log integral

Evaluate ∫0πlog⁡(1+cos⁡x) dx\displaystyle\int_0^{\pi} \log(1 + \cos x)\,dx.

Solution:

  1. Half-angle: 1+cos⁡x=2cos⁡2x21 + \cos x = 2\cos^2\frac x2, so I=πlog⁡2+2∫0πlog⁡cos⁡x2 dxI = \pi\log 2 + 2\int_0^{\pi}\log\cos\frac x2\,dx.
  2. Substitute t=x2t = \frac x2: 2∫0πlog⁡cos⁡x2dx=4∫0π/2log⁡cos⁡t dt2\int_0^{\pi}\log\cos\frac x2 dx = 4\int_0^{\pi/2}\log\cos t\,dt.
  3. Quote the famous result (equal to the log-sine integral by P4): ∫0π/2log⁡cos⁡t dt=−π2log⁡2\int_0^{\pi/2}\log\cos t\,dt = -\frac{\pi}{2}\log 2.
  4. Combine: I=πlog⁡2+4(−π2log⁡2)=πlog⁡2−2πlog⁡2I = \pi\log2 + 4\left(-\frac{\pi}{2}\log2\right) = \pi\log 2 - 2\pi\log 2.

Final Answer: −πlog⁡2-\pi\log 2.

Takeaway: The value ∫0π/2log⁡sin⁡x dx=∫0π/2log⁡cos⁡x dx=−π2log⁡2\int_0^{\pi/2}\log\sin x\,dx = \int_0^{\pi/2}\log\cos x\,dx = -\frac{\pi}{2}\log2 is a building block — several miscellaneous-level definite integrals reduce to it after a half-angle or double-angle step.