Antiderivatives: Rules, Formulas & Examples

#Calculus
TL;DR
An antiderivative of a function $f$ is a function $F$ whose derivative gives $f$ back, that is $F'(x) = f(x)$. Every function has a whole family of antiderivatives that differ only by a constant, written $F(x) + C$, and the indefinite integral $\int f(x),dx = F(x) + C$ is the name for that family. Finding an antiderivative is differentiation run in reverse, so you can always check an answer by differentiating it and seeing the original function reappear.
BT
Bhanzu TeamLast updated on September 22, 202612 min read

What Is An Antiderivative?

An antiderivative of a function $f$ is a function $F$ such that $F'(x) = f(x)$ for every $x$ in the interval where $f$ is defined. In words, $F$ is a function whose slope at each point is the value the original function $f$ gives there. Because differentiation and antidifferentiation are opposite processes, an antiderivative is simply a derivative worked backwards.

Take $f(x) = 2x$. A function whose derivative is $2x$ is $F(x) = x^2$, since $F'(x) = 2x$. So $x^2$ is an antiderivative of $2x$.

But $x^2$ is not the only one. The function $x^2 + 7$ also has derivative $2x$, and so does $x^2 - 3$, because the derivative of any constant is zero. This is the central fact of the topic:

$$\text{If } F'(x) = f(x), \text{ then } F(x) + C \text{ is an antiderivative of } f \text{ for every constant } C.$$

The number $C$ is called the constant of integration, and $F(x) + C$ is the general antiderivative of $f$. Whenever you find one antiderivative, you have found all of them at once, stacked as a family that differs only by a vertical shift.

What Is The Indefinite Integral?

The indefinite integral is the notation and the name for the general antiderivative. Writing it out:

$$\int f(x),dx = F(x) + C \qquad \text{where } F'(x) = f(x)$$

The symbol $\int$ is the integral sign, $f(x)$ is the integrand (the function being antidifferentiated), and $dx$ marks the variable you are working in. The result is not a single function but the entire family $F(x) + C$, which is why the $+C$ is mandatory every time.

For example:

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

Read that as "the collection of all functions whose derivative is $2x$." A fuller treatment of the integral sign and its rules lives at integration, and the reverse operation is covered at derivative.

How Do You Find An Antiderivative?

To find an antiderivative, ask a single question at each term: what function, when differentiated, produces this? A small set of rules answers that question for the functions you meet most often. Each rule below is the matching derivative rule read from right to left.

The power rule for antiderivatives. For any power $x^n$ with $n \neq -1$:

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

Raise the exponent by one, then divide by the new exponent. Differentiating the answer returns $\frac{(n+1)x^{n}}{n+1} = x^n$, which confirms the rule.

The exponent $n = -1$ is the one case the power rule cannot touch, because it would divide by zero. That single case has its own rule:

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

The absolute value covers negative $x$, and differentiating $\ln|x|$ returns $\frac{1}{x}$. The logarithm behind this rule is explained at logarithmic functions.

The exponential and trigonometric rules. These three are worth memorising because they appear constantly:

$$\int e^x,dx = e^x + C \qquad \int \sin x,dx = -\cos x + C \qquad \int \cos x,dx = \sin x + C$$

The sign on the sine rule is the one students lose most often. Differentiating $-\cos x$ gives $-(-\sin x) = \sin x$, so the minus sign genuinely belongs there. The matching derivatives of the trig functions are set out at differentiation of trigonometric functions.

The two combining rules let you break any sum apart and pull constants outside:

  • Constant multiple: $\int k,f(x),dx = k\int f(x),dx$. A constant factor rides straight through the integral.

  • Sum and difference: $\int \big(f(x) \pm g(x)\big),dx = \int f(x),dx \pm \int g(x),dx$. Antidifferentiate term by term.

Together these rules cover every polynomial, every simple exponential, and the basic trig functions. The power rule connects directly to how exponents behave.

What Are The Basic Antiderivative Rules? (Reference Table)

Keep this table beside you while you work. The right-hand column is the general antiderivative, and every $+C$ is part of the answer.

Table: The core antiderivative rules, with the answer checked by differentiating it back.

Function $f(x)$

Antiderivative $\int f(x),dx$

Check ($\frac{d}{dx}$ of the answer)

$x^n$ (with $n \neq -1$)

$\dfrac{x^{n+1}}{n+1} + C$

$x^n$

$\dfrac{1}{x}$

$\ln\lvert x\rvert + C$

$\dfrac{1}{x}$

$k$ (a constant)

$kx + C$

$k$

$e^x$

$e^x + C$

$e^x$

$\sin x$

$-\cos x + C$

$\sin x$

$\cos x$

$\sin x + C$

$\cos x$

$k,f(x)$

$k,F(x) + C$

$k,f(x)$

$f(x) + g(x)$

$F(x) + G(x) + C$

$f(x) + g(x)$

The final column is the habit worth building: after every antiderivative, differentiate your answer. If the original function reappears, the antiderivative is correct.

How Do You Antidifferentiate A Polynomial? (Worked Examples)

Example 1: Find $\int (3x^2 + 4x - 5),dx$.

Apply the power rule to each term and pull the constants through:

$$\int (3x^2 + 4x - 5),dx = 3\cdot\frac{x^3}{3} + 4\cdot\frac{x^2}{2} - 5x + C$$

$$= x^3 + 2x^2 - 5x + C$$

Check by differentiating: $\frac{d}{dx}\big(x^3 + 2x^2 - 5x + C\big) = 3x^2 + 4x - 5$, the original integrand.

Final answer: $x^3 + 2x^2 - 5x + C$.

Example 2: Find $\int \sqrt{x},dx$.

Rewrite the root as a power, then apply the power rule with $n = \tfrac{1}{2}$:

$$\int \sqrt{x},dx = \int x^{1/2},dx = \frac{x^{3/2}}{3/2} + C = \frac{2}{3}x^{3/2} + C$$

Check: $\frac{d}{dx}\big(\tfrac{2}{3}x^{3/2} + C\big) = \tfrac{2}{3}\cdot\tfrac{3}{2}x^{1/2} = x^{1/2} = \sqrt{x}$.

Final answer: $\frac{2}{3}x^{3/2} + C$.

Example 3: Find $\int \Big(2\cos x + \frac{6}{x}\Big),dx$.

Split the sum, pull the constants out, and use the cosine and reciprocal rules:

$$\int \Big(2\cos x + \frac{6}{x}\Big),dx = 2\sin x + 6\ln|x| + C$$

Check: $\frac{d}{dx}\big(2\sin x + 6\ln|x| + C\big) = 2\cos x + \frac{6}{x}$.

Final answer: $2\sin x + 6\ln|x| + C$.

How Do You Solve An Initial-Value Problem?

The general antiderivative carries an unknown $C$, so on its own it names a whole family of curves. An initial-value problem hands you one extra fact, the value of $F$ at a single point, and that fact pins down $C$ to a single number and selects one curve from the family.

Example 4: Find $F(x)$ given $F'(x) = 3x^2 - 2$ and $F(1) = 4$.

First take the general antiderivative:

$$F(x) = \int (3x^2 - 2),dx = x^3 - 2x + C$$

Now use the initial condition $F(1) = 4$ to solve for $C$:

$$F(1) = (1)^3 - 2(1) + C = -1 + C = 4 \quad\Longrightarrow\quad C = 5$$

So the one curve that fits is:

$$F(x) = x^3 - 2x + 5$$

Check both facts: $F'(x) = 3x^2 - 2$ matches the derivative, and $F(1) = 1 - 2 + 5 = 4$ matches the point.

Final answer: $F(x) = x^3 - 2x + 5$.

This is exactly how physics recovers motion. If you know an object's velocity $v(t)$ and its position at one instant, antidifferentiating $v(t)$ and using that one position fixes $C$, giving the position at every instant.

What Is The Difference Between An Antiderivative And A Definite Integral?

These two ideas share the integral sign but are different kinds of object, and mixing them up is one of the most common confusions in a first calculus course.

Table: Indefinite integral (antiderivative) compared with the definite integral.

Indefinite integral / antiderivative

Definite integral

Notation

$\int f(x),dx$

$\int_a^b f(x),dx$

Result

A family of functions, $F(x) + C$

A single number

Meaning

Every function whose derivative is $f$

The signed area under $f$ from $a$ to $b$

Role of $C$

Always present

Cancels out, so no $+C$

The two are linked by the Fundamental Theorem of Calculus, which evaluates a definite integral using any antiderivative: $\int_a^b f(x),dx = F(b) - F(a)$. The constant $C$ cancels in the subtraction, which is why a definite integral needs no $+C$ while an antiderivative always does. The method for definite integrals, including integration by parts, is developed at integration of uv.

Why Do Antiderivatives Differ Only By A Constant?

It is easy to accept that adding a constant does not change a derivative. The deeper claim is the reverse: that every antiderivative of $f$ has this form, with no other freedom hiding anywhere. That claim needs a reason, and the reason is the Mean Value Theorem.

  • The setup. Suppose $F$ and $G$ are both antiderivatives of the same $f$ on an interval. Then their difference $H(x) = F(x) - G(x)$ has derivative $H'(x) = f(x) - f(x) = 0$ at every point.

  • The key step. A function whose derivative is zero everywhere on an interval must be constant there. The Mean Value Theorem guarantees this, because any change in $H$ over the interval would force a nonzero slope somewhere, which cannot happen.

  • The conclusion. So $H(x) = C$ for some constant, meaning $F(x) = G(x) + C$. Two antiderivatives of the same function can differ by nothing more than a constant.

Geometrically, the family $F(x) + C$ is a stack of identical curves shifted straight up and down. At any fixed $x$ they all have the same slope, which is the value $f(x)$, so they all share the same derivative. The $+C$ is precisely the vertical position that a single derivative can never tell you, which is why an initial condition is needed to recover it.

Who Invented Antiderivatives And Integration?

Antidifferentiation was born alongside the derivative in the 1660s to 1680s, as two people working separately built the whole machinery of calculus and then argued for decades over who did it first.

Two more figures shaped what an antiderivative means today:

  • Augustin-Louis Cauchy (1789–1857, France) gave integration its rigorous modern footing, defining the integral carefully rather than as a vague reverse of differentiation.

  • Bernhard Riemann (1826–1866, Germany) built the definite integral as a limit of sums, sharpening exactly which functions can be integrated at all.

The broad story of the subject is collected at calculus.

Where Are Antiderivatives Used In The Real World?

Reversing a derivative is how you recover a total from a rate, and rates are everywhere.

  • Physics and motion: antidifferentiating acceleration gives velocity, and antidifferentiating velocity gives position, which is how trajectories of rockets, cars, and satellites are computed.

  • Engineering: the deflection of a loaded beam is found by antidifferentiating the bending along its length, twice.

  • Economics: given a marginal-cost or marginal-revenue function (a rate per extra unit), the antiderivative reconstructs the total cost or total revenue.

  • Biology and medicine: from a rate of drug absorption or population growth, the antiderivative gives the accumulated amount over time.

  • Computer graphics and simulation: physics engines antidifferentiate acceleration each frame to move objects realistically under gravity and forces.

One idea, undoing a rate to recover a total, links falling objects, bending beams, business ledgers, and animated worlds. That reach is why antiderivatives sit at the base of every applied calculus course.

What Are The Most Common Mistakes With Antiderivatives?

These four errors account for most lost marks, verified against MIT OpenCourseWare 18.01SC, university antiderivative worksheets from Michigan State and Purdue, and the recurring antiderivative-versus-integral confusion raised on Quora.

Forgetting the $+C$.

Where it slips in:

A student writes $\int 2x,dx = x^2$ and stops, treating the antiderivative as a single function.

Don't do this:

Do not drop the constant. Without it the answer names only one curve out of an infinite family, and an initial-value problem becomes impossible to solve.

The correct way:

Write $\int 2x,dx = x^2 + C$ every time, then use any given condition to find $C$.

Using the power rule when $n = -1$.

Where it slips in:

A student applies $\frac{x^{n+1}}{n+1}$ to $\frac{1}{x} = x^{-1}$, producing $\frac{x^0}{0}$, which divides by zero.

Don't do this:

Do not force the power rule onto $x^{-1}$. The rule is stated for $n \neq -1$ precisely because this term is the exception.

The correct way:

Use the special case $\int \frac{1}{x},dx = \ln|x| + C$, the one antiderivative the power rule cannot produce.

Losing the sign on $\int \sin x,dx$.

Where it slips in:

A student writes $\int \sin x,dx = \cos x + C$, copying the pattern of the cosine rule without the minus.

Don't do this:

Do not assume sine and cosine antidifferentiate symmetrically. The signs are not the same in both directions.

The correct way:

Use $\int \sin x,dx = -\cos x + C$ and $\int \cos x,dx = \sin x + C$. Differentiate to confirm: $\frac{d}{dx}(-\cos x) = \sin x$.

Dividing by the old exponent instead of the new one.

Where it slips in:

Antidifferentiating $x^4$, a student writes $\frac{x^5}{4}$, dividing by the original power rather than the raised one.

Don't do this:

Do not divide by $n$. The power rule raises the exponent first, then divides by that new value.

The correct way:

For $x^4$, raise to $x^5$ and divide by $5$: $\int x^4,dx = \frac{x^5}{5} + C$. A quick derivative check, $\frac{d}{dx}\frac{x^5}{5} = x^4$, catches the slip instantly.

Practice Problems On Antiderivatives

Find each antiderivative, and remember the $+C$. Answers follow each line, and each is verified by differentiating it back.

  1. $\int 4x^3,dx$.
    (Answer: $x^4 + C$, since $\frac{d}{dx}x^4 = 4x^3$.)

  2. $\int (x^5 - 3x^2 + 7),dx$.
    (Answer: $\frac{x^6}{6} - x^3 + 7x + C$.)

  3. $\int \frac{5}{x},dx$.
    (Answer: $5\ln|x| + C$.)

  4. $\int (\cos x - \sin x),dx$.
    (Answer: $\sin x + \cos x + C$, since $\frac{d}{dx}(\sin x + \cos x) = \cos x - \sin x$.)

  5. $\int (e^x + 3\sqrt{x}),dx$.
    (Answer: $e^x + 2x^{3/2} + C$.)

  6. Find $F(x)$ if $F'(x) = 6x$ and $F(0) = 4$.
    (Answer: $F(x) = 3x^2 + 4$, since $F'(x) = 6x$ and $F(0) = 4$.)

Where Should You Go Next After Antiderivatives?

Antiderivatives are the doorway into integral calculus, and several natural next steps open from here.

  1. Integration. Extend the rules into substitution and definite integrals, and connect antiderivatives to area under a curve.

  2. Integration of uv. Learn integration by parts, the technique for antidifferentiating products such as $x e^x$ and $x\cos x$.

  3. Differentiation of trigonometric functions. Sharpen the derivative rules that every trig antiderivative is built from.

If your child is building these foundations, a live Bhanzu trainer teaches antiderivatives starting from the "why" (reversing a rate to recover a total) with a Bhanzu math tutor.

Book a Free Demo

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is an antiderivative in simple terms?
An antiderivative of a function $f$ is any function $F$ whose derivative is $f$, so $F'(x) = f(x)$. It is differentiation run backwards. Because the derivative of a constant is zero, every function has infinitely many antiderivatives, all differing by a constant.
Why do you always add $+C$ to an antiderivative?
Because adding any constant to $F(x)$ leaves its derivative unchanged, every constant gives a valid antiderivative. The $+C$ records the whole family at once, and the Mean Value Theorem guarantees there are no other antiderivatives beyond these. Dropping it throws away every solution but one.
What is the difference between an antiderivative and an integral?
An antiderivative and an indefinite integral $\int f(x),dx$ are the same thing, a family of functions $F(x) + C$. A definite integral $\int_a^b f(x),dx$ is different: it is a single number, the signed area under the curve, and it carries no $+C$.
How do you find the antiderivative of a fraction like $\frac{1}{x}$?
The power rule fails here because $\frac{1}{x} = x^{-1}$ has exponent $n = -1$, which would divide by zero. Instead use the special rule $\int \frac{1}{x},dx = \ln|x| + C$. The absolute value handles negative inputs.
How do you check an antiderivative is correct?
Differentiate your answer. If differentiating $F(x) + C$ returns the original integrand $f(x)$, the antiderivative is right. This single check catches sign errors and exponent slips faster than reworking the whole problem.
Which curricula teach antiderivatives?
Antiderivatives appear in India's NCERT Class 12 (Chapter 7, Integrals) and in the United States within AP Calculus AB and the Common Core high-school standards for calculus. They then recur throughout every university-level calculus and differential-equations course.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →