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

Q28: d2ydx2\frac{d^2y}{dx^2} for x=sin⁡3tx = \sin^3t⁠, y=cos⁡3ty = \cos^3t⁠; or dydx\frac{dy}{dx} for y=xlog⁡x+(log⁡x)xy = x^{\log x} + (\log x)^x

The question

(a) If x=sin⁡3tx = \sin^3t⁠, y=cos⁡3ty = \cos^3t⁠, Evaluate d2ydx2\dfrac{d^2y}{dx^2} at (122,122)\left(\dfrac{1}{2\sqrt2}, \dfrac{1}{2\sqrt2}\right)⁠.

OR

(b) If y=xlog⁡x+(log⁡x)xy = x^{\log x} + (\log x)^x ; x>1x > 1⁠, then evaluate dydx\dfrac{dy}{dx}

Exam answer

(a)

dxdt=3sin⁡2tcos⁡tdydt=−3cos⁡2tsin⁡t\begin{aligned} \frac{dx}{dt} &= 3\sin^2t\cos t \\ \frac{dy}{dt} &= -3\cos^2t\sin t \end{aligned}
Why?

Chain rule on a power: bring the power down, then multiply by the derivative of the inside.

ddtsin⁡3t=3sin⁡2t⋅cos⁡tddtcos⁡3t=3cos⁡2t⋅(−sin⁡t)\begin{aligned} \frac{d}{dt}\sin^3t &= 3\sin^2t\cdot\cos t \\ \frac{d}{dt}\cos^3t &= 3\cos^2t\cdot(-\sin t) \end{aligned}

Watch the minus sign: ddtcos⁡t=−sin⁡t\frac{d}{dt}\cos t = -\sin t⁠.

dydx=dy/dtdx/dt=−3cos⁡2tsin⁡t3sin⁡2tcos⁡t=−cot⁡t\begin{aligned} \frac{dy}{dx} &= \frac{dy/dt}{dx/dt} = \frac{-3\cos^2t\sin t}{3\sin^2t\cos t} \\ &= -\cot t \end{aligned}
Why?

For a curve given by a parameter tt⁠, divide the two tt-derivatives.

Cancel 3sin⁡tcos⁡t3\sin t\cos t from the top and bottom. That leaves −cos⁡tsin⁡t=−cot⁡t-\frac{\cos t}{\sin t} = -\cot t⁠.

−3cos⁡2tsin⁡t3sin⁡2tcos⁡t=−(3sin⁡tcos⁡t)cos⁡t(3sin⁡tcos⁡t)sin⁡t=−cos⁡tsin⁡t=−cot⁡t\begin{aligned} &\frac{-3\cos^2t\sin t}{3\sin^2t\cos t} \\ &= \frac{-(3\sin t\cos t)\cos t}{(3\sin t\cos t)\sin t} \\ &= -\frac{\cos t}{\sin t} = -\cot t \end{aligned}
d2ydx2=ddt(dydx)⋅dtdx=cosec⁡2t⋅13sin⁡2tcos⁡t=13sec⁡tcosec⁡4t\begin{aligned} \frac{d^2y}{dx^2} &= \frac{d}{dt}\left(\frac{dy}{dx}\right)\cdot\frac{dt}{dx} \\ &= \operatorname{cosec}^2t\cdot\frac{1}{3\sin^2t\cos t} \\ &= \frac13\sec t\operatorname{cosec}^4t \end{aligned}
Why?

dydx\frac{dy}{dx} is in terms of tt⁠, so differentiate it with respect to tt and multiply by dtdx\frac{dt}{dx} (chain rule).

ddt(−cot⁡t)=−(−cosec⁡2t)=cosec⁡2tdtdx=1dx/dt=13sin⁡2tcos⁡t\begin{aligned} \frac{d}{dt}(-\cot t) &= -(-\operatorname{cosec}^2t) \\ &= \operatorname{cosec}^2t \\ \frac{dt}{dx} &= \frac{1}{dx/dt} \\ &= \frac{1}{3\sin^2t\cos t} \end{aligned}

Then write cosec⁡2t=1sin⁡2t\operatorname{cosec}^2t = \frac{1}{\sin^2t} and multiply:

1sin⁡2t⋅13sin⁡2tcos⁡t=13⋅1cos⁡t⋅1sin⁡4t\begin{aligned} &\frac{1}{\sin^2t}\cdot\frac{1}{3\sin^2t\cos t} \\ &= \frac13\cdot\frac{1}{\cos t}\cdot\frac{1}{\sin^4t} \end{aligned}

and 1cos⁡t=sec⁡t\frac{1}{\cos t} = \sec t⁠, 1sin⁡t=cosec⁡t\frac{1}{\sin t} = \operatorname{cosec}t⁠.

Watch out: d2ydx2\frac{d^2y}{dx^2} is not d2ydt2\frac{d^2y}{dt^2} divided by d2xdt2\frac{d^2x}{dt^2}⁠.

At the point (122,122)\left(\frac{1}{2\sqrt2}, \frac{1}{2\sqrt2}\right)⁠, sin⁡3t=cos⁡3t=122\sin^3t = \cos^3t = \frac{1}{2\sqrt2}⁠, so sin⁡t=cos⁡t=12\sin t = \cos t = \frac{1}{\sqrt2} and t=π4t = \frac{\pi}{4}⁠.

Why?

22=(2)32\sqrt2 = (\sqrt2)^3⁠, so

(2)3=(2)2×2=22(\sqrt2)^3 = (\sqrt2)^2 \times \sqrt2 = 2\sqrt2 122=(12)3\frac{1}{2\sqrt2} = \left(\frac{1}{\sqrt2}\right)^3

Taking cube roots gives sin⁡t=cos⁡t=12\sin t = \cos t = \frac{1}{\sqrt2}⁠. Both are positive and equal at t=π4t = \frac{\pi}{4}⁠.

d2ydx2∣t=π4=13⋅2⋅(2)4\frac{d^2y}{dx^2}\bigg|_{t = \frac{\pi}{4}} = \frac13\cdot\sqrt2\cdot\left(\sqrt2\right)^4 =13⋅2⋅4=423= \frac13\cdot\sqrt2\cdot 4 = \frac{4\sqrt2}{3}
Why?

At t=π4t = \frac{\pi}{4}⁠: sec⁡t=1cos⁡t=2\sec t = \frac{1}{\cos t} = \sqrt2 and cosec⁡t=2\operatorname{cosec}t = \sqrt2⁠.

sec⁡π4=11/2=2cosec⁡π4=11/2=2cosec⁡4π4=(2)4\begin{aligned} \sec\frac{\pi}{4} &= \frac{1}{1/\sqrt2} = \sqrt2 \\ \operatorname{cosec}\frac{\pi}{4} &= \frac{1}{1/\sqrt2} = \sqrt2 \\ \operatorname{cosec}^4\frac{\pi}{4} &= (\sqrt2)^4 \end{aligned}

(2)4=((2)2)2=22=4\left(\sqrt2\right)^4 = \left(\left(\sqrt2\right)^2\right)^2 = 2^2 = 4⁠.

13⋅2⋅4=1×423=423\begin{aligned} \frac13\cdot\sqrt2\cdot 4 &= \frac{1 \times 4\sqrt2}{3} \\ &= \frac{4\sqrt2}{3} \end{aligned}

∴ d2ydx2=423\therefore\ \frac{d^2y}{dx^2} = \frac{4\sqrt2}{3} at the given point.

(b)

Let u=xlog⁡xu = x^{\log x} and v=(log⁡x)xv = (\log x)^x⁠, so y=u+vy = u + v⁠.

Why?

Both terms have the variable in the power, so each needs logarithmic differentiation.

Watch out: do not take log of the whole of yy⁠. There is no rule for the log of a sum. Split yy into u+vu + v first and treat each part separately.

log⁡u=(log⁡x)2⇒1ududx=2log⁡x⋅1x⇒dudx=xlog⁡x⋅2log⁡xx\begin{aligned} \log u &= (\log x)^2 \\ \Rightarrow \frac1u\frac{du}{dx} &= 2\log x\cdot\frac1x \\ \Rightarrow \frac{du}{dx} &= x^{\log x}\cdot\frac{2\log x}{x} \end{aligned}
Why?

Take log of both sides and use log⁡ab=blog⁡a\log a^b = b\log a⁠:

log⁡xlog⁡x=log⁡x⋅log⁡x\log x^{\log x} = \log x\cdot\log x

Differentiate. The left side gives 1ududx\frac1u\frac{du}{dx}⁠. On the right, the chain rule gives 2log⁡x⋅1x2\log x\cdot\frac1x⁠. Then multiply by u=xlog⁡xu = x^{\log x}⁠.

ddx(log⁡x)2=2(log⁡x)1⋅ddxlog⁡x=2log⁡x⋅1xdudx=u⋅2log⁡xx=xlog⁡x⋅2log⁡xx\begin{aligned} \frac{d}{dx}(\log x)^2 &= 2(\log x)^1\cdot\frac{d}{dx}\log x \\ &= 2\log x\cdot\frac1x \\[4pt] \frac{du}{dx} &= u\cdot\frac{2\log x}{x} \\ &= x^{\log x}\cdot\frac{2\log x}{x} \end{aligned}
log⁡v=xlog⁡(log⁡x)⇒1vdvdx=1⋅log⁡(log⁡x)+x⋅1log⁡x⋅1x⇒1vdvdx=log⁡(log⁡x)+1log⁡x⇒dvdx=(log⁡x)x(log⁡(log⁡x)+1log⁡x)\begin{aligned} \log v &= x\log(\log x) \\ \Rightarrow \frac1v\frac{dv}{dx} &= 1\cdot\log(\log x) \\ &\quad + x\cdot\frac{1}{\log x}\cdot\frac1x \\ \Rightarrow \frac1v\frac{dv}{dx} &= \log(\log x) + \frac{1}{\log x} \\ \Rightarrow \frac{dv}{dx} &= (\log x)^x\bigg(\log(\log x) \\ &\qquad + \frac{1}{\log x}\bigg) \end{aligned}
Why?

The right side x⋅log⁡(log⁡x)x\cdot\log(\log x) is a product, so use the product rule.

first=x,its derivative=1second=log⁡(log⁡x)\begin{aligned} \text{first} &= x,\quad \text{its derivative} = 1 \\ \text{second} &= \log(\log x) \end{aligned}

Derivative = (derivative of first) ×\times second ++ first ×\times (derivative of second).

The derivative of log⁡(log⁡x)\log(\log x) needs the chain rule:

ddxlog⁡(log⁡x)=1log⁡x⋅1x\frac{d}{dx}\log(\log x) = \frac{1}{\log x}\cdot\frac1x

Then x⋅1xlog⁡x=1log⁡xx\cdot\frac{1}{x\log x} = \frac{1}{\log x}⁠. Finally multiply by v=(log⁡x)xv = (\log x)^x⁠.

dydx=dudx+dvdx\frac{dy}{dx} = \frac{du}{dx} + \frac{dv}{dx}
Why?

y=u+vy = u + v⁠, so the derivative of the sum is the sum of the derivatives. Put in the two results found above:

dudx=2log⁡xx xlog⁡xdvdx=(log⁡x)x(log⁡(log⁡x)+1log⁡x)\begin{aligned} \frac{du}{dx} &= \frac{2\log x}{x}\,x^{\log x} \\ \frac{dv}{dx} &= (\log x)^x\bigg(\log(\log x) \\ &\qquad + \frac{1}{\log x}\bigg) \end{aligned}

∴ dydx=2log⁡xx xlog⁡x\therefore\ \dfrac{dy}{dx} = \dfrac{2\log x}{x}\,x^{\log x} +(log⁡x)x(log⁡(log⁡x)+ (\log x)^x\Big(\log(\log x) +1log⁡x)+ \dfrac{1}{\log x}\Big)

Where this comes from

Chapter 5, Continuity and Differentiability: Parametric second derivative; log differentiation.

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

How to spot it: click to see

(a) 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=sin⁡3tx = \sin^3t and y=cos⁡3ty = \cos^3t share tt⁠: divide to get dydx=−cot⁡t\frac{dy}{dx} = -\cot t⁠.

(a) 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⁡t-\cot t again, times dtdx=13sin⁡2tcos⁡t\frac{dt}{dx} = \frac{1}{3\sin^2t\cos t}⁠. The point has sin⁡3t=cos⁡3t\sin^3t = \cos^3t⁠, so t=π4t = \frac\pi4⁠.

(b) 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: Two powers with xx up top, xlog⁡xx^{\log x} and (log⁡x)x(\log x)^x⁠: name them uu and vv⁠, take log of each, (log⁡x)2(\log x)^2 and xlog⁡(log⁡x)x\log(\log x)⁠, and differentiate.

Found an error?

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