Calculus · real student question

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

Question

Find the indefinite integral x43x2+5xdx.\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. x43x2+5x=x4x3x2x+5x=x33x+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. x3dx=x44\displaystyle\int x^3\,dx=\frac{x^4}{4} and 3xdx=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 5xdx=5lnx\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. x43x2+5xdx=x443x22+5lnx+C.\int\frac{x^4-3x^2+5}{x}\,dx=\frac{x^4}{4}-\frac{3x^2}{2}+5\ln|x|+C. Differentiating gives x33x+5xx^3-3x+\frac5x, which is exactly the simplified integrand, so the answer checks out.

Answer

x443x22+5lnx+C\frac{x^4}{4}-\frac{3x^2}{2}+5\ln|x|+C

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