Class 12 Maths, Worked in Full Past papersGet updates
CBSE Sample Paper 2025-26 · Section C · 3 marks

Q26: xy=ex−yx^y = e^{x - y}⁠: prove dydx=log⁡x(log⁡(xe))2\frac{dy}{dx} = \frac{\log x}{(\log(xe))^2}⁠, or d2ydx2\frac{d^2y}{dx^2} for the cycloid

The question

(a) If xy=ex−yx^y = e^{x - y} prove that dydx=log⁡x(log⁡(xe))2\dfrac{dy}{dx} = \dfrac{\log x}{(\log(xe))^2} and hence find its value at x=ex = e⁠.

OR

(b) If x=a(θ−sin⁡θ)x = a(\theta - \sin\theta)⁠, y=a(1−cos⁡θ)y = a(1 - \cos\theta) find d2ydx2\dfrac{d^2y}{dx^2}⁠.

Exam answer

(a)

xy=ex−yx^y = e^{x - y}⁠. Taking log of both sides,

ylog⁡x=(x−y)log⁡e⇒ylog⁡x+y=x(as log⁡e=1)\begin{aligned} y\log x &= (x - y)\log e \\ \Rightarrow y\log x + y &= x\quad(\text{as } \log e = 1) \end{aligned} ⇒y(1+log⁡x)=x⇒y=x1+log⁡x\begin{aligned} \Rightarrow y(1 + \log x) &= x \\ \Rightarrow y &= \frac{x}{1 + \log x} \end{aligned}
Why?

The unknown yy is in a power, so taking logs brings it down. The two log rules used are:

log⁡ab=blog⁡alog⁡e=1\begin{aligned} \log a^b &= b\log a \\ \log e &= 1 \end{aligned}

So log⁡xy=ylog⁡x\log x^y = y\log x and log⁡ex−y=(x−y)log⁡e=x−y\log e^{x - y} = (x - y)\log e = x - y⁠.

Then collect the yy terms on one side, take yy out as a common factor and divide. Now yy is an explicit function of xx⁠.

ylog⁡x=x−yylog⁡x+y=x(add y)y(log⁡x+1)=x(take out y)y=x1+log⁡x\begin{aligned} y\log x &= x - y \\ y\log x + y &= x \quad (\text{add } y) \\ y(\log x + 1) &= x \quad (\text{take out } y) \\ y &= \frac{x}{1 + \log x} \end{aligned}

Differentiating with respect to xx⁠,

dydx=(1+log⁡x)⋅1−x⋅1x(1+log⁡x)2=log⁡x(1+log⁡x)2\begin{aligned} \frac{dy}{dx} &= \frac{(1 + \log x)\cdot 1 - x\cdot\frac1x}{(1 + \log x)^2} \\ &= \frac{\log x}{(1 + \log x)^2} \end{aligned}
Why?

yy is a quotient, so use the quotient rule:

ddx(uv)=vu′−uv′v2\frac{d}{dx}\left(\frac{u}{v}\right) = \frac{vu' - uv'}{v^2}

Here u=xu = x⁠, u′=1u' = 1⁠, v=1+log⁡xv = 1 + \log x and v′=1xv' = \frac1x⁠.

On the top, x⋅1x=1x\cdot\frac1x = 1⁠, and 1+log⁡x−1=log⁡x1 + \log x - 1 = \log x⁠.

vu′=(1+log⁡x)(1)=1+log⁡xuv′=(x)(1x)=1vu′−uv′=1+log⁡x−1=log⁡xv2=(1+log⁡x)2\begin{aligned} vu' &= (1 + \log x)(1) = 1 + \log x \\ uv' &= (x)\left(\frac1x\right) = 1 \\[4pt] vu' - uv' &= 1 + \log x - 1 \\ &= \log x \\[4pt] v^2 &= (1 + \log x)^2 \end{aligned}
dydx=log⁡x(log⁡e+log⁡x)2=log⁡x(log⁡(xe))2\begin{aligned} \frac{dy}{dx} &= \frac{\log x}{(\log e + \log x)^2} \\ &= \frac{\log x}{(\log(xe))^2} \end{aligned}
Why?

The answer we must reach has log⁡(xe)\log(xe)⁠, so write the 1 as log⁡e\log e⁠. Then use the product rule for logs:

log⁡e+log⁡x=log⁡(xe)\log e + \log x = \log(xe)

Hence proved. At x=ex = e⁠,

dydx=log⁡e(log⁡e2)2=1(2log⁡e)2=122\begin{aligned} \frac{dy}{dx} &= \frac{\log e}{(\log e^2)^2} = \frac{1}{(2\log e)^2} \\ &= \frac{1}{2^2} \end{aligned}
Why?

Put x=ex = e⁠: the top is log⁡e=1\log e = 1⁠, and inside the bracket xe=e⋅e=e2xe = e\cdot e = e^2⁠.

By the power rule for logs, log⁡e2=2log⁡e=2\log e^2 = 2\log e = 2⁠. So the bottom is 22=42^2 = 4⁠.

log⁡e(log⁡e2)2=1(2log⁡e)2=1(2×1)2=14\begin{aligned} \frac{\log e}{(\log e^2)^2} &= \frac{1}{(2\log e)^2} \\ &= \frac{1}{(2 \times 1)^2} = \frac{1}{4} \end{aligned}

∴\therefore At x=ex = e⁠, dydx=14\frac{dy}{dx} = \frac14⁠.

(b)

dxdθ=a(1−cos⁡θ),dydθ=asin⁡θ\frac{dx}{d\theta} = a(1 - \cos\theta),\quad \frac{dy}{d\theta} = a\sin\theta
Why?

Both xx and yy are given in terms of the parameter θ\theta⁠, so first differentiate each with respect to θ\theta (aa is a constant):

ddθ(θ−sin⁡θ)=1−cos⁡θddθ(1−cos⁡θ)=sin⁡θ\begin{aligned} \frac{d}{d\theta}(\theta - \sin\theta) &= 1 - \cos\theta \\ \frac{d}{d\theta}(1 - \cos\theta) &= \sin\theta \end{aligned}
dydx=dy/dθdx/dθ=asin⁡θa(1−cos⁡θ)=2sin⁡θ2cos⁡θ22sin⁡2θ2=cot⁡θ2\begin{aligned} \frac{dy}{dx} &= \frac{dy/d\theta}{dx/d\theta} = \frac{a\sin\theta}{a(1 - \cos\theta)} \\ &= \frac{2\sin\frac{\theta}{2}\cos\frac{\theta}{2}}{2\sin^2\frac{\theta}{2}} = \cot\frac{\theta}{2} \end{aligned}
Why?

For a curve given by a parameter, dydx\frac{dy}{dx} is the ratio of the two θ\theta-derivatives.

To simplify, use the half-angle formulas:

sin⁡θ=2sin⁡θ2cos⁡θ21−cos⁡θ=2sin⁡2θ2\begin{aligned} \sin\theta &= 2\sin\frac{\theta}{2}\cos\frac{\theta}{2} \\ 1 - \cos\theta &= 2\sin^2\frac{\theta}{2} \end{aligned}

Cancel 2sin⁡θ22\sin\frac{\theta}{2}⁠, and cos⁡sin⁡\frac{\cos}{\sin} of the same angle is cot⁡\cot⁠.

asin⁡θa(1−cos⁡θ)=sin⁡θ1−cos⁡θ=2sin⁡θ2cos⁡θ22sin⁡θ2sin⁡θ2=cos⁡θ2sin⁡θ2=cot⁡θ2\begin{aligned} \frac{a\sin\theta}{a(1 - \cos\theta)} &= \frac{\sin\theta}{1 - \cos\theta} \\ &= \frac{2\sin\frac{\theta}{2}\cos\frac{\theta}{2}}{2\sin\frac{\theta}{2}\sin\frac{\theta}{2}} \\ &= \frac{\cos\frac{\theta}{2}}{\sin\frac{\theta}{2}} = \cot\frac{\theta}{2} \end{aligned}

(First the aa on top and bottom cancels.)

Differentiating again with respect to xx⁠,

d2ydx2=−12cosec⁡2θ2⋅dθdx=−12cosec⁡2θ2⋅1a(1−cos⁡θ)\begin{aligned} \frac{d^2y}{dx^2} &= -\frac12\operatorname{cosec}^2\frac{\theta}{2}\cdot\frac{d\theta}{dx} \\ &= -\frac12\operatorname{cosec}^2\frac{\theta}{2}\cdot\frac{1}{a(1 - \cos\theta)} \end{aligned}
Why?

cot⁡θ2\cot\frac{\theta}{2} is a function of θ\theta⁠, but we differentiate with respect to xx⁠. So use the chain rule:

ddx(…)=ddθ(…)⋅dθdx\frac{d}{dx}(\ldots) = \frac{d}{d\theta}(\ldots)\cdot\frac{d\theta}{dx}

ddθcot⁡θ2=−cosec⁡2θ2⋅12\frac{d}{d\theta}\cot\frac{\theta}{2} = -\operatorname{cosec}^2\frac{\theta}{2}\cdot\frac12⁠, and dθdx\frac{d\theta}{dx} is the reciprocal of dxdθ=a(1−cos⁡θ)\frac{dx}{d\theta} = a(1 - \cos\theta)⁠.

ddθcot⁡θ2=−cosec⁡2θ2⋅ddθ(θ2)=−cosec⁡2θ2⋅12dθdx=1dx/dθ=1a(1−cos⁡θ)\begin{aligned} \frac{d}{d\theta}\cot\frac{\theta}{2} &= -\operatorname{cosec}^2\frac{\theta}{2} \cdot \frac{d}{d\theta}\left(\frac{\theta}{2}\right) \\ &= -\operatorname{cosec}^2\frac{\theta}{2} \cdot \frac12 \\[4pt] \frac{d\theta}{dx} &= \frac{1}{dx/d\theta} = \frac{1}{a(1 - \cos\theta)} \end{aligned}

Watch out: d2ydx2\frac{d^2y}{dx^2} is not d2ydθ2\frac{d^2y}{d\theta^2} divided by d2xdθ2\frac{d^2x}{d\theta^2}⁠.

d2ydx2=−12acosec⁡2θ2⋅12sin⁡2θ2\begin{aligned} \frac{d^2y}{dx^2} &= -\frac{1}{2a}\operatorname{cosec}^2\frac{\theta}{2}\cdot\frac{1}{2\sin^2\frac{\theta}{2}} \end{aligned}
Why?

Again 1−cos⁡θ=2sin⁡2θ21 - \cos\theta = 2\sin^2\frac{\theta}{2}⁠. Move the aa next to the 12\frac12 first:

−12⋅1a(1−cos⁡θ)=−12a⋅11−cos⁡θ=−12a⋅12sin⁡2θ2\begin{aligned} &-\frac12 \cdot \frac{1}{a(1 - \cos\theta)} \\ &= -\frac{1}{2a} \cdot \frac{1}{1 - \cos\theta} \\ &= -\frac{1}{2a} \cdot \frac{1}{2\sin^2\frac{\theta}{2}} \end{aligned}

Then gather everything:

−12acosec⁡2θ2⋅12sin⁡2θ2=−12a×2cosec⁡2θ2⋅cosec⁡2θ2=−14acosec⁡4θ2\begin{aligned} &-\frac{1}{2a}\operatorname{cosec}^2\frac{\theta}{2}\cdot\frac{1}{2\sin^2\frac{\theta}{2}} \\ &= -\frac{1}{2a \times 2}\operatorname{cosec}^2\frac{\theta}{2}\cdot\operatorname{cosec}^2\frac{\theta}{2} \\ &= -\frac{1}{4a}\operatorname{cosec}^4\frac{\theta}{2} \end{aligned}

Since 1sin⁡2θ2=cosec⁡2θ2\frac{1}{\sin^2\frac{\theta}{2}} = \operatorname{cosec}^2\frac{\theta}{2}⁠, the two cosec⁡2\operatorname{cosec}^2 factors multiply to cosec⁡4θ2\operatorname{cosec}^4\frac{\theta}{2}⁠, and 2a×2=4a2a \times 2 = 4a⁠.

∴ d2ydx2=−14acosec⁡4θ2\therefore\ \dfrac{d^2y}{dx^2} = -\dfrac{1}{4a}\operatorname{cosec}^4\dfrac{\theta}{2}

Where this comes from

Chapter 5, Continuity and Differentiability: Logarithmic and parametric differentiation.

Question type: (a) Logarithmic differentiation; (b) Parametric form + Second derivative (combined)

How to spot it: click to see

(a) Type 7. Logarithmic differentiation: xx in the power

Spot it: a power whose exponent contains xx⁠, like xxx^x⁠, xsin⁡xx^{\sin x} or (log⁡x)cos⁡x(\log x)^{\cos x}⁠, or a long product.

Here: yy sits in the power of xx in xyx^y⁠: take log of both sides, ylog⁡x=x−yy\log x = x - y⁠. Then solve, y=x1+log⁡xy = \frac{x}{1 + \log x}⁠, and use the quotient rule.

(b) Type 8. Parametric form: xx and yy given through tt or θ\theta

Spot it: two equations, one for xx and one for yy⁠, both in the same third letter.

Here: First, x=a(θ−sin⁡θ)x = a(\theta - \sin\theta) and y=a(1−cos⁡θ)y = a(1 - \cos\theta) share θ\theta⁠: divide to get dydx=cot⁡θ2\frac{dy}{dx} = \cot\frac\theta2⁠.

(b) Type 9. Second derivative: differentiate twice, then prove

Spot it: d2ydx2\frac{d^2y}{dx^2} or y′′y'' in the question, often "prove that d2ydx2+y=0\frac{d^2y}{dx^2} + y = 0".

Here: Then differentiate cot⁡θ2\cot\frac\theta2 again with respect to xx⁠: −12cosec⁡2θ2-\frac12\operatorname{cosec}^2\frac\theta2 times dθdx=1a(1−cos⁡θ)\frac{d\theta}{dx} = \frac{1}{a(1 - \cos\theta)}⁠.

Found an error?

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