Question
Question: Find the particular solution of the differential equation \[{e^x}\,\tan \,y\,\,dx\, + \,(2 - {e^x})\...
Find the particular solution of the differential equation extanydx+(2−ex)sec2ydy=0 , given that y=4π when x=0
Solution
According to the given equation, first rearrange all the x terms on one side and y terms on the other side. Then integrate both the left and right side separately by substitution method that is t=2−ex and tany=u .Then substitute the given values of x and y in the calculated integral equation. At last we get an equation that is the particular solution of the differential equation.
Complete step-by-step solution:
As it is given that, y=4π when x=0 And we have to find the particular solution of the differential equation that is extanydx+(2−ex)sec2y.dy=0
Taking (2−ex)sec2y.dy on right side of the equation,
So, we get
extanydx=−(2−ex).sec2ydy
Re-shifting everything and taking integration on both side we get,
⇒∫−2−exexdx=∫tanysec2ydy eq. (1)
Now, take t=2−ex
Therefore, on differentiating t with respect to x we get,
dxdt=−ex
Taking dx on the right side,
∴dt=−exdx eq. (2)
Now, for the right-hand side we have
tany=u
Now differentiating with respect to y we get,
sec2y=dxdu
Calculating the value of du in terms of dx
⇒du=sec2y.dx eq. (3)
Now, putting the value of eq. (1) and eq. (2) in eq. (1) we get,
∫tdt=∫u1du [Remember ∫x1dx=lnx ]
So, we get
⇒lnt=lnu+c
By substituting the value of uand t we get,
⇒ln(2−ex)=lntany+c
or
⇒ln(2−ex)=ln(tany)+c
Now putting the value of y=4π and x=0 we get
ln(2−e0)=ln(tan4π)+c
As, we know e0=1 and tan4π=1
⇒ln(2−1)=ln(1)+c
And we also know that ln1=0
⇒0=0+c
So, we get the value of c
⇒c=0
Therefore, the value of c is zero.
Now, putting the value of c in the given equation we get,
ln(2−ex)=ln(tany)+0
⇒ln(2−ex)=ln(y)
Taking ln(y) on the left side of the equation we get,
⇒ln(2−ex)−ln(y)=0
As we know ln(A)−ln(B)=ln(BA)
⇒ln(y2−ex)=0
Taking ln on the light side which becomes e so we get,
⇒y2−ex=e0
As we know e0=1
⇒y2−ex=1
Takin y on left side so,
\Rightarrow 2 - {e^x} = y$$$$ \Rightarrow {e^x} + y = 2
On rearranging the terms we get,
⇒ex+y−2=0
Thus, the particular solution of the differential equation is
ex+y−2=0
Note: To solve these types of questions, do not forget to separate the variable on the left and right side of the equation and use substitution method for integration in a simpler way as done in the given question. Remember all the values of e0=1 , ln1=0 and tan4π=1 to get the required answer.