Integrating 1/(x^2 - 1): Confusion with Online Calculator

  • Thread starter Thread starter abite
  • Start date Start date
  • Tags Tags
    Integration
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
abite
Messages
1
Reaction score
0
Homework Statement

I need to find the integral of 1/(x2 - 1) dx


The attempt at a solution

Double checking on an online integrator, it gave me an answer of

1/2 [log(x-1) - log(x+1)]

I would have expected

log(x2-1)/2


Does anyone know why it's the first one?
 
Physics news on Phys.org
abite said:
Double checking on an online integrator,

That's fine, but have you tried it? This integral can easily be done either by partial fractions or trig substitution.
 
abite said:
Homework Statement

I need to find the integral of 1/(x2 - 1) dx


The attempt at a solution

Double checking on an online integrator, it gave me an answer of

1/2 [log(x-1) - log(x+1)]

I would have expected

log(x2-1)/2
Why would you have expected this? Were you thinking that your integral looked like [itex]\int du/u?[/itex]
If you were thinking along those lines, with u = x^2 - 1, you don't have anything remotely close to du to make this work.

It is NOT true that
[tex]\int \frac{dx}{f(x)} = ln |f(x)| + C[/tex]

If you weren't thinking that, never mind...
abite said:
Does anyone know why it's the first one?
 
In any case, please try partial fractions and get back to us with the result.

[tex]\frac{1}{x^2- 1}= \frac{1}{(x-1)(x+1)}= \frac{A}{x-1}+ \frac{B}{x+1}[/tex]

What are A and B?