Mathwords logoMathwords

Constant of Integration — Definition, Formula & Examples

The constant of integration, written as +C+ C, is an arbitrary constant added to every indefinite integral. It accounts for the fact that infinitely many functions can share the same derivative.

If F(x)F(x) is an antiderivative of f(x)f(x), then the most general antiderivative is F(x)+CF(x) + C, where CRC \in \mathbb{R}. The constant CC arises because the derivative of any constant is zero, so differentiation erases information about vertical shifts.

Key Formula

f(x)dx=F(x)+C\int f(x)\,dx = F(x) + C
Where:
  • f(x)f(x) = The function being integrated (the integrand)
  • F(x)F(x) = A particular antiderivative of f(x)
  • CC = An arbitrary real constant

How It Works

When you compute an indefinite integral, you reverse differentiation. Since the derivative of a constant is zero, there is no way to recover a specific constant from the derivative alone. For example, x2x^2, x2+5x^2 + 5, and x23x^2 - 3 all have the same derivative 2x2x. Writing 2xdx=x2+C\int 2x\,dx = x^2 + C captures every possible antiderivative at once. If you are given an initial condition such as f(0)=7f(0) = 7, you can solve for the specific value of CC.

Worked Example

Problem: Find the general antiderivative of f(x)=3x2f(x) = 3x^2, then determine the specific antiderivative satisfying f(1)=4f(1) = 4 where ff denotes the antiderivative.
Step 1: Apply the power rule for integration.
3x2dx=x3+C\int 3x^2\,dx = x^3 + C
Step 2: Use the initial condition F(1)=4F(1) = 4 to solve for CC.
13+C=4    C=31^3 + C = 4 \implies C = 3
Step 3: Write the specific antiderivative.
F(x)=x3+3F(x) = x^3 + 3
Answer: The general antiderivative is x3+Cx^3 + C. With the condition F(1)=4F(1) = 4, the specific antiderivative is F(x)=x3+3F(x) = x^3 + 3.

Why It Matters

In differential equations, the constant of integration is how initial or boundary conditions enter the solution. Forgetting +C+ C means you find only one solution when a whole family exists — this matters in physics problems like finding position from acceleration, where the constant encodes the starting position or velocity.

Common Mistakes

Mistake: Omitting +C+ C in indefinite integrals.
Correction: Always include +C+ C for indefinite integrals. Definite integrals evaluate to a number, so no +C+ C is needed there — but indefinite integrals represent a family of functions, and the constant captures that.