Differential Equations problem

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
L.D.50
Messages
1
Reaction score
0

Homework Statement



dx/dy = cos(y) - xtan(y)

I need to find the general solution of the problem



Homework Equations



y' + Py = Q
Where P and Q are functions of x

dy/y = - Pdx
ln(y) = -integral(Pdx)+c
y = e^(-int(Pdx)+c)



The Attempt at a Solution



Now I have no idea what to do to be honest. Nothing I try and do to separate the variables to get it in the form y' + Py = Q works. There is always something left over that complicates things even more. I've tried many trig substitutions, to no avail. Here is one thing I tried.

dx/x = [(1/x)cosy - tany]dy
dx/x = (1/x)cosy dy - tan y dy

But then I have two dy terms. Is this correct? I really have no idea how to proceed from here.

Ive also tried:

dx/dy = cos(y) - xtan(y)
(dx/dy)cosy = cos^2(y) - xsiny
(dx/dy)2cosy = 1 + cos(2y) - 2xsiny

But now once again I have no idea how to proceed. Any help would be greatly appreciated!
 
Physics news on Phys.org
The fact that your equation involves dx\dy rather than dy\dx means that just by adding xtany to both sides you get the required form! and you can find the integrating factor in terms of y.

ie use
x' + Px = Q
Where P and Q are functions of y