RS Aggarwal Class 12 Maths Solutions Objective Questions — Differential Equations: Separable, Homogeneous and Linear (Chapter 21)
RS Aggarwal, Class 12 Mathematics — Chapter 21, Linear Differential Equations (separable, homogeneous and linear types), Objective Questions 1 to 27. All 27 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
These 27 multiple-choice questions ask for the general solution of a first-order differential equation. Questions 1 to 18 are separable (variables can be split), 19 to 24 are homogeneous and need the substitution $y=vx$, and 25 to 27 are linear and use an integrating factor.
Key insight. Identify the type first. If $dy/dx$ factorises as $f(x)g(y)$, separate and integrate. If it depends only on $y/x$, put $y=vx$. If it has the form $\frac{dy}{dx}+Py=Q$, multiply by $e^{\int P\,dx}$ so the left side becomes a single derivative. Then compare with the options, remembering that the constant may be absorbed or rescaled.
Question 1
Find the general solution of the differential equation in which $\frac{dy}{dx}$ equals $e^{x+y}$.
Solution. Split the exponential: $\frac{dy}{dx}=e^x e^y$. Separating variables gives $e^{-y}\,dy=e^x\,dx$. Integrating, $-e^{-y}=e^x+k$, that is $e^x+e^{-y}=C$ with $C=-k$.
(c) $e^x + e^{-y} = C$
Question 2
Find the general solution of the differential equation in which $\frac{dy}{dx}$ equals $2^{x+y}$.
Solution. Write $2^{x+y}=2^x2^y$ and separate: $2^{-y}\,dy=2^x\,dx$. Since $\int a^t\,dt=a^t/\ln a$, integration gives $-\frac{2^{-y}}{\ln 2}=\frac{2^x}{\ln 2}+k$. Multiplying by $\ln 2$ and collecting terms, $2^x+2^{-y}=C$.
(b) $2^x + 2^{-y} = C$
Question 3
Solve the differential equation $(e^x + 1)y\,dy = (y+1)e^x\,dx$ and pick the matching general solution.
Solution. Divide by $(e^x+1)(y+1)$ to separate the variables: $\frac{y}{y+1}\,dy=\frac{e^x}{e^x+1}\,dx$. On the left $\frac{y}{y+1}=1-\frac1{y+1}$, so integrating gives $y-\ln(y+1)=\ln(e^x+1)+k$. Hence $y=\ln\big[(y+1)(e^x+1)\big]+k$, and exponentiating, $e^y=C(e^x+1)(y+1)$.
(a) $e^y = C(e^x+1)(y+1)$
Question 4
Find the solution of the equation $x\,dy + y\,dx = 0$.
Solution. The left side is exactly $d(xy)$, so $d(xy)=0$ and $xy=C$. (Separating variables, $\frac{dy}{y}=-\frac{dx}{x}$, gives the same result.)
(b) $xy = C$
Question 5
Find the general solution of the differential equation $x\frac{dy}{dx}=\cot y$.
Solution. Separate: $\tan y\,dy=\frac{dx}{x}$. Integrating, $-\ln|\cos y|=\ln|x|+k$, so $\ln|x\cos y|=-k$ and $x\cos y=C$.
(a) $x\cos y = C$
Question 6
Solve $\frac{dy}{dx}=\frac{1+y^2}{1+x^2}$ and identify the solution among the options.
Solution. Separating, $\frac{dy}{1+y^2}=\frac{dx}{1+x^2}$, so $\tan^{-1}y-\tan^{-1}x=k$. Taking the tangent of both sides and using $\tan(A-B)=\frac{\tan A-\tan B}{1+\tan A\tan B}$ gives $\frac{y-x}{1+xy}=C$, i.e. $y-x=C(1+xy)$.
(b) $(y-x) = C(1+yx)$
Question 7
Find the solution of $\frac{dy}{dx}=1-x+y-xy$.
Solution. Factorise the right side by grouping: $1-x+y-xy=(1-x)+y(1-x)=(1-x)(1+y)$. Separating, $\frac{dy}{1+y}=(1-x)\,dx$, and integrating, $\log(1+y)=x-\frac{x^2}{2}+C$.
(a) $\log(1+y) = x – \frac{x^2}{2} + C$
Question 8
Solve $\frac{dy}{dx}=e^{x+y}+x^2 e^y$.
Solution. Factor out $e^y$: $\frac{dy}{dx}=e^y(e^x+x^2)$. Separating, $e^{-y}\,dy=(e^x+x^2)\,dx$, so $-e^{-y}=e^x+\frac{x^3}{3}+k$. Rearranged, $e^x+e^{-y}+\frac{x^3}{3}=C’$.
(b) $e^x + e^{-y} + \frac{x^3}{3} = C’$
Question 9
Find the solution of $\frac{dy}{dx}+\sqrt{\frac{1-y^2}{1-x^2}}=0$.
Solution. Move the root term across and separate: $\frac{dy}{\sqrt{1-y^2}}=-\frac{dx}{\sqrt{1-x^2}}$. Integrating, $\sin^{-1}y=-\sin^{-1}x+C$, i.e. $\sin^{-1}y+\sin^{-1}x=C$.
(c) $\sin^{-1}y + \sin^{-1}x = C$
Question 10
Solve $\frac{dy}{dx}=\frac{1-\cos x}{1+\cos x}$.
Solution. Use the half-angle forms $1-\cos x=2\sin^2\frac x2$ and $1+\cos x=2\cos^2\frac x2$, so $\frac{dy}{dx}=\tan^2\frac x2=\sec^2\frac x2-1$. Integrating, $y=2\tan\frac x2-x+C$.
(a) $y = 2\tan\frac{x}{2} – x + C$
Question 11
Find the solution of $\frac{dy}{dx}=\frac{-2xy}{x^2+1}$.
Solution. Separate: $\frac{dy}{y}=-\frac{2x}{x^2+1}\,dx$. Integrating, $\ln|y|=-\ln(x^2+1)+k$, so $\ln|y(x^2+1)|=k$ and $y(x^2+1)=C$.
(b) $y(x^2+1) = C$
Question 12
Solve $\cos x(1+\cos y)\,dx-\sin y(1+\sin x)\,dy=0$.
Solution. Divide by $(1+\sin x)(1+\cos y)$ to get $\frac{\cos x}{1+\sin x}\,dx=\frac{\sin y}{1+\cos y}\,dy$. The left integrates to $\ln(1+\sin x)$ and the right to $-\ln(1+\cos y)$. So $\ln(1+\sin x)+\ln(1+\cos y)=k$, giving $(1+\sin x)(1+\cos y)=C$.
(b) $(1+\sin x)(1+\cos y) = C$
Question 13
Solve $x\cos y\,dy=(xe^x\log x+e^x)\,dx$.
Solution. Divide by $x$: $\cos y\,dy=\big(e^x\log x+\frac{e^x}{x}\big)dx$. The bracket is exactly the derivative of $e^x\log x$ (product rule), so integrating gives $\sin y=e^x\log x+C$.
(c) $\sin y = e^x(\log x) + C$
Question 14
Solve the equation $\frac{dy}{dx}+y\log y\cot x=0$.
Solution. Separate: $\frac{dy}{y\log y}=-\cot x\,dx$. With $u=\log y$ the left integrates to $\ln|\log y|$, and the right to $-\ln|\sin x|$. Thus $\ln|\sin x\log y|=k$, so $\sin x\,\log y=C$.
(b) $\sin x\log y = C$
Question 15
Find the general solution of $(1+x^2)\,dy-xy\,dx=0$.
Solution. Separating, $\frac{dy}{y}=\frac{x}{1+x^2}\,dx$, so $\ln|y|=\frac12\ln(1+x^2)+k$. Doubling, $\ln y^2=\ln(1+x^2)+2k$, so $y^2=C(1+x^2)$.
(b) $y^2 = C(1+x^2)$
Question 16
Find the general solution of $x\sqrt{1+y^2}\,dx+y\sqrt{1+x^2}\,dy=0$.
Solution. Divide by $\sqrt{1+x^2}\sqrt{1+y^2}$: $\frac{x\,dx}{\sqrt{1+x^2}}+\frac{y\,dy}{\sqrt{1+y^2}}=0$. Each term is the differential of a square root, so $\sqrt{1+x^2}+\sqrt{1+y^2}=C$.
(b) $\sqrt{1+x^2} + \sqrt{1+y^2} = C$
Question 17
Find the general solution of $\log\left(\frac{dy}{dx}\right)=ax+by$.
Solution. Exponentiate: $\frac{dy}{dx}=e^{ax+by}=e^{ax}e^{by}$. Separating, $e^{-by}\,dy=e^{ax}\,dx$, and integrating, $\frac{-e^{-by}}{b}=\frac{e^{ax}}{a}+C$.
(a) $\frac{-e^{-by}}{b} = \frac{e^{ax}}{a} + C$
Question 18
Solve $\frac{dy}{dx}=(\sqrt{1-x^2})(\sqrt{1-y^2})$.
Solution. Separate: $\frac{dy}{\sqrt{1-y^2}}=\sqrt{1-x^2}\,dx$. The right side uses the standard integral $\int\sqrt{1-x^2}\,dx=\frac12\big(x\sqrt{1-x^2}+\sin^{-1}x\big)$. So $\sin^{-1}y=\frac12x\sqrt{1-x^2}+\frac12\sin^{-1}x+k$, and doubling, $2\sin^{-1}y-\sin^{-1}x=x\sqrt{1-x^2}+C$.
(b) $2\sin^{-1}y – \sin^{-1}x = x\sqrt{1-x^2} + C$
Question 19
Find the general solution of the homogeneous equation $\frac{dy}{dx}=\frac{y^2-x^2}{2xy}$.
Solution. Put $y=vx$, so $\frac{dy}{dx}=v+x\frac{dv}{dx}$. Then $v+x\frac{dv}{dx}=\frac{v^2-1}{2v}$, giving $x\frac{dv}{dx}=-\frac{1+v^2}{2v}$. Separating, $\frac{2v\,dv}{1+v^2}=-\frac{dx}{x}$, so $\ln(1+v^2)=-\ln x+k$, i.e. $x(1+v^2)=C$. Substituting $v=y/x$: $\frac{x^2+y^2}{x}=C$, so $x^2+y^2=Cx$.
(c) $x^2 + y^2 = C_1x$
Question 20
Find the general solution of the homogeneous equation $x^2\frac{dy}{dx}=x^2+xy+y^2$.
Solution. Divide by $x^2$: $\frac{dy}{dx}=1+\frac yx+\frac{y^2}{x^2}$. With $y=vx$ this reads $v+x\frac{dv}{dx}=1+v+v^2$, so $x\frac{dv}{dx}=1+v^2$. Separating, $\frac{dv}{1+v^2}=\frac{dx}{x}$, hence $\tan^{-1}v=\log x+C$, i.e. $\tan^{-1}\frac yx=\log x+C$.
(a) $\tan^{-1}\frac{y}{x} = \log x + C$
Question 21
Find the general solution of $x\frac{dy}{dx}=y+x\tan\frac yx$.
Solution. Divide by $x$: $\frac{dy}{dx}=\frac yx+\tan\frac yx$. With $y=vx$, $v+x\frac{dv}{dx}=v+\tan v$, so $x\frac{dv}{dx}=\tan v$. Separating, $\cot v\,dv=\frac{dx}{x}$, which gives $\ln|\sin v|=\ln|x|+k$, so $\sin\frac yx=Cx$.
(b) $\sin\left(\frac{y}{x}\right) = Cx$
Question 22
Find the general solution of $2xy\,dy+(x^2-y^2)\,dx=0$.
Solution. Rewrite as $\frac{dy}{dx}=\frac{y^2-x^2}{2xy}$, which is homogeneous. With $y=vx$: $x\frac{dv}{dx}=\frac{v^2-1}{2v}-v=-\frac{1+v^2}{2v}$. Separating, $\frac{2v\,dv}{1+v^2}=-\frac{dx}{x}$, so $x(1+v^2)=C$, i.e. $x^2+y^2=Cx$.
(a) $x^2 + y^2 = Cx$
Question 23
Find the general solution of $(x-y)\,dy+(x+y)\,dx=0$.
Solution. Rewrite as $\frac{dy}{dx}=\frac{x+y}{y-x}$, a homogeneous equation. Put $y=vx$: $v+x\frac{dv}{dx}=\frac{1+v}{v-1}$, so $x\frac{dv}{dx}=\frac{1+v-v^2+v}{v-1}=\frac{1+2v-v^2}{v-1}$. Separating, $\frac{(v-1)\,dv}{1+2v-v^2}=\frac{dx}{x}$. The numerator is $-\frac12$ times the derivative of the denominator, so $-\frac12\ln|1+2v-v^2|=\ln|x|+k$, giving $x^2(1+2v-v^2)=C$. Replacing $v=y/x$: $x^2+2xy-y^2=C$. This matches none of options (a), (b) or (c), so the correct choice is the last one. (Cross-check: differentiating $x^2+2xy-y^2=C$ gives $\frac{dy}{dx}=\frac{x+y}{y-x}$.)
(d) none of these
Question 24
Find the general solution of $\frac{dy}{dx}=\frac yx+\sin\frac yx$.
Solution. Put $y=vx$: $v+x\frac{dv}{dx}=v+\sin v$, so $x\frac{dv}{dx}=\sin v$. Separating, $\operatorname{cosec}v\,dv=\frac{dx}{x}$, and $\int\operatorname{cosec}v\,dv=\ln\tan\frac v2$. So $\tan\frac v2=Cx$, i.e. $\tan\frac{y}{2x}=Cx$.
(a) $\tan\frac{y}{2x} = Cx$
Question 25
Find the general solution of the linear equation $\frac{dy}{dx}+y\tan x=\sec x$.
Solution. This is $\frac{dy}{dx}+Py=Q$ with $P=\tan x$, so the integrating factor is $e^{\int\tan x\,dx}=\sec x$. Then $\frac{d}{dx}(y\sec x)=\sec^2x$, so $y\sec x=\tan x+C$. Multiplying by $\cos x$, $y=\sin x+C\cos x$.
(b) $y = \sin x + C\cos x$
Question 26
Find the general solution of the linear equation $\frac{dy}{dx}+y\cot x=2\cos x$.
Solution. Here $P=\cot x$, so the integrating factor is $e^{\int\cot x\,dx}=\sin x$. Then $y\sin x=\int2\cos x\sin x\,dx=\sin^2x+C$. Moving terms across, $(y-\sin x)\sin x=C$.
(c) $(y-\sin x)\sin x = C$
Question 27
Find the general solution of the linear equation $\frac{dy}{dx}+\frac yx=x^2$.
Solution. With $P=\frac1x$ the integrating factor is $e^{\ln x}=x$. Multiplying through, $\frac{d}{dx}(xy)=x^3$, so $xy=\frac{x^4}{4}+k$, which is $4xy=x^4+C$.
(b) $4xy = x^4 + C$
Common mistakes
- Forgetting to factorise before separating, as in Questions 7 and 8, where $1-x+y-xy$ and $e^{x+y}+x^2e^y$ both hide a common factor.
- Losing a sign when integrating $e^{-y}$ or $\sin y$, which turns $e^x+e^{-y}$ into $e^x-e^{-y}$ in the final answer.
- Writing $\int\sqrt{1-x^2}\,dx=\sin^{-1}x$; the correct integral also contains the term $x\sqrt{1-x^2}$ (Question 18).
- In homogeneous equations, stopping at $x(1+v^2)=C$ and not substituting $v=y/x$ back before matching the options.
- Taking the integrating factor as $\int P\,dx$ instead of $e^{\int P\,dx}$ in the linear questions.
Practise next
- Find the general solution of $\dfrac{dy}{dx}+y=e^{-x}$.
Show answer
$y=(x+C)e^{-x}$. The integrating factor is $e^{x}$, so $\dfrac{d}{dx}(ye^{x})=1$ and $ye^{x}=x+C$.
Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full
Subscribe