← Back to all lessons
Class 12Calculus11:09Published 3 Mar 2025

Integration: Miscellaneous Exercise 7 Questions 20, 24, 25, 27

Worked solutions to four integration problems from CBSE Class 12 Miscellaneous Exercise 7, using half-angle identities, substitution, and the integral of e to the x times a function plus its derivative.

This lesson works through Questions 20, 24, 25, and 27 of Miscellaneous Exercise 7 on integration. Two problems use the standard result for the integral of e raised to x times a function plus its derivative, after rewriting the integrand with double-angle and half-angle identities. The other two use substitution: one reducing a definite integral to an inverse tangent form by completing the square, and one to an inverse sine form. Each result is computed and evaluated between its limits.

What you'll learn

  • How to rewrite a fraction of trig terms using double-angle and half-angle identities so it fits a known integration result
  • How to apply the rule for the integral of e to the x times a function plus its derivative
  • How to evaluate a definite integral by substitution, changing the limits, and completing the square to reach an inverse tangent or inverse sine form

Lesson chapters

0:00Question 20: indefinite integral with e to the x
1:25Question 24: definite integral over pi/2 to pi
3:35Question 25: substitution and completing the square
8:36Question 27: substitution to an inverse sine form

Lesson notes

This lesson works through four integration problems from Miscellaneous Exercise 7: Questions 20, 24, 25, and 27. Two of them rely on the result that ex(f(x)+f(x))dx=exf(x)+C\int e^x\big(f(x)+f'(x)\big)\,dx = e^x f(x) + C, and the other two use substitution.

Question 20

Find

I=2+sin2x1+cos2xexdx.I = \int \frac{2 + \sin 2x}{1 + \cos 2x}\, e^x\, dx.

Use sin2x=2sinxcosx\sin 2x = 2\sin x\cos x and 1+cos2x=2cos2x1 + \cos 2x = 2\cos^2 x:

2+2sinxcosx2cos2x=1cos2x+sinxcosxcos2x=sec2x+tanx.\frac{2 + 2\sin x\cos x}{2\cos^2 x} = \frac{1}{\cos^2 x} + \frac{\sin x\cos x}{\cos^2 x} = \sec^2 x + \tan x.

So the integral becomes

I=ex(tanx+sec2x)dx.I = \int e^x\big(\tan x + \sec^2 x\big)\, dx.

This is of the form ex(f(x)+f(x))dx\int e^x\big(f(x) + f'(x)\big)\,dx with f(x)=tanxf(x) = \tan x and f(x)=sec2xf'(x) = \sec^2 x. Therefore

I=extanx+C.I = e^x \tan x + C.

Question 24

Evaluate

I=π/2πex1sinx1cosxdx.I = \int_{\pi/2}^{\pi} e^x\, \frac{1 - \sin x}{1 - \cos x}\, dx.

Write the trig parts with half angles: 1sinx=12sinx2cosx21 - \sin x = 1 - 2\sin\tfrac{x}{2}\cos\tfrac{x}{2} and 1cosx=2sin2x21 - \cos x = 2\sin^2\tfrac{x}{2}. Then

1sinx1cosx=12csc2x2cotx2.\frac{1 - \sin x}{1 - \cos x} = \frac{1}{2}\csc^2\tfrac{x}{2} - \cot\tfrac{x}{2}.

Take f(x)=cotx2f(x) = -\cot\tfrac{x}{2}, so f(x)=12csc2x2f'(x) = \tfrac{1}{2}\csc^2\tfrac{x}{2}, and the integrand is ex(f(x)+f(x))e^x\big(f(x) + f'(x)\big). Hence

I=[excotx2]π/2π.I = \Big[-e^x \cot\tfrac{x}{2}\Big]_{\pi/2}^{\pi}.

At x=πx = \pi, cotπ2=0\cot\tfrac{\pi}{2} = 0; at x=π2x = \tfrac{\pi}{2}, cotπ4=1\cot\tfrac{\pi}{4} = 1. So

I=(0)+eπ/21=eπ/2.I = -\big(0\big) + e^{\pi/2}\cdot 1 = e^{\pi/2}.

Question 25

Evaluate

I=0π/4sinxcosxsin4x+cos4xdx.I = \int_{0}^{\pi/4} \frac{\sin x\cos x}{\sin^4 x + \cos^4 x}\, dx.

Put t=sin2xt = \sin^2 x, so dt=2sinxcosxdxdt = 2\sin x\cos x\, dx, giving sinxcosxdx=12dt\sin x\cos x\, dx = \tfrac{1}{2}\, dt. The limits change: x=0t=0x = 0 \Rightarrow t = 0, and x=π4t=12x = \tfrac{\pi}{4} \Rightarrow t = \tfrac{1}{2}. Also cos4x=(1sin2x)2=(1t)2\cos^4 x = (1 - \sin^2 x)^2 = (1 - t)^2, so the denominator is t2+(1t)2=2t22t+1t^2 + (1 - t)^2 = 2t^2 - 2t + 1. Then

I=1201/2dt2t22t+1.I = \frac{1}{2}\int_{0}^{1/2} \frac{dt}{2t^2 - 2t + 1}.

Completing the square

Factor out the 22 and complete the square:

2t22t+1=2(t2t+12)=2[(t12)2+14].2t^2 - 2t + 1 = 2\left(t^2 - t + \tfrac{1}{2}\right) = 2\left[\left(t - \tfrac{1}{2}\right)^2 + \tfrac{1}{4}\right].

So

I=1401/2dt(t12)2+(12)2.I = \frac{1}{4}\int_{0}^{1/2} \frac{dt}{\left(t - \tfrac{1}{2}\right)^2 + \left(\tfrac{1}{2}\right)^2}.

Using dtt2+a2=1atan1ta\int \frac{dt}{t^2 + a^2} = \tfrac{1}{a}\tan^{-1}\tfrac{t}{a} with a=12a = \tfrac{1}{2}:

I=142[tan1(2t1)]01/2=12[tan1(2t1)]01/2.I = \frac{1}{4}\cdot 2\,\Big[\tan^{-1}(2t - 1)\Big]_{0}^{1/2} = \frac{1}{2}\Big[\tan^{-1}(2t - 1)\Big]_{0}^{1/2}.

Evaluating: at t=12t = \tfrac{1}{2} we get tan1(0)=0\tan^{-1}(0)=0; at t=0t = 0 we get tan1(1)=π4\tan^{-1}(-1) = -\tfrac{\pi}{4}. So

I=12(0+π4)=π8.I = \frac{1}{2}\left(0 + \frac{\pi}{4}\right) = \frac{\pi}{8}.

Question 27

Evaluate

I=π/6π/3sinx+cosxsin2xdx.I = \int_{\pi/6}^{\pi/3} \frac{\sin x + \cos x}{\sqrt{\sin 2x}}\, dx.

Put t=sinxcosxt = \sin x - \cos x, so dt=(cosx+sinx)dxdt = (\cos x + \sin x)\, dx, which matches the numerator. Squaring, t2=sin2x+cos2x2sinxcosx=1sin2xt^2 = \sin^2 x + \cos^2 x - 2\sin x\cos x = 1 - \sin 2x, so sin2x=1t2\sin 2x = 1 - t^2. Change the limits:

x=π6t=sinπ6cosπ6=132,x = \tfrac{\pi}{6} \Rightarrow t = \sin\tfrac{\pi}{6} - \cos\tfrac{\pi}{6} = \frac{1 - \sqrt{3}}{2},

x=π3t=sinπ3cosπ3=312.x = \tfrac{\pi}{3} \Rightarrow t = \sin\tfrac{\pi}{3} - \cos\tfrac{\pi}{3} = \frac{\sqrt{3} - 1}{2}.

The integral becomes

I=(13)/2(31)/2dt1t2=[sin1t](13)/2(31)/2.I = \int_{(1-\sqrt{3})/2}^{(\sqrt{3}-1)/2} \frac{dt}{\sqrt{1 - t^2}} = \Big[\sin^{-1} t\Big]_{(1-\sqrt{3})/2}^{(\sqrt{3}-1)/2}.

Using sin1(x)=sin1x\sin^{-1}(-x) = -\sin^{-1} x, the two endpoints are negatives of each other, so

I=sin1312sin1132=2sin1312.I = \sin^{-1}\frac{\sqrt{3} - 1}{2} - \sin^{-1}\frac{1 - \sqrt{3}}{2} = 2\sin^{-1}\frac{\sqrt{3} - 1}{2}.

Key takeaways

  • If an integrand can be written as ex(f(x)+f(x))e^x\big(f(x) + f'(x)\big), the integral is simply exf(x)+Ce^x f(x) + C.
  • Double-angle and half-angle identities are the usual way to reshape trig fractions into that form.
  • For definite integrals, substitute, change the limits to the new variable, and complete the square when you need an inverse tangent or inverse sine standard form.