Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my maths class we are learning about indefinite integrals, this is the problem we were working on:

$$ \int \frac{1}{2x+1}dx $$

Using u-substitution we obtain:

$$ \frac{1}{2}\ln\left | 2x+1 \right | + C $$

But why does it not work to pull out a $\frac{1}{2}$ so that we don't have to do u-substitution

$$ \frac{1}{2}\int \frac{1}{x+\frac{1}{2}}dx $$

This yields a completely different result $$ \frac{1}{2}\ln \left |x+\frac{1}{2}\right | + C_1 \neq \frac{1}{2}\ln\left | 2x+1 \right | + C_2 $$

Pulling out the $\frac{1}{2}$ seems like a completely valid move, so why does it get a completely different result?

share|cite|improve this question
    
Is it the same constant of integration $C$ for each? – Karl Feb 25 at 21:05
    
@Karl There's not initial condition so if they're not equivalent then no. – BitNinja Feb 25 at 21:08
    
This was the root of the confusion. The answers were the same depending on the constant as @Spenser shows – Karl Feb 25 at 21:10
    
It is correct, you can get "different" results because the integral is indefinite. Take limits in any "different result" and you will see that the integral is the same, no matter the form of the antiderivative. – Masacroso Feb 25 at 21:26
    
@BitNinja Just because the constant of integration is 'different', which it will mostly be (if we were to have a definite integral), doesn't mean the ANSWERS are 'completely different'. They are just different forms. You should probably try with endpoints and then you'll see why they are in fact equivalent - as per Spenser's answer – Dretland Leigh Feb 26 at 2:52
up vote 25 down vote accepted

They are the same because $$\ln|2x+1|=\ln|2(x+1/2)|=\ln(2)+\ln|x+1/2|$$ and the constant $\ln(2)$ goes with the constant $C$.

share|cite|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.