What is a derivative?
Last updated: 2026-11-26
A derivative is the slope of a curve at a single point: the number that secant slopes approach, when they approach one, as two points on the curve come together. It measures the rate at which the output changes with the input at that point. The rules taught in class are shortcuts to that number; this page builds the number once from the limit of difference quotients, then checks the shortcut against it.
Start learning No account needed
1. What the derivative measures
Wikipedia's article on the derivative presents it as a measure of how strongly a function's output responds to a change in its input. At an input where the derivative exists, it equals the slope of the line tangent to the graph there. That tangent slope is not read off the picture; it is the value that secant slopes approach. The expression for a secant slope is the difference quotient, (f(x + h) − f(x)) / h. It gives the average rate of change across an interval of width h, and its limit as h goes to 0 is the derivative.
For one concrete function, the derivative article works through squaring and shows that the limit exists at every input a, with value 2a: differentiate the squaring function and you get the doubling function. The power-rule article gives the general shortcut for xr, where r is a real number: the derivative is r xr−1, at inputs where those powers are defined and differentiable. Because differentiation is linear, the same rule handles polynomials term by term. A rule like that is a summary of limits already worked out, not a replacement for the idea.
2. A worked example: x squared at x = 3
Take f(x) = x2 and the point x = 3. The difference quotient through (3, 9) and (3+h, (3+h)2) simplifies by hand to 6 + h when h is not 0, so shrinking h should march the secant slopes toward 6. The script computes every number, with no simplification: it evaluates the raw quotient at h = 1, 0.1, 0.01 and 0.001, checks that each step lands closer to 6 than the one before, and then asks the power rule for the same point:
Output from the script scripts/what-is-a-derivative-worked-example.py:
The derivative of f(x) = x^2 at x = 3, from the limit of
difference quotients. Each row is the slope of the secant line
through (3, 9) and (3+h, (3+h)^2).
h secant slope
1.000 7.0000
0.100 6.1000
0.010 6.0100
0.001 6.0010
From the left, h = -0.001 gives 5.9990.
As h shrinks the slopes close in on 6: the slope at x = 3 is 6.
Power rule check: for x^2 the rule gives 2x, so at x = 3 it
says 2 * 3 = 6, the number the secant slopes were approaching.
Same check at x = -2: the secant slope at h = 0.001 is
-3.9990, and the power rule says 2 * (-2) = -4.
checks passed
Read the table downward: 7, then 6.1, then 6.01, then 6.001. From the other side, h = −0.001 gives 5.9990. A few rows can only suggest a limit. The algebra settles it: 6 + h approaches 6 as h approaches 0 from either side, so the slope at x = 3 is 6. The power rule agrees: 2x at x = 3 is 6. At x = −2 the raw quotient at h = 0.001 gives −3.9990, close to the rule's −4.
3. A common misconception: 2x is the answer, so there is nothing left to measure
After a term of rule practice, the derivative can feel like a rewriting exercise: x2 becomes 2x, the page is done, and the slope idea fades into a symbol. That 2x is itself a function, and it is the right answer to a request to differentiate x2. A question about the derivative at x = 3 asks for one number, the slope 6, so answering 2x stops one step short. The secant table shows what the rule compresses, and a student who can produce the table can also tell what the rule output means.
The companion error is treating the limit as an instruction to substitute h = 0. The quotient at h = 0 is 0/0, which has no value, and the definition is not computed there. The limit is a claim about where the quotients head as h gets close to 0, and the value at 0 plays no part in it.
4. Test yourself
Close the page and answer three questions in writing. First: use the power rule to write the slope of x2 at x = 5 as a number. Second: the secant slope of the same function at h = 0.1 sits how far from the true slope? Third: why is the quotient with h = 0 left out of the table? Reopen and compare; the one you hesitated on is the step to study again.
For the rule shortcuts this page compresses, see how to remember derivatives of trig functions. For putting the idea to work under exam pressure, see how to study for calculus and why is calculus so hard, and for checking an answer without help, how to test yourself.
What the sources found, and their limits
Wikipedia, "Derivative". It gives the sensitivity definition, the tangent-slope reading at a chosen input, and the worked squaring function whose derivative is the doubling function. Source: Derivative, read on 2026-11-26.
Wikipedia, "Difference quotient". It names the expression, reads it as an average rate of change, and ties its limit to the derivative. Source: Difference quotient, read on 2026-11-26.
Wikipedia, "Power rule". It states the rule for real exponents and extends it to polynomials through linearity. Source: Power rule, read on 2026-11-26.
Limits: three encyclopedia articles, not course texts, and the worked point, the table and the second point are ours. The script computes every number. All three articles carry a CC BY-SA license.
How Professor Turing helps
Professor Turing is a tutor for adults learning any subject, in college or on their own. It asks you questions instead of giving the final answer, does not grade a bare guess, and remembers what you got wrong. No account is needed to start.
Bring the derivative problems you are working through, such as a secant table you were asked to finish. Its first reply asks what you already know before it teaches anything. If you answer with a bare guess, such as a rule name, it asks how you got there instead of saying right or wrong, and when you stay stuck it changes its approach and makes the next step smaller instead of handing over the answer. Later in a session it can offer a short test without help, scored apart from the tutoring, so you can tell what you can do alone from what the tutor carried you through. You must be 18 or older, and guest conversations are deleted 7 days after the last activity.
FAQ
Why is the quotient with h = 0 left out? At h = 0 the quotient is 0/0, which has no value, so there is nothing to compute there. The limit is a statement about where the quotients head as h gets close to 0. The slopes 7, 6.1, 6.01, 6.001 suggest the value 6, and the simplified form 6 + h confirms it.
Is the power rule the same thing as the derivative? The power rule is a shortcut that produces the same number as the limit definition. In the worked example it gives 2x, so at x = 3 it says 6, matching the number the secant slopes approached. The rule is the summary; the limit is the meaning behind it.
Start with what you're working on
Tell the tutor which derivative problem you are stuck on and let it ask you the questions.
Start learning No account needed
See also: limits in calculus · continuity and differentiability · the fundamental theorem of calculus · how to use the product rule · the mean value theorem · all study guides