Question
Question: How do you integrate \(\left( {\dfrac{x}{{x + 2}}} \right)\) ?...
How do you integrate (x+2x) ?
Solution
In this question, first we have to add and subtract 2 in the numerator. Then we have to split the numerator in two terms. In the first term numerator and denominator will have the same part and the second term will also be in the integrable format. Then we have to do just simple integration.
Complete step by step answer:
In the above question, we have to do integration of the given term
⇒∫x+2xdx
Now, add and subtract 2 in the numerator.
⇒∫x+2x+2−2dx
⇒∫x+2x+2dx−∫x+22dx
Now, on cancelling the numerator and denominator part in the first term.
⇒∫dx−2∫x+21dx
Now we know that ∫dx=x and ∫x1dx=lnx. Similarly, ∫1+x1dx=ln(1+x)
⇒x−2ln(x+2)+C
Here, C is the constant of integration.
Therefore, the value of required integral x−2ln(x+2)+C.
Note: We can also do this question by substituting x with trigonometric functions line sine function or cosine function. But the above method is the simplest one. We can also check our answer if it is correct or not by differentiating it. If we get the same result as the given question, then we have done it correctly.