PYQ Vault

CBSE Class 12 Maths · Integrals

Definite Integrals by Substitution

Substitute t = g(x) in a definite integral and change the limits to values of t, so the value comes straight from t without going back to x.

Why this matters

34 questions, eighteen of them from board papers from 2022 to 2026. The board sets three- and five-mark questions in which the substitution is the whole problem: t = eˣ or e²ˣ (2022, 2023, 2025, 2026), t = log x (2023), t = sin x or tan x (2022, 2023, 2025) and t = sin x − cos x (two in 2024), with one-mark MCQs that need t = sin x, t = cot θ or t = 5x² + 1 (2024, 2025). The textbook adds Examples 26 and 27, Exercise 7.9 (all but Q10) and Miscellaneous Questions 25 to 27, 29 and 30.

Concept 1 of 3: Change the limits with the variable

When you put t = g(x) in a definite integral, the limits are still values of x. Change them to values of t at once: when x = a, t = g(a), and when x = b, t = g(b). Then work in t to the end and never go back to x.

Definition

  • NCERT's steps: substitute, integrate in the new variable without a constant, write the answer back in x, and put in the old limits.
  • The quicker way (NCERT's note): keep the integral in the new variable and change the limits, so step three is not needed.
  • Write the new limits as a line of the answer: "when x=0x = 0, t=1t = 1; when x=1x = 1, t=et = e".
  • If the new lower limit is bigger than the new upper limit, keep it, or use ∫pq=−∫qp\int_p^q = -\int_q^p to swap the limits and the sign together.
  • Choices that come up often: t=ext = e^x when exe^x and e2xe^{2x} appear; t=log⁡xt = \log x when dxx\dfrac{dx}{x} appears; t=xnt = x^n when xn−1 dxx^{n-1}\,dx appears; t=xt = \sqrt{x} for f(x)x\dfrac{f(\sqrt{x})}{\sqrt{x}}.
  • Never mix the two ways: an answer in t with the old x limits is wrong.

Substitution with new limits

∫abf(g(x)) g′(x) dx=∫g(a)g(b)f(t) dt\int_a^b f(g(x))\,g'(x)\,dx = \int_{g(a)}^{g(b)} f(t)\,dt
  • t=g(x)t = g(x)the new variable, so dt = g′(x) dx
  • g(a),g(b)g(a), g(b)the new lower and upper limits

Worked example

Evaluate ∫12e1/xx2 dx\int_1^{2} \dfrac{e^{1/x}}{x^2}\,dx.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2023 · 65/3/1 · Q28Moderate

Example 1 · Integrals · Definite Integrals by Substitution

Evaluate : ∫1e14x2−(xlog⁡x)2 dx\int_{1}^{e} \frac{1}{\sqrt{4x^2 - (x \log x)^2}} \, dx

Keeping the old limits

After t=ext = e^x, the limits 0 and 2 belong to x. In t they are e0=1e^0 = 1 and e2e^2. Using 0 and 2 for t is the commonest lost mark in this topic.

Losing the minus sign of dt

For t=cos⁡xt = \cos x, t=cot⁡xt = \cot x or t=1xt = \dfrac{1}{x}, dt carries a minus sign. Keep it until you reverse the limits, which removes it.

Mixing the two ways

Either go back to x and use the old limits, or stay in t with the new limits. An antiderivative in t with the x limits put in gives a wrong value.

Dropping the constant from dt

t=x3t = x^3 gives x2 dx=dt3x^2\,dx = \dfrac{dt}{3}, and t=5x2+1t = 5x^2 + 1 gives x dx=dt10x\,dx = \dfrac{dt}{10}. The constant belongs in front of the new integral.

Concept 2 of 3: Trigonometric substitutions: t = sin x, cos x or tan x

If the integrand has a factor cos x dx and the rest is in sin x, put t = sin x. If it has sec² x dx and the rest is in tan x, put t = tan x. Limits like 0, π/4 and π/2 then become simple numbers such as 0 and 1.

Definition

  • cos⁡x dx\cos x\,dx with the rest in sin⁡x\sin x: t=sin⁡xt = \sin x. Limits: x=0→t=0x = 0 \to t = 0, x=π2→t=1x = \dfrac{\pi}{2} \to t = 1.
  • sin⁡x dx\sin x\,dx with the rest in cos⁡x\cos x: t=cos⁡xt = \cos x, dt=−sin⁡x dxdt = -\sin x\,dx. Limits: x=0→t=1x = 0 \to t = 1, x=π2→t=0x = \dfrac{\pi}{2} \to t = 0.
  • sec⁡2x dx\sec^2 x\,dx with the rest in tan⁡x\tan x: t=tan⁡xt = \tan x. Limits: x=0→t=0x = 0 \to t = 0, x=π4→t=1x = \dfrac{\pi}{4} \to t = 1.
  • An odd power: keep one factor for dt and write the rest with sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1, as in cos⁡5x=(1−sin⁡2x)2cos⁡x\cos^5 x = (1 - \sin^2 x)^2\cos x.
  • A denominator made of even powers such as cos⁡4x+sin⁡4x\cos^4 x + \sin^4 x: divide above and below by cos⁡4x\cos^4 x to bring in tan⁡x\tan x and sec⁡2x\sec^2 x.
  • sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x gives the factor cos⁡x dx\cos x\,dx that t=sin⁡xt = \sin x needs.
  • After the substitution, another method may follow: partial fractions, a standard form or integration by parts.

Sine substitution

t=sin⁡x,dt=cos⁡x dx,x:0→π2  ⇒  t:0→1t = \sin x,\quad dt = \cos x\,dx,\quad x: 0 \to \dfrac{\pi}{2} \;\Rightarrow\; t: 0 \to 1

Worked example

Evaluate ∫0π/2sin⁡3xcos⁡2x dx\int_0^{\pi/2} \sin^3 x\cos^2 x\,dx.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2025 · 65/4/2 · 34 (a)Hard

Example 2 · Integrals · Definite Integrals by Substitution

Evaluate : ∫0π/4sin⁡xcos⁡xcos⁡4x+sin⁡4x dx\int\limits_0^{\pi/4} \frac{\sin x \cos x}{\cos^4 x + \sin^4 x}\, dx

Not changing π/2 into 1

After t=sin⁡xt = \sin x, the upper limit is sin⁡π2=1\sin\dfrac{\pi}{2} = 1. Writing π2\dfrac{\pi}{2} as a limit for t is a mixed answer and loses marks.

Forgetting that t = cos x reverses the limits

With t=cos⁡xt = \cos x on [0,π2]\left[0, \dfrac{\pi}{2}\right], t runs from 1 down to 0 and dt=−sin⁡x dxdt = -\sin x\,dx. The two minus signs cancel only if you write both.

Using up the sec² x twice

sec⁡4x=(1+tan⁡2x)sec⁡2x\sec^4 x = (1 + \tan^2 x)\sec^2 x. One sec⁡2x\sec^2 x goes into dt; only the other one becomes 1+t21 + t^2.

Concept 3 of 3: The pair t = sin x − cos x and t = sin x + cos x

When the numerator is sin x + cos x and sin 2x sits in the denominator, put t = sin x − cos x. Its derivative is exactly cos x + sin x, and squaring it brings in sin 2x. If the numerator is cos x − sin x, use the partner t = sin x + cos x.

Definition

  • t=sin⁡x−cos⁡xt = \sin x - \cos x: dt=(cos⁡x+sin⁡x) dxdt = (\cos x + \sin x)\,dx and t2=1−sin⁡2xt^2 = 1 - \sin 2x, so sin⁡2x=1−t2\sin 2x = 1 - t^2.
  • t=sin⁡x+cos⁡xt = \sin x + \cos x: dt=(cos⁡x−sin⁡x) dxdt = (\cos x - \sin x)\,dx and t2=1+sin⁡2xt^2 = 1 + \sin 2x, so sin⁡2x=t2−1\sin 2x = t^2 - 1.
  • Limits for t=sin⁡x−cos⁡xt = \sin x - \cos x: x=0→−1x = 0 \to -1, x=π4→0x = \dfrac{\pi}{4} \to 0, x=π2→1x = \dfrac{\pi}{2} \to 1, x=π6→1−32x = \dfrac{\pi}{6} \to \dfrac{1 - \sqrt{3}}{2}, x=π3→3−12x = \dfrac{\pi}{3} \to \dfrac{\sqrt{3} - 1}{2}.
  • Then use a standard form: ∫dt1−t2=sin⁡−1t\int \dfrac{dt}{\sqrt{1 - t^2}} = \sin^{-1}t, or ∫dta2−t2=12alog⁡∣a+ta−t∣\int \dfrac{dt}{a^2 - t^2} = \dfrac{1}{2a}\log\left|\dfrac{a + t}{a - t}\right|.
  • With limits −p-p and pp, [sin⁡−1t]−pp=2sin⁡−1p\big[\sin^{-1}t\big]_{-p}^{p} = 2\sin^{-1}p, because sin⁡−1\sin^{-1} is an odd function.

Sine minus cosine substitution

t=sin⁡x−cos⁡x,dt=(sin⁡x+cos⁡x) dx,sin⁡2x=1−t2t = \sin x - \cos x,\quad dt = (\sin x + \cos x)\,dx,\quad \sin 2x = 1 - t^2

Worked example

Evaluate ∫0π/4cos⁡x−sin⁡x1+sin⁡2x dx\int_0^{\pi/4} \dfrac{\cos x - \sin x}{1 + \sin 2x}\,dx.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/1/1 · 33 (a)Hard

Example 3 · Integrals · Definite Integrals by Substitution

Evaluate : ∫0π4sin⁡x+cos⁡x9+16sin⁡2x  dx\int_0^{\frac{\pi}{4}} \frac{\sin x + \cos x}{9 + 16 \sin 2x} \; dx

Choosing the wrong one of the pair

For a numerator sin⁡x+cos⁡x\sin x + \cos x, the substitution is t=sin⁡x−cos⁡xt = \sin x - \cos x, the one whose derivative is that numerator. t=sin⁡x+cos⁡xt = \sin x + \cos x gives cos⁡x−sin⁡x\cos x - \sin x instead.

The sign of sin 2x

With t=sin⁡x−cos⁡xt = \sin x - \cos x, t2=1−sin⁡2xt^2 = 1 - \sin 2x, so sin⁡2x=1−t2\sin 2x = 1 - t^2, not t2−1t^2 - 1. A wrong sign here turns an inverse sine into a log.

The limit at x = 0

At x=0x = 0, sin⁡x−cos⁡x=0−1=−1\sin x - \cos x = 0 - 1 = -1, not 0. Work out each new limit from the substitution, never by guessing.

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 (3)

  • Change the limits with the variable

    Substitution with new limits

    ∫abf(g(x)) g′(x) dx=∫g(a)g(b)f(t) dt\int_a^b f(g(x))\,g'(x)\,dx = \int_{g(a)}^{g(b)} f(t)\,dt
  • Trigonometric substitutions: t = sin x, cos x or tan x

    Sine substitution

    t=sin⁡x,dt=cos⁡x dx,x:0→π2  ⇒  t:0→1t = \sin x,\quad dt = \cos x\,dx,\quad x: 0 \to \dfrac{\pi}{2} \;\Rightarrow\; t: 0 \to 1
  • The pair t = sin x − cos x and t = sin x + cos x

    Sine minus cosine substitution

    t=sin⁡x−cos⁡x,dt=(sin⁡x+cos⁡x) dx,sin⁡2x=1−t2t = \sin x - \cos x,\quad dt = (\sin x + \cos x)\,dx,\quad \sin 2x = 1 - t^2

Watch out for (10)

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