Some examples of this type of
differential equation are
dx
dy +x
= cos y
2
dx
x
dy
+−y
 = y2e – y
To solve the first order linear differential equation of the type
P
dy
y
dx  
 = Q (1)
Multiply both sides of the equation by a function of x say g (x) to get
g(x) dy
dx  + P (g(x)) y = Q g (x)