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.

Exercise 9.4

Textbook page 312 · 17 questions
Q1Written answer
In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them.
\((x^2 + xy)\,dy = (x^2 + y^2)\,dx\)
Show solutionHide solution
Worked solution

Show homogeneity. Write the differential equation as \[ (x^2+y^2)\,dx-(x^2+xy)\,dy=0. \] Here \(M=x^2+y^2\) and \(N=-(x^2+xy)\). Both are homogeneous functions of degree \(2\), since replacing \((x,y)\) by \((tx,ty)\) multiplies each by \(t^2\). Equivalently, for \(x\neq0\) and \(x+y\neq0\), \[ \frac{dy}{dx}=\frac{x^2+y^2}{x^2+xy} =\frac{1+(y/x)^2}{1+y/x}, \] which depends only on \(y/x\). Hence the equation is homogeneous.

Solve. Let \(y=vx\), so \(v\) is a function of \(x\). Then \[ \frac{dy}{dx}=v+x\frac{dv}{dx}. \] Substitute into the differential equation: \[ v+x\frac{dv}{dx} =\frac{1+v^2}{1+v}. \] Thus \[ x\frac{dv}{dx} =\frac{1+v^2}{1+v}-v =\frac{1-v}{1+v}. \] Separating variables, \[ \frac{dx}{x}=\frac{1+v}{1-v}\,dv. \] Integrate: \[ \ln|x|=\int\left(\frac{2}{1-v}-1\right)dv =-2\ln|1-v|-v+C. \] Therefore \[ \ln|x|+2\ln|1-v|+v=C. \] Since \(v=y/x\), this becomes \[ \ln|x|+2\ln\left|1-\frac yx\right|+\frac yx=C. \] Simplifying, \[ 2\ln|x-y|-\ln|x|+\frac yx=C, \] or, after exponentiating and absorbing the constant, \[ \frac{(x-y)^2}{|x|}\,e^{y/x}=c \quad(c>0). \] On an interval on which \(x\) has a fixed sign, this can be written as \[ \boxed{(x-y)^2e^{y/x}=C x}. \] The limiting case \(C=0\) gives the solution \(y=x\). The solution is understood on intervals where \(x\neq0\) and the original equation is defined; the curve \(y=-x\) is not a solution because it would make the original coefficient \(x^2+xy\) vanish without satisfying the equation identically.

Q2Written answer
In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them.
\(y' = \frac{x + y}{x}\)
Show solutionHide solution
Worked solution

Write the equation as \(y'=F(x,y)\), where \(F(x,y)=\frac{x+y}{x}\) and \(x\ne0\). For any \(t\ne0\),

\[F(tx,ty)=\frac{tx+ty}{tx}=\frac{t(x+y)}{tx}=\frac{x+y}{x}=F(x,y).\]

Thus \(F\) is homogeneous of degree \(0\), so the differential equation is homogeneous.

Use the substitution \(v=\frac{y}{x}\), so \(y=vx\). Then \(y'=v+xv'\). Substituting into the equation gives

\[v+xv'=\frac{x+y}{x}=\frac{x+vx}{x}=1+v.\]

Cancel \(v\) from both sides:

\[xv'=1.\]

Since \(x\ne0\),

\[\frac{dv}{dx}=\frac1x.\]

Integrating,

\[v=\ln|x|+C,\]

where \(C\) is an arbitrary constant. Therefore

\[\frac{y}{x}=\ln|x|+C,\]

so the general solution is

\[y=x\bigl(\ln|x|+C\bigr),\qquad x\ne0.\]

Equivalently, on the interval \(x>0\) or on \(x<0\), this may be written as

\[y=x(\ln|x|+C),\quad C\in\mathbb R.\]

If a solution is required on all of \(\mathbb R\setminus\{0\}\), the constants on the two connected intervals may be different; on each interval not containing \(0\), the formula above with one constant gives the complete family. At \(x=0\) the differential equation is undefined.

Verification:

\[y'=\ln|x|+C+x\cdot\frac1x=\ln|x|+C+1,\]

while

\[\frac{x+y}{x}=1+\frac{y}{x}=1+\ln|x|+C.\]

They agree, so the solution is correct.

Q3Written answer
In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them.
\((x - y)\,dy - (x + y)\,dx = 0\)
Show solutionHide solution
Worked solution

Rewrite the equation as \[-(x+y)\,dx+(x-y)\,dy=0.\] Let \(M(x,y)=-(x+y)\), \(N(x,y)=x-y\). Then \[M(tx,ty)=tM(x,y),\qquad N(tx,ty)=tN(x,y),\] so both coefficients are homogeneous of degree \(1\). Equivalently, where \(x\ne0\) and \(x\ne y\), \[\frac{dy}{dx}=\frac{x+y}{x-y}=\frac{1+y/x}{1-y/x},\] which is a function of \(y/x\). Hence the differential equation is homogeneous.

Put \(y=vx\), so \(v=y/x\) and \[\frac{dy}{dx}=v+x\frac{dv}{dx}.\] Substituting in \(\frac{dy}{dx}=\frac{x+y}{x-y}\) gives \[v+x\frac{dv}{dx}=\frac{1+v}{1-v}.\] Thus \[x\frac{dv}{dx}=\frac{1+v}{1-v}-v=\frac{1+v^{2}}{1-v},\] and hence \[\frac{1-v}{1+v^{2}}\,dv=\frac{dx}{x}.\] Integrating, \[\arctan v-\frac12\ln(1+v^{2})=\ln|x|+C.\] Therefore, on any interval not crossing \(x=0\) and with a fixed branch of arctangent, \[\arctan\frac{y}{x}=\frac12\ln(x^{2}+y^{2})+C,\] or equivalently \[\sqrt{x^{2}+y^{2}}=A e^{\arctan(y/x)},\qquad A>0.\] The same family is written globally in polar coordinates \(x=r\cos\theta,\ y=r\sin\theta\) as \[r=A e^{\theta},\qquad A>0,\] or \[\theta-\ln r=C,\] where \(\theta\) is a continuous argument along the solution curve.

The constant \(A\) is arbitrary positive. If the solution is required as a \(C^{1}\) graph \(y=y(x)\) using the derivative form, restrict to connected pieces on which \(x-y\ne0\); where \(x=y\) the curve may have a vertical tangent. The branch of \(\arctan(y/x)\) must be adjusted when a curve crosses the \(y\)-axis. The origin is a singular point and is not included in the nonconstant family.

Q4Written answer
In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them.
\((x^2 - y^2)\,dx + 2xy\,dy = 0\)
Show solutionHide solution
Worked solution

Let \(M=x^2-y^2\) and \(N=2xy\). For any \(t\neq0\),

\[ M(tx,ty)=t^2(x^2-y^2)=t^2M(x,y),\qquad N(tx,ty)=2t^2xy=t^2N(x,y). \]

Thus both coefficients are homogeneous of degree \(2\), so the given differential equation is homogeneous.

For \(x\neq0\), put \(y=vx\), so that \(\frac{dy}{dx}=v+x\frac{dv}{dx}\). The equation gives

\[ \frac{dy}{dx}=-\frac{x^2-y^2}{2xy}=\frac{y^2-x^2}{2xy}. \]

Substituting \(y=vx\),

\[ v+x\frac{dv}{dx}=\frac{v^2x^2-x^2}{2x(vx)}=\frac{v^2-1}{2v}. \]

Hence

\[ x\frac{dv}{dx}=\frac{v^2-1}{2v}-v=-\frac{v^2+1}{2v}. \]

Separating the variables,

\[ \frac{2v}{v^2+1}\,dv=-\frac{dx}{x}. \]

Integrating,

\[ \ln(v^2+1)=-\ln|x|+k. \]

Equivalently, on an interval where \(x\neq0\),

\[ x(v^2+1)=C \]

for an arbitrary constant \(C\). Since \(v=\frac{y}{x}\),

\[ x\left(1+\frac{y^2}{x^2}\right)=C, \]

so

\[ x^2+y^2=Cx. \]

This can also be written as

\[ \left(x-\frac C2\right)^2+y^2=\left(\frac C2\right)^2, \]

a family of circles passing through the origin.

Check: differentiating \(x^2+y^2=Cx\) gives

\[ (2x-C)\,dx+2y\,dy=0. \]

Using \(C=\frac{x^2+y^2}{x}\),

\[ 2x-C=2x-\frac{x^2+y^2}{x}=\frac{x^2-y^2}{x}. \]

Therefore, multiplying by \(x\),

\[ (x^2-y^2)\,dx+2xy\,dy=0, \]

which verifies the solution. Thus the general solution is \(x^2+y^2=Cx\).

Q5Written answer
In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them.
\(x^2 \frac{dy}{dx} = x^2 - 2y^2 + xy\)
Show solutionHide solution
Worked solution

For \(x\ne0\), write the equation in normal form:

\[ \frac{dy}{dx}=\frac{x^2-2y^2+xy}{x^2}=1-2\left(\frac yx\right)^2+\frac yx. \]

The right-hand side is a function of \(y/x\) alone, so the equation is homogeneous.

Put \(y=vx\). Then \(y'=v+xv'\), and

\[ v+xv'=1-2v^2+v,\quad\text{so}\quad x\frac{dv}{dx}=1-2v^2. \]

If \(1-2v^2\ne0\), separate variables:

\[ \int\frac{dv}{1-2v^2}=\int\frac{dx}{x}. \]

With \(u=\sqrt2\,v\),

\[ \int\frac{dv}{1-2v^2}=\frac1{\sqrt2}\int\frac{du}{1-u^2}=\frac1{2\sqrt2}\ln\left|\frac{1+\sqrt2\,v}{1-\sqrt2\,v}\right|. \]

Hence

\[ \frac1{2\sqrt2}\ln\left|\frac{1+\sqrt2\,v}{1-\sqrt2\,v}\right|=\ln|x|+C, \]

or

\[ \ln\left|\frac{1+\sqrt2\,v}{1-\sqrt2\,v}\right|=2\sqrt2\,\ln|x|+C_1. \]

Since \(v=y/x\), this becomes

\[ \ln\left|\frac{x+\sqrt2\,y}{x-\sqrt2\,y}\right|=2\sqrt2\,\ln|x|+C_1,\qquad x\ne0, \]

equivalently

\[ \frac{x+\sqrt2\,y}{x-\sqrt2\,y}=C|x|^{2\sqrt2},\qquad x\ne0, \]

on any interval where the expression is defined.

The separated case \(1-2v^2=0\) gives \(v=\pm1/\sqrt2\), so \(y=\pm x/\sqrt2\). These are solutions: for \(y=x/\sqrt2\),

\[ y'=\frac1{\sqrt2},\quad x^2y'=\frac{x^2}{\sqrt2}, \]

while

\[ x^2-2y^2+xy=x^2-x^2+\frac{x^2}{\sqrt2}=\frac{x^2}{\sqrt2}; \]

and for \(y=-x/\sqrt2\),

\[ y'=-\frac1{\sqrt2},\quad x^2y'=-\frac{x^2}{\sqrt2}, \]

while

\[ x^2-2y^2+xy=x^2-x^2-\frac{x^2}{\sqrt2}=-\frac{x^2}{\sqrt2}. \]

Therefore the general solution is

\[ \boxed{\frac{x+\sqrt2\,y}{x-\sqrt2\,y}=C|x|^{2\sqrt2}\quad(x\ne0)} \]

with the exceptional solution \(\boxed{y=\frac{x}{\sqrt2}}\). The other special line \(\boxed{y=-\frac{x}{\sqrt2}}\) is included in the displayed family by taking \(C=0\).

Q6Written answer
In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them.
\(x\,dy - y\,dx = \sqrt{x^2 + y^2}\,dx\)
Show solutionHide solution
Worked solution

The equation can be rewritten for \(x\ne0\) as \[\frac{dy}{dx}=\frac{y+\sqrt{x^2+y^2}}{x}.\]

For any \(\lambda>0\), \[F(\lambda x,\lambda y)=\frac{\lambda y+\sqrt{\lambda^2x^2+\lambda^2 y^2}}{\lambda x}=\frac{\lambda y+\lambda\sqrt{x^2+y^2}}{\lambda x}=F(x,y).\] Hence the differential equation is homogeneous.

Let \(r=\sqrt{x^2+y^2}\) and \(u=r+y\). From \(x\,dy=(y+r)\,dx\), for \(x\ne0\), \[\frac{dy}{dx}=\frac{y+r}{x}.\] Then \[r'=\frac{x+y y'}r=\frac{x+y(y+r)/x}{r}=\frac{r+y}{x},\] so \[u'=r'+y'=\frac{r+y}{x}+\frac{y+r}{x}=\frac{2u}{x}.\]

Since \(r=\sqrt{x^2+y^2}>|y|\) when \(x\ne0\), we have \(u=r+y>0\). Separating variables gives \[\frac{du}{u}=\frac{2\,dx}{x}.\] Integrating, \[\ln u=2\ln|x|+\text{constant},\] hence \[u=Cx^2,\qquad C>0.\] Therefore \[\boxed{y+\sqrt{x^2+y^2}=Cx^2,\quad C>0}.\]

Equivalently, with \(c=\frac1C>0\), \[y=\frac{x^2-c^2}{2c}.\] This formula is differentiable for all real \(x\) and also satisfies the original differential equation at \(x=0\). To check, \(y'=\frac{x}{c}\) and \[x y'-y=\frac{x^2}{c}-\frac{x^2-c^2}{2c}=\frac{x^2+c^2}{2c}=\sqrt{x^2+\left(\frac{x^2-c^2}{2c}\right)^2}.\] Thus all real solutions are \[\boxed{y=\frac{x^2-c^2}{2c},\quad c>0}\] (equivalently \(y+\sqrt{x^2+y^2}=Cx^2\), \(C>0\)).

Q7Written answer
In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them.
\(\left\{x\cos\left(\frac{y}{x}\right) + y\sin\left(\frac{y}{x}\right)\right\} y\,dx = \left\{y\sin\left(\frac{y}{x}\right) - x\cos\left(\frac{y}{x}\right)\right\} x\,dy\)
Show solutionHide solution
Worked solution

Since the equation contains \(y/x\), we take \(x\ne0\). Write it as \(M\,dx+N\,dy=0\), where \[ M=y\left(x\cos\frac yx+y\sin\frac yx\right),\qquad N=-x\left(y\sin\frac yx-x\cos\frac yx\right). \] For any nonzero \(t\), \[ M(tx,ty)=t^2M(x,y),\qquad N(tx,ty)=t^2N(x,y), \] so the differential equation is homogeneous.

Put \(y=vx\), so that \(v=y/x\) and \(dy=v\,dx+x\,dv\). Substituting into the equation gives \[ v x^2(\cos v+v\sin v)\,dx=x^2(v\sin v-\cos v)(v\,dx+x\,dv). \] Cancelling \(x^2\) and simplifying, \[ v(\cos v+v\sin v)\,dx=(v\sin v-\cos v)(v\,dx+x\,dv), \] \[ 2v\cos v\,dx=x(v\sin v-\cos v)\,dv. \] Separate the variables: \[ \frac{dx}{x}=\frac{v\sin v-\cos v}{2v\cos v}\,dv =\frac12\tan v\,dv-\frac{1}{2v}\,dv. \] Integrating, \[ \ln|x|=-\frac12\ln|v\cos v|+C. \] Hence \[ \ln\left|x^2v\cos v\right|=2C, \] so \[ x^2v\cos v=C_1. \] Since \(x^2v=xy\) and \(v=y/x\), the solution is \[ \boxed{\,xy\cos\left(\frac yx\right)=C\,}, \] where \(C\) is an arbitrary real constant. The exceptional cases \(v=0\) or \(\cos v=0\) correspond to \(y=0\) or \(y=\left(\frac{\pi}{2}+k\pi\right)x\), \(k\in\mathbb Z\), and are included in the constant relation when \(C=0\).

Q8Written answer
In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them.
\(x\frac{dy}{dx} - y + x\sin\left(\frac{y}{x}\right) = 0\)
Show solutionHide solution
Worked solution

Because of the term \(y/x\), we work on intervals with \(x\ne0\). Rewrite
\[x\frac{dy}{dx}-y+x\sin\frac{y}{x}=0\quad\Longrightarrow\quad\frac{dy}{dx}=\frac{y}{x}-\sin\left(\frac{y}{x}\right).\]
The right side is a function of \(y/x\) alone, so the equation is homogeneous.

Put \(v=\dfrac{y}{x}\), i.e. \(y=vx\). Then
\[\frac{dy}{dx}=v+x\frac{dv}{dx}.\]
Substituting into the equation gives
\[x\left(v+x\frac{dv}{dx}\right)-vx+x\sin v=0.\]
This simplifies to
\[x^2\frac{dv}{dx}+x\sin v=0.\]
Since \(x\ne0\), divide by \(x\):
\[x\frac{dv}{dx}+\sin v=0\quad\Longrightarrow\quad\frac{dv}{dx}=-\frac{\sin v}{x}.\]

If \(\sin v=0\), then \(v=k\pi\), so
\[y=k\pi x,\qquad k\in\mathbb Z,\]
are constant-slope solutions.

For the nonconstant solutions, \(\sin v\ne0\). Separating variables,
\[\int\csc v\,dv=-\int\frac{dx}{x}.\]
Using \(\displaystyle\int\csc v\,dv=\ln\left|\tan\frac v2\right|\),
\[\ln\left|\tan\frac v2\right|=-\ln|x|+C.\]
Hence
\[x\tan\frac v2=C,\]
where the constant is nonzero for nonconstant solutions. Returning to \(v=y/x\),
\[x\tan\left(\frac{y}{2x}\right)=C,\qquad C\ne0.\]

Thus, on an interval lying entirely in \(x>0\) or entirely in \(x<0\), all real solutions are the nonconstant family
\[\boxed{x\tan\left(\frac{y}{2x}\right)=C,\qquad C\ne0,}\]
together with the constant-slope solutions
\[\boxed{y=k\pi x,\qquad k\in\mathbb Z.}\]
Equivalently, if one allows \(C=0\) in the first family, it gives the even-multiple constant solutions \(y=2k\pi x\); the odd-multiple ones \(y=(2k+1)\pi x\) are supplied by the second family.

Verification: differentiating \(x\tan(y/(2x))=C\) gives
\[\frac{dy}{dx}=\frac yx-\sin\left(\frac yx\right),\]
so the original equation holds wherever \(x\ne0\) and the tangent is defined. The constant-slope solutions also satisfy because \(y/x=k\pi\) makes \(\sin(y/x)=0\) and \(dy/dx=k\pi=y/x\).

Q9Written answer
In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them.
\(y\,dx + x\log\left(\frac{y}{x}\right)dy - 2x\,dy = 0\)
Show solutionHide solution
Worked solution

Write the equation as \(M(x,y)\,dx+N(x,y)\,dy=0\), where \(M(x,y)=y\) and \(N(x,y)=x\log(y/x)-2x\). For \(t>0\),

\[M(tx,ty)=ty=tM(x,y),\qquad N(tx,ty)=tx\log\frac{ty}{tx}-2tx=tN(x,y).\]

Thus both coefficients are homogeneous of degree \(1\), so the differential equation is homogeneous.

Let \(y=vx\), so that \(v=y/x>0\) and \(dy=v\,dx+x\,dv\). Substitution gives

\[v x\,dx+x\log v\,(v\,dx+x\,dv)-2x(v\,dx+x\,dv)=0.\]

Dividing by \(x\ne0\),

\[v(\log v-1)\,dx+x(\log v-2)\,dv=0.\]

First suppose \(\log v-1\ne0\). Then

\[\frac{dx}{x}=\frac{2-\log v}{v(\log v-1)}\,dv.\]

Integrating,

\[\log|x|=\log|\log v-1|-\log v+1+C_1.\]

Equivalently,

\[\log|vx|=\log|\log v-1|+1+C_1.\]

Since \(vx=y\), this gives the family

\[y=C\left(\log\frac yx-1\right),\qquad C\ne0.\]

Now consider the exceptional case \(\log v-1=0\), i.e. \(v=e\), so \(y=ex\). This is indeed a solution, because then \(dy=e\,dx\) and

\[e x\,dx+x\cdot1\,(e\,dx)-2x(e\,dx)=0.\]

Therefore the full solution set is

\[\boxed{\,y=C\left(\log\frac yx-1\right),\ C\ne0,\quad\text{and the singular solution }\ y=ex,\ x\ne0.\,}\]
Q10Written answer
In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them.
\(\left(1 + e^{\frac{x}{y}}\right)dx + e^{\frac{x}{y}}\left(1 - \frac{x}{y}\right)dy = 0\)
Show solutionHide solution
Worked solution

Show that the equation is homogeneous. For \(y\ne0\), write the coefficients as \[ M(x,y)=1+e^{x/y},\qquad N(x,y)=e^{x/y}\left(1-\frac{x}{y}\right). \] For any nonzero constant \(t\), \[ M(tx,ty)=1+e^{\frac{tx}{ty}}=1+e^{x/y}=M(x,y), \] and \[ N(tx,ty)=e^{\frac{tx}{ty}}\left(1-\frac{tx}{ty}\right) =e^{x/y}\left(1-\frac{x}{y}\right)=N(x,y). \] Thus both coefficients are homogeneous of degree \(0\). Hence the given differential equation is homogeneous.

Solve it. Let \[ v=\frac{x}{y},\qquad x=vy. \] Then \[\ndx=v\,dy+y\,dv. \] Substituting into the differential equation gives \[ (1+e^v)(v\,dy+y\,dv)+e^v(1-v)\,dy=0. \] Collecting the \(dy\)-terms, \[ \bigl[v(1+e^v)+e^v(1-v)\bigr]dy+y(1+e^v)\,dv=0, \] so \[ (v+e^v)\,dy+y(1+e^v)\,dv=0. \] Separating variables, for \(y\ne0\) and \(v+e^v\ne0\), \[ \frac{dy}{y}+\frac{1+e^v}{v+e^v}\,dv=0. \] Since \[ \frac{d}{dv}(v+e^v)=1+e^v, \] integration gives \[ \ln|y|+\ln|v+e^v|=C_1. \] Hence \[ y(v+e^v)=C. \] Returning to \(v=\frac{x}{y}\), \[ y\left(\frac{x}{y}+e^{x/y}\right)=C, \] that is, \[ x+y e^{x/y}=C. \] The excluded case \(v+e^v=0\) corresponds to the member \(C=0\) of this same family: if \(v_0+e^{v_0}=0\), then the line \(x=v_0y\) satisfies \(x+ye^{x/y}=y(v_0+e^{v_0})=0\). The line \(y=0\) is not allowed because \(x/y\) is undefined there.

Therefore the general solution is \[ \boxed{x+y e^{x/y}=C}, \] where \(C\) is an arbitrary constant and solutions are considered on intervals with \(y\ne0\).