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

Q29: Particular solution of x2dydx−xy=x2cos⁡2(y2x)x^2\frac{dy}{dx} - xy = x^2\cos^2\left(\frac{y}{2x}\right)⁠, y(1)=π2y(1) = \frac{\pi}{2}

The question

Find the particular solution of the differential equation given by x2dydx−xy=x2cos⁡2(y2x)x^2\dfrac{dy}{dx} - xy = x^2\cos^2\left(\dfrac{y}{2x}\right)⁠, given that when x=1x = 1⁠, y=π2y = \dfrac{\pi}{2}⁠.

Exam answer

Dividing by x2x^2⁠,

dydx=yx+cos⁡2(y2x)\frac{dy}{dx} = \frac{y}{x} + \cos^2\left(\frac{y}{2x}\right)
Why?

First get dydx\frac{dy}{dx} on its own. Dividing every term by x2x^2⁠: xyx2=yx\frac{xy}{x^2} = \frac{y}{x}⁠, and the last term loses its x2x^2⁠.

dydx−xyx2=cos⁡2y2xdydx−yx=cos⁡2y2xdydx=yx+cos⁡2y2x\begin{aligned} \frac{dy}{dx} - \frac{xy}{x^2} &= \cos^2\frac{y}{2x} \\ \frac{dy}{dx} - \frac{y}{x} &= \cos^2\frac{y}{2x} \\ \frac{dy}{dx} &= \frac{y}{x} + \cos^2\frac{y}{2x} \end{aligned}

(The last move adds yx\frac{y}{x} to both sides.)

This is a homogeneous equation. Put y=vxy = vx⁠, so that dydx=v+xdvdx\frac{dy}{dx} = v + x\frac{dv}{dx}⁠.

Why?

The right side depends only on the ratio yx\frac{y}{x}⁠, so the equation is homogeneous. The standard method is y=vxy = vx⁠, where vv is a function of xx⁠.

The product rule gives dydx=v⋅1+xdvdx\frac{dy}{dx} = v\cdot 1 + x\frac{dv}{dx}⁠. Also yx=v\frac{y}{x} = v and y2x=v2\frac{y}{2x} = \frac{v}{2}⁠.

v+xdvdx=v+cos⁡2v2⇒xdvdx=cos⁡2v2⇒sec⁡2v2 dv=dxx\begin{aligned} v + x\frac{dv}{dx} &= v + \cos^2\frac{v}{2} \\ \Rightarrow x\frac{dv}{dx} &= \cos^2\frac{v}{2} \\ \Rightarrow \sec^2\frac{v}{2}\,dv &= \frac{dx}{x} \end{aligned}
Why?

The vv on each side cancels. Then separate the variables: all the vv terms with dvdv⁠, all the xx terms with dxdx⁠. Divide by cos⁡2v2\cos^2\frac{v}{2} and by xx⁠, using 1cos⁡2α=sec⁡2α\frac{1}{\cos^2\alpha} = \sec^2\alpha⁠.

xdvdx=cos⁡2v2(subtract v)dvcos⁡2v2=dxxsec⁡2v2 dv=dxx\begin{aligned} x\frac{dv}{dx} &= \cos^2\frac{v}{2} \quad (\text{subtract } v) \\ \frac{dv}{\cos^2\frac{v}{2}} &= \frac{dx}{x} \\ \sec^2\frac{v}{2}\,dv &= \frac{dx}{x} \end{aligned}

Integrating both sides,

∫sec⁡2v2 dv=∫1x dx⇒2tan⁡v2=log⁡∣x∣+C⇒2tan⁡(y2x)=log⁡∣x∣+C\begin{aligned} \int\sec^2\frac{v}{2}\,dv &= \int\frac1x\,dx \\ \Rightarrow 2\tan\frac{v}{2} &= \log|x| + C \\ \Rightarrow 2\tan\left(\frac{y}{2x}\right) &= \log|x| + C \end{aligned}
Why?

For a constant k≠0k \ne 0⁠,

∫sec⁡2kv dv=1ktan⁡kv\int\sec^2 kv\,dv = \frac1k\tan kv

Here k=12k = \frac12⁠, so 1k=2\frac1k = 2⁠. Also ∫1x dx=log⁡∣x∣\int\frac1x\,dx = \log|x|⁠, and one constant C covers both sides.

Then put back v=yxv = \frac{y}{x}⁠, so v2=y2x\frac{v}{2} = \frac{y}{2x}⁠.

When x=1x = 1⁠, y=π2y = \frac{\pi}{2}⁠: 2tan⁡π4=log⁡1+C2\tan\frac{\pi}{4} = \log 1 + C⁠, so C=2C = 2⁠.

Why?

The given values fix C, which turns the general solution into the particular one. At x=1x = 1⁠, y2x=π4\frac{y}{2x} = \frac{\pi}{4}⁠. Then tan⁡π4=1\tan\frac{\pi}{4} = 1 and log⁡1=0\log 1 = 0⁠, so 2=0+C2 = 0 + C⁠.

y2x=π/22(1)=π2×12=π42tan⁡π4=log⁡∣1∣+C2(1)=0+CC=2\begin{aligned} \frac{y}{2x} &= \frac{\pi/2}{2(1)} = \frac{\pi}{2} \times \frac12 = \frac{\pi}{4} \\[4pt] 2\tan\frac{\pi}{4} &= \log|1| + C \\ 2(1) &= 0 + C \\ C &= 2 \end{aligned}

∴ 2tan⁡(y2x)=log⁡∣x∣+2\therefore\ 2\tan\left(\dfrac{y}{2x}\right) = \log|x| + 2 is the required particular solution.

Where this comes from

Chapter 9, Differential Equations: Homogeneous equation: particular solution.

Question type: Homogeneous equations + A particular solution (combines 2 types)

How to spot it: click to see

Type 6. Homogeneous equations: put y=vxy = vx

Spot it: every term has the same degree, like x2x^2⁠, xyxy and y2y^2⁠, or you see yx\frac{y}{x} inside sin, cos or log. You cannot separate xx and yy⁠.

Here: Dividing by x2x^2 gives dydx=yx+cos⁡2y2x\frac{dy}{dx} = \frac{y}{x} + \cos^2\frac{y}{2x}⁠. Put y=vxy = vx⁠: the vv cancels, leaving sec⁡2v2 dv=dxx\sec^2\frac{v}{2}\,dv = \frac{dx}{x}⁠.

Type 4. A particular solution: solve, then find CC

Spot it: a condition such as "y=1y = 1 when x=0x = 0", or "the curve passes through a point".

Here: Then put x=1x = 1⁠, y=π2y = \frac{\pi}{2}⁠: 2tan⁡π4=log⁡1+C2\tan\frac{\pi}{4} = \log 1 + C⁠, so C=2C = 2⁠.

Found an error?

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