Final answer to the problem
Step-by-step Solution
Specify the solving method
Find the integral
Learn how to solve integral calculus problems step by step online.
$\int\frac{x-1}{x+2}dx$
Learn how to solve integral calculus problems step by step online. Find the integral of f(x)=(x-1)/(x+2). Find the integral. Expand the fraction \frac{x-1}{x+2} into 2 simpler fractions with common denominator x+2. Expand the integral \int\left(\frac{x}{x+2}+\frac{-1}{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).