Solving xy' + 2y = sin(x) - Integrator Factor

  • Context: Undergrad 
  • Thread starter Thread starter paula17
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
paula17
Messages
1
Reaction score
0
Hi guys, i need your help. I am not sure what is the integrator factor in this diferential equation to start solving it.

xy' + 2y = sin(x)

Thanks a lot
 
Physics news on Phys.org
You need to first write it as
y' + p(x)y = q(x)

Then evaluate
[tex]\mu = exp(\int p(x) dx)[/tex]

Is that what you mean by integrating factor?
 
Or, if you would prefer to derive it yourself, an integrating factor is a function p(x) such that multiplying the equation by it, the left side becomes an "exact derivative":
[tex]\frac{d(p(x)xy)}{dx}= p(x)x\frac{dy}{dx}+ 2p(x)y[/tex]
Since
[tex]\frac{d(p(x)xy)}{dx}= p(x)x\frac{dy}{dx}+ p(x)y+ p'(x)xy[/itex] <br /> that means we must have xp'+ p= 2p or xp'= p, a simple separable differential equation for p. Solving it you get exactly what LeBrad said.[/tex]