Final Answer
Step-by-step Solution
Specify the solving method
Expand the fraction $\frac{x+4}{x+2}$ into $2$ simpler fractions with common denominator $x+2$
Learn how to solve integrals of rational functions problems step by step online.
$\int\left(\frac{x}{x+2}+\frac{4}{x+2}\right)dx$
Learn how to solve integrals of rational functions problems step by step online. Find the integral int((x+4)/(x+2))dx. Expand the fraction \frac{x+4}{x+2} into 2 simpler fractions with common denominator x+2. Expand the integral \int\left(\frac{x}{x+2}+\frac{4}{x+2}\right)dx into 2 integrals using the sum rule for integrals, to then solve each integral separately. The integral \int\frac{x}{x+2}dx results in: x+2-2\ln\left(x+2\right). Gather the results of all integrals.