My Cart
Your Cart 0

    Your cart is empty.

  • Total (Amount) ₹0.00
NCERT · Class 12 · Maths · 2025-26

Chapter 9: Differential Equations

Practice each question, then open the answer or worked solution.

Miscellaneous Exercise on Chapter 9

Textbook page 333 · 15 questions
Q1Written answer
For each of the differential equations given below, indicate its order and degree (if defined).
(i) \(\frac{d^2y}{dx^2}+5x\left(\frac{dy}{dx}\right)^2-6y=\log x\)
(ii) \(\left(\frac{dy}{dx}\right)^3-4\left(\frac{dy}{dx}\right)^2+7y=\sin x\)
(iii) \(\frac{d^4y}{dx^4}-\sin\left(\frac{d^3y}{dx^3}\right)=0\)
Show solutionHide solution
Worked solution

Key idea. The order of a differential equation is the order of the highest derivative present. Its degree is the power of that highest-order derivative after the equation is written as a polynomial equation in derivatives; if this cannot be done, the degree is not defined.

(i) \(\frac{d^2y}{dx^2}+5x\left(\frac{dy}{dx}\right)^2-6y=\log x\). The highest derivative is \(\frac{d^2y}{dx^2}\), so the order is \(2\). The equation is polynomial in the derivatives and the highest derivative appears to the first power, so the degree is \(1\).

(ii) \(\left(\frac{dy}{dx}\right)^3-4\left(\frac{dy}{dx}\right)^2+7y=\sin x\). The highest derivative is \(\frac{dy}{dx}\), so the order is \(1\). Its highest power is \(3\), so the degree is \(3\).

(iii) \(\frac{d^4y}{dx^4}-\sin\left(\frac{d^3y}{dx^3}\right)=0\). The highest derivative is \(\frac{d^4y}{dx^4}\), so the order is \(4\). Because the equation contains the non-polynomial term \(\sin\left(\frac{d^3y}{dx^3}\right)\), it is not a polynomial equation in derivatives; hence its degree is not defined.

Answer: (i) order \(2\), degree \(1\); (ii) order \(1\), degree \(3\); (iii) order \(4\), degree not defined.

Q2Written answer
For each of the exercises given below, verify that the given function (implicit or explicit) is a solution of the corresponding differential equation.
(i) \(xy = a e^x + b e^{-x} + x^2\) : \(x\frac{d^2 y}{dx^2} + 2\frac{dy}{dx} - xy + x^2 - 2 = 0\)
(ii) \(y = e^x (a \cos x + b \sin x)\) : \(\frac{d^2 y}{dx^2} - 2\frac{dy}{dx} + 2y = 0\)
(iii) \(y = x \sin 3x\) : \(\frac{d^2 y}{dx^2} + 9y - 6\cos 3x = 0\)
(iv) \(x^2 = 2y^2 \log y\) : \((x^2 + y^2)\frac{dy}{dx} - xy = 0\)
Show solutionHide solution
Worked solution

We verify each part by differentiating the given function or relation and substituting into the differential equation.

(i)

From \(xy=ae^x+be^{-x}+x^2\), differentiate both sides once:

\[ y+xy'=ae^x-be^{-x}+2x. \tag{1}\]

Differentiate once more:

\[ 2y'+xy''=ae^x+be^{-x}+2. \tag{2}\]

Using (2) and the original relation, the left side of the differential equation is

\[ xy''+2y'-xy+x^2-2=(ae^x+be^{-x}+2)-(ae^x+be^{-x}+x^2)+x^2-2=0.\]

Thus the relation satisfies the differential equation on any interval where the implicit relation defines a differentiable \(y\).

(ii)

Write \(y=e^xu\), where \(u=a\cos x+b\sin x\). Then \(u''=-u\). Since

\[ y'=e^x(u+u'),\qquad y''=e^x(u+2u'+u''),\]

we get

\[ y''-2y'+2y=e^x(u+2u'+u''-2u-2u'+2u)=e^x(u''+u)=0.\]

So \(y=e^x(a\cos x+b\sin x)\) satisfies the equation for all real \(x\).

(iii)

For \(y=x\sin3x\),

\[ y'=\sin3x+3x\cos3x,\] \[ y''=3\cos3x+3(\cos3x-3x\sin3x)=6\cos3x-9x\sin3x.\]

Hence

\[ y''+9y-6\cos3x=(6\cos3x-9x\sin3x)+9x\sin3x-6\cos3x=0.\]

So \(y=x\sin3x\) satisfies the equation for all real \(x\).

(iv)

Here \(\log y\) requires \(y>0\). Differentiate \(x^2=2y^2\log y\) with respect to \(x\):

\[ 2x=2\left(2y y'\log y+y^2\frac{y'}{y}\right)=4y y'\log y+2y y'.\]

Dividing by \(2\),

\[ x=y y'(2\log y+1). \tag{3}\]

From \(x^2=2y^2\log y\), we have

\[ x^2+y^2=y^2(2\log y+1).\]

Thus (3) gives

\[ x=y y'\frac{x^2+y^2}{y^2}=\frac{y'(x^2+y^2)}{y}.\]

Multiplying by \(y\),

\[ xy=(x^2+y^2)y',\]

which is exactly

\[ (x^2+y^2)y'-xy=0.\]

So the given relation satisfies the differential equation on any interval where \(y>0\) and the relation defines a differentiable function.

All four given functions/relations have been verified.

Q3Written answer
Prove that \(x^2 - y^2 = c (x^2 + y^2)^2\) is the general solution of differential equation \((x^3 - 3x y^2) dx = (y^3 - 3x^2 y) dy\), where \(c\) is a parameter.
Show solutionHide solution
Worked solution

Work away from the singular point \((0,0)\), where \(x^2+y^2\ne0\), and define \[ F(x,y)=\frac{x^2-y^2}{(x^2+y^2)^2}. \]

Differentiating \(F\) gives \[ dF=\frac{1}{(x^2+y^2)^3}\Big[2x(-x^2+3y^2)\,dx-2y(3x^2-y^2)\,dy\Big] =-\frac{2}{(x^2+y^2)^3}\Big[(x^3-3xy^2)\,dx-(y^3-3x^2y)\,dy\Big]. \] Since \(2/(x^2+y^2)^3\ne0\) off \((0,0)\), the condition \(dF=0\) is equivalent to \[ (x^3-3xy^2)\,dx-(y^3-3x^2y)\,dy=0, \] i.e. to the given differential equation.

Thus solutions are the level curves \(F(x,y)=c\), namely \[ \frac{x^2-y^2}{(x^2+y^2)^2}=c \quad\Longleftrightarrow\quad x^2-y^2=c(x^2+y^2)^2. \] The constant \(c\) is arbitrary. This one-parameter family satisfies the first-order differential equation and accounts for all regular solution curves, so it is the general solution; the origin is a singular point excluded by the formula.

Q4Written answer
Find the general solution of the differential equation \(\frac{dy}{dx} + \sqrt{\frac{1 - y^2}{1 - x^2}} = 0\).
Show solutionHide solution
Worked solution

Solution. Write \(y'=\frac{dy}{dx}\). The square root is real only when \(x\ne\pm1\) and \(\frac{1-y^2}{1-x^2}\ge0\), i.e. either \(|x|<1\) and \(|y|\le1\), or \(|x|>1\) and \(|y|\ge1\). A solution interval must not contain \(x=\pm1\).

The constant functions \[y=1,\qquad y=-1\] satisfy the equation on any interval not containing \(x=\pm1\), because the radicand is then \(0\).

For a nonconstant solution with \(|x|<1\), we have \(|y|\le1\). On a subinterval where \(-1<y<1\), separation of variables gives \[ \frac{dy}{\sqrt{1-y^2}}=-\frac{dx}{\sqrt{1-x^2}}. \] Using principal values of the inverse sine, \[ \sin^{-1}y=C-\sin^{-1}x, \] or equivalently \[ \sin^{-1}x+\sin^{-1}y=C. \] Thus \(y=\sin\!\left(C-\sin^{-1}x\right)\), with \(C\) and the interval chosen so that \(-\frac{\pi}{2}<C-\sin^{-1}x<\frac{\pi}{2}\) on the interior of the branch. This is the usual family in the region \(|x|<1\). If a branch reaches \(y=1\) or \(y=-1\) at an endpoint, it may be joined to the corresponding constant solution with matching zero derivative.

For \(|x|>1\), the domain condition forces \(|y|\ge1\). On a nonconstant branch with \(|y|>1\), both \(\operatorname{sgn}(x)\) and \(\operatorname{sgn}(y)\) are constant. The equation is \[ y'=-\frac{\sqrt{y^2-1}}{\sqrt{x^2-1}}. \] Separating, \[ \frac{dy}{\sqrt{y^2-1}}=-\frac{dx}{\sqrt{x^2-1}}. \] Since \(\frac{d}{dt}\operatorname{arcosh}|t|=\frac{\operatorname{sgn}(t)}{\sqrt{t^2-1}}\), integration gives \[ \operatorname{sgn}(y)\operatorname{arcosh}|y|+\operatorname{sgn}(x)\operatorname{arcosh}|x|=C. \] Indeed, differentiating the left side uses the constant signs and produces \(y'/\sqrt{y^2-1}+1/\sqrt{x^2-1}=0\), exactly the separated equation. This, together with the constant solutions \(y=1\) and \(y=-1\), covers the region \(|x|>1\).

Hence all real classical solution branches are: \(y=1\) and \(y=-1\) on any interval avoiding \(x=\pm1\); the arcsine family above on intervals with \(|x|<1\) and \(-1<y<1\), with endpoint constant extensions as noted; and the hyperbolic family above on intervals with \(|x|>1\) and \(|y|>1\), with endpoint constant extensions to \(y=\pm1\). No solution interval may contain \(x=1\) or \(x=-1\).

Q5Written answer
Show that the general solution of the differential equation \(\frac{dy}{dx} + \frac{y^2 + y + 1}{x^2 + x + 1} = 0\) is given by \((x + y + 1) = A (1 - x - y - 2xy)\), where A is parameter.
Show solutionHide solution
Worked solution

We solve by separation of variables.

\[ \frac{dy}{dx}=-\frac{y^2+y+1}{x^2+x+1}, \qquad \frac{dy}{y^2+y+1}=-\frac{dx}{x^2+x+1}. \]

Complete the squares: \[ y^2+y+1=\left(y+\frac12\right)^2+\frac34,\qquad x^2+x+1=\left(x+\frac12\right)^2+\frac34. \] Both quadratics are positive for all real \(x,y\), so there is no real pole from these denominators.

Integrating, \[ \frac{2}{\sqrt3}\tan^{-1}\!\left(\frac{2y+1}{\sqrt3}\right) +\frac{2}{\sqrt3}\tan^{-1}\!\left(\frac{2x+1}{\sqrt3}\right)=C. \] Equivalently, \[ \tan^{-1}\!\left(\frac{2y+1}{\sqrt3}\right) +\tan^{-1}\!\left(\frac{2x+1}{\sqrt3}\right)=C_1, \] where \(C_1\) is a constant.

Set \(u=\frac{2y+1}{\sqrt3}\) and \(v=\frac{2x+1}{\sqrt3}\). Taking tangent, \[ \tan\left(\tan^{-1}u+\tan^{-1}v\right) =\frac{u+v}{1-uv} \] when \(1-uv\ne0\). Any added multiple of \(\pi\) is absorbed into the constant.

Now \[ u+v=\frac{2y+1+2x+1}{\sqrt3} =\frac{2(x+y+1)}{\sqrt3}, \] and \[ 1-uv =1-\frac{(2x+1)(2y+1)}{3} =\frac{3-(4xy+2x+2y+1)}{3} =\frac{2(1-x-y-2xy)}{3}. \] Therefore \[ \frac{u+v}{1-uv} = \frac{\frac{2(x+y+1)}{\sqrt3}}{\frac{2(1-x-y-2xy)}{3}} = \sqrt3\,\frac{x+y+1}{1-x-y-2xy}. \] Hence, for some constant \(k\), \[ \sqrt3\,\frac{x+y+1}{1-x-y-2xy}=k. \] Thus \[ x+y+1=\frac{k}{\sqrt3}\,(1-x-y-2xy). \] Writing \(A=\frac{k}{\sqrt3}\), we obtain \[ \boxed{(x+y+1)=A(1-x-y-2xy)}. \]

Verification: Differentiating the implicit relation \(x+y+1=A(1-x-y-2xy)\) gives \[ 1+y'=A\left(-(1+2y)-(1+2x)y'\right). \] Substituting \(A=\frac{x+y+1}{1-x-y-2xy}\) and simplifying yields \[ 2(x^2+x+1)y'+2(y^2+y+1)=0, \] i.e. \(y'+\frac{y^2+y+1}{x^2+x+1}=0\).

Thus the displayed formula is the required one-parameter general solution. For completeness, the limiting branch \(1-x-y-2xy=0\) corresponds to \(\tan^{-1}u+\tan^{-1}v=\pm\frac{\pi}{2}\) with \(uv=1\); it is a singular branch not obtained from the displayed family for finite \(A\). The stated general solution is exactly the finite-parameter family.

Q6Written answer
Find the equation of the curve passing through the point \(\left(0, \frac{\pi}{4}\right)\) whose differential equation is \(\sin x \cos y\ dx + \cos x \sin y\ dy = 0\).
Show solutionHide solution
Worked solution

Write the differential equation as \[\sin x\cos y\,dx+\cos x\sin y\,dy=0.\] Observe that \[d(-\cos x\cos y)=\sin x\cos y\,dx+\cos x\sin y\,dy.\] Hence the left-hand side is an exact differential, and the general level curves are \[-\cos x\cos y=C_1,\qquad\text{or}\qquad \cos x\cos y=C.\]

Using the point \(\left(0,\frac{\pi}{4}\right)\), \[C=\cos 0\cos\frac{\pi}{4}=1\cdot\frac{1}{\sqrt2}=\frac1{\sqrt2}.\] Therefore the equation of the required curve is \[\boxed{\cos x\cos y=\frac1{\sqrt2}},\] equivalently, \[\boxed{\sqrt2\cos x\cos y=1}.\]

For the local explicit branch through the given point, both \(\cos x\) and \(\cos y\) are positive. Thus \[\cos y=\frac{1}{\sqrt2\cos x},\qquad y=\arccos\!\left(\frac{1}{\sqrt2\cos x}\right),\] using the principal value of \(\arccos\). This branch is defined when \(0<\cos x\le 1\) and \(\frac{1}{\sqrt2\cos x}\le 1\), i.e. \(\cos x\ge\frac1{\sqrt2}\). Near \(x=0\), this means \(-\frac{\pi}{4}<x<\frac{\pi}{4}\); for a classical differentiable \(y=y(x)\) branch, the endpoints where \(y=0\) are not included, though they lie on the implicit curve. Periodic copies and other sign branches are obtained from the same implicit equation.

Check: Differentiating \(\cos x\cos y=\frac1{\sqrt2}\) gives \[-\sin x\cos y\,dx-\cos x\sin y\,dy=0,\] which is exactly the original differential equation after multiplying by \(-1\). Also \(\cos0\cos\frac{\pi}{4}=\frac1{\sqrt2}\), so the required point lies on the curve.

Q7Written answer
Find the particular solution of the differential equation \((1 + e^{2x}) dy + (1 + y^2) e^x dx = 0\), given that \(y = 1\) when \(x = 0\).
Show solutionHide solution
Worked solution

First separate the variables:

\[ \frac{dy}{1+y^2}=-\frac{e^x}{1+e^{2x}}\,dx. \]

Because \(1+y^2>0\) for real \(y\), division causes no loss of solutions. Integrating,

\[ \int \frac{dy}{1+y^2}=-\int \frac{e^x}{1+e^{2x}}\,dx. \]

Put \(u=e^x\), so \(du=e^x\,dx\). Then

\[ \arctan y=-\arctan(e^x)+C. \]

Using \(y=1\) when \(x=0\):

\[ \arctan 1=-\arctan(e^0)+C=-\frac{\pi}{4}+C. \]

Since \(\arctan 1=\frac{\pi}{4}\), this gives \(\frac{\pi}{4}=-\frac{\pi}{4}+C\), hence \(C=\frac{\pi}{2}\). Therefore

\[ \arctan y+\arctan(e^x)=\frac{\pi}{2}. \]

For every real \(x\), \(e^x>0\), so \(0<\arctan(e^x)<\frac{\pi}{2}\). Hence \(\frac{\pi}{2}-\arctan(e^x)\) lies in \((0,\frac{\pi}{2})\), so the corresponding \(y\) is positive; no extraneous tangent branch is introduced. Taking tangent,

\[ y=\tan\left(\frac{\pi}{2}-\arctan(e^x)\right) =\cot(\arctan(e^x)) =\frac{1}{e^x}=e^{-x}. \]

Check: \(y(0)=e^0=1\). Also \(y'=-e^{-x}\), and substitution gives

\[ (1+e^{2x})(-e^{-x})+(1+e^{-2x})e^x =-(e^{-x}+e^x)+(e^x+e^{-x})=0. \]

Thus the particular solution is \(\boxed{y=e^{-x}}\).

Q8Written answer
Solve the differential equation \(y e^{\frac{x}{y}} dx = \left(x e^{\frac{x}{y}} + y^2\right) dy\ (y \neq 0)\).
Show solutionHide solution
Worked solution

Since \(y\neq0\), set \(v=\frac{x}{y}\). Then \(x=vy\), so

\[dx=v\,dy+y\,dv.\]

Substituting into the differential equation gives

\[ y e^v(v\,dy+y\,dv)=\left(vy e^v+y^2\right)dy.\]

Expanding,

\[ yv e^v\,dy+y^2e^v\,dv=vy e^v\,dy+y^2\,dy.\]

The term \(yv e^v\,dy\) cancels from both sides, leaving

\[ y^2e^v\,dv=y^2\,dy.\]

Because \(y\neq0\), we have \(y^2\neq0\), so divide by \(y^2\):

\[ e^v\,dv=dy.\]

Integrating both sides,

\[ e^v=y+C,\]

where \(C\) is an arbitrary constant. Replacing \(v\) by \(\frac{x}{y}\), we get

\[ e^{x/y}=y+C,\]

or equivalently

\[ e^{x/y}-y=C.\]

Since an exponential is always positive, real solutions require \(y+C>0\). Thus the general solution is

\[ \boxed{e^{x/y}=y+C},\]

on intervals where \(y\neq0\) and \(y+C>0\). Solving for \(x\) on such intervals gives

\[ \boxed{x=y\ln(y+C)}.\]
Q9Written answer
Find a particular solution of the differential equation \((x - y) (dx + dy) = dx - dy\), given that \(y = -1\), when \(x = 0\). (Hint: put \(x - y = t\))
Show solutionHide solution
Worked solution

Put \(t=x-y\). Then \(dt=dx-dy\), so \(dx-dy=dt\). Also \(y=x-t\), hence \(dy=dx-dt\), and therefore \[dx+dy=2\,dx-dt.\] Substituting in the given differential equation gives \[t(2\,dx-dt)=dt,\] so \[2t\,dx=(t+1)\,dt.\] At the initial point, \(t=0-(-1)=1\ne0\), so on the required branch we may divide by \(t\): \[2\,dx=\left(1+\frac1t\right)dt.\] Integrating, \[2x=t+\ln|t|+C.\] Using \(x=0\) and \(t=1\), \[0=1+0+C\implies C=-1.\] Thus \[2x=t+\ln|t|-1.\] Substitute \(t=x-y\): \[2x=x-y+\ln|x-y|-1,\] that is, \[x+y+1=\ln|x-y|.\] Near the initial point, \(x-y=1>0\), so the appropriate branch is \[\boxed{x+y+1=\ln(x-y)}.\] Equivalently, \[\boxed{x-y=e^{\,x+y+1}}.\] This gives the required particular solution implicitly.

Check: when \(x=0\), \(y=-1\), the equation gives \(0+(-1)+1=0=\ln(0-(-1))=\ln1\). Differentiating \(x+y+1=\ln(x-y)\) gives \((x-y)(1+y')=1-y'\), which is exactly the given differential equation written in derivative form. The exceptional curve \(y=x\) does not pass through the initial point, so it is not the required particular solution.

Q10Written answer
Solve the differential equation \(\left[\frac{e^{-2\sqrt{x}}}{\sqrt{x}} - \frac{y}{\sqrt{x}}\right]\frac{dx}{dy} = 1\ (x \neq 0)\).
Show solutionHide solution
Worked solution

For real-valued square roots, \(x>0\). On a solution interval the factor \(e^{-2\sqrt{x}}-y\) cannot vanish, because then the left side of the original equation would be \(0\), not \(1\). Hence we may take the reciprocal and write the equation in the standard linear form.

First,

\[ \left(\frac{e^{-2\sqrt{x}}}{\sqrt{x}}-\frac{y}{\sqrt{x}}\right)\frac{dx}{dy}=1 \]

is equivalent, on such an interval, to

\[ \frac{dy}{dx}=\frac{e^{-2\sqrt{x}}-y}{\sqrt{x}}, \]

that is,

\[ \frac{dy}{dx}+\frac{1}{\sqrt{x}}y=\frac{e^{-2\sqrt{x}}}{\sqrt{x}}. \]

An integrating factor is

\[ \mu(x)=\exp\left(\int\frac{1}{\sqrt{x}}\,dx\right)=e^{2\sqrt{x}}. \]

Thus

\[ \left(e^{2\sqrt{x}}y\right)'=e^{2\sqrt{x}}\cdot \frac{e^{-2\sqrt{x}}}{\sqrt{x}}=\frac{1}{\sqrt{x}}. \]

Integrating,

\[ e^{2\sqrt{x}}y=2\sqrt{x}+C. \]

Therefore the general solution is

\[ \boxed{\,y=e^{-2\sqrt{x}}\left(2\sqrt{x}+C\right),\qquad C\in\mathbb R,\quad x>0\,}. \]

The original equation also requires \(e^{-2\sqrt{x}}-y\ne0\). Using the solution, this condition is \(e^{-2\sqrt{x}}(1-2\sqrt{x}-C)\ne0\). If \(C\ge1\), it holds for every \(x>0\). If \(C<1\), omit \(x_0=\left(\frac{1-C}{2}\right)^2\), i.e. take the formula on any interval in \((0,\infty)\) not containing \(x_0\).

Verification: differentiating the answer gives \(y'=\frac{e^{-2\sqrt{x}}-y}{\sqrt{x}}\), so the reciprocal form gives \(\left(\frac{e^{-2\sqrt{x}}}{\sqrt{x}}-\frac{y}{\sqrt{x}}\right)\frac{dx}{dy}=1\) at all points where the original equation is defined.