Understanding Integration Mechanics: Why Can't the Constant Be Taken Out?

  • Thread starter Thread starter bp_psy
  • Start date Start date
  • Tags Tags
    Integration
bp_psy
Messages
469
Reaction score
8
I understand the mechanics of how this happens but i don't really understand why.

\frac{a}{b}\int\frac{1}{x+c}dx\neq\int\frac{a}{b(x+c)}dx

Why can't the constant be taken out?:confused:
 
Physics news on Phys.org
bp_psy said:
Why can't the constant be taken out?:confused:

What makes you think it can't be?
 
l'Hôpital said:
What makes you think it can't be?

This:
\frac{a}{b}\int\frac{1}{x+c}dx=\frac{a}{b}ln(x+c)+C

\int\frac{a}{b(x+c)}dx=\frac{a}{b}ln(bx+bc)+C
 
Consider
<br /> \int 5x<br />

So, which is right?

<br /> \int 5x = \frac{(5x)^2}{2} + C<br />
or
<br /> \int 5x = 5\frac{x^2}{2} + C<br />
Even in regular integration, you always pull off the constants. Just because you have 1/x doesn't mean the constant shouldn't be pulled out.

However, it does worth mentioning that both your answers are actually right.

<br /> \frac{a}{b}ln(bx+bc)+C = \frac{a}{b}ln(b(x+c))+C = \frac{a}{b}ln(x+c)+ \frac{a}{b}ln b + C = \frac{a}{b}ln(x+c)+D<br />
Where D is just another constant.
 
l'Hôpital said:
Consider
<br /> \int 5x<br />

So, which is right?

<br /> \int 5x = \frac{(5x)^2}{2} + C<br />
or
<br /> \int 5x = 5\frac{x^2}{2} + C<br />
Even in regular integration, you always pull off the constants. Just because you have 1/x doesn't mean the constant shouldn't be pulled out.
I know.
l'Hôpital said:
However, it does worth mentioning that both your answers are actually right.

<br /> \frac{a}{b}ln(bx+bc)+C = \frac{a}{b}ln(b(x+c))+C = \frac{a}{b}ln(x+c)+ \frac{a}{b}ln b + C = \frac{a}{b}ln(x+c)+D<br />
Where D is just another constant.

Ok now I understand it. I actually run into this problem while trying to calculate integration factors for ODEs. This should simplify my calculations.

Thank you.
 
Back
Top