The given differential equation is,
( e x + e −x )dy−( e x − e −x )dx=0
Separate the variables.
( e x + e −x )dy=( e x − e −x )dx dy= ( e x − e −x ) ( e x + e −x ) dx
Integrating both the sides, we get,
∫ dy = ∫ ( e x − e −x ) ( e x + e −x ) dx y= ∫ ( e x − e −x ) ( e x + e −x ) dx +C (1)
Let ( e x + e −x )=t
Differentiating both the sides, we get,
d dx ( e x + e −x )= dt dx ( e x − e −x )dx=dt
Substitute the values in equation (1).
y= ∫ 1 t dt +C y=log| t |+C y=log| e x + e −x |+C
The general solution of the differential equation ( e x + e −x )dy−( e x − e −x )dx=0 is given as y=log| e x + e −x |+C.