← Back to all lessons
Class 12Calculus7:33Published 18 Oct 2025

Two Sure Questions from Integrals

Two frequently asked Class 12 integration problems worked end to end, using clever substitutions to turn awkward roots into standard forms.

This lesson works through two integrals that often appear in Class 12 exams. The first integrates the sum of root cot x and root tan x by factoring, substituting tan x as t squared, and completing the square to reach an inverse tangent form. The second handles an integral with a square root in the denominator by substituting cos squared 2x, reducing it to a standard inverse sine form.

What you'll learn

  • Factoring a sum of square root trig functions into a single root times a simpler bracket
  • Substituting tangent as a squared variable to clear roots from an integral
  • Completing the square in the denominator to reach a standard inverse tangent result
  • Recognising the inverse sine form to integrate an expression with a square root denominator

Lesson chapters

0:00First integral and factoring the roots
1:04Substituting tan x as t squared
2:40Completing the square and the inverse tangent form
4:49Resubstituting back to x
5:51Second integral with a root in the denominator
6:16Substituting cos squared 2x and the inverse sine form

Lesson notes

This lesson works through two integrals that come up often in Class 12 exams. Each one uses a substitution to turn an awkward expression into a standard form we already know how to integrate.

First integral: roots of cot and tan

We want to evaluate

I=(cotx+tanx)dx.I = \int \left( \sqrt{\cot x} + \sqrt{\tan x} \right)\, dx.

Write cotx=1tanx\sqrt{\cot x} = \tfrac{1}{\sqrt{\tan x}} and factor tanx\sqrt{\tan x} out of both terms:

I=tanx(1tanx+1)dx=tanx(cotx+1)dx.I = \int \sqrt{\tan x}\left( \frac{1}{\tan x} + 1 \right) dx = \int \sqrt{\tan x}\,(\cot x + 1)\, dx.

The substitution

Put tanx=t2\tan x = t^2. Differentiating, sec2xdx=2tdt\sec^2 x\, dx = 2t\, dt, so

dx=2tsec2xdt=2t1+tan2xdt=2t1+t4dt.dx = \frac{2t}{\sec^2 x}\, dt = \frac{2t}{1 + \tan^2 x}\, dt = \frac{2t}{1 + t^4}\, dt.

With tanx=t2\tan x = t^2 we have tanx=t\sqrt{\tan x} = t and cotx+1=1t2+1=t2+1t2\cot x + 1 = \tfrac{1}{t^2} + 1 = \tfrac{t^2 + 1}{t^2}. Substituting,

I=tt2+1t22t1+t4dt=2t2+1t4+1dt.I = \int t \cdot \frac{t^2 + 1}{t^2} \cdot \frac{2t}{1 + t^4}\, dt = 2 \int \frac{t^2 + 1}{t^4 + 1}\, dt.

Dividing through by t2t^2

Divide the top and bottom by t2t^2:

I=21+1t2t2+1t2dt.I = 2 \int \frac{1 + \tfrac{1}{t^2}}{t^2 + \tfrac{1}{t^2}}\, dt.

Use the identity t2+1t2=(t1t)2+2t^2 + \tfrac{1}{t^2} = \left( t - \tfrac{1}{t} \right)^2 + 2. Now put u=t1tu = t - \tfrac{1}{t}, so that du=(1+1t2)dtdu = \left( 1 + \tfrac{1}{t^2} \right) dt, which is exactly the numerator. Then

I=2duu2+2=2duu2+(2)2.I = 2 \int \frac{du}{u^2 + 2} = 2 \int \frac{du}{u^2 + (\sqrt{2})^2}.

Standard form

Using dxa2+x2=1atan1xa\displaystyle \int \frac{dx}{a^2 + x^2} = \frac{1}{a}\tan^{-1}\frac{x}{a} with a=2a = \sqrt{2},

I=212tan1u2=2tan1u2.I = 2 \cdot \frac{1}{\sqrt{2}} \tan^{-1}\frac{u}{\sqrt{2}} = \sqrt{2}\,\tan^{-1}\frac{u}{\sqrt{2}}.

Resubstitute u=t1tu = t - \tfrac{1}{t} and then t=tanxt = \sqrt{\tan x}:

I=2tan1 ⁣(tanx12tanx)+C.I = \sqrt{2}\,\tan^{-1}\!\left( \frac{\tan x - 1}{\sqrt{2\,\tan x}} \right) + C.

Second integral: a root in the denominator

Now evaluate

I=sin2xcos2x9cos42xdx.I = \int \frac{\sin 2x \cos 2x}{\sqrt{9 - \cos^4 2x}}\, dx.

Write 9=329 = 3^2 and cos42x=(cos22x)2\cos^4 2x = (\cos^2 2x)^2, so

I=sin2xcos2x32(cos22x)2dx.I = \int \frac{\sin 2x \cos 2x}{\sqrt{3^2 - (\cos^2 2x)^2}}\, dx.

The substitution

Put t=cos22xt = \cos^2 2x. Then sin2xcos2xdx=14dt\sin 2x \cos 2x\, dx = -\tfrac{1}{4}\, dt; keeping the constant aside, the integral reduces to

I=12dt32t2.I = \int \frac{\tfrac{1}{2}\, dt}{\sqrt{3^2 - t^2}}.

Standard form

Using dxa2x2=sin1xa\displaystyle \int \frac{dx}{\sqrt{a^2 - x^2}} = \sin^{-1}\frac{x}{a} with a=3a = 3,

I=12sin1t3.I = \frac{1}{2}\sin^{-1}\frac{t}{3}.

Resubstitute t=cos22xt = \cos^2 2x:

I=12sin1 ⁣(cos22x3)+C.I = \frac{1}{2}\sin^{-1}\!\left( \frac{\cos^2 2x}{3} \right) + C.

Key takeaways

  • Factoring a sum of root trig functions into one root times a bracket exposes a clean substitution.
  • The substitution tanx=t2\tan x = t^2 clears the roots and, after dividing by t2t^2 and completing the square with t1tt - \tfrac{1}{t}, gives a standard inverse tangent integral.
  • Spotting a2x2a^2 - x^2 under a square root signals the inverse sine form sin1xa\sin^{-1}\tfrac{x}{a}.