Question
Mathematics Question on Differential equations
For the differential equations , find the general solution:(ex+e−x)dy−(ex−e−x)dx=0
Answer
The given differential equation is:
(ex+e−x)dy−(ex−e−x)dx=0
⇒$$(e^x+e^{-x})dy=(e^x-e^{-x})dx
⇒dy=[ex+e−xex−e−x]dx
Integrating both sides of this equation, we get:
∫dy=∫[ex+e−xex−e−x]dx+C
⇒$$y=∫[\frac {e^x-e^{-x}}{e^x+e^{-x}}]dx +C ...(1)
Let (ex+e−x)=t
Differentiating both sides with respect to x, we get:
dxd(ex+e−x) = dxdt
⇒$$e^x+e^{-x} = dxdt
⇒(ex−e−x)dx=dt
Substituting this value in equation (1), we get:
y=∫t1dt+C
⇒y=log (t)+C
⇒y=log (ex+e−x)+C
This is the required general solution of the given differential equation.