The general solution of ex cosy dx – ex siny dy = 0 is:
excos y dx – exsin y dy = 0
⇒ excos y dx = exsin y dy
Integrate
Substitute cosy = t hence which means siny dy = -dt
⇒ x = -log t + c
Resubstitute t
⇒ x = -log(cosy) + c
⇒ x + c = log(cosy)-1
⇒ x + c = log(secy)
⇒ ex+c = sec y
⇒ ex × ec = sec y
⇒ excos y = e-c
As e is a constant c is the integration constant hence e-c is a constant and hence let it be denoted by k such that k = e-c
⇒ excos y = k