← STEM Learning Studio
Concept Explainer · STEM Learning

Derivative vs. Integral — Rate of Change vs. Accumulated Total

One operation answers "how fast is this changing right now?" The other answers "how much has piled up so far?" Engineers move between them constantly because they're exact opposites of each other.

Almost every quantity an engineer tracks — position, charge, temperature, cost — can be looked at two different ways. You can ask how fast it's changing at this exact instant, or you can ask how much of it has built up over some stretch of time or space. The first question is a derivative. The second is an integral. They aren't two separate topics that happen to share a textbook chapter — they are inverse operations, and knowing which direction a problem is asking you to run in is half of solving it.

The Setup

Two questions about the same curve

Take a car's position over time, plotted as a curve. At any single point on that curve, you can ask "what's the slope right here?" — that's the derivative, and for a position curve it's the car's instantaneous velocity. Separately, if you instead plot the car's velocityover time, you can ask "how much area sits under this curve between two moments?" — that's the integral, and it's the total distance the car covered in that stretch. Same trip, same underlying motion, two completely different questions with two completely different geometric answers: a slope at a point, versus an area over an interval.

Position vs. time — the derivative is a slope

Instantaneous rate
time, tposition, stangent line at t = 6slope of tangent = derivative= ds/dt = velocity right nowt = 6
What the derivative gives you
ds/dt = v(t)
The instantaneous velocity at t = 6 — how fast position is changing at that single moment, not on average.
Geometric meaning
Slope of tangent
A single line touching the curve at one point — a local, zoomed-in property of the curve.

Velocity vs. time — the integral is an area

Accumulated total
time, tvelocity, vt₁ = 4t₂ = 7area under curve= integral = total distancetraveled from t₁ to t₂
What the integral gives you
∫ v dt = Δs
Distance traveled between t = 4 and t = 7 — the running total of "speed × a tiny sliver of time," summed over the whole interval.
Geometric meaning
Area under the curve
A whole region between two points — a global, summed-up property of the curve, not a single point on it.
Why This Isn't Two Separate Topics

The same chain, run in opposite directions

Position, velocity, and acceleration are the same physical story told at three different levels. Differentiating position once gives velocity; differentiating velocity again gives acceleration — each step asking "how fast is thischanging?" Run the chain backward and it's integration the whole way: integrating acceleration gives velocity, and integrating velocity gives position back — each step asking "how much has accumulated so far?" The Fundamental Theorem of Calculus is the formal statement of exactly this: differentiation and integration are inverse operations, so undoing one always gets you the other.

Differentiate one way, integrate the other way back

Positions(t)Velocityv(t) = ds/dtAccelerationa(t) = dv/dtd/dtd/dtdifferentiate — "how fast is this changing?"∫ dt∫ dtintegrate — "how much has accumulated?"Fundamental Theorem of Calculus: each arrow exactly undoes the arrow going the other way
Why this works

Which operation you need depends entirely on which direction the problem runs.

If you already know a quantity and want its instantaneous rate of change, you differentiate — an accelerometer reads acceleration, and differentiating a velocity signal is how you'd get a jerk (rate of change of acceleration) signal. If you already know a rate and want the total effect it produces, you integrate — a navigation system starts from an accelerometer's acceleration reading and integrates it once to estimate velocity, then integrates again to estimate position. Same underlying physics, opposite direction of travel through the same chain. A PID controller does both at once on the same error signal: the derivative term differentiates the error to anticipate how fast it's about to change, while the integral term accumulates the error over time to eliminate steady-state offset that proportional control alone can't remove.

Common misconception
"Derivatives and integrals are just two unrelated calculus operations you learn separately for different types of problems."

False — they are literally inverse operations of each other, which is exactly what the Fundamental Theorem of Calculus states. The same physical quantity — position, velocity, force, current, concentration — can be analyzed either by differentiating it, to find its instantaneous rate of change, or by integrating it, to find its accumulated total effect. Real engineering problems constantly require moving in bothdirections on the same underlying physical chain. An accelerometer measures acceleration directly, but a navigation system integrates that acceleration twice to estimate position. A control system computing a PID controller's derivative term differentiates error to anticipate its rate of change, while the integral term accumulates that same error to eliminate steady-state offset. Treating "differentiation problems" and "integration problems" as belonging to unrelated toolkits misses the entire point: they are two views of one relationship, and switching between them is a routine, everyday move.

Related Concept Explainers & Tools
Derivative & Limit Evaluator
Open tool →
Numerical Methods Visualizer
See Riemann sums converge →

Derivative vs. Integral — Concept Explainer

Explains what a derivative and an integral each actually measure — instantaneous rate of change versus accumulated total — and why they are inverse operations of each other rather than two unrelated calculus techniques, using a position-vs-time tangent line, a velocity-vs-time shaded area, and the position/velocity/acceleration chain as concrete illustrations.

Why This Is Commonly Misunderstood

Introductory calculus courses usually teach derivatives and integrals as separate units, weeks apart, each with its own rules and its own practice problems. Taught that way, it is easy to walk away thinking of them as two different toolkits for two different kinds of question. What gets lost is the geometric and physical relationship underneath: a derivative is the slope of a curve at a single point, and an integral is the area under a curve across an interval — and the Fundamental Theorem of Calculus proves those two operations exactly undo each other. Differentiate an accumulated quantity and you recover the rate that produced it; integrate a rate and you recover the total it accumulated.

What's Actually Happening Mathematically

For a function s(t), the derivative ds/dt at a point t = t₀ is defined as the limit of the average rate of change over a shrinking interval around t₀ — geometrically, the slope of the tangent line touching the curve at that single point. The definite integral of a related function v(t) = ds/dt from t₁ to t₂, written ∫ v(t) dt, is defined as the limit of a sum of thin rectangles (velocity × a tiny slice of time) as those slices shrink to zero width — geometrically, the area under the curve between t₁ and t₂. The Fundamental Theorem of Calculus connects them directly: ∫ from t₁ to t₂ of v(t) dt = s(t₂) − s(t₁), meaning the accumulated area under the rate curve equals exactly the net change in the original quantity.

In the worked example on this page, s(t) = t² gives velocity v(t) = ds/dt = 2t. At t = 6, the tangent line has slope 12 — the instantaneous velocity at that exact moment. Separately, the area under v(t) = 2t between t = 4 and t = 7 is 33, matching s(7) − s(4) = 49 − 16 = 33 exactly, because the integral of velocity is defined to recover the change in position.

Where This Matters

Kinematics: velocity is the derivative of position, acceleration is the derivative of velocity — and running the chain backward, integrating acceleration gives velocity, integrating velocity gives position, which is exactly how inertial navigation and dead-reckoning systems estimate position from an accelerometer alone. Controls: a PID controller differentiates the error signal (the D term) to react to how fast the error is changing, and integrates the same error signal (the I term) to eliminate steady-state offset that proportional action alone leaves behind. Electrical engineering: current is the derivative of charge with respect to time, and charge delivered is the integral of current over time — the same relationship used to size a battery's capacity or to relate capacitor current to the rate of change of voltage. Chemical and environmental engineering: reaction rate is a derivative of concentration with respect to time, while total mass converted is the integral of that rate over the reaction time. In every case, the derivative and the integral are two views of the exact same underlying physical relationship.

Frequently asked questions

Is the derivative always about time?

No — a derivative measures the instantaneous rate of change of any quantity with respect to any other variable it depends on. Time is the most common example in kinematics and dynamics, but a derivative could just as easily be the rate of change of stress with respect to strain, temperature with respect to position along a rod, or profit with respect to units produced.

Why is the integral called "accumulated" instead of just "total"?

Because it specifically captures how a continuously varying quantity builds up piece by piece. Rather than summing a handful of discrete values, an integral sums infinitely many infinitesimally small contributions (rate × a tiny slice of the interval) across the whole range, which is exactly what is needed when the rate itself is constantly changing rather than staying constant.

What exactly does the Fundamental Theorem of Calculus say?

In plain terms, it states that differentiation and integration are inverse operations: if you integrate a function's rate of change over an interval, you get back the net change in the original function over that interval, and if you differentiate the accumulated integral of a function, you get back the original function. It is the formal reason moving between "how fast" and "how much total" always works consistently.

How do engineers decide whether a problem needs a derivative or an integral?

By asking which direction the problem is running. If you know a quantity and need its instantaneous behavior at a point (a rate, a slope, a sensitivity), you differentiate. If you know a rate or a distributed quantity and need its total, cumulative, or net effect over a range (a distance, an area, a charge, a mass), you integrate. Many real systems need both directions on the same underlying chain, just at different stages of the analysis — like an accelerometer reading acceleration directly while a navigation algorithm integrates that same signal twice to get position.

Can you differentiate and then integrate and not get back the original function?

You get back the original function up to a constant. Differentiating removes any constant term (its rate of change is zero), so integrating the result recovers the original function's shape but not necessarily its exact starting value — that missing constant is why a definite integral needs a known starting condition (like an initial position or an initial charge) to pin down the exact accumulated total, not just its shape.

🎓

Try our STEM Learning Studio

More calculators, simulators, and guides for this discipline.

Related tools & guides

Eigenvalues & Eigenvectors — Concept ExplainerDerivative & Limit EvaluatorNumerical Methods VisualizerCalculus for Engineers: Derivatives, Integrals & Differential Equations