Concepts · 3 min read

Calculus Basics: Derivatives and Integrals With Numbers

Calculus Basics: Derivatives and Integrals With Numbers — illustration
In short: A derivative is a slope; an integral is an area. For f(x) = x² the slope at x = 3 is 6, and the area under it from 0 to 3 is 9. The tables below show numbers closing in on those answers.

Derivative: slope at a point

Take two nearby points and shrink the gap h. The slope (f(3 + h) − f(3)) / h for f(x) = x² gets closer to 6:

h(f(3+h) − f(3)) / h
17
0.16.1
0.016.01
0.0016.001
0.00016.0001

The power rule gives it exactly: d/dx(xⁿ) = n·xⁿ⁻¹, so d/dx(x²) = 2x = 6 at x = 3.

Integral: area under a curve

Slice the area under y = x² from 0 to 3 into N rectangles and add them up. More slices means a better estimate:

N slicesSum of areas
107.695
1008.86545
1,0008.9865
10,0008.99865

The exact integral is x³/3 evaluated from 0 to 3: 27/3 = 9.

How they connect

The fundamental theorem of calculus says differentiation and integration are inverse operations: integrating a slope function recovers the original function (up to a constant).

Try it

Plot x² and a slope-line in the graphing calculator and check values with the scientific calculator. Related reading: what is e?

Frequently asked questions

Do I need limits to understand derivatives?

The numerical tables show the idea of a limit: as h shrinks the slope settles on a value.

What is calculus used for?

Rates of change and accumulation: speed and distance, growth, optimisation, areas and volumes.

Written and reviewed by Mateuss M.

Mateuss M. writes and reviews mathematical content for CalcSolver, focusing on online calculators, formulas, equations, and practical math tools. He reviews calculator functionality, calculation methods, formulas, examples, and explanations to help ensure that each tool is clear, useful, and easy to understand.

Keep reading