Stuck on this? Solve it with AI
Calculus · real student question

Find the indefinite integral of (x^4 - 3x^2 + 5)/x with respect to x.

Question

Find the indefinite integral ∫x4−3x2+5x dx.\int\frac{x^4-3x^2+5}{x}\,dx.

Step-by-step solution

  1. Do not reach for substitution. A single monomial denominator means the fraction splits cleanly, and splitting first turns one awkward quotient into three standard integrals. Substitution or parts would both be wasted effort here.

  2. Divide each numerator term by xx. x4−3x2+5x=x4x−3x2x+5x=x3−3x+5x.\frac{x^4-3x^2+5}{x}=\frac{x^4}{x}-\frac{3x^2}{x}+\frac5x=x^3-3x+\frac5x.

  3. Apply the power rule to the polynomial part. ∫x3 dx=x44\displaystyle\int x^3\,dx=\frac{x^4}{4} and ∫−3x dx=−3x22\displaystyle\int -3x\,dx=-\frac{3x^2}{2}.

  4. Handle the 5/x5/x term with the log rule. The power rule fails at exponent −1-1, so instead ∫5x dx=5ln⁡∣x∣\displaystyle\int\frac5x\,dx=5\ln|x|. The absolute value matters because the original integrand is defined for negative xx too.

  5. Assemble and verify by differentiating. ∫x4−3x2+5x dx=x44−3x22+5ln⁡∣x∣+C.\int\frac{x^4-3x^2+5}{x}\,dx=\frac{x^4}{4}-\frac{3x^2}{2}+5\ln|x|+C. Differentiating gives x3−3x+5xx^3-3x+\frac5x, which is exactly the simplified integrand, so the answer checks out.

Answer

x44−3x22+5ln⁡∣x∣+C\frac{x^4}{4}-\frac{3x^2}{2}+5\ln|x|+C

Need to solve a different problem like this? Open the solver →