← Back to all lessons
Class 12Calculus11:29Published 5 Sept 2024

Integration by Substitution, Exercise 7.3 Part 2

More worked integrals from Exercise 7.3 of Class 12 Integration, using trigonometric identities and substitution to simplify each integrand before integrating.

This lesson continues Exercise 7.3 of Class 12 Integration with several more trigonometric integrals. Each one is reshaped first: a difference of squares is factored to cancel a denominator, the identity for one plus sine of a double angle turns a sum into a perfect square, and double-angle identities collapse messy numerators. The recurring theme is recognising the right identity so the integral becomes a standard result or a simple substitution. Every answer is built up step by step.

What you'll learn

  • Cancelling a denominator by factoring a difference of squares in the numerator
  • Recognising one plus sine of a double angle as a perfect square to set up a substitution
  • Using double-angle identities to simplify a numerator before integrating
  • Spotting when the numerator is the derivative of the denominator to get a logarithm

Lesson chapters

0:00Sine squared over one minus cosine
1:12Difference of cosine and sine over one plus sin 2x
3:07Tan cubed times secant of a double angle
5:26Sine cubed plus cosine cubed over the product
7:55Cosine 2x over cosine plus sine squared
9:30Sine inverse of cosine, and a final difference

Lesson notes

This lesson continues Exercise 7.3 from Class 12 Integration. The recurring idea is to reshape each integrand with a trigonometric identity so it becomes a standard result or a simple substitution.

Example 1: sin2x1cosxdx\int \dfrac{\sin^{2}x}{1-\cos x}\,dx

Write sin2x=1cos2x\sin^{2}x = 1-\cos^{2}x and factor it as a difference of squares:

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

Integrating term by term,

=x+sinx+c.= x + \sin x + c.

If the denominator were 1+cosx1+\cos x instead, the same factoring leaves (1cosx)dx=xsinx+c\int (1-\cos x)\,dx = x - \sin x + c.

Example 2: cosxsinx1+sin2xdx\int \dfrac{\cos x - \sin x}{1+\sin 2x}\,dx

Use the identity 1+sin2x=(cosx+sinx)21+\sin 2x = (\cos x + \sin x)^{2}:

cosxsinx(cosx+sinx)2dx.\int \frac{\cos x - \sin x}{(\cos x + \sin x)^{2}}\,dx.

Put t=cosx+sinxt = \cos x + \sin x, so dt=(sinx+cosx)dx=(cosxsinx)dxdt = (-\sin x + \cos x)\,dx = (\cos x - \sin x)\,dx. The numerator is exactly dtdt:

=dtt2=t2dt=1t+c=1cosx+sinx+c.= \int \frac{dt}{t^{2}} = \int t^{-2}\,dt = -\frac{1}{t} + c = -\frac{1}{\cos x + \sin x} + c.

Example 3: tan32xsec2xdx\int \tan^{3}2x\,\sec 2x\,dx

Keep one factor of tan2xsec2x\tan 2x\,\sec 2x and turn the remaining tan22x\tan^{2}2x into sec22x1\sec^{2}2x - 1:

tan32xsec2xdx=(sec22x1)sec2xtan2xdx.\int \tan^{3}2x\,\sec 2x\,dx = \int \bigl(\sec^{2}2x - 1\bigr)\,\sec 2x\,\tan 2x\,dx.

Put t=sec2xt = \sec 2x, so dt=2sec2xtan2xdxdt = 2\sec 2x\,\tan 2x\,dx, which gives sec2xtan2xdx=12dt\sec 2x\,\tan 2x\,dx = \tfrac{1}{2}\,dt:

=(t21)12dt=12(t33t)+c.= \int \bigl(t^{2}-1\bigr)\,\tfrac{1}{2}\,dt = \frac{1}{2}\left(\frac{t^{3}}{3} - t\right) + c.

Replacing t=sec2xt = \sec 2x,

=sec32x612sec2x+c.= \frac{\sec^{3}2x}{6} - \frac{1}{2}\sec 2x + c.

Example 4: sin3x+cos3xsin2xcos2xdx\int \dfrac{\sin^{3}x + \cos^{3}x}{\sin^{2}x\,\cos^{2}x}\,dx

Split the fraction into two and cancel:

sin3xsin2xcos2xdx+cos3xsin2xcos2xdx=sinxcos2xdx+cosxsin2xdx.\int \frac{\sin^{3}x}{\sin^{2}x\,\cos^{2}x}\,dx + \int \frac{\cos^{3}x}{\sin^{2}x\,\cos^{2}x}\,dx = \int \frac{\sin x}{\cos^{2}x}\,dx + \int \frac{\cos x}{\sin^{2}x}\,dx.

Rewrite each as a standard product:

=tanxsecxdx+cotxcscxdx.= \int \tan x\,\sec x\,dx + \int \cot x\,\csc x\,dx.

Since tanxsecxdx=secx\int \tan x\,\sec x\,dx = \sec x and cotxcscxdx=cscx\int \cot x\,\csc x\,dx = -\csc x,

=secxcscx+c.= \sec x - \csc x + c.

Example 5: cos2x+2sin2xcos2xdx\int \dfrac{\cos 2x + 2\sin^{2}x}{\cos^{2}x}\,dx

Write cos2x=12sin2x\cos 2x = 1 - 2\sin^{2}x in the numerator:

cos2x+2sin2x=12sin2x+2sin2x=1.\cos 2x + 2\sin^{2}x = 1 - 2\sin^{2}x + 2\sin^{2}x = 1.

So the integral collapses to

1cos2xdx=sec2xdx=tanx+c.\int \frac{1}{\cos^{2}x}\,dx = \int \sec^{2}x\,dx = \tan x + c.

Example 6: cos2x(cosx+sinx)2dx\int \dfrac{\cos 2x}{(\cos x + \sin x)^{2}}\,dx

Use cos2x=cos2xsin2x=(cosx+sinx)(cosxsinx)\cos 2x = \cos^{2}x - \sin^{2}x = (\cos x + \sin x)(\cos x - \sin x) and cancel one factor:

(cosx+sinx)(cosxsinx)(cosx+sinx)2dx=cosxsinxcosx+sinxdx.\int \frac{(\cos x + \sin x)(\cos x - \sin x)}{(\cos x + \sin x)^{2}}\,dx = \int \frac{\cos x - \sin x}{\cos x + \sin x}\,dx.

Here the numerator is the derivative of the denominator, since ddx(cosx+sinx)=sinx+cosx\dfrac{d}{dx}(\cos x + \sin x) = -\sin x + \cos x. Using f(x)f(x)dx=logf(x)\int \dfrac{f'(x)}{f(x)}\,dx = \log|f(x)|,

=logcosx+sinx+c.= \log|\cos x + \sin x| + c.

Example 7: sin1(cosx)dx\int \sin^{-1}(\cos x)\,dx

Write cosx=sin ⁣(π2x)\cos x = \sin\!\left(\tfrac{\pi}{2} - x\right), so sin1(cosx)=sin1sin ⁣(π2x)=π2x\sin^{-1}(\cos x) = \sin^{-1}\sin\!\left(\tfrac{\pi}{2} - x\right) = \tfrac{\pi}{2} - x:

sin1(cosx)dx=(π2x)dx=π2xx22+c.\int \sin^{-1}(\cos x)\,dx = \int \left(\frac{\pi}{2} - x\right)\,dx = \frac{\pi}{2}\,x - \frac{x^{2}}{2} + c.

Example 8: sin2xcos2xsin2xcos2xdx\int \dfrac{\sin^{2}x - \cos^{2}x}{\sin^{2}x\,\cos^{2}x}\,dx

Split the fraction and cancel:

sin2xsin2xcos2xdxcos2xsin2xcos2xdx=1cos2xdx1sin2xdx.\int \frac{\sin^{2}x}{\sin^{2}x\,\cos^{2}x}\,dx - \int \frac{\cos^{2}x}{\sin^{2}x\,\cos^{2}x}\,dx = \int \frac{1}{\cos^{2}x}\,dx - \int \frac{1}{\sin^{2}x}\,dx.

These are standard:

=sec2xdxcsc2xdx=tanx(cotx)=tanx+cotx+c.= \int \sec^{2}x\,dx - \int \csc^{2}x\,dx = \tan x - (-\cot x) = \tan x + \cot x + c.

Key takeaways

  • Factoring a difference of squares in the numerator often cancels the denominator and leaves a simple integral.
  • The identity 1+sin2x=(cosx+sinx)21+\sin 2x = (\cos x + \sin x)^{2} turns the second example into the substitution t=cosx+sinxt = \cos x + \sin x.
  • Double-angle identities such as cos2x=12sin2x\cos 2x = 1 - 2\sin^{2}x and cos2x=cos2xsin2x\cos 2x = \cos^{2}x - \sin^{2}x simplify the numerator before integrating.
  • When the numerator is the derivative of the denominator, the integral is log\log of the denominator.