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