Is e^x the Optimal Integrating Factor for Solving Differential Equations?

AI Thread Summary
The discussion revolves around finding an integrating factor for the differential equation sin(y)dx + cos(y)dy = 0. The original poster initially misidentified the equation and sought an integrating factor of e^x, but others pointed out that a simpler integrating factor is 1/sin(y), which makes the equation exact. It was clarified that integrating factors are not unique, and if the problem specifies e^x, one can simply multiply the equation by it to check for exactness. The conversation highlights the importance of recognizing separable equations and the simplicity of certain integrating factors. Overall, the participants emphasized the need to verify the conditions for exactness rather than complicating the process.
asdf1
Messages
734
Reaction score
0
for the question, siny+cosydy=0, i want to find an integrating factor.
my work:
(1/F)(dF/dx)=(1/cosy)(cosy+siny)=1+tany
=>lny=x +xtany +c`
=> y =ce^(x+xtany)
however, the question wants the integrating factor to be e^x...
why?
 
Physics news on Phys.org
Can I assume you mean sinydx+ cosydy= 0? Without a dx in there, it doesn't make sense. If that's the case, then an obvious integrating factor is 1/siny since multiplying through by that gives dx+ (cosx/sinx)dy= 0 which is clearly exact.

I don't know what you mean by "the question wants the integrating factor to be e^x"!
I wasn't aware that questions wanted anything!
 
Isn't that equation seperable?
 
opps! I'm sorry for the mistype! :P
you're right, it's "sinydx+ cosydy= 0"
that question wanted to prove that the integrating factor is e^x, but the integrating factor that i found was y =ce^(x+xtany)...
 
so you want an integrating factor u such that
\frac{\partial}{\partial y}u\sin(y)=\frac{\partial}{\partial x}u\cos(y)
or
\frac{\partial u}{\partial y}\sin(y)+u\cos(y)=\frac{\partial u}{\partial x}\cos(y)
integrating factors are not unique so assume
\frac{\partial u}{\partial y}=0
 
If the problem says "show that ex is an integrating factor", thenyou don't have to find the integrating factor yourself (as lurflurf said, integrating factors are not unique), just multiply the equation by ex and see if the result is exact.

If you got ce^(x+xtany) as an integrating factor, you sure like doing things the hard way! As I said earlier, 1/sin y is an obvious integrating factor (because, as Corneo said, the equation is separable. Multiplying by
1/sin y "separates" it)
 
Last edited by a moderator:
lol...
i didn't think of that...
thank you very much! :)
 
Back
Top