Question
Question: If \(\dfrac{{dy}}{{dx}} = {\left( {{e^y} - x} \right)^{ - 1}}\) where \(y\left( 0 \right) = 0\)then ...
If dxdy=(ey−x)−1 where y(0)=0then y is expressed explicitly as
(A) 0.5loge(1+x2)
(B) loge(1+x2)
(C) loge(x+1+x2)
(D) loge(x+1−x2)
Solution
First of all identify the type of differential equation. Here the given differential equation is in the form of dydx+Px=Q, so it is linear differential equation of first order whose solution can be find in several steps:
(i) Convert the given differential equation in the form of dydx+Px=Q to find out the values of P and Q.
(ii) Now find integrating factor (I.F.) by the formula; I.F.=e∫Pdy.
(iii) Now multiplying the both sides of equation obtained in step 1 by I.F., so that the LHS becomes the derivative of some function of x and y.
(iv) Now integrate the both sides of equation obtained in step 3 with respect to y and then find the value of C.
Complete step-by-step answer:
Given, dxdy=(ey−x)−1
⇒dxdy=(ey−x)1
⇒dydx=(ey−x)
⇒dydx+x=ey …. (1)
It is of the form of first order differential equation, i.e., dydx+Px=Q, where P=1,Q=ey.
The solution of a linear differential equation can be find by following steps:
Step 1: First of all, find the Integrating Factor (I.F.), which is given by,
I.F.=e∫Pdy
Put P=1,
I.F.=e∫1⋅dy
I.F.=ey
Step 2: Now multiplying the both sides of equation (1) by I.F., so that the LHS becomes the derivative of some function of x and y.
eydydx+eyx=eyey
⇒eydydx+xey=e2y ….. (2)
Now, using product rule of derivative, i.e., dxd[f(x)⋅g(x)]=f(x)dxd[g(x)]+g(x)dxd[f(x)] to find dyd(ey⋅x).
∴ dyd(ey⋅x)=ey⋅dydx+xey
Now, equation (2) becomes
⇒dyd(ey⋅x)=e2y [Put ey⋅dydx+xey=dyd(ey⋅x)]
Step 3: Now integrating both sides of equation (3) with respect to y, we get
ey⋅x=∫e2y+C, where C is the constant of integration.
⇒ey⋅x=2e2y+C …. (3)
We have, y(0)=0. Therefore, put x=0 and y=0 in equation (3) to find out the value of C.
∴e0⋅0=2e2(0)+C
⇒0=21+C
⇒C=2−1
Put the value of C in equation (3),
∴ey⋅x=2e2y−21
⇒ey⋅x=2e2y−1
⇒2ey⋅x=e2y−1
⇒e2y−2xey−1=0
Step 4: Now find the value of y by substituting ey=t,
∴t2−2xt−1=0
Now find the value of t by using the quadratic formula, i.e.,
t=2a−b±b2−4ac
∴t=2(1)−(−2x)±(−2x)2−4(1)(−1)
⇒t=22x±4x2+4
⇒t=22x±4(x2+1)
⇒t=22x±2(x2+1)
⇒t=22[x±(x2+1)]
⇒t=x±(x2+1)
∴ey=x±(x2+1) (∵ey=t)
⇒y=loge[x±(x2+1)]
Log value cannot be so we have to take positive value
⇒y= loge(x+1+x2)
Hence, option (C) is the correct answer.
Note: Linear differential equation of first order is of two types: one is the form of dydx+Px=Q and second is the form of dxdy+Py=Q. It may be noted that integrating factors for the above two equations are different. For dydx+Px=Q; I.F.=e∫Pdy and for dxdy+Py=Q; I.F.=e∫Pdx.