Question
Question: How do you evaluate the integral \[\int {\dfrac{1}{{{x^2} - 4}}dx} \]?...
How do you evaluate the integral ∫x2−41dx?
Solution
We solve this using partial fraction. We can split x2−4 using the algebraic identity a2−b2=(a+b)(a−b). Since 4 can be expressed as 2, raise to the power 2. That is 4=22. After that we simplify by partial fraction then we apply the sum integral rule to solve the given problem. The term inside the integral sign is called the integrand.
Complete step-by-step solution:
Given ∫x2−41dx
We have a2−b2=(a+b)(a−b)
Then x2−4 can be written as x2−22
Applying the identity we have,
⇒x2−22=(x+2)(x−2)
⇒∫x2−41dx=∫(x+2)(x−2)1dx
Now take the integrand and applying the partial fraction,
⇒(x+2)(x−2)1=(x+2)A+(x−2)B
Taking LCM and simplifying we have,
⇒1=A(x−2)+B(x+2)
Now we need to find ‘A’ and ‘B’.
Put x=2in above equation,
⇒1=A(2−2)+B(2+2)
⇒1=4B
Rearranging we have
⇒4B=1
Divide the whole equation by 4,
⇒B=41
Now put x=−2, we have
⇒1=A(−2−2)+B(−2+2)
⇒1=−4A
Rearranging we have
⇒−4A=1
Divide the whole equation by -4,
⇒A=−41
Then (x+2)(x−2)1=(x+2)A+(x−2)Bbecomes
(x+2)(x−2)1=−41(x+2)1+41(x−2)1
Now applying the integration we have
⇒∫(x+2)(x−2)1dx=∫−41(x+2)1dx+∫41(x−2)1dx
⇒∫−41(x+2)1dx+∫41(x−2)1dx
Taking the constant term outside the integral sign
⇒−41∫(x+2)1dx+41∫(x−2)1dx
We know that ∫x1dx=logx+c. In each term in above equation that is (x+2) and ⇒(x−2) as ‘x’ term and we integrate it,
⇒−41log∣x+2∣+41log∣x−2∣+c
Where ‘c’ is the integration constant.
Rearranging we have,
⇒41(log∣x−2∣−log∣x+2∣)+c
We know the logarithm law that is log(nm)=log(m)−log(n), applying this we have:
⇒41log(x+2x−2)+c.
Thus we have
∫x2−41dx=41log(x+2x−2)+c, where ‘c’ is the integration constant.
Note: In the given above problem we have an indefinite integral, that is no upper and lower limit. Hence we add the integration constant ‘c’ after integrating. In a definite integral we will have an upper and lower limit, we don’t need to add integration constant in the case of definite integral. We have different integration rule:
The power rule: If we have a variable ‘x’ raised to a power ‘n’ then the integration is given by ∫xndx=n+1xn+1+c.
The constant coefficient rule: if we have an indefinite integral of K.f(x), where f(x) is some function and ‘K’ represent a constant then the integration is equal to the indefinite integral of f(x) multiplied by ‘K’. That is ∫K.f(x)dx=c∫f(x)dx.
The sum rule: if we have to integrate functions that are the sum of several terms, then we need to integrate each term in the sum separately. That is
∫(f(x)+g(x))dx=∫f(x)dx+∫g(x)dx
For the difference rule we have to integrate each term in the integrand separately.