Integrating Factor and absolute value

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 8K views
awelex
Messages
44
Reaction score
0
Hi,

I have a general question regarding the integrating factor of first-oder linear DEs. All textbooks that I've seen (which aren't too many) simply drop the absolute symbol when the factor has the form exp(ln(abs(x))). This would evaluate to abs(x), yet the books use simply x. Why is that valid?

Thanks,

Alex
 
Physics news on Phys.org
awelex said:
Hi,

I have a general question regarding the integrating factor of first-oder linear DEs. All textbooks that I've seen (which aren't too many) simply drop the absolute symbol when the factor has the form exp(ln(abs(x))). This would evaluate to abs(x), yet the books use simply x. Why is that valid?

Thanks,

Alex

I've been wondering too.
 
Last edited:
An "integrating factor" for a linear first order equation, dy/dx+ f(x)y= g(x), is a function, [itex]\mu(x)[/itex] such that if we multiply the entire equation by it, [itex]\mu(x)(y'+ f(x)y)= \mu(x)y'+ f(x)\mu(x)y= \mu(x)g(x)[/itex], the left side becomes an "exact derivative":
[tex]\frac{d\mu(x)y}{dx}[/tex]

If that is true then, by the product rule,
[tex]\frac{d\mu(x)y}{dx}= \mu(x)y'+ \mu' y= \mu(x)y'+ f(x)\mu(x)y[/tex]
which leads immediately to [itex]\mu'(x)= x\mu(x)[/itex], a simple separable equation.
[tex]\frac{d\mu}{\mu}= f(x)dx[/tex]
so that [itex]ln(|\mu|)= \int f(x)dx[/itex] and so
[tex]|\mu|= e^{\int f(x)dx}[/tex]
Of course, that means that either [itex]\mu= e^{\int f(x)dx}[/itex] or [itex]\mu(x)= -e^{\int f(x)dx}[/itex]

But since we are multiplying both sides of the equation by [itex]\mu(x)[/itex] it really doesn't matter whether it is positive or negative!
 
  • Like
Likes   Reactions: Recoil