Question
Question: Integrate \[\int {{e^x}\left( {\dfrac{1}{x} - \dfrac{1}{{{x^2}}}} \right)dx} \]...
Integrate ∫ex(x1−x21)dx
Solution
We will denote the function inside the parenthesis as a function of x. We will then differentiate the assumed function such that its derivative is present in the integrand. Then we will apply the appropriate integration formula to obtain the value of the integral.
Formula used:
We will use the following formulas:
- ∫ex[f(x)+f′(x)]dx=exf(x)+c, where f(x) is a function of x, f′(x) is its derivative, and c is a constant.
- dxd(xn)=nxn−1
Complete step by step solution:
We have to integrate ∫ex(x1−x21)dx
We will first use an appropriate function of x from the integrand, such that its derivative is also present in the integrand.
Let us take x1 as our required function. So,
f(x)=x1
Let us check if the derivative of x1 is present in the integrand. For this we have to differentiate x1. Now, x1=x−1.
Using the formula dxd(xn)=nxn−1, we get
f′(x)=(−1)x−1−1=−x−2 ⇒f′(x)=−x21
We observe that −x21 is also present in the integrand. Hence, our choice of function is right.
Now, we can write ∫ex(x1−x21)dx as ∫ex[x1+(−x21)]dx, where f(x)=x1 and f′(x)=−x21.
∫ex(x1−x21)dx=∫ex[x1+(−x21)]dx
Using the formula ∫ex[f(x)+f′(x)]dx=exf(x)+c to integrate, we have
⇒∫ex(x1−x21)dx=ex(x1)+c
Note:
We can also solve the above problem by integration by parts method.
∫udv=uv−∫vdu ……….(A)
The integrand ∫ex(x1−x21)dx can be written as ∫ex(x1)dx−∫ex(x21)dx……….(B)
We will apply the integration by parts rule to the integral ∫ex(x1)dx.
Let us take u=x1 and dv=exdx.
Now, du=−x21dx and v=∫dv=∫exdx. This gives v=ex.
Substituting these values in equation (A), we get
∫ex(x1)dx=ex(x1)−∫ex(−x21)dx+c
On the RHS, the (−) can be taken out and we can rewrite the above equation as
∫ex(x1)dx=ex(x1)+∫ex(x21)dx ………(C)
Using equation (C) in equation (B), we get
∫ex(x1−x21)dx=ex(x1)+∫ex(x21)dx−∫ex(x21)dx+c
Cancelling out ∫ex(x21)dx on the RHS, we finally get
∫ex(x1−x21)dx=ex(x1)+c