Hi, I'm having trouble understanding this problem:
integral of (x^2) / (x-1) dx
Every source says the answer is 1/2x^2 + x + ln|x-1| + C.
I understand 1/2x^2 and ln|x-1| but I don't see where the +x in the middle comes from.
In addition, my book says that the original problem becomes:
integral of (x+1)dx + integral of (1/(x-1))dx
How does the x^2 become x+1? Or am I missing something else?
Thanks,
John
integral of (x^2) / (x-1) dx
Every source says the answer is 1/2x^2 + x + ln|x-1| + C.
I understand 1/2x^2 and ln|x-1| but I don't see where the +x in the middle comes from.
In addition, my book says that the original problem becomes:
integral of (x+1)dx + integral of (1/(x-1))dx
How does the x^2 become x+1? Or am I missing something else?
Thanks,
John