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

Q28: Solve dydx+sec⁡2x⋅y=tan⁡x⋅sec⁡2x\frac{dy}{dx} + \sec^2x\cdot y = \tan x\cdot\sec^2x⁠, y(0)=0y(0) = 0⁠, or x dy−y dx−x2+y2 dx=0x\,dy - y\,dx - \sqrt{x^2 + y^2}\,dx = 0

The question

(a) Find the particular solution of the differential equation dydx+sec⁡2x . y=tan⁡x . sec⁡2x\dfrac{dy}{dx} + \sec^2x\,.\,y = \tan x\,.\,\sec^2x⁠, given that y(0)=0y(0) = 0⁠.

OR

(b) Solve the differential equation given by

x dy−y dx−x2+y2 dx=0.x\,dy - y\,dx - \sqrt{x^2 + y^2}\,dx = 0.
Exam answer

(a) This is linear, of the form dydx+Py=Q\frac{dy}{dx} + Py = Q with P=sec⁡2xP = \sec^2x⁠, Q=tan⁡xsec⁡2xQ = \tan x\sec^2x⁠.

Why?

A linear equation has yy and dydx\frac{dy}{dx} only to the first power, and PP and QQ depend on xx alone. PP is the coefficient of yy⁠, and QQ is the right side.

I.F.=e∫sec⁡2x dx=etan⁡x\text{I.F.} = e^{\int\sec^2x\,dx} = e^{\tan x}
Why?

The integrating factor is

I.F.=e∫P dx\text{I.F.} = e^{\int P\,dx}

and ∫sec⁡2x dx=tan⁡x\int\sec^2x\,dx = \tan x⁠, because the derivative of tan⁡x\tan x is sec⁡2x\sec^2x⁠.

Solution is

y etan⁡x=∫tan⁡xsec⁡2x etan⁡x dx+C\begin{aligned} &y\,e^{\tan x} \\ &= \int\tan x\sec^2x\,e^{\tan x}\,dx + C \end{aligned}
Why?

For a linear equation the solution is

y×I.F.=∫Q×I.F. dx+Cy \times \text{I.F.} = \int Q \times \text{I.F.}\,dx + C

This works because multiplying the equation by the I.F. turns its left side into the derivative of y etan⁡xy\,e^{\tan x}⁠.

Let tan⁡x=t\tan x = t⁠, sec⁡2x dx=dt\sec^2x\,dx = dt⁠.

∫etan⁡xtan⁡xsec⁡2x dx=∫et t dt=tet−∫et dt=et(t−1)\begin{aligned} &\int e^{\tan x}\tan x\sec^2x\,dx \\ &= \int e^t\,t\,dt = te^t - \int e^t\,dt \\ &= e^t(t - 1) \end{aligned}
Why?

sec⁡2x dx\sec^2x\,dx is exactly the differential of tan⁡x\tan x⁠, so t=tan⁡xt = \tan x leaves ∫t et dt\int t\,e^t\,dt⁠.

That needs integration by parts, with tt as the first function:

∫t et dt=t et−∫1⋅et dt\int t\,e^t\,dt = t\,e^t - \int 1\cdot e^t\,dt

Here the first function is tt⁠, with derivative 1, and the second is ete^t⁠, with integral ete^t⁠.

Since ∫et dt=et\int e^t\,dt = e^t⁠, this is tet−et=et(t−1)te^t - e^t = e^t(t - 1)⁠. Then put back t=tan⁡xt = \tan x⁠.

tet−et=et(t)−et(1)=et(t−1)=etan⁡x(tan⁡x−1)\begin{aligned} te^t - e^t &= e^t(t) - e^t(1) \\ &= e^t(t - 1) \\ &= e^{\tan x}(\tan x - 1) \end{aligned}
∴ y etan⁡x=etan⁡x(tan⁡x−1)+C\therefore\ y\,e^{\tan x} = e^{\tan x}(\tan x - 1) + C

y(0)=0y(0) = 0 gives 0=e0(0−1)+C0 = e^0(0 - 1) + C⁠, so C=1C = 1⁠.

Why?

y(0)=0y(0) = 0 means y=0y = 0 when x=0x = 0⁠. With tan⁡0=0\tan 0 = 0 and e0=1e^0 = 1⁠, the equation becomes 0=−1+C0 = -1 + C⁠.

0⋅etan⁡0=etan⁡0(tan⁡0−1)+C0⋅e0=e0(0−1)+C0=1(−1)+C0=−1+CC=1\begin{aligned} 0 \cdot e^{\tan 0} &= e^{\tan 0}(\tan 0 - 1) + C \\ 0 \cdot e^0 &= e^0(0 - 1) + C \\ 0 &= 1(-1) + C \\ 0 &= -1 + C \\ C &= 1 \end{aligned}

Particular solution is y etan⁡x=etan⁡x(tan⁡x−1)+1y\,e^{\tan x} = e^{\tan x}(\tan x - 1) + 1⁠, or y=tan⁡x−1+e−tan⁡xy = \tan x - 1 + e^{-\tan x}⁠.

Why?

For the second form, divide both sides by etan⁡xe^{\tan x}⁠, using

1etan⁡x=e−tan⁡x\frac{1}{e^{\tan x}} = e^{-\tan x} y=etan⁡x(tan⁡x−1)etan⁡x+1etan⁡x=tan⁡x−1+e−tan⁡x\begin{aligned} y &= \frac{e^{\tan x}(\tan x - 1)}{e^{\tan x}} + \frac{1}{e^{\tan x}} \\ &= \tan x - 1 + e^{-\tan x} \end{aligned}

(b) x dy=(y+x2+y2)dxx\,dy = \left(y + \sqrt{x^2 + y^2}\right)dx

The equation can be written as (taking x>0x > 0⁠)

dydx=yx+1+(yx)2…(i)\frac{dy}{dx} = \frac{y}{x} + \sqrt{1 + \left(\frac{y}{x}\right)^2}\quad\ldots(\text{i})
Why?

Divide by x dxx\,dx⁠:

dydx=yx+x2+y2x\frac{dy}{dx} = \frac{y}{x} + \frac{\sqrt{x^2 + y^2}}{x}

For x>0x > 0⁠, x=x2x = \sqrt{x^2}⁠, so the root term is

x2+y2x=x2+y2x2=1+(yx)2\begin{aligned} \frac{\sqrt{x^2 + y^2}}{x} &= \sqrt{\frac{x^2 + y^2}{x^2}} \\ &= \sqrt{1 + \left(\frac{y}{x}\right)^2} \end{aligned}

It is homogeneous. Let y=vxy = vx⁠, so dydx=v+xdvdx\frac{dy}{dx} = v + x\frac{dv}{dx}⁠. Substituting in (i),

Why?

The right side of (i) depends only on yx\frac{y}{x}⁠, so the equation is homogeneous. The standard substitution for such an equation is y=vxy = vx⁠.

By the product rule, ddx(vx)=v+xdvdx\frac{d}{dx}(vx) = v + x\frac{dv}{dx}⁠.

v+xdvdx=v+1+v2⇒ dv1+v2=dxx\begin{aligned} v + x\frac{dv}{dx} &= v + \sqrt{1 + v^2} \\ \Rightarrow\ \frac{dv}{\sqrt{1 + v^2}} &= \frac{dx}{x} \end{aligned}
Why?

On the right of (i), yx=vxx=v\frac{y}{x} = \frac{vx}{x} = v⁠.

vv cancels from both sides, which leaves xdvdx=1+v2x\frac{dv}{dx} = \sqrt{1 + v^2}⁠.

Then separate the variables: every vv goes with dvdv⁠, and every xx goes with dxdx⁠.

xdvdx=1+v2x dv=1+v2 dxdv1+v2=dxx\begin{aligned} x\frac{dv}{dx} &= \sqrt{1 + v^2} \\ x\,dv &= \sqrt{1 + v^2}\,dx \\ \frac{dv}{\sqrt{1 + v^2}} &= \frac{dx}{x} \end{aligned}

(Multiply by dxdx⁠, then divide by x1+v2x\sqrt{1 + v^2}⁠.)

Integrating both sides,

log⁡∣v+1+v2∣=log⁡∣x∣+log⁡C⇒ v+1+v2=Cx⇒ yx+x2+y2x=Cx\begin{aligned} &\log\left|v + \sqrt{1 + v^2}\right| \\ &= \log|x| + \log C \\ \Rightarrow\ &v + \sqrt{1 + v^2} = Cx \\ \Rightarrow\ &\frac{y}{x} + \frac{\sqrt{x^2 + y^2}}{x} = Cx \end{aligned}
Why?

Standard integral, here with a=1a = 1⁠:

∫dvv2+a2=log⁡∣v+v2+a2∣\begin{aligned} &\int\frac{dv}{\sqrt{v^2 + a^2}} \\ &= \log\left|v + \sqrt{v^2 + a^2}\right| \end{aligned}

Writing the constant as log⁡C\log C lets the logs combine: log⁡∣x∣+log⁡C=log⁡C∣x∣\log|x| + \log C = \log C|x|⁠. Equal logs give equal numbers. As x>0x > 0 and v+1+v2>0v + \sqrt{1 + v^2} > 0⁠, no modulus is needed.

Finally put back v=yxv = \frac{y}{x} and multiply through by xx⁠.

1+v2=1+y2x2=x2+y2x2=x2+y2x\begin{aligned} \sqrt{1 + v^2} &= \sqrt{1 + \frac{y^2}{x^2}} \\ &= \sqrt{\frac{x^2 + y^2}{x^2}} \\ &= \frac{\sqrt{x^2 + y^2}}{x} \end{aligned} x(yx+x2+y2x)=x(Cx)y+x2+y2=Cx2\begin{aligned} &x\left(\frac{y}{x} + \frac{\sqrt{x^2 + y^2}}{x}\right) = x(Cx) \\ &y + \sqrt{x^2 + y^2} = Cx^2 \end{aligned}

∴ y+x2+y2=Cx2\therefore\ y + \sqrt{x^2 + y^2} = Cx^2⁠.

Where this comes from

Chapter 9, Differential Equations: Linear differential equation; homogeneous equation.

Question type: (a) Linear equations + Integration by parts + A particular solution (combined); (b) Homogeneous equations

How to spot it: click to see

(a) Ch 9, type 7. Linear equations: the integrating factor

Spot it: dydx+Py=Q\frac{dy}{dx} + Py = Q⁠, with PP and QQ in xx only, and yy only to power 1.

Here: Here P=sec⁡2xP = \sec^2x and Q=tan⁡xsec⁡2xQ = \tan x\sec^2x⁠, both in xx only, so I.F.=etan⁡x\text{I.F.} = e^{\tan x}⁠.

(a) Ch 7, type 8. Integration by parts: a product of two different kinds

Spot it: a product such as xsin⁡xx\sin x⁠, xexxe^x or xlog⁡xx\log x⁠. A lone log⁡x\log x or tan⁡−1x\tan^{-1}x works too: take the other function as 1.

Here: With t=tan⁡xt = \tan x⁠, the right side ∫tan⁡xsec⁡2x etan⁡x dx\int\tan x\sec^2x\,e^{\tan x}\,dx becomes ∫tet dt\int te^t\,dt⁠: a product of tt and ete^t⁠, so integrate by parts, with tt as the first function.

(a) Ch 9, 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 y(0)=0y(0) = 0 gives 0=e0(0−1)+C0 = e^0(0 - 1) + C⁠, so C=1C = 1⁠.

(b) Ch 9, 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 x dxx\,dx gives dydx=yx+1+(yx)2\frac{dy}{dx} = \frac{y}{x} + \sqrt{1 + \left(\frac{y}{x}\right)^2}⁠. Put y=vxy = vx⁠: the vv cancels, leaving dv1+v2=dxx\frac{dv}{\sqrt{1 + v^2}} = \frac{dx}{x}⁠.

Found an error?

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