← 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+xlna)sec2 ⁣(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+xlna)dxdt = a^{x}\bigl(1 + x\ln a\bigr)\,dx, which is exactly the factor sitting in front. So the integral becomes

sec2tdt=tant+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 1sinxcos3xdx\displaystyle\int \frac{1}{\sin x \,\cos^{3} x}\,dx. Multiply numerator and denominator by cosx\cos x and rewrite using tanx\tan x:

cosxsinxcos4xdx=1tanxsec2x  sec2xdx.\int \frac{\cos x}{\sin x\,\cos^{4} x}\,dx = \int \frac{1}{\tan x}\,\sec^{2}x\;\sec^{2}x\,dx.

Put t=tanxt = \tan x, so dt=sec2xdxdt = \sec^{2}x\,dx and sec2x=1+tan2x=1+t2\sec^{2}x = 1 + \tan^{2}x = 1 + t^{2}:

1+t2tdt=1tdt+tdt=lnt+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:

lntanx+tan2x2+C.\ln|\tan x| + \tfrac{\tan^{2} x}{2} + C.

Integrating tan4x\tan^{4} x

Write tan4x=tan2xtan2x\tan^{4} x = \tan^{2}x\,\tan^{2}x and use tan2x=sec2x1\tan^{2}x = \sec^{2}x - 1:

tan2x(sec2x1)dx=tan2xsec2xdxtan2xdx.\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=tanxt = \tan x, dt=sec2xdxdt = \sec^{2}x\,dx:

t2dt=tan3x3.\int t^{2}\,dt = \tfrac{\tan^{3}x}{3}.

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

(sec2x1)dx=tanxx.\int (\sec^{2}x - 1)\,dx = \tan x - x.

Combining,

tan4xdx=tan3x3tanx+x+C.\int \tan^{4}x\,dx = \tfrac{\tan^{3}x}{3} - \tan x + x + C.

A fraction of cosines

Evaluate cos2xcos2αcosxcosαdx\displaystyle\int \frac{\cos 2x - \cos 2\alpha}{\cos x - \cos\alpha}\,dx. Using cos2θ=2cos2θ1\cos 2\theta = 2\cos^{2}\theta - 1,

(2cos2x1)(2cos2α1)cosxcosα=2(cos2xcos2α)cosxcosα.\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, cos2xcos2α=(cosx+cosα)(cosxcosα)\cos^{2}x - \cos^{2}\alpha = (\cos x + \cos\alpha)(\cos x - \cos\alpha), so the (cosxcosα)(\cos x - \cos\alpha) cancels:

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

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

sin2x1+cosx\dfrac{\sin^{2} x}{1 + \cos x}

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

1cos2x1+cosxdx=(1cosx)dx=xsinx+C.\int \frac{1 - \cos^{2}x}{1 + \cos x}\,dx = \int (1 - \cos x)\,dx = x - \sin x + C.

cosx1cosx\dfrac{\cos x}{1 - \cos x}

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

cosx(1+cosx)(1cosx)(1+cosx)dx=cosx+cos2xsin2xdx.\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:

cosxsin2xdx+cos2xsin2xdx=cotxcscxdx+cot2xdx.\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 cscx-\csc x. For the second, cot2x=csc2x1\cot^{2}x = \csc^{2}x - 1, giving cotxx-\cot x - x. Altogether,

cscxcotxx+C.-\csc x - \cot x - x + C.

1cosx1+cosx\dfrac{1 - \cos x}{1 + \cos x}

Use the half-angle forms 1cosx=2sin2x21 - \cos x = 2\sin^{2}\tfrac{x}{2} and 1+cosx=2cos2x21 + \cos x = 2\cos^{2}\tfrac{x}{2}:

2sin2x22cos2x2dx=tan2x2dx=(sec2x21)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,

2tanx2x+C.2\tan\tfrac{x}{2} - x + C.

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

Multiply and divide by 22 and use 2sinXcosY=sin(X+Y)+sin(XY)2\sin X\cos Y = \sin(X+Y) + \sin(X-Y):

sin3xcos4xdx=12(sin7x+sin(x))dx=12(sin7xsinx)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(cos7x7+cosx)+C=cosx2cos7x14+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 tan2x=sec2x1\tan^{2}x = \sec^{2}x - 1 and cot2x=csc2x1\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.