Question
Solve the differential equation: $(\text{x}+1)\frac{\text{dy}}{\text{dx}}=2\text{e}^{-\text{y}}-1;\ \text{y(0)}=0.$

Answer

$(\text{x}+1)\frac{\text{dy}}{\text{dx}}=2\text{e}^{-\text{y}}-1$
$\Rightarrow\frac{\text{dy}}{2\text{e}^{-\text{y}}-1}=\frac{\text{dx}}{\text{x}+1}$
$\Rightarrow\frac{\text{e}^\text{y}\text{dy}}{2-\text{e}^\text{y}}=\frac{\text{dx}}{\text{x}+1}$
Integrating both sides, we get:
$\int\frac{\text{e}^\text{y}\text{dy}}{2-\text{e}^\text{y}}=\log|\text{x}+1|+\log\text{C}\ \dots(1)$
Let $2-\text{e}^\text{y}=\text{t}.$
$\therefore\frac{\text{d}}{\text{dy}}(2-\text{e}^{\text{y}})=\frac{\text{dt}}{\text{dy}}$
$\Rightarrow-\text{e}^\text{y}=\frac{\text{dt}}{\text{dy}}$
$\Rightarrow\text{e}^\text{y}\text{dy}=-\text{dt}$
Substituting this value in equation (1), we get
$\int\frac{-\text{dt}}{\text{t}}=\log|\text{x}+1|+\log\text{C}$
$\Rightarrow-\log|\text{t}|=\log|\text{C}(\text{x}+1)|$
$\Rightarrow-\log|2-\text{e}^\text{y}|=\log|\text{C}(\text{x}+1)|$
$\Rightarrow\frac{1}{2-\text{e}^\text{y}}=\text{C}(\text{x}+1)$
$\Rightarrow2-\text{e}^\text{y}=\frac{1}{\text{C}(\text{x}+1)}\ \dots(2)$
Now, at x = 0 and y = 0, equation (2) becames:
$\Rightarrow2-1=\frac{1}{\text{C}}$
$\Rightarrow\text{c}=1$
Substituting C = 1 in equation (2) we get:
$2-\text{e}^\text{y}=\frac{1}{\text{x}+1}$
$\Rightarrow\text{e}^\text{y}=2-\frac{1}{\text{x}+1}$
$\Rightarrow\text{e}^\text{y}=\frac{2\text{x}+2-1}{\text{x}+1}$
$\Rightarrow\text{e}^\text{y}=\frac{2\text{x}+1}{\text{x}+1}$
$\Rightarrow\text{y}=\log\Big|\frac{2\text{x}+1}{\text{x}+1}\Big|,(\text{x}\neq-1)$
This is the required particular solution of the given differential equaion.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Find the area of the region bounded by the curve $y^2 = 2x$ and $x^2 + y^2 = 4x.$
Show that $\text{f(x)}=\begin{cases}12\text{x}-13, & \text{if x}\leq3\\2\text{x}^2+5, & \text{if x} > 3\end{cases}$ is differentiable at x = 3. Also, find f(3).
Find the equation of the plane through the intersection of the planes 3x - 4y + 5z = 10 and 2x + 2y - 3z = 4 and parallel to the line x = 2y = 3z.
Verify Lagrange's mean value theorem for the following function on the indicated intervals. find a point $'c\ '$ in the indicated interval as stated by the Lagrange's mean value theorem. $f(x) = x^2 - 2x + 4$ on $[1, 5]$
Differential equation $\frac{\text{d}^2\text{y}}{\text{dx}^2}+\text{y}=0,\text{y}(0)=1,\text{y}'(0)=1$Function $\text{y}=\sin\text{x}+\cos\text{x}$
Evaluate the following integrals:
$\int\limits^{\frac{3}{2}}_0\big|\text{x}\cos\pi\text{x}\big|\text{dx}$
Prove that: $\tan^{-1}\frac{2\text{a}\text{b}}{\text{a}^2-\text{b}^2}+\tan^{-1}\frac{2\text{xy}}{\text{x}^2-\text{y}^2}=\tan^{-1}\frac{2\alpha\beta}{\alpha^2-\beta^2},$where $\alpha=\text{ax}-\text{by}$ and $\beta=\text{ay}+\text{bx}.$
Find the image of the point (1, 3, 4) in the plane 2x - y + z + 3 = 0.
If $\text{y}=\sin^{-1}\Big(\frac{\text{x}}{1+\text{x}^2}\Big)+\cos^{-1}\Big(\frac{1}{\sqrt{1+\text{x}^2}}\Big), 0<\text{x}<\infty$ prove that $\frac{\text{dy}}{\text{dx}}=\frac{4}{1+\text{x}^2}$
Evaluate the following integrals:
$\int\limits^{\frac{\pi}{4}}_{-\frac{\pi}{4}}\frac{\cos^{2}\text{x}}{1+\text{e}^{\text{x}}}\text{ dx}$