Integral of 1/(2x+1)
Way to solve this is to sub t=2x+1 and solution is (1/2)*ln(2x+1) +c
But if i pull 1/2 in front of integral and sub t=x+1/2 solution is (1/2)*ln(x+1/2)+ c
Is these two solutions same and constants are different?
This is a good question.
The terminology can be confusing. When we say "plus a constant" with respect to an indefinite integral, we really mean "plus some number." What you did, writing down c to stand for a number in
both expressions, leads to the question "how can these two different expressions be equal."
Stapel's solution of using C and D for the two different expressions is clever. But C and D are related. Although C can be any number, D is fixed once C is specified, and vice versa.
\(\displaystyle \dfrac{1}{2} * ln (2x + 1) + C = \dfrac{1}{2} * ln \left (x + \dfrac{1}{2} \right ) + D \implies\)
\(\displaystyle \dfrac{1}{2} * ln (2x + 1) + C = \dfrac{1}{2} * ln \left (\dfrac{2}{2} * \left \{ x + \dfrac{1}{2} \right \} \right ) + D \implies\)
\(\displaystyle \dfrac{1}{2} * ln (2x + 1) + C = \dfrac{1}{2} * ln \left ( \dfrac{1}{2} \{2x + 1\} \right ) + D \implies\)
\(\displaystyle \dfrac{1}{2} * ln (2x + 1) + C = \dfrac{1}{2} * \left \{ ln \left ( \dfrac{1}{2} \right ) + ln(2x + 1) \right \} + D \implies\)
\(\displaystyle \dfrac{1}{2} * ln (2x + 1) + C = \dfrac{1}{2} * ln (2x + 1) + \dfrac{1}{2} * ln \left ( \dfrac{1}{2} \right ) + D \implies\)
\(\displaystyle C = \dfrac{1}{2} * ln \left ( \dfrac{1}{2} \right ) + D.\)
C and D are
not independent but
are different numbers.