← Back to all lessons
Class 12Calculus14:49Published 5 Sept 2024

Class XII Integration by Substitution (Ex 7.3, Part 3)

More worked solutions from Exercise 7.3, integrating tricky trigonometric and exponential expressions by choosing the right substitution and simplifying first.

This lesson works through several integration problems from Exercise 7.3, each solved by spotting a substitution or a trig identity that turns a messy integrand into something standard. It covers exponential integrands, powers of tangent, product-to-sum conversions, and fractions involving sine and cosine that simplify after multiplying by a conjugate. Every example is solved step by step, from the setup to the final answer with the constant of integration.

What you'll learn

  • How to pick a substitution so an exponential times a bracket integrates cleanly
  • Using the identity for tan squared to integrate higher powers of tangent
  • Turning a product of sine and cosine into a sum before integrating
  • Simplifying fractions of cosines by multiplying top and bottom by the conjugate

Lesson chapters

0:00Exponential integrand with a substitution
1:50Integrating tan to the fourth power
5:06A fraction of cosines simplified by a difference of squares
6:56Sine squared over one plus cosine
7:31Cosine over one minus cosine, using the conjugate
11:06One minus cosine over one plus cosine via half-angles
12:08Product to sum: sine 3x times cosine 4x

Lesson notes

This lesson finishes off Exercise 7.3 with several more integrals, each solved by choosing a good substitution or by simplifying the integrand with a trig identity first. The problems are worked in the order they appear in the video.

An exponential integrand

Evaluate

∫ax(1+xln⁡a)sec⁡2 ⁣(axx) dx.\int a^{x}\bigl(1 + x\ln a\bigr)\sec^{2}\!\bigl(a^{x}x\bigr)\,dx.

Put

t=axx.t = a^{x}x.

Differentiating, dt=ax(1+xln⁡a) dxdt = a^{x}\bigl(1 + x\ln a\bigr)\,dx, which is exactly the factor sitting in front. So the integral becomes

∫sec⁡2t dt=tan⁡t+C=tan⁡ ⁣(axx)+C.\int \sec^{2} t\,dt = \tan t + C = \tan\!\bigl(a^{x}x\bigr) + C.

A fraction reduced to a rational function of tan

Evaluate ∫1sin⁡x cos⁡3x dx\displaystyle\int \frac{1}{\sin x \,\cos^{3} x}\,dx. Multiply numerator and denominator by cos⁡x\cos x and rewrite using tan⁡x\tan x:

∫cos⁡xsin⁡x cos⁡4x dx=∫1tan⁡x sec⁡2x  sec⁡2x dx.\int \frac{\cos x}{\sin x\,\cos^{4} x}\,dx = \int \frac{1}{\tan x}\,\sec^{2}x\;\sec^{2}x\,dx.

Put t=tan⁡xt = \tan x, so dt=sec⁡2x dxdt = \sec^{2}x\,dx and sec⁡2x=1+tan⁡2x=1+t2\sec^{2}x = 1 + \tan^{2}x = 1 + t^{2}:

∫1+t2t dt=∫1t dt+∫t dt=ln⁡∣t∣+t22+C.\int \frac{1 + t^{2}}{t}\,dt = \int \frac{1}{t}\,dt + \int t\,dt = \ln|t| + \tfrac{t^{2}}{2} + C.

Back-substitute:

ln⁡∣tan⁡x∣+tan⁡2x2+C.\ln|\tan x| + \tfrac{\tan^{2} x}{2} + C.

Integrating tan⁡4x\tan^{4} x

Write tan⁡4x=tan⁡2x tan⁡2x\tan^{4} x = \tan^{2}x\,\tan^{2}x and use tan⁡2x=sec⁡2x−1\tan^{2}x = \sec^{2}x - 1:

∫tan⁡2x (sec⁡2x−1) dx=∫tan⁡2x sec⁡2x dx−∫tan⁡2x dx.\int \tan^{2}x\,(\sec^{2}x - 1)\,dx = \int \tan^{2}x\,\sec^{2}x\,dx - \int \tan^{2}x\,dx.

First integral. Put t=tan⁡xt = \tan x, dt=sec⁡2x dxdt = \sec^{2}x\,dx:

∫t2 dt=tan⁡3x3.\int t^{2}\,dt = \tfrac{\tan^{3}x}{3}.

Second integral. Again use tan⁡2x=sec⁡2x−1\tan^{2}x = \sec^{2}x - 1:

∫(sec⁡2x−1) dx=tan⁡x−x.\int (\sec^{2}x - 1)\,dx = \tan x - x.

Combining,

∫tan⁡4x dx=tan⁡3x3−tan⁡x+x+C.\int \tan^{4}x\,dx = \tfrac{\tan^{3}x}{3} - \tan x + x + C.

A fraction of cosines

Evaluate ∫cos⁡2x−cos⁡2αcos⁡x−cos⁡α dx\displaystyle\int \frac{\cos 2x - \cos 2\alpha}{\cos x - \cos\alpha}\,dx. Using cos⁡2θ=2cos⁡2θ−1\cos 2\theta = 2\cos^{2}\theta - 1,

(2cos⁡2x−1)−(2cos⁡2α−1)cos⁡x−cos⁡α=2(cos⁡2x−cos⁡2α)cos⁡x−cos⁡α.\frac{(2\cos^{2}x - 1) - (2\cos^{2}\alpha - 1)}{\cos x - \cos\alpha} = \frac{2(\cos^{2}x - \cos^{2}\alpha)}{\cos x - \cos\alpha}.

The numerator is a difference of squares, cos⁡2x−cos⁡2α=(cos⁡x+cos⁡α)(cos⁡x−cos⁡α)\cos^{2}x - \cos^{2}\alpha = (\cos x + \cos\alpha)(\cos x - \cos\alpha), so the (cos⁡x−cos⁡α)(\cos x - \cos\alpha) cancels:

∫2(cos⁡x+cos⁡α) dx=2sin⁡x+2xcos⁡α+C,\int 2(\cos x + \cos\alpha)\,dx = 2\sin x + 2x\cos\alpha + C,

remembering that cos⁡α\cos\alpha is a constant.

sin⁡2x1+cos⁡x\dfrac{\sin^{2} x}{1 + \cos x}

Use sin⁡2x=1−cos⁡2x=(1+cos⁡x)(1−cos⁡x)\sin^{2}x = 1 - \cos^{2}x = (1 + \cos x)(1 - \cos x), so the (1+cos⁡x)(1 + \cos x) cancels:

∫1−cos⁡2x1+cos⁡x dx=∫(1−cos⁡x) dx=x−sin⁡x+C.\int \frac{1 - \cos^{2}x}{1 + \cos x}\,dx = \int (1 - \cos x)\,dx = x - \sin x + C.

cos⁡x1−cos⁡x\dfrac{\cos x}{1 - \cos x}

Multiply top and bottom by the conjugate 1+cos⁡x1 + \cos x:

∫cos⁡x (1+cos⁡x)(1−cos⁡x)(1+cos⁡x) dx=∫cos⁡x+cos⁡2xsin⁡2x dx.\int \frac{\cos x\,(1 + \cos x)}{(1 - \cos x)(1 + \cos x)}\,dx = \int \frac{\cos x + \cos^{2}x}{\sin^{2}x}\,dx.

Split into two pieces:

∫cos⁡xsin⁡2x dx+∫cos⁡2xsin⁡2x dx=∫cot⁡x csc⁡x dx+∫cot⁡2x dx.\int \frac{\cos x}{\sin^{2}x}\,dx + \int \frac{\cos^{2}x}{\sin^{2}x}\,dx = \int \cot x\,\csc x\,dx + \int \cot^{2}x\,dx.

The first integral is −csc⁡x-\csc x. For the second, cot⁡2x=csc⁡2x−1\cot^{2}x = \csc^{2}x - 1, giving −cot⁡x−x-\cot x - x. Altogether,

−csc⁡x−cot⁡x−x+C.-\csc x - \cot x - x + C.

1−cos⁡x1+cos⁡x\dfrac{1 - \cos x}{1 + \cos x}

Use the half-angle forms 1−cos⁡x=2sin⁡2x21 - \cos x = 2\sin^{2}\tfrac{x}{2} and 1+cos⁡x=2cos⁡2x21 + \cos x = 2\cos^{2}\tfrac{x}{2}:

∫2sin⁡2x22cos⁡2x2 dx=∫tan⁡2x2 dx=∫(sec⁡2x2−1) dx.\int \frac{2\sin^{2}\tfrac{x}{2}}{2\cos^{2}\tfrac{x}{2}}\,dx = \int \tan^{2}\tfrac{x}{2}\,dx = \int \bigl(\sec^{2}\tfrac{x}{2} - 1\bigr)\,dx.

Integrating,

2tan⁡x2−x+C.2\tan\tfrac{x}{2} - x + C.

Product to sum: sin⁡3x cos⁡4x\sin 3x\,\cos 4x

Multiply and divide by 22 and use 2sin⁡Xcos⁡Y=sin⁡(X+Y)+sin⁡(X−Y)2\sin X\cos Y = \sin(X+Y) + \sin(X-Y):

∫sin⁡3x cos⁡4x dx=12∫(sin⁡7x+sin⁡(−x)) dx=12∫(sin⁡7x−sin⁡x) dx.\int \sin 3x\,\cos 4x\,dx = \tfrac{1}{2}\int \bigl(\sin 7x + \sin(-x)\bigr)\,dx = \tfrac{1}{2}\int \bigl(\sin 7x - \sin x\bigr)\,dx.

Integrate term by term:

12(−cos⁡7x7+cos⁡x)+C=cos⁡x2−cos⁡7x14+C.\tfrac{1}{2}\left(-\tfrac{\cos 7x}{7} + \cos x\right) + C = \frac{\cos x}{2} - \frac{\cos 7x}{14} + C.

Key takeaways

  • A good substitution often appears when the derivative of an inner expression is already a factor in the integrand.
  • Identities such as tan⁡2x=sec⁡2x−1\tan^{2}x = \sec^{2}x - 1 and cot⁡2x=csc⁡2x−1\cot^{2}x = \csc^{2}x - 1 reduce higher powers to standard integrals.
  • Multiplying by a conjugate, or spotting a difference of squares, lets a cancellation simplify the fraction before you integrate.
  • Convert products of sines and cosines into sums with the product-to-sum formulas before integrating.