Question
Question: How do you integrate \(\left[ {\dfrac{{{x^2} + 1}}{{{x^2} - 1}}} \right] dx\) ?...
How do you integrate [x2−1x2+1]dx ?
Solution
Hint : In the given question, we are required to integrate a rational function involving the second degree of the variable x. There can be various ways to integrate a given function and there may be different answers to an indefinite integral problem. However, all the solutions if done with correct concepts and logic in mind are correct and are inter-convertible into one another.
Complete step by step solution:
In the problem given to us, we have to integrate the function in variable x given to us, [x2−1x2+1] with respect to x.
So, ∫[x2−1x2+1]dx
We cannot directly integrate the given rational function in x because the degree of numerator is the same as the degree of the denominator. So, we first either divide the numerator by denominator or manipulate the given function so as to convert it into a form that is easy to integrate.
Adding and subtracting 1 from numerator and separating the fractions, we get,
⇒∫[x2−1(x2−1)+2]dx
⇒∫[1+(x2−12)]dx
Separating the two integrals, we get,
⇒∫(1)dx+∫(x2−12)dx
We know that integration of 1 with respect to x is x. So, we get,
⇒x+2∫(x2−121)dx
Now, evaluating ∫(x2−121)dx using special integral of the form ∫(x2−a21)dx=2a1logx+ax−a , we get,
⇒x+2×(2(1)1logx+1x−1)
⇒x+logx+1x−1+c
So, the integral of the function [x2−1x2+1] with respect to x is x+logx+1x−1+c
So, the correct answer is “ x+logx+1x−1+c ”.
Note : We have to necessarily add an arbitrary constant, let's say c, in the final answer after solving an indefinite integral. Care should be taken while manipulating the numerator and denominator so as to convert the integral into a form that is easier to integrate.