A derivative is a limit of average rates over shrinking nonzero intervals. It measures instantaneous change, tangent-line slope, and the coefficient of the best local linear approximation. The interval width is never set equal to zero inside the quotient because division by zero would be undefined. Instead, limits study what the quotient approaches as the width becomes arbitrarily small. This lesson connects the algebraic definition to geometry, motion, units, continuity, approximation error, and failure modes.
Learning objectives and the local-change question
By the end of this lesson, you will construct a difference quotient from two function values. You will evaluate derivative limits using algebra rather than direct division by zero. You will interpret derivatives as tangent slopes and instantaneous rates with units. You will connect differentiability to local linear approximation and continuity. You will also classify corners, cusps, vertical tangents, discontinuities, and oscillation as distinct failure modes.
Average rate describes change across an interval. If the interval is wide, the result blends behavior from many inputs. Instantaneous rate asks what remains when the interval is made arbitrarily narrow around one input. A limit makes this question precise. The derivative is therefore built from average change rather than invented as an unrelated operation.
Geometry supplies the same progression. A secant line connects two points on a graph and has an average slope. As the second point approaches the first, secant slopes may approach one limiting value. The tangent line uses that limiting slope. The diagram below shows the moving secant and its limiting tangent without claiming the two points ever become distinct points at zero separation.
Construct the difference quotient
Fix an input and choose a nonzero increment . The second input is . The output change is . The input change is . Dividing gives the average rate .
The numerator and denominator have distinct meanings. The numerator measures vertical output change. The denominator measures horizontal input change. Their quotient has output units per input unit. A sign indicates whether output rises or falls as input moves in the chosen direction.
The condition is essential. At zero, both sampled inputs coincide and the quotient would divide by zero. The derivative does not repair that undefined value by substitution. It asks whether nearby nonzero quotients approach a finite number. This distinction between value and limit is the conceptual heart of the definition.
Define the derivative precisely
If the limit exists and is finite, define . The prime notation names the derivative value at input . The arrow means approaches zero through nonzero values from both sides. A two-sided limit requires agreement from positive and negative increments. The result is a number, not a new input interval.
An equivalent definition is . Here is the moving second input. The denominator plays the same role as . Substituting converts one form into the other. Choose the form best aligned with the algebra or data given.
The derivative function assigns a derivative value to every input where the defining limit exists. Do not confuse the function with one value . A function may be differentiable on part of its domain and fail at isolated points. State the relevant input or interval. Domain is part of derivative information.
Derive the derivative of a square
Let . At input , the difference quotient is . Expanding gives . Combining terms yields . Factoring the numerator gives .
Because in the difference quotient, canceling the common factor is valid. The quotient becomes . Now the limit as can be evaluated directly. It is . Therefore the derivative of at is .
The original zero-over-zero form was indeterminate, not an answer. Algebra revealed the nearby behavior that direct substitution concealed. Cancellation does not evaluate the quotient at zero. It produces an equivalent expression for every nonzero near zero. Limits depend on those nearby values, so the simplified form determines the limit.
Derive a linear-function result
Let , where and are constants. The difference quotient is . Distributing the subtraction leaves . For nonzero , the quotient equals . Its limit is therefore .
This result agrees with line geometry. Every secant line on a nonvertical straight line has the same slope. Shrinking the interval does not change that slope. The constant shifts the graph vertically without changing rate. Thus the derivative of is the constant .
Units still matter. If is cost in dollars and is production in items, then has dollars-per-item units. The derivative reports marginal cost in the linear model. The intercept has dollar units. A derivative equal to is not unitless merely because it is constant.
Derive a reciprocal-function result
Let and choose . Also require for nearby quotient values. The difference quotient contains . Combining these fractions gives . The numerator simplifies to .
Dividing the combined difference by gives . Cancel the nonzero factor . The quotient becomes . Taking gives . Therefore for .
The original domain restriction survives differentiation. The formula is also undefined at zero. Its negative sign matches the fact that decreases on each domain interval. The derivation uses common denominators before cancellation. Skipping that algebra is a common source of sign and denominator errors.
Interpret instantaneous velocity with units
Let position be . The average velocity from to is . Its limit as is instantaneous velocity. The derivative is . Time remains the input variable.
At , velocity is . The coefficient’s acceleration-like units multiply time and produce velocity units. Position change divided by time change also yields meters per second. Two independent unit routes agree. That agreement checks the derivative interpretation.
Instantaneous velocity is not distance divided by zero time. It is the limit of displacement-per-time ratios over nonzero durations. A negative velocity indicates motion in the chosen negative direction. Zero velocity means no instantaneous position change at that moment. It does not necessarily mean the object remains still over a surrounding interval.
Connect derivatives to tangent lines
If exists, the tangent line at is . The coefficient is the slope. The expression is horizontal displacement from the tangent point. Multiplying slope by horizontal displacement predicts vertical change. Adding anchors the line at the correct point.
For at , the derivative is six and the point is . The tangent line is . In point-slope form it is . Substituting returns . Its slope matches the derivative limit.
A tangent line is not defined merely as a line that touches once. A tangent can cross the graph, and a secant can touch at more than one point. The limiting-slope definition is more reliable. Local behavior, not a global count of intersections, determines tangency. This distinction matters for inflection points and oscillating graphs.
Understand local linearity
Differentiability means more than having a tangent slope. For small , , where the remainder satisfies . The term is the predicted output change. The remainder is the prediction error. Its size becomes negligible compared with .
The local linear approximation is . It replaces the function near with its tangent line. The approximation generally worsens as grows. It is local rather than global. A derivative therefore measures both rate and best first-order approximation.
For near nine, and . With , the approximation gives . The square-root graph is concave down, so its tangent lies slightly above the graph nearby. The estimate should therefore be a slight overestimate. Concavity helps interpret the direction of error.
Prove differentiability implies continuity
Assume exists and is finite. For , write . As , the quotient approaches . The factor approaches zero. Their product approaches zero.
Thus , which means . This is continuity at . Differentiability therefore implies continuity. A discontinuous function cannot be differentiable at the discontinuity. Continuity is a necessary condition for finite differentiability.
The converse is false. The function is continuous at zero. Its right-hand difference quotients approach one, while its left-hand quotients approach negative one. The two-sided derivative limit does not exist. Continuity alone does not guarantee a single tangent slope.
Analyze one-sided derivatives
The right derivative uses , meaning positive increments. The left derivative uses , meaning negative increments. A finite two-sided derivative exists only when both one-sided derivatives exist and are equal. One-sided derivatives are especially useful at corners and domain endpoints. State which direction is being considered.
For at zero, positive gives quotient . Negative gives quotient . Because the limits differ, no two-sided derivative exists. The graph has a corner. Its continuity does not resolve the conflicting slopes.
At an endpoint, a context may use only one side. If time begins at zero, a right derivative can describe the initial rate. Standard differentiability on an open interval uses two-sided limits at interior points. Do not invent nonexistent inputs outside the domain. Match the derivative definition to the domain and question.
Classify derivative failure modes
A discontinuity prevents differentiability because differentiability implies continuity. A corner has unequal finite one-sided slopes. A cusp has one-sided slopes of opposite infinite signs. A vertical tangent has slopes whose magnitudes grow without bound with compatible direction. Standard finite differentiability fails in all four cases.
Oscillation can also prevent a limiting slope. Difference quotients may keep changing without settling as the interval shrinks. A graph can remain continuous while its local slopes oscillate. Visual smoothness at ordinary scale may hide this behavior. The limit definition is the final test.
Naming the failure mode provides more information than saying “not differentiable.” Compare one-sided limits, check continuity, and inspect whether slope magnitude remains finite. A vertical tangent can still have a meaningful geometric tangent line even though the derivative is not finite. A corner has two competing tangent directions. An oscillatory failure may have no stable tangent direction at all. Each case calls for precise language.
Approximate derivatives from data
When a formula is unavailable, nearby data can approximate a derivative. A forward difference uses . A backward difference uses . A centered difference uses . Centering often balances first-order errors for smooth functions.
Smaller does not guarantee unlimited numerical improvement. Measurement noise becomes magnified when divided by a very small interval. Computer roundoff can also cause subtractive cancellation. Choose a scale that balances local approximation with data quality. Report uncertainty and units.
A table of secant slopes can suggest convergence. Use positive and negative increments when a two-sided derivative is claimed. Values approaching the same number support differentiability but do not prove it from finitely many samples. A symbolic limit or theorem provides stronger evidence. Numerical work remains valuable for exploration and checking.
Diagnose common mistakes
Substituting into the original quotient creates division by zero. Canceling before showing it is a common factor is invalid. Expanding without the cross term changes the function. Forgetting the subtraction parentheses changes the numerator. Each error disrupts the limit structure.
The derivative is not always the function value divided by the input. It is not merely the slope from the origin. It is not guaranteed by continuity. It is not automatically finite at a vertical tangent. The definition decides each case.
Units offer a fast check. A temperature derivative with respect to time must have temperature-per-time units. The increment must have output units. A tangent equation must pass through . These checks complement the formal limit calculation.
Guided practice and connection forward
Use the definition for . The difference quotient simplifies to for . Its limit is three. Therefore for every real . This matches the line’s constant slope.
For , analyze the derivative at two. Positive increments produce slope one, while negative increments produce slope negative one. The one-sided limits differ. Therefore the graph has a corner and is not differentiable at two. The function remains continuous there.
For independent synthesis, use the limit definition to find the derivative of at . State every domain restriction and common-denominator step. Then interpret in words. Include the meaning of the negative sign and the units. Basic differentiation rules will compress these repeated limit arguments while preserving the same local-change meaning.