Find
Split by linearity and pull the constants out.
The domain is , and the antiderivative is valid separately on and .
First term: the one case the power rule cannot handle. Writing , the rule would divide by . So is the exception, handled by the logarithm:
The absolute value is what keeps this valid for negative . The first term therefore contributes .
Second term: the power rule applies normally. Here and :
so .
Apply the leading minus sign. The integrand subtracts that second piece:
The sign flip is the step most often dropped — the answer has , not .
Combine into a single antiderivative.
Two similar-looking terms produce two entirely different function types — a logarithm and a rational term.
Verify by differentiating. ✓. Numerically, symmetric difference quotients at match the integrand to five digits ✓, including a negative .
Need to solve a different problem like this? Open the solver →