Integrate f(x) = \frac{1}{(x-1)(x-2)} (1<x<2)

  • Thread starter Thread starter Kawakaze
  • Start date Start date
  • Tags Tags
    Integration
Kawakaze
Messages
144
Reaction score
0

Homework Statement



Determine indefinite integral of

f(x) = \frac{1}{(x-1)(x-2)} (1 < x < 2)

The Attempt at a Solution



Use standard integral

\frac{1}{(x - a)(x - b)} = \frac{1}{a - b}ln\frac{x - a}{x - b}

This doesn't give me the same answer as wolfram alpha or mathcad

Should instead treat this as a compound function?

f(x) = \frac{1}{(x - 1)}\frac{1}{(x - 2)}
 
Physics news on Phys.org
I suspect that wolfram alpha and mathcad gave you answers in terms of inverse hyperbolic trig functions. If so, look it up on google, inverse hyperbolic trig functions are expressible in terms of logs.
 
Hi Gib

Thanks for the reply, unfortunately it may as well have been in russian. =)

My method using the standard integrals gives

-ln\frac{x - 1}{x - 2}

Which I can't simplify any more really? Wolfram alpha and mathcad both give

ln(2 - x) - ln(x - 1)
 
Your answers are eqivalent, using the log law: log(a/b) = log a - log b. Also, don't forget the absolute value sign your standard integrals should have.
 
Thanks Gib, that's good news, and I wasnt aware of the equivalency either =)

What do you mean absolute sign my standard integrals should have? I can't see an incorrect sign, please explain.

Lastly, should there be a +C at the end of this or not?
 
\int \frac{1}{x} dx = \log |x| + C, not just log x. Yes, there's always a + C at the end, its often omitted as it becomes assumed. Anyway, you need the |x| to ensure the term being log-ed is always positive.

So instead of - \log \left( \frac{x-1}{x-2} \right) + C, you should have had - \log \left| \frac{x-1}{x-2} \right| + C = - \log \left( \frac{x-1}{2-x} \right) + C, since 1 < x < 2 so |x-1| = x-1 and |x-2| = 2-x.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top