Why no constant of integration for the integration factor?

  • Context: Undergrad 
  • Thread starter Thread starter nomadreid
  • Start date Start date
  • Tags Tags
    Constant Integration
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
2 replies · 8K views
nomadreid
Gold Member
Messages
1,779
Reaction score
258
In applying the usual formula for y'+py=q with u=e∫p and y=(∫uq +C)/u, the results of the indefinite integral to calculate u is without a constant. Why is this? The result is not the same.
For example, suppose I take the problem
dy/dx +y = x*exp(-x). Then, in the usual manner, I get a nice exp(-x)*(x2/2 +C). But if I were to put constants in for the integration factor, I get
exp(-x)*(C1x2 +C2)
which is not the same thing.
 
  • Like
Likes   Reactions: Ronaldfss
Physics news on Phys.org
[tex]y' + py = q[/tex]
Define [itex]\displaystyle p = P'[/itex]
[tex]u = e^{\int p\ dx}[/tex]
[tex]= Pe^C \Rightarrow u = AP[/tex]
Then [itex]\displaystyle (yu)' = uq[/itex]
[tex]y = \frac{\int uq\ dx}{u}[/tex]
[tex]= \frac{\int APq\ dx}{AP}[/tex]
[tex]= \frac{A}{A}\frac{\int Pq\ dx}{P}[/tex]
So adding the constant doesn't change anything :)
 
  • Like
Likes   Reactions: Ronaldfss
Thanks, JHamm.