On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Introduction to Calculus · Grade 9-12

Integral

An integral (indefinite) is the reverse of differentiation: it finds a function F whose derivative is the given function f, plus a constant C.

∫f(x) dx=F(x)+C where F′(x)=f(x)

Quick Answer

An integral (indefinite) is the reverse of differentiation: it finds a function F whose derivative is the given function f, plus a constant C. Use it when you know a rate, such as a velocity or a flow in litres per minute, and want the quantity that builds up, or whenever a problem asks for an antiderivative. Read derivative rules backwards: since ddxx3=3x2, ∫3x2 dx=x3+C. The +C covers every constant you could add, because constants vanish when you differentiate.

Why This Matters

Many quantities are easier to know as rates than as totals: a speedometer gives velocity, a meter gives litres per minute, a model gives growth per year. Antiderivatives turn those rates back into position, volume or population. The +C then tells you exactly what extra fact you still need, a starting value, to pin down the one function that fits the situation.

Intuitive Explanation

Differentiation answers "given the height, how fast is it changing?" Integration asks the reverse: "given how fast it changes, what could the height be?" If a function's slope is 2x everywhere, x2 works, because ddxx2=2x. So do x2+5 and x2−3: sliding a graph up or down changes none of its slopes. So ∫2x dx=x2+C, a stack of identical parabolas at different heights.

Most antiderivatives come from reading a derivative rule backwards. Differentiating lowers the power by one and multiplies by the old power, so integrating raises the power by one and divides by the new power: ∫xn dx=xn+1n+1+C. For ∫x4 dx this gives x55+C, and you can always check by differentiating: ddxx55=x4. The one exception is n=−1, where dividing by n+1=0 is impossible; instead ∫1x dx=ln⁡∣x∣+C.

An indefinite integral has no bounds, and its answer is a function. Put bounds on it, as in ∫023x2 dx, and it becomes a definite integral, which is one number (here 8). Without bounds, the constant is fixed by one known value instead: if a car's velocity is v(t)=2t m/s and it starts 5 m past the line, its position is s(t)=t2+C with s(0)=5, so C=5 and s(t)=t2+5.

Think of it like this. Integrating is like rebuilding a hiker's altitude from a log of how steep each stretch of trail was. The slopes tell you every rise and fall, so you know the shape of the climb exactly, but not whether it began at sea level or at 1,000 m. That missing starting height is the +C.

Core idea. An integral is the antiderivative — the function whose derivative is the integrand — and it also accumulates a total from a rate.


When to Use

Use an indefinite integral when a problem gives a rate (velocity, flow, marginal cost) and asks for the quantity itself as a function, when it asks for an antiderivative, or when you see ∫f(x) dx with no bounds. Find the constant from an initial value if one is given. If the integral sign has bounds, or the question wants a single total or area between two points, it is a definite integral. If you are given a function and asked how fast it changes, differentiate instead.

Tip. Ask: Am I looking for a function whose derivative is the given one (with a +C), rather than a numeric area?

How to Recognize It

Look at whether the integral sign has numbers attached and whether the answer should be a formula in x or a single number.

  1. Does the integral sign have no numbers at the top and bottom?

    Yes means an indefinite integral, and the answer is a family of functions F(x)+C. Bounds such as ∫03 make it a definite integral, whose answer is one number.

  2. Are you given a rate, such as a velocity or litres per minute, and asked for the quantity as a function of time?

    Yes means integrate the rate to rebuild the quantity. If you are given the quantity and asked how fast it changes, take the derivative instead.

  3. Is a starting value given, such as s(0)=4?

    Yes means you can find C: integrate, substitute the starting value, and solve. No means leave +C in the answer. If two times are given and you want the change between them, a definite integral skips C entirely.

  4. Can you name a function whose derivative is the integrand?

    Yes means read the derivative table backwards. No, as for e−x2, means no formula exists in familiar functions, and a definite version has to be estimated, for example with a Riemann sum.

Integral compared with Definite integral, Derivative, and Riemann sum

The rows all sit on the link between a function and its rate, which is why they get swapped. Ask what the answer should be: a function plus C (integral), one number between bounds (definite integral), a rate from a function (derivative), or an estimate from rectangles (Riemann sum).

Integral

Meaning
Use this when you need to reverse a derivative or recover a total quantity from a rate, without specific bounds.
Key test
Am I looking for a function whose derivative is the given one (with a +C), rather than a numeric area?
Formula
∫f(x) dx=F(x)+C where F′(x)=f(x)
Example
Find ∫3x2 dx.

Definite integral

Meaning
Evaluates an integral between bounds to produce a single number (signed area).
Key test
Use when bounds a and b are given and you want a numeric total or area.
Formula
∫abf(x) dx=F(b)−F(a)
Example
∫02x dx=2

Derivative

Meaning
The forward operation: turns a function into its rate of change.
Key test
Use when you have the quantity and want its rate, not the reverse.
Formula
f′(x)
Example
Velocity from position

Riemann sum

Meaning
Approximates the accumulated area with finitely many rectangles, not an exact antiderivative.
Key test
Use when finding area numerically without a known antiderivative.
Formula
∑f(xi∗)Δx
Example
Estimating area with 4 rectangles

Formula & Notation

∫f(x) dx=F(x)+C where F′(x)=f(x)
F is an antiderivative of f on (a,b) if F′(x)=f(x) for all x∈(a,b). The indefinite integral: ∫f(x) dx={F(x)+C:C∈R} where F′=f.

How to read it: ∫f(x) dx denotes the indefinite integral (antiderivative). F(x) is any antiderivative; C is the constant of integration.

Worked Examples

Example 1 — Reverse the power rule

Easy

Find ∫3x2 dx.
Show the steps and the answer
  1. Ask which function has derivative 3x2: the power rule turns x3 into 3x2.

    Integration reverses differentiation, so a known derivative read backwards gives the answer.

  2. Confirm with the reverse power rule: ∫3x2 dx=3⋅x33=x3.

    Raise the power from 2 to 3 and divide by the new power 3; the constant factor 3 stays in front.

  3. Add the constant: x3+C.

    x3+7 and x3−2 also have derivative 3x2, so the answer must include every vertical shift.

  4. Check: ddx(x3+C)=3x2+0=3x2.

    Differentiating your answer should return exactly the function inside the integral.

Answer: x3+C

Takeaway: Undo the power rule (raise the power, divide by the new power), add +C, and check by differentiating.

Example 2 — Bounds make it a number

Standard

Find ∫023x2 dx.
Show the steps and the answer
  1. Notice the bounds 0 and 2: this is a definite integral, so the answer is a number.

    Bounds ask for the total built up between x=0 and x=2, not for a family of functions.

  2. Reuse the antiderivative F(x)=x3.

    Any antiderivative works here; a +C would cancel in the next step, so it can be left out.

  3. Evaluate top minus bottom: F(2)−F(0)=8−0=8.

    The definite integral equals the change in the antiderivative between the bounds.

  4. Sanity check: a straight line from (0,0) to (2,12) would enclose 12⋅2⋅12=12, and 3x2 bends below that line.

    So the true area should be a bit less than 12, and 8 is.

Answer: 8

Takeaway: Bounds turn the antiderivative family into one number, F(b)−F(a); without bounds the answer is a function plus C.

Example 3 — Find the mistake: which way does the power go?

Application

Find ∫1x3 dx. Sara writes: "∫x−3 dx=x−4−4+C." Find the mistake and correct it.
Show the steps and the answer
  1. Test Sara's answer by differentiating: ddxx−4−4=−4x−5−4=x−5.

    An antiderivative must differentiate back to x−3; hers gives x−5, so it is wrong.

  2. Find the slip: she lowered the power from −3 to −4.

    Integrating raises the power by one, and −3+1=−2. With negative exponents, going up by one moves toward zero.

  3. Apply the rule: ∫x−3 dx=x−2−2+C=−12x2+C.

    Divide by the new power, −2, which makes the result negative.

  4. Check: ddx(−12x−2)=−12⋅(−2)x−3=x−3.

    The derivative matches the integrand, so this antiderivative is right.

Answer: ∫1x3 dx=−12x2+C

Takeaway: Raising the power by one turns −3 into −2, not −4; differentiating your answer catches the slip.

Where You'll See It

  • Filling a tank from a changing flow

    Water enters a tank at r(t)=20−2t litres per minute, and the tank starts with 50 L. The antiderivative gives V(t)=20t−t2+C, and V(0)=50 fixes C=50. After 5 minutes the tank holds 50+100−25=125 L. The flow rate alone could not say this without the starting amount.

  • Total cost from the cost of one more item

    A workshop knows each extra item costs C′(q)=10−0.01q dollars and that its fixed costs are $2,000. Integrating gives C(q)=10q−0.005q2+2000, so 200 items cost 2000−200+2000=$3,800. The fixed cost plays the role of +C.

Common Mistakes

  1. The slip: Forgetting the +C on an indefinite integral

    Instead: many functions have the same derivative, so the constant must be carried.

  2. The slip: Reversing the power rule wrong

    Instead: ∫xn dx=xn+1n+1+C (for n≠−1) raises the power and divides, the opposite of differentiation; the case n=−1 gives ln⁡∣x∣+C instead.

  3. The slip: Treating ∫x dx as if it had a numeric answer

    Instead: without bounds an indefinite integral is a function, not a number.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find ∫(6x2−4x+5) dx.

    Hint: Raise each power by one and divide by the new power. Do not forget the constant.

  2. Find ∫1x3 dx.

    Hint: Rewrite as a negative power of x before using the power rule.

  3. Find ∫(x+3x)dx.

    Hint: The two terms need different rules. One of them is the special case n=−1.

  4. A function F has F′(x)=4x+1 and F(0)=3. Find F(x).

    Hint: Integrate to get a family of functions, then use F(0)=3 to pick the right C.

  5. Task 1: find a function whose derivative is cos⁡x. Task 2: find the area under cos⁡x from 0 to π2. Which task is an indefinite integral?

    Hint: Check which task gives bounds and which asks for a function.

  6. A student writes "∫x−1 dx=x00+C." What went wrong, and what is the correct antiderivative?

    Hint: Look at the denominator the power rule produces when n=−1.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why is ∫1x dx written ln⁡∣x∣+C, with absolute value bars?

Because 1x\frac{1}{x} exists for negative xx too, but ln⁡x\ln x does not. For x<0x<0, the chain rule gives ddxln⁡(−x)=−1−x=1x\frac{d}{dx}\ln(-x)=\frac{-1}{-x}=\frac{1}{x}, so ln⁡(−x)\ln(-x) is also an antiderivative there, and the bars combine both cases in one formula. This is also the one power the reversed power rule cannot handle, since it would mean dividing by n+1=0n+1=0.

Can two correct antiderivatives of the same function look completely different?

Yes. Depending on the method, ∫2sin⁡xcos⁡x dx\int2\sin x\cos x\,dx can come out as sin⁡2x+C\sin^2x+C or as −cos⁡2x+C-\cos^2x+C. The two differ by sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1, a constant, which the +C+C absorbs. To check any antiderivative, differentiate it: if you get the integrand back, it is correct, however different it looks from the answer key.

Does every function have an antiderivative I can write down?

Every continuous function has an antiderivative, but many cannot be written with the usual functions. Examples are e−x2e^{-x^2}, sin⁡xx\frac{\sin x}{x} and 1+x3\sqrt{1+x^3}. Their antiderivatives exist and are used all the time, the first one in statistics for the normal curve, but they are computed numerically or given names of their own. So failing to find one does not always mean you made a mistake.

Why are undoing a derivative and finding an area the same job?

Picture the area under ff from 0 to xx as a region that grows as xx moves right. Move the right edge a tiny step hh and the region gains a thin strip about f(x)f(x) tall and hh wide, so the area grows at the rate f(x)f(x). A function whose rate of growth is ff is, by definition, an antiderivative of ff. The Fundamental Theorem of Calculus makes this argument exact.

Learning Path

← Before

Derivative
Integral

You are here

You need the Derivative, including the power rule, because every antiderivative is a derivative rule read backwards. The integral adds the reverse question, which function has this slope, and the +C family of answers. Next, the Definite Integral uses an antiderivative to compute totals and areas between two bounds, and the Fundamental Theorem of Calculus explains why that works.

See Also