PYQ Vault

CBSE Class 12 Maths · Integrals

Integration by Substitution

Change the variable: put t equal to a part of the integrand whose derivative is also present, so that the integral becomes a standard one in t, then put x back.

Why this matters

79 questions, twenty of them from board papers: four in 2022, two in 2023, seven in 2024, two in 2025 and five in 2026. The board asks integrals in which the numerator is the derivative of the denominator (1 over e to the x plus 1 in 2022, and again in 2026 with a condition to fix C; a quotient of e to the 4x terms in 2024), substitutions in log x (2024), roots cleared by a substitution (the square root and cube root of x in 2022 and 2026, x times the root of 1 + 2x in 2024, the root of x over 1 + x to the power 3/4 in 2025), trigonometric integrands (2022, 2023, 2024 twice) and one-mark items in powers of 2 and e (2025, 2026). The textbook adds Examples 5 and 6, Exercise 7.2 and several Miscellaneous questions.

Concept 1 of 4: The log form: numerator the derivative of the denominator

If the top of a fraction is the derivative of the bottom, put the bottom equal to tt: the top and dxdx together become dtdt, and the integral is ∫dtt=log⁡∣t∣\int \dfrac{dt}{t} = \log|t|. When the top is only a number times that derivative, adjust the number outside. This one idea gives the integrals of tan⁡x\tan x, cot⁡x\cot x, sec⁡x\sec x and cosec⁡x\operatorname{cosec} x.

Definition

  • ∫f′(x)f(x) dx=log⁡∣f(x)∣+C\displaystyle\int \dfrac{f'(x)}{f(x)}\,dx = \log|f(x)| + C.
  • ∫tan⁡x dx=log⁡∣sec⁡x∣+C\int \tan x\,dx = \log|\sec x| + C, ∫cot⁡x dx=log⁡∣sin⁡x∣+C\int \cot x\,dx = \log|\sin x| + C.
  • ∫sec⁡x dx=log⁡∣sec⁡x+tan⁡x∣+C\int \sec x\,dx = \log|\sec x + \tan x| + C, ∫cosec⁡x dx=log⁡∣cosec⁡x−cot⁡x∣+C\int \operatorname{cosec} x\,dx = \log|\operatorname{cosec} x - \cot x| + C.
  • If the numerator is not yet the derivative, divide top and bottom by a suitable term first, for example by exe^{x} or e2xe^{2x} in a fraction of exponentials.
  • When a fraction has xx times a bracket in x2x^2 below, taking x3x^3 out of the denominator often gives a derivative on top.

Logarithmic form

∫f′(x)f(x) dx=log⁡∣f(x)∣+C\int \dfrac{f'(x)}{f(x)}\,dx = \log|f(x)| + C

Worked example

Show that ∫tan⁡x dx=log⁡∣sec⁡x∣+C\int \tan x\,dx = \log|\sec x| + C.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/2/1 · Q24Moderate

Example 1 · Integrals · Integration by Substitution

Find : ∫e4x−1e4x+1 dx\displaystyle\int \dfrac{e^{4x} - 1}{e^{4x} + 1}\, dx

Forgetting the factor that adjusts the derivative

For ∫xx2+9 dx\int \dfrac{x}{x^2 + 9}\,dx, dt=2x dxdt = 2x\,dx, so the answer is 12log⁡(x2+9)\dfrac{1}{2}\log(x^2 + 9), not log⁡(x2+9)\log(x^2 + 9). Differentiate your answer in your head to catch a missing factor.

The sign in the integral of tan x

∫tan⁡x dx=−log⁡∣cos⁡x∣=log⁡∣sec⁡x∣\int \tan x\,dx = -\log|\cos x| = \log|\sec x|. Writing log⁡∣cos⁡x∣\log|\cos x| drops the minus sign that came from dt=−sin⁡x dxdt = -\sin x\,dx.

Concept 2 of 4: Substituting t for a function whose derivative is present

Look inside the integrand for a function g(x)g(x) sitting next to its own derivative g′(x)g'(x): log⁡x\log x beside 1x\dfrac{1}{x}, tan⁡−1x\tan^{-1} x beside 11+x2\dfrac{1}{1 + x^2}, sin⁡x\sin x beside cos⁡x\cos x. Put t=g(x)t = g(x); the derivative and dxdx become dtdt, and what is left is a standard integral in tt.

Definition

  • Choose t=g(x)t = g(x) so that g′(x) dxg'(x)\,dx is in the integrand, up to a constant factor.
  • Write dt=g′(x) dxdt = g'(x)\,dx on its own line; it carries a step mark.
  • Rewrite the whole integral in tt. No xx may be left.
  • Integrate in tt, then put t=g(x)t = g(x) back in the answer.
  • Simplify first where it helps: elog⁡sin⁡x=sin⁡xe^{\log \sin x} = \sin x, and dividing top and bottom by sin⁡2x\sin^2 x turns 1sin⁡xcos⁡x\dfrac{1}{\sin x\cos x} into cosec⁡2xcot⁡x\dfrac{\operatorname{cosec}^2 x}{\cot x}.

Change of variable

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

Worked example

Find ∫sec⁡2x(3+tan⁡x)2 dx\int \dfrac{\sec^2 x}{(3 + \tan x)^2}\,dx.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2022 · 65/2/3 · 6 (a)Moderate

Example 2 · Integrals · Integration by Substitution

Find : ∫cot⁡xsin⁡xcos⁡x dx\int \frac{\sqrt{\cot x}}{\sin x \cos x} \, dx

Leaving x inside the t-integral

After you write dt=g′(x) dxdt = g'(x)\,dx, every xx must go. An integral such as ∫x t dt\int x\,t\,dt cannot be done as it stands; rewrite the stray xx in tt first.

Not putting x back

An answer left as −1t+C-\dfrac{1}{t} + C is incomplete. The question is in xx, so the answer must be in xx.

A minus sign from cos x or cot x

If t=cos⁡xt = \cos x then dt=−sin⁡x dxdt = -\sin x\,dx; if t=cot⁡xt = \cot x then dt=−cosec⁡2x dxdt = -\operatorname{cosec}^2 x\,dx. Carry that minus sign to the end.

Concept 3 of 4: Clearing a root by substitution

A root of a linear expression, such as 2x+1\sqrt{2x + 1}, is cleared by calling the whole root tt: then xx and dxdx are both simple in tt and the integrand becomes a polynomial. When two different roots of xx appear, such as x\sqrt{x} and x3\sqrt[3]{x}, put x=t6x = t^6, the power that clears both at once.

Definition

  • For ax+b\sqrt{ax + b}: put ax+b=t2ax + b = t^2, so a dx=2t dta\,dx = 2t\,dt and x=t2−bax = \dfrac{t^2 - b}{a}.
  • For x1/mx^{1/m} and x1/nx^{1/n} together: put x=tkx = t^k, where kk is the LCM of mm and nn.
  • After the substitution, an algebraic fraction in tt may need division before it can be integrated.
  • A root such as x+a+x+b\sqrt{x + a} + \sqrt{x + b} in the denominator can instead be rationalised: multiply by x+a−x+b\sqrt{x + a} - \sqrt{x + b}.
  • Put the root back at the end: t=ax+bt = \sqrt{ax + b} or t=x1/kt = x^{1/k}.

Clearing a linear root

ax+b=t2⇒dx=2ta dtax + b = t^2 \Rightarrow dx = \dfrac{2t}{a}\,dt

Worked example

Find ∫x+2x−1 dx\int \dfrac{x + 2}{\sqrt{x - 1}}\,dx.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/1/1 · 23 (a)Moderate

Example 3 · Integrals · Integration by Substitution

Find : ∫x1+2x  dx\int x \sqrt{1 + 2x} \; dx

Changing the root but not dx

With x−1=t2x - 1 = t^2, dxdx is 2t dt2t\,dt, not dtdt. The factor 2t2t is what cancels the root in the denominator.

Using the wrong power for two roots

For x\sqrt{x} and x3\sqrt[3]{x} put x=t6x = t^6, so that x=t3\sqrt{x} = t^3 and x3=t2\sqrt[3]{x} = t^2. x=t5x = t^5 or x=t3x = t^3 leaves a root behind.

Concept 4 of 4: Substitution in trigonometric integrands

With an odd power of sin⁡x\sin x or cos⁡x\cos x, keep one factor for dtdt and turn the rest into the other function with sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1. With an angle such as x+ax + a, put x+a=tx + a = t and expand. And when a power of sin⁡x\sin x can be taken out to leave cot⁡x\cot x or tan⁡x\tan x, the leftover cosec⁡2x\operatorname{cosec}^2 x or sec⁡2x\sec^2 x is ready to be dtdt.

Definition

  • Odd power of cos⁡x\cos x: keep one cos⁡x\cos x, write the rest in sin⁡x\sin x, put sin⁡x=t\sin x = t. Odd power of sin⁡x\sin x: put cos⁡x=t\cos x = t.
  • Shifted angle: for sin⁡xsin⁡(x+a)\dfrac{\sin x}{\sin(x + a)}, put x+a=tx + a = t and use sin⁡(t−a)=sin⁡tcos⁡a−cos⁡tsin⁡a\sin(t - a) = \sin t\cos a - \cos t\sin a.
  • 11+tan⁡x\dfrac{1}{1 + \tan x}: write it as cos⁡xcos⁡x+sin⁡x\dfrac{\cos x}{\cos x + \sin x} and split the numerator as 12[(cos⁡x+sin⁡x)+(cos⁡x−sin⁡x)]\dfrac{1}{2}[(\cos x + \sin x) + (\cos x - \sin x)].
  • Taking out a power: sin⁡3xsin⁡(x+α)=sin⁡4x(cos⁡α+sin⁡αcot⁡x)\sin^3 x\sin(x + \alpha) = \sin^4 x(\cos\alpha + \sin\alpha\cot x), so its root is sin⁡2xcos⁡α+sin⁡αcot⁡x\sin^2 x\sqrt{\cos\alpha + \sin\alpha\cot x}, and then t=cos⁡α+sin⁡αcot⁡xt = \cos\alpha + \sin\alpha\cot x.
  • aa and α\alpha are constants: they stay outside every integral.

Odd power of cos x

∫sin⁡mxcos⁡2k+1x dx=∫tm(1−t2)k dt,t=sin⁡x\int \sin^m x\cos^{2k+1} x\,dx = \int t^m(1 - t^2)^k\,dt, \quad t = \sin x

Worked example

Find ∫sin⁡2xcos⁡3x dx\int \sin^2 x\cos^3 x\,dx.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2023 · 65/2/1 · 26 (b)Hard

Example 4 · Integrals · Integration by Substitution

Find ∫dxsin⁡3xcos⁡(x−α)\int \frac{dx}{\sqrt{\sin^3 x \cos (x - \alpha)}}.

Treating the constant angle as a variable

In sin⁡(x+a)\sin(x + a) or cos⁡(x−α)\cos(x - \alpha), aa and α\alpha are fixed numbers. cos⁡α\cos\alpha and sin⁡α\sin\alpha come outside the integral; they are never integrated.

Keeping the wrong factor for dt

With sin⁡2xcos⁡3x\sin^2 x\cos^3 x, put sin⁡x=t\sin x = t and keep one cos⁡x\cos x for dtdt. Putting cos⁡x=t\cos x = t leaves a sin⁡x\sin x with no dtdt to match.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

Watch out for (9)

Test yourself on Integrals

20 past CBSE Class 12 questions from this chapter, timed at 30 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Take the Integrals chapter test