Indefinite Integral

The indefinite integral finds all functions whose derivative equals a given function, expressed as an antiderivative plus an arbitrary constant.

f(x)dx=F(x)+C,F(x)=f(x)\int f(x)\,dx = F(x) + C, \quad F'(x) = f(x)

Solve a problem with Indefinite Integral

Type the problem. The solver will use Indefinite Integral where Indefinite Integral is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Indefinite Integral takes
ff
FF
xx
CC
Indefinite Integral
SymbolMeaning
ffThe integrand—the function you are finding the antiderivative for; if misread as the antiderivative itself, you would confuse what you're starting with versus what you're looking for.
FFThe antiderivative—the function whose derivative is f(x)f(x); confusing it with ff reverses the entire problem.
xxThe variable of integration, indicating what quantity the rate of change is with respect to; changing which letter you use as the variable changes what the antiderivative represents.
CCThe arbitrary constant of integration, accounting for the fact that derivatives of constants are zero; omitting it means missing infinitely many valid antiderivatives.

When to use it

Use the indefinite integral when you need to find all antiderivatives of a function.

Level

Usually taught in: Calculus I

Worked examples

1. Integrate a simple power

Problem

Find 3x2dx\int 3x^2 dx.
  1. 3x2dx=3x2dx\int 3x^2 dx = 3 \int x^2 dx

    Factor out the constant 3 using the constant multiple rule for integrals.

  2. =3x33+C= 3 \cdot \frac{x^{3}}{3} + C

    Apply the power rule: xndx=xn+1n+1+C\int x^n dx = \frac{x^{n+1}}{n+1} + C, with n=2n = 2.

  3. =x3+C= x^3 + C

    Simplify by multiplying 3x33=x33 \cdot \frac{x^3}{3} = x^3.

Answer: x3+Cx^3 + C

This uses the power rule directly because x2x^2 is a single power term. We factor out the constant 3, apply the rule to get x3/3x^3/3, multiply back by 3 to get x3x^3, then add the constant of integration.

2. Integrate with fractions and mixed terms

Problem

Find (5x22x3+4)dx\int \left(5x^2 - \frac{2}{x^3} + 4\right) dx.
  1. (5x22x3+4)dx\int \left(5x^2 - 2x^{-3} + 4\right) dx

    Rewrite the fraction 2x3\frac{2}{x^3} as 2x32x^{-3} so that the power rule applies to all terms.

  2. =5x2dx2x3dx+4dx= 5 \int x^2 dx - 2 \int x^{-3} dx + 4 \int dx

    Split the integral into three terms using the linearity (sum rule) of integration.

  3. =5x332x22+4x+C= 5 \cdot \frac{x^3}{3} - 2 \cdot \frac{x^{-2}}{-2} + 4x + C

    Apply the power rule to each term: for x2x^2 we get x33\frac{x^3}{3}, for x3x^{-3} we get x22\frac{x^{-2}}{-2}, and for 11 (the constant) we get xx.

  4. =5x33+x2+4x+C= \frac{5x^3}{3} + x^{-2} + 4x + C

    Simplify: 5x33=5x335 \cdot \frac{x^3}{3} = \frac{5x^3}{3} and 2x22=x2-2 \cdot \frac{x^{-2}}{-2} = x^{-2} (the negatives cancel).

Answer: 5x33+x2+4x+C\frac{5x^3}{3} + x^{-2} + 4x + C

This problem combines polynomial, fractional, and constant terms. Rewriting fractions as negative exponents lets us apply the power rule uniformly. The middle term demonstrates care with signs: when you divide x3x^{-3} by 2-2 (the new exponent plus 1), the negative signs work out to give a positive x2x^{-2} term.

3. Find total items prepared at a school bake sale

Problem

At a school bake sale, cupcakes are frosted at a rate of r(t)=15t+12r(t) = 15t + 12 cupcakes per hour, where tt is time in hours. If no cupcakes were frosted at t=0t = 0, how many cupcakes have been frosted after tt hours?
  1. N(t)=(15t+12)dtN(t) = \int (15t + 12) dt

    To find the total number of cupcakes frosted (accumulated quantity) from the rate, integrate the rate function.

  2. =15t22+12t+C= 15 \cdot \frac{t^2}{2} + 12t + C

    Apply the power rule to 15t15t (which is 15t115t^1) to get 15t2215 \cdot \frac{t^2}{2}, and to the constant 1212 to get 12t12t.

  3. =15t22+12t+C= \frac{15t^2}{2} + 12t + C

    Simplify the first term: 15t22=15t2215 \cdot \frac{t^2}{2} = \frac{15t^2}{2}.

  4. N(0)=15022+120+C=C, so C=0N(0) = \frac{15 \cdot 0^2}{2} + 12 \cdot 0 + C = C, \text{ so } C = 0

    Apply the initial condition that N(0)=0N(0) = 0 (no cupcakes frosted at time zero) to solve for CC.

Answer: N(t)=15t22+12tN(t) = \frac{15t^2}{2} + 12t

The indefinite integral accumulates a rate to find total quantity, which is perfect for a real-world scenario like a bake sale. The arbitrary constant CC represents how many cupcakes were already done before counting began. Here it is zero. If 2020 cupcakes had already been frosted, the answer would be 15t22+12t+20\frac{15t^2}{2} + 12t + 20, illustrating why we must include +C+ C unless an initial condition pins it down.

Common mistakes

Where Indefinite Integral usually goes wrong
Answer came out wrong
3x2dx=x3\int 3x^2 dx = x^3
Write 3x2dx=x3+C\int 3x^2 dx = x^3 + C to represent the entire family of antiderivatives.
x3dx=x4+C\int x^3 dx = x^4 + C
x3dx=x44+C\int x^3 dx = \frac{x^4}{4} + C
5x2dx=5x3+C\int 5x^2 dx = 5x^3 + C
5x2dx=5x33+C\int 5x^2 dx = \frac{5x^3}{3} + C
The mistakeWhy it is wrongThe fix
3x2dx=x3\int 3x^2 dx = x^3Leaving off the constant +C+ C gives an incomplete answer, because any two antiderivatives differ only by a constant.Write 3x2dx=x3+C\int 3x^2 dx = x^3 + C to represent the entire family of antiderivatives.
x3dx=x4+C\int x^3 dx = x^4 + CThe power rule requires you to divide by the new exponent n+1=4n + 1 = 4; forgetting this division loses a factor of 14\frac{1}{4}.x3dx=x44+C\int x^3 dx = \frac{x^4}{4} + C
5x2dx=5x3+C\int 5x^2 dx = 5x^3 + CAfter raising x2x^2 to the power x3x^3, you must divide by 33; the coefficient 55 gets divided too, giving 5x33\frac{5x^3}{3}, not 5x35x^3.5x2dx=5x33+C\int 5x^2 dx = \frac{5x^3}{3} + C

Tips and when to use something else

  • Always include +C+ C at the end: it represents the entire family of antiderivatives, not a single function.
  • The power rule fails for 1xdx\int \frac{1}{x} dx because dividing by n+1=0n+1 = 0 is undefined; use the logarithm rule 1xdx=lnx+C\int \frac{1}{x} dx = \ln|x| + C instead.
  • Verify your answer by differentiating: if ddx[F(x)+C]\frac{d}{dx}[F(x) + C] equals the original integrand f(x)f(x), you are correct.
  • For integrals of exe^x, sine, cosine, or other special functions, use their dedicated rules rather than trying to force the power rule.

Frequently asked questions

Why do we add +C+ C to every indefinite integral?
Because the derivative of any constant is zero, infinitely many different functions can have the same derivative. For example, both x3+5x^3 + 5 and x3100x^3 - 100 have derivative 3x23x^2. Writing +C+ C captures all of them at once.
Is the indefinite integral the same as the antiderivative?
Essentially, yes. The indefinite integral is the general notation for finding all antiderivatives of a function; it is what you get when you reverse the process of differentiation.
What is the difference between an indefinite and a definite integral?
An indefinite integral (this page) produces a family of functions and includes +C+ C; a definite integral has upper and lower limits and gives a single number. The Fundamental Theorem of Calculus connects the two.
What do I do if I cannot find an antiderivative?
Not every function has an antiderivative in elementary form. Try techniques like uu-substitution or integration by parts; if those do not work, use numerical methods or a computer algebra system to approximate or verify the integral.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18