Question
Question: The solution of differential equation \(({{e}^{x}}+1)ydy=(y+1){{e}^{x}}dx\) is, A. \(({{e}^{x}}+1)...
The solution of differential equation (ex+1)ydy=(y+1)exdx is,
A. (ex+1)(y+1)=cey
B. (ex+1)∣y+1∣=ce−y
C. (ex+1)(y+1)=±cey
D. None of these
Solution
Hint: First of all in any differential equation try to separate the variable with their respective differential and then start further solving by method of variable separable form of differential equation, otherwise think of another method that you already know to solve it.
Complete step-by-step answer:
We will separate the variable and try to solve it so, let’s begin with that and we will get;
⇒y+1ydy=ex+1exdx
Now, further we will integrate both sides and we get;
⇒∫y+1ydy=∫ex+1exdx
⇒∫1−1+y1dy=∫ex+1exdx.................................(a)
Now, we will integrate the both sides of the equality separately as shown below;
⇒∫1−y+11dy=y−ln∣y+1∣ + lnc ......................(1)
Also, we have ∫ex+1exdx.
Here, let’s suppose that 1+ex=u.
⇒exdx=du.
Now, we will substitute these values in above integral and we get :
⇒∫u1du=lnu=ln(1+ex)...................(2)
Now, we will substitute the above value of integrals (1) and (2) in the equation (a) and we get;