kdinser
- 335
- 2
I'm making a small mistake somewhere, but I can't seem to find it.
\int\frac{dx}{(x-1)(1-2x)}
taking the partial fractions
1=A(1-2x)+B(x-1)
A=-1, B=-2
\int\frac{-1}{x-1} dx+\int\frac{-2}{1-2x}dx
Integrating by substitution, this is what I'm getting
-ln(x-1)+ln(1-2x)+C
The correct answer is
-ln(x-1)+ln(2x-1)+C
I think I'm making some kind of algebraic sign mistake when taking the second integral, but I just can't find it. I'll go through my solution step by step here and if someone could point out the mistake I would appreciate it.
\int\frac{-2}{1-2x}dx
-2\int\frac{dx}{(1-2x)}
u=1-2x \frac{du}{dx}=-2
-2\int\frac{dx}{-2u}
\int\frac{dx}{u}
ln(u)+C
ln(1-2x)+C
Somewhere along the way, I'm missing the spot where I'm supposed to factor out a -1 from the denominator, but where?
\int\frac{dx}{(x-1)(1-2x)}
taking the partial fractions
1=A(1-2x)+B(x-1)
A=-1, B=-2
\int\frac{-1}{x-1} dx+\int\frac{-2}{1-2x}dx
Integrating by substitution, this is what I'm getting
-ln(x-1)+ln(1-2x)+C
The correct answer is
-ln(x-1)+ln(2x-1)+C
I think I'm making some kind of algebraic sign mistake when taking the second integral, but I just can't find it. I'll go through my solution step by step here and if someone could point out the mistake I would appreciate it.
\int\frac{-2}{1-2x}dx
-2\int\frac{dx}{(1-2x)}
u=1-2x \frac{du}{dx}=-2
-2\int\frac{dx}{-2u}
\int\frac{dx}{u}
ln(u)+C
ln(1-2x)+C
Somewhere along the way, I'm missing the spot where I'm supposed to factor out a -1 from the denominator, but where?