RS Aggarwal Class 12 Maths Solutions Exercise 19A — Differential Equations with Variable Separable
RS Aggarwal, Class 12 Mathematics — Differential Equations with Variable Separable, Exercise 19A. All 16 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
Every equation in this exercise can be rearranged so that all the $y$ terms sit with $dy$ on one side and all the $x$ terms with $dx$ on the other. Questions 1 to 12 ask for the general solution, which carries one arbitrary constant. Questions 13 to 16 give a starting value, which fixes that constant and so produces a particular solution.
Key insight. Separate first, integrate second. Look for a common factor: $1+x+y+xy=(1+x)(1+y)$, $e^{x+y}=e^xe^y$, and so on. Once the variables are apart, integrate each side on its own and add a single constant. For a particular solution, substitute the given point only after integrating.
Question 1
Find the general solution of $\dfrac{dy}{dx}=(1+x^2)(1+y^2)$.
Solution. The right side is already a product of a function of $x$ and a function of $y$. Dividing by $1+y^2$ and multiplying by $dx$ gives
$$\frac{dy}{1+y^2}=(1+x^2)\,dx.$$
Integrating, $\tan^{-1}y = x+\dfrac{x^3}{3}+C$.
$$\tan^{-1}y = x+\frac{x^3}{3}+C$$
Question 2
Find the general solution of $x^4\dfrac{dy}{dx}=-y^4$.
Solution. Move $y^4$ under $dy$ and $x^4$ under $dx$:
$$\frac{dy}{y^4}=-\frac{dx}{x^4}\ \Rightarrow\ \int y^{-4}dy=-\int x^{-4}dx.$$
So $-\dfrac{1}{3y^3}=\dfrac{1}{3x^3}+k$. Multiplying by $-3$ and writing $C=-3k$ gives $\dfrac1{x^3}+\dfrac1{y^3}=C$.
$$\frac{1}{x^3}+\frac{1}{y^3}=C$$
Question 3
Find the general solution of $\dfrac{dy}{dx}=1+x+y+xy$.
Solution. Group the terms: $1+x+y+xy=(1+x)+y(1+x)=(1+x)(1+y)$. Hence
$$\frac{dy}{1+y}=(1+x)\,dx\ \Rightarrow\ \log|1+y|=x+\frac{x^2}{2}+C.$$
$$\log|1+y|=x+\frac{x^2}{2}+C$$
Question 4
Find the general solution of $\dfrac{dy}{dx}=1-x+y-xy$.
Solution. Here $1-x+y-xy=(1-x)+y(1-x)=(1-x)(1+y)$. Separating,
$$\frac{dy}{1+y}=(1-x)\,dx,$$
and integrating gives $\log|1+y|=x-\dfrac{x^2}{2}+C$.
$$\log|1+y|=x-\frac{x^2}{2}+C$$
Question 5
Find the general solution of $(x-1)\dfrac{dy}{dx}=2x^3y$.
Solution. Separate: $\dfrac{dy}{y}=\dfrac{2x^3}{x-1}\,dx$. The degree of the numerator is higher than that of the denominator, so divide first. Since $x^3=(x-1)(x^2+x+1)+1$,
$$\frac{2x^3}{x-1}=2(x^2+x+1)+\frac{2}{x-1}.$$
Integrating both sides,
$$\log|y|=\frac{2x^3}{3}+x^2+2x+2\log|x-1|+C.$$
$$\log|y|=\frac{2x^3}{3}+x^2+2x+2\log|x-1|+C$$
Question 6
Find the general solution of $\dfrac{dy}{dx}=e^{x+y}$.
Solution. Write $e^{x+y}=e^x\cdot e^y$, then bring $e^y$ across:
$$e^{-y}dy=e^x\,dx\ \Rightarrow\ -e^{-y}=e^x+k.$$
Rearranging with $C=-k$ gives $e^x+e^{-y}=C$.
$$e^x+e^{-y}=C$$
Question 7
Find the general solution of $(e^x+e^{-x})\,dy-(e^x-e^{-x})\,dx=0$.
Solution. Rewrite as
$$dy=\frac{e^x-e^{-x}}{e^x+e^{-x}}\,dx.$$
The numerator is exactly the derivative of the denominator, so the right side integrates to $\log(e^x+e^{-x})$ (the denominator is always positive). Hence $y=\log(e^x+e^{-x})+C$.
$$y=\log\left(e^x+e^{-x}\right)+C$$
Question 8
Find the general solution of $\dfrac{dy}{dx}=e^{x-y}+x^2e^{-y}$.
Solution. Factor out $e^{-y}$: $\dfrac{dy}{dx}=e^{-y}(e^x+x^2)$. Then
$$e^{y}dy=(e^x+x^2)\,dx\ \Rightarrow\ e^y=e^x+\frac{x^3}{3}+C.$$
$$e^y=e^x+\frac{x^3}{3}+C$$
Question 9
Find the general solution of $e^{2x-3y}dx+e^{2y-3x}dy=0$.
Solution. Split the exponents: $e^{2x}e^{-3y}dx=-e^{2y}e^{-3x}dy$. Collect the $x$ factors on one side and the $y$ factors on the other by multiplying by $e^{3x}e^{3y}$:
$$e^{5x}dx=-e^{5y}dy.$$
Integrating, $\dfrac{e^{5x}}{5}=-\dfrac{e^{5y}}{5}+k$, so $e^{5x}+e^{5y}=C$ with $C=5k$.
$$e^{5x}+e^{5y}=C$$
Question 10
Find the general solution of $e^x\tan y\,dx+(1-e^x)\sec^2y\,dy=0$.
Solution. Divide by $(1-e^x)\tan y$:
$$\frac{e^x}{1-e^x}dx+\frac{\sec^2y}{\tan y}dy=0.$$
Since $\dfrac{d}{dx}(1-e^x)=-e^x$ and $\dfrac{d}{dy}\tan y=\sec^2y$, integrating gives $-\log|1-e^x|+\log|\tan y|=\log|k|$. Therefore $\tan y=k(1-e^x)$.
$$\tan y=C\,(1-e^x)$$
Question 11
Find the general solution of $\sec^2x\tan y\,dx+\sec^2y\tan x\,dy=0$.
Solution. Divide throughout by $\tan x\tan y$:
$$\frac{\sec^2x}{\tan x}dx+\frac{\sec^2y}{\tan y}dy=0.$$
Each term is of the form $\dfrac{f’}{f}$, so $\log|\tan x|+\log|\tan y|=\log|C|$, i.e. $\tan x\tan y=C$.
$$\tan x\tan y=C$$
Question 12
Find the general solution of $\cos x(1+\cos y)\,dx-\sin y(1+\sin x)\,dy=0$.
Solution. Move one term across and divide by $(1+\sin x)(1+\cos y)$:
$$\frac{\cos x}{1+\sin x}dx=\frac{\sin y}{1+\cos y}dy.$$
On the left the numerator is the derivative of the denominator. On the right it is minus the derivative, so the integral is $-\log(1+\cos y)$. Thus
$$\log|1+\sin x|=-\log|1+\cos y|+\log|C|,$$
which gives $(1+\sin x)(1+\cos y)=C$.
$$(1+\sin x)(1+\cos y)=C$$
Question 13
The differential equation $\cos\left(\dfrac{dy}{dx}\right)=a$ holds with $a\in R$, and $y=2$ when $x=0$. Find the particular solution.
Solution. Take the inverse cosine: $\dfrac{dy}{dx}=\cos^{-1}a$, which is a constant. Integrating, $y=x\cos^{-1}a+c$. At $x=0$, $y=2$, so $c=2$. Then $\dfrac{y-2}{x}=\cos^{-1}a$, that is
$$\cos\left(\frac{y-2}{x}\right)=a.$$
$$\cos\left(\frac{y-2}{x}\right)=a$$
Question 14
Solve $\dfrac{dy}{dx}=-4xy^2$ for the particular solution that has $y=1$ when $x=0$.
Solution. Separate: $\dfrac{dy}{y^2}=-4x\,dx$. Integrating, $-\dfrac1y=-2x^2+c$. Putting $x=0,\ y=1$ gives $-1=c$. So $-\dfrac1y=-2x^2-1$, i.e. $\dfrac1y=2x^2+1$.
$$y=\frac{1}{2x^2+1}$$
Question 15
Solve $x\,dy=(2x^2+1)\,dx$ for $x\neq0$, given that $y=1$ when $x=1$.
Solution. Divide by $x$: $dy=\left(2x+\dfrac1x\right)dx$. Integrating, $y=x^2+\log|x|+c$. At $x=1$ the logarithm vanishes, so $1=1+0+c$ and $c=0$.
$$y=x^2+\log|x|$$
Question 16
Solve $\dfrac{dy}{dx}=y\tan x$ given that $y=1$ when $x=0$.
Solution. Separate: $\dfrac{dy}{y}=\tan x\,dx$. Integrating, $\log|y|=\log|\sec x|+c$. At $x=0$: $\log1=\log1+c$, so $c=0$. Near $x=0$ both $y$ and $\sec x$ are positive, so $y=\sec x$.
$$y=\sec x$$
Common mistakes
- Dropping the constant of integration, or adding one on each side. One constant, added once after both integrals, is enough.
- In Questions 3 and 4, integrating $\dfrac{dy}{1+y}$ and writing $\log y$ instead of $\log|1+y|$; the $1$ matters.
- In Question 5, trying to integrate $\dfrac{2x^3}{x-1}$ directly without long division first.
- In Question 12, forgetting the minus sign when integrating $\dfrac{\sin y}{1+\cos y}$, which turns a product into a quotient.
- Substituting the given point before integrating, or applying it to the wrong variable, in Questions 13 to 16.
Practise next
The next exercise, 19B, continues with separable equations, including ones that need a substitution or partial fractions before the variables can be separated.
Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full
Subscribe