Question
Question: Find the particular solution of the following differential equation: \(\left( x+1 \right)\dfrac{dy...
Find the particular solution of the following differential equation:
(x+1)dxdy=2e−y−1;y=0 and x=0
Solution
We have the following differential equation: (x+1)dxdy=2e−y−1. Separate x terms on one side and y terms on the other side. Then integrate both the sides to get an equation in terms of x and y. Now, put x = 0 and y = 0 in the equation to get the value of the constant term. Then substitute the constant term in the equation to get the particular solution of the given differential equation.
Complete step-by-step answer:
We have a differential equation as:
(x+1)dxdy=2e−y−1......(1)
Now, by separating the x and y terms we can write equation (1) as:
2e−y−1dy=(x+1)dx2−eyeydy=(x+1)dx......(2)
Now, integrate equation (2), we get:
∫2−eyeydy=∫(x+1)dx......(3)
Let
2−ey=t−eydy=dt
So, we can write:
∫2−eyeydy=−∫tdt
Since, ∫xdx=log∣x∣+C
So, we have: −∫tdx=−log∣t∣
Since 2−ey=t
So, we have:
∫2−eyeydy=−log∣2−ey∣
Similarly, for ∫(x+1)dx=log∣x+1∣+C
Put the values in equation (2), we get:
−log∣2−ey∣=log∣x+1∣+Clog2−ey1=log∣C(x+1)∣......(3)
2−ey1=∣C(x+1)∣......(4)
Now, we have x = 0 and y = 0, so we get: