Skip to content

Why do you add + C to an indefinite integral

You add +C because integration can only determine a function up to an arbitrary constant; the constant records all possible antiderivatives that share the same derivative. Without it the answer would incorrectly appear unique, and later conditions could not be satisfied.

Calculus · Integration


An indefinite integral asks for a function whose derivative equals the given integrand. Because differentiation erases any constant term, many different functions share the same derivative. The symbol +C records that whole family of possible antiderivatives. Without +C, two antiderivatives that differ by a constant would be treated as different, contradicting the definition of an indefinite integral.

Why a constant appears

When you differentiate F(x)+CF(x)+C, the constant disappears: ddx[F(x)+C]=F(x)\frac{d}{dx}[F(x)+C]=F'(x). Therefore, reversing the process—integrating—cannot recover the original constant; it can only produce one representative plus an unknown offset. Adding +C tells you that any real number could be added without changing the derivative, so the answer is not a single function but an entire set. In practical terms, the constant allows you to fit the antiderivative to any known point on the original function, turning a vague family into a precise solution.

Connection to definite integrals: A definite integral abf(x)dx\int_a^b f(x)dx is evaluated by finding any antiderivative F(x)+CF(x)+C and computing F(b)F(a)F(b)-F(a). The constant CC cancels out, which is why it is unnecessary in the final numeric result. This cancellation explains why the constant is omitted in definite‑integral formulas but must be written for indefinite integrals.

Common situations where the constant matters:

  • Solving initial‑value problems
  • Matching boundary conditions in physics
  • Finding particular solutions of differential equations
  • Comparing two antiderivatives to see if they differ only by a constant

How to include +C in your work:

  1. 1Perform the antiderivative calculation ignoring constants
  2. 2Append +C at the end of the expression
  3. 3If extra information (e.g., a point) is given, solve for C by substitution

Example: Integrating simple powers

FunctionAntiderivative
x2x^2x33+C\frac{x^3}{3}+C
2x2xx2+Cx^2+C

Worked example: Compute 3xdx\int 3x\,dx. Ignoring the constant gives 3x22\frac{3x^2}{2}. Adding the constant yields 3x22+C\frac{3x^2}{2}+C. If the problem states that the antiderivative passes through (1,5)(1,5), substitute to find 5=32+C5=\frac{3}{2}+C, so C=72C=\frac{7}{2}. The final antiderivative is 3x22+72\frac{3x^2}{2}+\frac{7}{2}. If you later differentiate this result, the constant vanishes, confirming that the original integrand was recovered.

Check yourself

What does the +C represent in an indefinite integral?

Get this as a lesson built for you

Describe what you are studying and Lernex writes the lesson and the questions around it. Free, and it takes about a minute.

Try it

No account needed to try it.

What people ask next