Class 12 Maths, Worked in Full Past papersGet updates
CBSE Board Examination 2025 · Section C · 3 marks

Q28: ∫x+sin⁡x1+cos⁡x dx\int\frac{x + \sin x}{1 + \cos x}\,dx⁠, or ∫0π/4dxcos⁡3x2sin⁡2x\int_0^{\pi/4}\frac{dx}{\cos^3x\sqrt{2\sin 2x}}

The question

(a) Find : ∫x+sin⁡x1+cos⁡x dx\displaystyle\int\frac{x + \sin x}{1 + \cos x}\,dx

OR

(b) Evaluate : ∫0π4dxcos⁡3x2sin⁡2x\displaystyle\int_0^{\frac{\pi}{4}}\frac{dx}{\cos^3x\sqrt{2\sin 2x}}

Exam answer

(a)

Let I=∫x+sin⁡x1+cos⁡x dxI = \displaystyle\int\frac{x + \sin x}{1 + \cos x}\,dx⁠.

Using 1+cos⁡x=2cos⁡2x21 + \cos x = 2\cos^2\frac{x}{2} and sin⁡x=2sin⁡x2cos⁡x2\sin x = 2\sin\frac{x}{2}\cos\frac{x}{2}⁠,

I=∫x+2sin⁡x2cos⁡x22cos⁡2x2 dx=∫x(12sec⁡2x2)dx+∫tan⁡x2 dx\begin{aligned} I &= \int\frac{x + 2\sin\frac{x}{2}\cos\frac{x}{2}}{2\cos^2\frac{x}{2}}\,dx \\ &= \int x\left(\frac12\sec^2\frac{x}{2}\right)dx \\ &\quad + \int\tan\frac{x}{2}\,dx \end{aligned}
Why?

The half-angle identities turn the denominator into a single square, 2cos⁡2x22\cos^2\frac{x}{2}⁠. Then split the fraction into two parts:

x2cos⁡2x2=x⋅12sec⁡2x2\frac{x}{2\cos^2\frac{x}{2}} = x\cdot\frac12\sec^2\frac{x}{2} 2sin⁡x2cos⁡x22cos⁡2x2=tan⁡x2\frac{2\sin\frac{x}{2}\cos\frac{x}{2}}{2\cos^2\frac{x}{2}} = \tan\frac{x}{2}

In detail: for the first part, write 1cos⁡2=sec⁡2\frac{1}{\cos^2} = \sec^2⁠:

x2cos⁡2x2=x⋅12⋅1cos⁡2x2=x⋅12sec⁡2x2\begin{aligned} \frac{x}{2\cos^2\frac{x}{2}} &= x\cdot\frac12\cdot\frac{1}{\cos^2\frac{x}{2}} \\ &= x\cdot\frac12\sec^2\frac{x}{2} \end{aligned}

For the second part, cancel the 2 and one cos⁡x2\cos\frac{x}{2}⁠, then use sin⁡cos⁡=tan⁡\frac{\sin}{\cos} = \tan⁠:

2sin⁡x2cos⁡x22cos⁡x2cos⁡x2=sin⁡x2cos⁡x2=tan⁡x2\begin{aligned} \frac{2\sin\frac{x}{2}\cos\frac{x}{2}}{2\cos\frac{x}{2}\cos\frac{x}{2}} &= \frac{\sin\frac{x}{2}}{\cos\frac{x}{2}} \\ &= \tan\frac{x}{2} \end{aligned}

Integrating the first integral by parts, with xx as the first function and ∫12sec⁡2x2 dx=tan⁡x2\int\frac12\sec^2\frac{x}{2}\,dx = \tan\frac{x}{2}⁠,

Why?

The first integral is a product of xx and a trig function, so use integration by parts:

∫u v dx=u∫v dx−∫(dudx∫v dx)dx\begin{aligned} \int u\,v\,dx &= u\int v\,dx \\ &\quad - \int\left(\frac{du}{dx}\int v\,dx\right)dx \end{aligned}

Take u=xu = x⁠, since dudx=1\frac{du}{dx} = 1⁠, and v=12sec⁡2x2v = \frac12\sec^2\frac{x}{2}⁠. By the chain rule

ddxtan⁡x2=12sec⁡2x2\frac{d}{dx}\tan\frac{x}{2} = \frac12\sec^2\frac{x}{2}

so ∫v dx=tan⁡x2\int v\,dx = \tan\frac{x}{2}⁠.

I=xtan⁡x2−∫tan⁡x2 dx+∫tan⁡x2 dx\begin{aligned} I &= x\tan\frac{x}{2} - \int\tan\frac{x}{2}\,dx \\ &\quad + \int\tan\frac{x}{2}\,dx \end{aligned}
Why?
∫x(12sec⁡2x2)dx=xtan⁡x2−∫(1)tan⁡x2 dx\begin{aligned} &\int x\left(\frac12\sec^2\frac{x}{2}\right)dx \\ &= x\tan\frac{x}{2} - \int (1)\tan\frac{x}{2}\,dx \end{aligned}

By parts gives xtan⁡x2−∫1⋅tan⁡x2 dxx\tan\frac{x}{2} - \int 1\cdot\tan\frac{x}{2}\,dx⁠. This is exactly minus the second integral, so the two integrals cancel.

Watch out: do not integrate tan⁡x2\tan\frac{x}{2} separately. Keep it as it is until it cancels; then add one constant CC⁠.

∴ I=xtan⁡x2+C\therefore\ I = x\tan\frac{x}{2} + C⁠.

(b)

Let I=∫0π4dxcos⁡3x2sin⁡2xI = \displaystyle\int_0^{\frac{\pi}{4}}\frac{dx}{\cos^3x\sqrt{2\sin 2x}}⁠.

Here 2sin⁡2x=4sin⁡xcos⁡x2\sin 2x = 4\sin x\cos x =4cos⁡2xtan⁡x= 4\cos^2x\tan x⁠, so 2sin⁡2x=2cos⁡xtan⁡x\sqrt{2\sin 2x} = 2\cos x\sqrt{\tan x}⁠.

Why?

Use sin⁡2x=2sin⁡xcos⁡x\sin 2x = 2\sin x\cos x⁠, then sin⁡x=cos⁡xtan⁡x\sin x = \cos x\tan x⁠.

2sin⁡2x=2(2sin⁡xcos⁡x)=4sin⁡xcos⁡x=4(cos⁡xtan⁡x)cos⁡x=4cos⁡2xtan⁡x4cos⁡2xtan⁡x=4 cos⁡2x tan⁡x=2cos⁡xtan⁡x\begin{aligned} 2\sin 2x &= 2(2\sin x\cos x) \\ &= 4\sin x\cos x \\ &= 4(\cos x\tan x)\cos x \\ &= 4\cos^2x\tan x \\[4pt] \sqrt{4\cos^2x\tan x} &= \sqrt4\,\sqrt{\cos^2x}\,\sqrt{\tan x} \\ &= 2\cos x\sqrt{\tan x} \end{aligned}

On [0,π4]\left[0, \frac{\pi}{4}\right]⁠, cos⁡x>0\cos x > 0⁠, so 4cos⁡2x=2cos⁡x\sqrt{4\cos^2x} = 2\cos x⁠.

The aim is to write everything in tan⁡x\tan x and sec⁡2x\sec^2x⁠, because ddxtan⁡x=sec⁡2x\frac{d}{dx}\tan x = \sec^2x⁠.

I=12∫0π4dxcos⁡4xtan⁡x=12∫0π4sec⁡2x⋅sec⁡2xtan⁡x dx\begin{aligned} I &= \frac12\int_0^{\frac{\pi}{4}}\frac{dx}{\cos^4x\sqrt{\tan x}} \\ &= \frac12\int_0^{\frac{\pi}{4}}\frac{\sec^2x\cdot\sec^2x}{\sqrt{\tan x}}\,dx \end{aligned}
Why?

The denominator is

cos⁡3x⋅2cos⁡xtan⁡x=2cos⁡4xtan⁡x\begin{aligned} &\cos^3x\cdot2\cos x\sqrt{\tan x} \\ &= 2\cos^4x\sqrt{\tan x} \end{aligned}

and the 22 comes out as 12\frac12⁠.

Then

1cos⁡4x=sec⁡4x=sec⁡2x⋅sec⁡2x\begin{aligned} \frac{1}{\cos^4x} &= \sec^4x \\ &= \sec^2x\cdot\sec^2x \end{aligned}

One sec⁡2x\sec^2x goes with dxdx for the substitution.

Put tan⁡x=t\tan x = t⁠. Then sec⁡2x dx=dt\sec^2x\,dx = dt⁠, and sec⁡2x=1+tan⁡2x=1+t2\sec^2x = 1 + \tan^2x = 1 + t^2⁠.

Why?

Differentiating tan⁡x=t\tan x = t gives sec⁡2x dx=dt\sec^2x\,dx = dt⁠. The other sec⁡2x\sec^2x must also be written in tt⁠, using the identity sec⁡2x=1+tan⁡2x\sec^2x = 1 + \tan^2x⁠.

When x=0x = 0⁠, t=0t = 0⁠; when x=π4x = \frac{\pi}{4}⁠, t=1t = 1⁠.

Why?

With a substitution in a definite integral, change the limits too: tan⁡0=0\tan0 = 0 and tan⁡π4=1\tan\frac{\pi}{4} = 1⁠. Then there is no need to go back to xx⁠.

I=12∫011+t2t dt=12∫01(t−12+t32)dt=12[2t12+25t52]01=12(2+25)−0\begin{aligned} I &= \frac12\int_0^1\frac{1 + t^2}{\sqrt t}\,dt \\ &= \frac12\int_0^1\left(t^{-\frac12} + t^{\frac32}\right)dt \\ &= \frac12\left[2t^{\frac12} + \frac25t^{\frac52}\right]_0^1 \\ &= \frac12\left(2 + \frac25\right) - 0 \end{aligned}
Why?

Divide each term by t=t12\sqrt t = t^{\frac12}⁠:

1t1/2=t−12,t2t1/2=t32\frac{1}{t^{1/2}} = t^{-\frac12},\quad \frac{t^2}{t^{1/2}} = t^{\frac32}

Then use the power rule for integrals:

∫tn dt=tn+1n+1\int t^n\,dt = \frac{t^{n + 1}}{n + 1} t1/21/2=2t12t5/25/2=25t52\begin{aligned} \frac{t^{1/2}}{1/2} &= 2t^{\frac12} \\ \frac{t^{5/2}}{5/2} &= \frac25t^{\frac52} \end{aligned}

At t=1t = 1 the bracket is 2+25=1252 + \frac25 = \frac{12}{5}⁠; at t=0t = 0 it is 00⁠. Finally 12⋅125=65\frac12\cdot\frac{12}{5} = \frac65⁠.

t=1: 2(1)12+25(1)52=2+25t=0: 2(0)+25(0)=02+25=105+25=12512⋅125=1210=12÷210÷2=65\begin{aligned} t = 1&:\ 2(1)^{\frac12} + \frac25(1)^{\frac52} = 2 + \frac25 \\ t = 0&:\ 2(0) + \frac25(0) = 0 \\[4pt] 2 + \frac25 &= \frac{10}{5} + \frac25 = \frac{12}{5} \\ \frac12\cdot\frac{12}{5} &= \frac{12}{10} \\ &= \frac{12 \div 2}{10 \div 2} = \frac65 \end{aligned}

∴ I=65\therefore\ I = \dfrac65⁠.

Where this comes from

Chapter 7, Integrals: Integration by parts; definite by substitution.

Question type: (a) Integration by parts; (b) Substitution

How to spot it: click to see

(a) Type 8. Integration by parts: a product of two different kinds

Spot it: a product such as xsin⁡xx\sin x⁠, xexxe^x or xlog⁡xx\log x⁠. A lone log⁡x\log x or tan⁡−1x\tan^{-1}x works too: take the other function as 1.

Here: The half-angle forms split the integrand into x⋅12sec⁡2x2x\cdot\frac12\sec^2\frac{x}{2} and tan⁡x2\tan\frac{x}{2}⁠. Integrate the product by parts with u=xu = x⁠: its leftover −∫tan⁡x2 dx-\int\tan\frac{x}{2}\,dx cancels the second part.

(b) Type 2. Substitution: when the derivative is hiding in the question

Spot it: a function and its derivative both appear, like log⁡x\log x and 1x\frac{1}{x}⁠, or x2+1x^2 + 1 and xx⁠.

Here: With 2sin⁡2x=2cos⁡xtan⁡x\sqrt{2\sin 2x} = 2\cos x\sqrt{\tan x}⁠, the integrand becomes sec⁡2x⋅sec⁡2x2tan⁡x\frac{\sec^2x\cdot\sec^2x}{2\sqrt{\tan x}}⁠, so tan⁡x\tan x and its derivative sec⁡2x\sec^2x both appear. Put tan⁡x=t\tan x = t and write the other sec⁡2x\sec^2x as 1+t21 + t^2⁠.

Found an error?

Tell us if something on this page is wrong or unclear. Send feedback on this question →