Common Integration Mistakes and How to Check Your Answer

Most wrong answers in integration come from a small set of repeated slips: a missing constant, a lost sign, a forgotten factor. The good news is that every integration answer can be verified, so you never have to wonder whether you got it right. This article lists the eight most common mistakes, shows the wrong and the correct version of each, and then explains three ways to check a result. You can also test any answer in the integral calculator, which solves indefinite and definite integrals step by step.

If you want the full method first, start with How to Solve Integrals Step by Step.

Eight Common Integration Mistakes

1. Forgetting the + C

An indefinite integral is a family of functions, not a single one. Every antiderivative can be shifted by a constant without changing its derivative.

Wrong:

\int 2x\,dx = x^2

Right:

\int 2x\,dx = x^2 + C

This mistake costs points on almost every exam. Make “+ C” part of the last line of every indefinite integral, even before you simplify anything else.

2. Losing a sign

The derivatives of sine and cosine have opposite signs, so the integrals do too.

Wrong:

\int \sin x\,dx = \cos x + C

Right:

\int \sin x\,dx = -\cos x + C

Check: \dfrac{d}{dx}(\cos x) = -\sin x, so \cos x is not an antiderivative of \sin x, but -\cos x is. The same care is needed with \int \cos x\,dx = \sin x + C, which has no minus sign.

3. Ignoring the chain rule in reverse

When the inside of a function is 3x instead of x, differentiating the answer would produce an extra factor of 3. You have to compensate for it.

Wrong:

\int \cos(3x)\,dx = \sin(3x) + C

Right:

\int \cos(3x)\,dx = \frac{1}{3}\sin(3x) + C

Check: \dfrac{d}{dx}\sin(3x) = 3\cos(3x), which is three times too large. Dividing by 3 fixes it.

4. Applying the power rule to 1/x

The rule \int x^n\,dx = \frac{x^{n+1}}{n+1} + C works for every n except n = -1, where the denominator would be zero. That case has its own formula.

Wrong:

\int \frac{1}{x}\,dx = \frac{x^0}{0} + C

Right:

\int \frac{1}{x}\,dx = \ln|x| + C

The absolute value matters because \frac{1}{x} is defined for negative x as well. The inside of the function matters too:

\int \frac{1}{2x+1}\,dx = \frac{1}{2}\ln|2x+1| + C

5. Evaluating the limits in the wrong order

For a definite integral, you subtract the antiderivative at the lower limit from its value at the upper limit: F(b) - F(a).

Wrong:

\int_1^3 2x\,dx = F(1) - F(3) = 1 - 9 = -8

Right:

\int_1^3 2x\,dx = \Big[x^2\Big]_1^3 = 9 - 1 = 8

A quick sanity check: the integrand 2x is positive on [1, 3], so the integral must be positive. A negative answer signals a mistake right away. A related slip is to plug in only the upper limit and forget to subtract the lower one.

6. Not changing the limits after a substitution

When you substitute u = g(x) in a definite integral, the limits belong to x and must be converted to u. Otherwise you integrate over the wrong interval.

Take \displaystyle\int_0^2 2x\,(x^2+1)^3\,dx with u = x^2 + 1, so du = 2x\,dx. The limits become u(0) = 1 and u(2) = 5.

Wrong (limits left as 0 and 2):

\int_0^2 u^3\,du = \left[\frac{u^4}{4}\right]_0^2 = 4

Right:

\int_1^5 u^3\,du = \left[\frac{u^4}{4}\right]_1^5 = \frac{625 - 1}{4} = 156

The alternative is to go back to x before using the limits. Either approach works, but you cannot mix them. More on this in Integration by Substitution.

7. Choosing a substitution that does not fit

A substitution only works if the leftover pieces of the integrand match du. If they do not, the substitution does not simplify anything.

Wrong: to compute \int e^{x^2}\,dx, set u = x^2 and write

\int e^{x^2}\,dx = \int e^u\,du = e^{x^2} + C

This ignores the fact that du = 2x\,dx, and there is no x in the integrand to absorb. Differentiating the “answer” gives 2x\,e^{x^2}, not e^{x^2}. In fact, e^{x^2} has no antiderivative expressible in elementary functions, so no choice of substitution will produce a closed form here.

Before substituting, ask: does the derivative of my u appear in the integrand, up to a constant? If not, try another method. How to Choose an Integration Method walks through this decision.

8. Dropping a constant factor

This is the most frequent substitution slip. After setting u = x^2 and du = 2x\,dx, the integrand x\,dx is only half of du.

Wrong:

\int x\,e^{x^2}\,dx = e^{x^2} + C

Right:

\int x\,e^{x^2}\,dx = \frac{1}{2}\int e^u\,du = \frac{1}{2}e^{x^2} + C

Check: \dfrac{d}{dx}\left(\frac12 e^{x^2}\right) = \frac12 \cdot 2x\,e^{x^2} = x\,e^{x^2}. ✓

A summary of the eight mistakes:

# Mistake Quick test
1 Missing +C Is there a C in every indefinite answer?
2 Lost sign Differentiate the answer
3 Missing inner-derivative factor Differentiate: is there an extra factor?
4 Power rule on \frac1x Is the exponent -1? Use \ln|x|
5 Limits in wrong order Is the sign of the result plausible?
6 Limits not converted Are the limits in the same variable as the integrand?
7 Substitution does not fit Does du appear in the integrand?
8 Dropped constant factor Differentiate the answer

Checking by Differentiation

Integration is the reverse of differentiation, so the most reliable check is to differentiate your answer. If you get back the original integrand, the answer is correct. The steps:

  1. Write down your antiderivative F(x).
  2. Differentiate it, using the product or chain rule where needed.
  3. Simplify the result.
  4. Compare with the original integrand. They must be identical. The constant C disappears when you differentiate, so it does not affect the check.

Here is a worked example. Compute \int x\cos x\,dx using Integration by Parts with u = x and dv = \cos x\,dx, so du = dx and v = \sin x:

\int x\cos x\,dx = x\sin x - \int \sin x\,dx = x\sin x + \cos x + C

Now differentiate the result with the product rule:

\frac{d}{dx}\big(x\sin x + \cos x\big) = \sin x + x\cos x - \sin x = x\cos x

This is exactly the integrand, so the answer is correct.

Suppose instead you made a sign error in the second step and wrote x\sin x - \cos x + C. The check exposes it immediately:

\frac{d}{dx}\big(x\sin x - \cos x\big) = \sin x + x\cos x + \sin x = x\cos x + 2\sin x

The extra 2\sin x shows that the answer is wrong, and it also hints where the error is: a sign in the \sin x part.

You can check this step by step in the integral calculator.

Numerical Check for Definite Integrals

A definite integral is a number, so you can estimate it independently and see whether your exact answer is in the right range. This will not prove the answer is correct, but it catches large errors quickly.

Take \displaystyle\int_0^{\pi/2} x\cos x\,dx. Using the antiderivative from above:

\Big[x\sin x + \cos x\Big]_0^{\pi/2} = \left(\frac{\pi}{2}\cdot 1 + 0\right) - (0 + 1) = \frac{\pi}{2} - 1 \approx 0.5708

Now estimate the same integral with the trapezoid rule using n = 4 strips of width h = \frac{\pi}{8} \approx 0.3927. The values of f(x) = x\cos x at the five points are:

x 0 \pi/8 \pi/4 3\pi/8 \pi/2
f(x) 0 0.3628 0.5554 0.4508 0

T_4 = h\left(\frac{0}{2} + 0.3628 + 0.5554 + 0.4508 + \frac{0}{2}\right) \approx 0.3927 \cdot 1.3690 \approx 0.538

The estimate 0.538 is close to 0.5708. It is slightly low because the curve bends downward, so the trapezoids sit under it. More strips would bring the two numbers closer.

Now compare with the wrong antiderivative x\sin x - \cos x:

\Big[x\sin x - \cos x\Big]_0^{\pi/2} = \frac{\pi}{2} - (-1) = \frac{\pi}{2} + 1 \approx 2.571

This is nowhere near 0.538, so the numerical check would have flagged the error even without differentiating.

Two simple sanity checks help as well. If the integrand is positive on the interval, the result must be positive. And the result cannot exceed the maximum of the integrand times the interval length. Here x\cos x never exceeds about 0.56 on an interval of length \frac{\pi}{2} \approx 1.57, so the integral is below 0.88.

You can check this step by step in the integral calculator.

Using the Calculator’s Check Feature

Hand checks are the best way to build skill, but they take time. The integral calculator can help in two ways. First, it can check your answer: you solve the integral yourself, then compare your result with the calculator’s. Second, if the two differ, the step-by-step solution lets you find the line where your work went wrong, instead of redoing everything. The graph is also useful as a visual sanity check on the sign and size of a definite integral.

For example, the integral from mistake 6:

\int_0^2 2x\,(x^2+1)^3\,dx = 156

You can run this one in the integral calculator and compare each step with the substitution above. If your own work gave 4, you will see right away that the limits were not converted.

A good habit is to use the calculator after you have finished by hand, not before. Then it works as a teacher marking your work rather than a shortcut.

A Short Checklist

Before you submit any integration answer, run through this list:

Most errors show up in the first two checks. If you are unsure which method to use in the first place, read How to Choose an Integration Method and keep How to Solve Integrals Step by Step as your reference.