Class 12 Maths, Worked in Full Past papersGet updates
CBSE Sample Paper 2026-27 · Section A · 1 mark

Q12: Find PP in ∫11+e2x dx=x−Plog⁡(1+e2x)+C\int \frac{1}{1 + e^{2x}}\,dx = x - P\log(1 + e^{2x}) + C

Sample 2026-27Ch 7 · Integrals
The question

If ∫11+e2x dx=x−Plog⁡(1+e2x)+C\int \frac{1}{1 + e^{2x}}\,dx = x - P\log(1 + e^{2x}) + C⁠, then ‘PP’ is equal to

(A) −12-\frac{1}{2}

(B) −13-\frac{1}{3}

(C) 13\frac{1}{3}

(D) 12\frac{1}{2}

Exam answer
∫11+e2x dx=∫(1+e2x)−e2x1+e2x dx=∫(1−e2x1+e2x)dx=x−∫e2x1+e2x dx\begin{aligned} &\int \frac{1}{1 + e^{2x}}\,dx \\ &= \int \frac{(1 + e^{2x}) - e^{2x}}{1 + e^{2x}}\,dx \\ &= \int \left(1 - \frac{e^{2x}}{1 + e^{2x}}\right)dx \\ &= x - \int \frac{e^{2x}}{1 + e^{2x}}\,dx \end{aligned}
Why?

As it stands, 11+e2x\frac{1}{1 + e^{2x}} has no standard integral. Writing the numerator 1 as (1+e2x)−e2x(1 + e^{2x}) - e^{2x} splits it into 1, which is easy, and a fraction whose numerator is almost the derivative of its denominator.

Split the fraction into two, over the same denominator:

(1+e2x)−e2x1+e2x=1+e2x1+e2x−e2x1+e2x=1−e2x1+e2x\begin{aligned} &\frac{(1 + e^{2x}) - e^{2x}}{1 + e^{2x}} \\ &= \frac{1 + e^{2x}}{1 + e^{2x}} - \frac{e^{2x}}{1 + e^{2x}} \\ &= 1 - \frac{e^{2x}}{1 + e^{2x}} \end{aligned}

Then ∫1 dx=x\int 1\,dx = x⁠.

Putting 1+e2x=t1 + e^{2x} = t⁠, 2e2x dx=dt2e^{2x}\,dx = dt⁠:

∫e2x1+e2x dx=12∫dtt=12log⁡∣t∣=12log⁡∣1+e2x∣\begin{aligned} \int \frac{e^{2x}}{1 + e^{2x}}\,dx &= \frac{1}{2}\int \frac{dt}{t} \\ &= \frac{1}{2}\log|t| \\ &= \frac{1}{2}\log|1 + e^{2x}| \end{aligned}
Why?

The derivative of 1+e2x1 + e^{2x} is 2e2x2e^{2x}⁠, so e2x dx=12 dte^{2x}\,dx = \frac{1}{2}\,dt⁠. Then use the standard integral

ddx(1+e2x)=0+e2x⋅2dt=2e2x dx12 dt=e2x dx∫e2x dx1+e2x=∫12 dtt=12∫dtt\begin{aligned} \frac{d}{dx}(1 + e^{2x}) &= 0 + e^{2x} \cdot 2 \\ dt &= 2e^{2x}\,dx \\ \frac{1}{2}\,dt &= e^{2x}\,dx \\[4pt] \int \frac{e^{2x}\,dx}{1 + e^{2x}} &= \int \frac{\frac12\,dt}{t} \\ &= \frac{1}{2}\int \frac{dt}{t} \end{aligned} ∫1t dt=log⁡∣t∣+C\int \frac{1}{t}\,dt = \log|t| + C
∫11+e2x dx=x−12log⁡∣1+e2x∣+C\begin{aligned} &\int \frac{1}{1 + e^{2x}}\,dx \\ &= x - \frac{1}{2}\log|1 + e^{2x}| + C \end{aligned}

Comparing with x−Plog⁡(1+e2x)+Cx - P\log(1 + e^{2x}) + C (here 1+e2x>01 + e^{2x} > 0⁠), P=12P = \frac{1}{2}⁠.

Why?

1+e2x1 + e^{2x} is always positive, so ∣1+e2x∣=1+e2x|1 + e^{2x}| = 1 + e^{2x} and the two forms match term by term.

Watch out: the minus sign is already written in the question, so P=+12P = +\frac{1}{2}⁠, not −12-\frac{1}{2} as in (A).

Answer: (D) 12\dfrac{1}{2}

Where this comes from

Chapter 7, Integrals: Integration by substitution.

Question type: Substitution

How to spot it: click to see

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: Writing the 1 on top as (1+e2x)−e2x(1 + e^{2x}) - e^{2x} leaves xx minus ∫e2x1+e2x dx\int\frac{e^{2x}}{1 + e^{2x}}\,dx⁠, where the top is half the derivative of the bottom. So put 1+e2x=t1 + e^{2x} = t⁠, which gives 12log⁡(1+e2x)\frac12\log(1 + e^{2x}) and P=12P = \frac12⁠.

Found an error?

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