Simplify xx−1−xx+1xx2−1
Let's first combine the top two fractions in the numerator.
x(x+1)−x(x−1)x2−1=x2+x−x2+xx2−1=2xx2−1
This is what our fraction looks like now: 2xx2−1xx2−1
We can multiply top and bottom by x2−1, which cancels to 2xx=2
Multiplying both the numerator and the denominator by (x2−1), we have
xx−1−xx+1xx2−1=x(x+1)−x(x−1)x=x((x+1)−(x−1))x=2xx=2
This holds for x≠0