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

Q21: Differentiate 2cos⁡2x2^{\cos^2 x} w.r.t. cos⁡2x\cos^2 x⁠, or dydx\frac{dy}{dx} when tan⁡−1(x2+y2)=a2\tan^{-1}(x^2 + y^2) = a^2

The question

(a) Differentiate 2cos⁡2x2^{\cos^2 x} w.r.t cos⁡2x\cos^2 x⁠.

OR

(b) If tan⁡−1(x2+y2)=a2\tan^{-1}(x^2 + y^2) = a^2⁠, then find dydx\dfrac{dy}{dx}⁠.

Exam answer

(a)

Let u=2cos⁡2xu = 2^{\cos^2 x} and v=cos⁡2xv = \cos^2 x⁠.

Why?

We want the derivative of one function with respect to another function. Both uu and vv are functions of xx⁠, so we differentiate each of them with respect to xx and then divide.

dudx=2cos⁡2xlog⁡2×(−2cos⁡xsin⁡x)\begin{aligned} \frac{du}{dx} &= 2^{\cos^2 x}\log 2 \\ &\quad\times(-2\cos x\sin x) \end{aligned}
Why?

The variable is in the exponent, so use the exponential rule with the chain rule (kk a constant):

ddxkt=ktlog⁡k⋅dtdx\frac{d}{dx}k^{t} = k^{t}\log k\cdot\frac{dt}{dx}

Here k=2k = 2 and t=cos⁡2xt = \cos^2 x⁠. By the chain rule again,

ddxcos⁡2x=2cos⁡x (−sin⁡x)=−2cos⁡xsin⁡x\begin{aligned} \frac{d}{dx}\cos^2 x &= 2\cos x\,(-\sin x) \\ &= -2\cos x\sin x \end{aligned}

(Outside: t2t^2 gives 2t2t⁠, with t=cos⁡xt = \cos x⁠. Inside: cos⁡x\cos x gives −sin⁡x-\sin x⁠.) This is also dvdx\frac{dv}{dx}⁠, the next line.

Watch out: ktk^{t} is not a power of tt⁠. Do not write t kt−1t\,k^{t - 1}⁠.

dvdx=−2cos⁡xsin⁡x\frac{dv}{dx} = -2\cos x\sin x dudv=du/dxdv/dx\frac{du}{dv} = \frac{du/dx}{dv/dx}
Why?

This is the chain rule read backwards:

dudx=dudv⋅dvdx\frac{du}{dx} = \frac{du}{dv}\cdot\frac{dv}{dx}

Divide both sides by dvdx\frac{dv}{dx}⁠, which is allowed where cos⁡xsin⁡x≠0\cos x\sin x \ne 0⁠.

Cancelling −2cos⁡xsin⁡x-2\cos x\sin x⁠,

Why?

Put both derivatives into the fraction. The same factor sits on the top and the bottom:

dudv=2cos⁡2xlog⁡2 (−2cos⁡xsin⁡x)−2cos⁡xsin⁡x=2cos⁡2xlog⁡2\begin{aligned} \frac{du}{dv} &= \frac{2^{\cos^2 x}\log 2\,(-2\cos x\sin x)}{-2\cos x\sin x} \\ &= 2^{\cos^2 x}\log 2 \end{aligned}

∴ dudv=2cos⁡2xlog⁡2\therefore\ \frac{du}{dv} = 2^{\cos^2 x}\log 2⁠.

(b)

tan⁡−1(x2+y2)=a2⇒ x2+y2=tan⁡a2\begin{aligned} &\tan^{-1}(x^2 + y^2) = a^2 \\ \Rightarrow\ &x^2 + y^2 = \tan a^2 \end{aligned}
Why?

Take tan⁡\tan of both sides. Since tan⁡(tan⁡−1t)=t\tan(\tan^{-1}t) = t for every real tt⁠, the inverse function disappears.

aa is a constant, so tan⁡a2\tan a^2 is just a number. This makes the differentiation much shorter.

Differentiating both sides w.r.t. xx (tan⁡a2\tan a^2 is a constant),

2x+2ydydx=02x + 2y\frac{dy}{dx} = 0
Why?

yy is a function of xx⁠, so differentiate y2y^2 by the chain rule:

ddx(y2)=2ydydx\frac{d}{dx}(y^2) = 2y\frac{dy}{dx}

The derivative of a constant is 00⁠.

Watch out: writing ddx(y2)=2y\frac{d}{dx}(y^2) = 2y loses the dydx\frac{dy}{dx}⁠.

2ydydx=−2x2y\frac{dy}{dx} = -2x
Why?

Move 2x2x to the right side, then divide both sides by 2y2y (where y≠0y \ne 0⁠).

2x+2ydydx=02ydydx=−2xdydx=−2x2y=−xy(cancel 2)\begin{aligned} 2x + 2y\frac{dy}{dx} &= 0 \\ 2y\frac{dy}{dx} &= -2x \\ \frac{dy}{dx} &= \frac{-2x}{2y} \\ &= -\frac{x}{y} \quad (\text{cancel } 2) \end{aligned}

∴ dydx=−xy\therefore\ \dfrac{dy}{dx} = -\dfrac{x}{y}⁠.

Where this comes from

Chapter 5, Continuity and Differentiability: Derivative w.r.t. a function; implicit functions.

Question type: (a) Parametric form; (b) Implicit

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: Both u=2cos⁡2xu = 2^{\cos^2 x} and v=cos⁡2xv = \cos^2 x are given through xx⁠, so xx plays the parameter: find dudx\frac{du}{dx} and dvdx\frac{dv}{dx}⁠, and divide. The factor −2cos⁡xsin⁡x-2\cos x\sin x cancels.

(b) Type 5. Implicit: xx and yy mixed in one equation

Spot it: an equation such as x2+xy+y2=100x^2 + xy + y^2 = 100 that you cannot easily solve for yy⁠.

Here: xx and yy are mixed inside tan⁡−1\tan^{-1}⁠. Take tan⁡\tan of both sides, x2+y2=tan⁡a2x^2 + y^2 = \tan a^2⁠, a constant; differentiate each term, y2y^2 giving 2ydydx2y\frac{dy}{dx}⁠.

Found an error?

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