Solving DE: dr/d(theta) + r*sec(theta) = cos(theta)

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 10K views
ckp
Messages
12
Reaction score
0
dr/d(theta) + r*sec(theta) = cos(theta)

apparently the solution is (sec(theta) + tan(theta))*r = theta - cos(theta) + c

but i have no idea how to get there.

i am using a technique from the book, but it yeilds an answer with lots of e's and an integral i can't solve.

this is my work. hope it doesn't look like a complete mess

ce^(-(sec(theta)tan(theta))) + e^(-(sec(theta)tan(theta)))(integral([e^(sec(theta)tan(theta))]cos(theta))d(theta)]

and i have no idea what to do from here.
 
Physics news on Phys.org
[tex]\frac{dr}{d \theta} + r sec\theta=cos\theta[/tex]


looks a bit like

[tex]\frac{dy}{dx} + yP(x)=Q(x)[/tex]

doesn't it? So try an integrating factor.
 
i was trying to use an integrating factor, but I am not sure if I am using it right. the long mess is what i end up with and i can't go any further. my book doesn't do a very good job of explaining it
 
ha, nevermind. I'm sorry, I messed up the integral of sec(X) >_>

got it now.