Final Answer
Step-by-step Solution
Specify the solving method
Expand the fraction $\frac{u-4}{u+2}$ into $2$ simpler fractions with common denominator $u+2$
Learn how to solve integrals of rational functions problems step by step online.
$\int\left(\frac{u}{u+2}+\frac{-4}{u+2}\right)du$
Learn how to solve integrals of rational functions problems step by step online. Find the integral int((u-4)/(u+2))du. Expand the fraction \frac{u-4}{u+2} into 2 simpler fractions with common denominator u+2. Expand the integral \int\left(\frac{u}{u+2}+\frac{-4}{u+2}\right)du into 2 integrals using the sum rule for integrals, to then solve each integral separately. Rewrite the fraction \frac{u}{u+2} inside the integral as the product of two functions: u\frac{1}{u+2}. We can solve the integral \int u\frac{1}{u+2}du by applying integration by parts method to calculate the integral of the product of two functions, using the following formula.