Derivative from First Principles
The derivative from first principles computes the instantaneous rate of change of a function as the limit of average rates of change over shrinking intervals: . Key result: the slope of the tangent line at a point equals this limit, when it exists. Where it applies: any function differentiable at a point — used everywhere in calculus, physics, and optimisation. Who/when: formalised by Newton and Leibniz (1660s–1680s), made rigorous by Cauchy and Weierstrass (1800s).
The derivative from first principles defines the rate at which a function's output changes with respect to its input, at a single precise point. It is built directly from the limit definition, bypassing all shortcut rules, so it reveals why derivatives behave the way they do rather than just how to compute them. This matters because every differentiation rule — power, product, chain — is ultimately a theorem proved from this one definition. A surprising fact: even though the average rate of change becomes the indeterminate form as , the limit can still settle on a perfectly definite finite value. This is the central magic of calculus: dividing two quantities that both vanish, yet getting a meaningful answer.
The Core Insight
A straight line has one slope everywhere; a curve does not. To assign a slope to a curve at a point, draw a secant line through two nearby points and let the second point slide toward the first. The secant's slope is something we can compute — just rise over run. As the gap shrinks to zero, the secant pivots into the tangent line, and its slope is the derivative. First principles means doing this limiting process explicitly, with no rules assumed.
Formal Statement
Derivative at a Point
Let be a function defined on an open interval containing . The derivative of at , denoted , is
provided this limit exists and is finite. Here:
- — the fixed point at which we measure the rate of change;
- — the (signed) increment in the input, approaching from both sides;
- — the change in output, ;
- — the change in input, ;
- — the limiting slope, the derivative.
When the limit exists, is said to be differentiable at .
An equivalent form replaces with a roving point :
Differentiability Implies Continuity
If is differentiable at , then is continuous at .
The converse is false: continuity does not guarantee differentiability (see the counterexample below).
Why It Holds / Derivation
Derivative of $f(x)=x^2$ from First Principles
We compute for using only Equation [1].
Step 1 — Form the difference quotient. Substitute into the definition:The crucial move is Step 3: cancelling removes the problem before we let .
Isaac Newton | 1643–1727
Newton developed his "method of fluxions" around 1665–1666 during the plague years, treating quantities as flowing in time and derivatives ("fluxions") as their rates of flow. He wrote for the fluxion of — a notation still used in physics for time derivatives. Newton used infinitesimally small increments he called "moments," denoted , and discarded higher-order terms in to obtain rates of change. Though his reasoning lacked the rigour of modern limits, it was operationally identical to first principles: form the increment, simplify, then let it vanish. His unpublished De Methodis (1671) and the Principia (1687) applied these ideas to motion, gravitation, and orbits.
Building Intuition
Imagine zooming in on a smooth curve at one point with an infinitely powerful microscope. The more you magnify, the straighter the curve looks — eventually indistinguishable from a straight line. That line is the tangent, and its slope is the derivative. This is local linearity: differentiable functions look linear up close.
Now think of the secant line through your point and a neighbour a distance away. When is large, the secant is a crude approximation of the local direction. As shrinks, the neighbour creeps closer and the secant aligns ever more snugly with the curve. The derivative is the slope the secant "wants to reach" as the neighbour merges with your point. We never actually set (that would be ); we ask what value the slope approaches.
Secant lines converging to the tangent as $h\to 0$
Worked Examples
Velocity of a Falling Object
Given: A stone falls so its height drop is metres after seconds (taking ). Find the instantaneous velocity at s using first principles. Step 1 — Difference quotient.Derivative of the Reciprocal Function
Given: . Find for from first principles. Step 1 — Difference quotient.Common Misconceptions
You cannot just set at the start. Doing so gives , which is undefined. The whole point of first principles is to algebraically simplify the difference quotient — cancelling the troublesome — before taking the limit. Only after the in the denominator is gone can you substitute safely. The derivative is not the value of the function. measures the slope, not the height, of at . A function can be large while its derivative is zero (a high flat plateau), or small while its derivative is huge (a steep climb near the origin).Continuous but Not Differentiable: $f(x)=|x|$
The absolute value function is continuous everywhere, including at , yet it has no derivative at .
Approaching from the right (): .
Approaching from the left (): .
Because the left and right limits differ, the two-sided limit in Equation [1] does not exist. Geometrically, the graph has a sharp corner at the origin — there is no single tangent line. This proves that continuity is necessary but not sufficient for differentiability.
Connections
The derivative from first principles is the foundation on which all of differential calculus is built. The shortcut Power Rule, Product Rule, and Chain Rule are each theorems proved by applying Equation [1] to general forms — first principles is the engine, the rules are its compiled output. The definition relies entirely on the machinery of Limits, so every subtlety of limits (one-sided behaviour, existence, forms) transfers directly. Geometrically it produces the Tangent Line and underpins the Mean Value Theorem. Reversing the operation leads to the Antiderivative and ultimately to integration via the Fundamental Theorem of Calculus.
Real-World Applications
- Kinematics (physics): velocity is the first-principles derivative of position with respect to time; acceleration is the derivative of velocity. The falling-stone example above is exactly this.
- Marginal analysis (economics): marginal cost and marginal revenue are derivatives of total cost and revenue functions, telling firms the cost of producing one more unit.
- Rates of reaction (chemistry): the instantaneous rate of a chemical reaction is the derivative of concentration with respect to time, found by shrinking the measurement interval.
- Population dynamics (biology): the growth rate of a population is the derivative of population size over time, central to models like logistic growth.
- Slope and optimisation (engineering): finding where locates maxima and minima — used to minimise material, energy, or cost.
- Computer graphics: surface normals and lighting calculations use derivatives to find how steeply a surface tilts at each point.
- Machine learning (gradient descent): training neural networks uses derivatives of a loss function to nudge parameters downhill toward better fits.
Historical Development
- c. 250 BCE — Archimedes computes tangents and areas using the "method of exhaustion," a precursor to limiting arguments.
- 1629 — Pierre de Fermat finds maxima and minima by his method of "adequality," equating and then dividing by and setting — strikingly close to first principles.
- 1665–1666 — Isaac Newton develops the method of fluxions during the plague years, treating motion and rates of flow.
- 1675–1684 — Gottfried Wilhelm Leibniz independently invents calculus with the notation and the differential , publishing first in 1684.
- 1734 — George Berkeley publishes The Analyst, mocking infinitesimals as "ghosts of departed quantities" and exposing the logical gaps.
- 1755 — Leonhard Euler systematises differential calculus in Institutiones calculi differentialis.
- 1821 — Augustin-Louis Cauchy grounds the derivative rigorously in the limit of the difference quotient, in his Cours d'analyse.
- 1872 — Karl Weierstrass supplies the modern – definition of limits and exhibits a function continuous everywhere yet differentiable nowhere, settling the foundations.
Subtleties & Limits
First principles assumes the limit in Equation [1] exists — but functions can fail this in dramatic ways. Weierstrass's 1872 function is continuous at every point yet has no derivative anywhere; its graph is infinitely jagged at all scales (a fractal). This raises a deep question about how "typical" differentiable functions are: in a rigorous sense, almost all continuous functions are nowhere differentiable, making the smooth curves we draw the exceptional case rather than the rule.
A further subtlety concerns the gap between the intuitive "infinitesimal " used by Newton and Leibniz and the rigorous limit of Cauchy and Weierstrass. The 20th-century field of non-standard analysis (Abraham Robinson, 1960s) actually rehabilitated infinitesimals as legitimate numbers in an extended number system, showing that the original heuristic was not merely sloppy but could be made fully rigorous by a different route. Which foundation is "the right one" remains a matter of mathematical taste and pedagogy.