A secant slope measures average change over a nonzero interval. If these slopes approach a finite value as the interval shrinks, their limit is the instantaneous rate of change.
Definition 3.1.1
(Derivative)
For defined on a neighbourhood of , when this finite limit exists. Differentiability at implies continuity at , but continuity does not imply differentiability: is continuous at zero and has unequal one-sided slopes there. At an endpoint use the appropriate one-sided derivative when specified.
Proof
(Differentiability implies continuity)
For , . If the quotient tends to , the product tends to zero. Thus as .
Theorem 3.1.2
(Differentiation rules)
When the displayed derivatives exist, , , where , and . For real , on ; integer powers can also be used wherever defined. In radians, and . Also and for .
The finite limit laws justify difference-quotient limits, and the finite binomial theorem gives the integer-power calculation. The geometric trigonometric limits are used in the sine/cosine proof. Only the area-logarithm construction needs the proper-integral mesh and order properties; the selected Darboux definition and criterion and uniform-continuity/integrability proof establish those properties without derivative formulas or FTC. Only these elementary proof sections are prerequisites for the area-logarithm construction; the later material on the fundamental theorem and integration by parts is not used.
First principles: a method, not a memorized table
For defined on a neighborhood of ,
provided the limit exists as a real number. The numerator must compare the same function at two inputs. Substitution of in the original quotient is never the method.
For a positive integer , the finite binomial theorem gives
Subtract and divide by nonzero . The remaining sum tends to zero, so . This proof applies at as well; for the sum is empty. The constant case is checked directly, and negative integer powers follow by reciprocals on .
Example 1 — a reciprocal from its quotient. For ,
For sufficiently small , , so all stages are defined. For at zero, the quotient is , with one-sided limits ; continuity does not rescue differentiability.
Product, quotient and chain rules with hypotheses
For real constants , the difference quotient of is exactly . The finite sum and scalar limit laws therefore prove whenever both derivatives exist.
If are differentiable at , then they are continuous there, and
Proof
(Product rule from increments)
Write . Divide by and take limits. Differentiability makes , giving .
If , continuity keeps nonzero nearby. First prove the reciprocal derivative directly:
Applying the already-proved product rule to now gives
For composition, suppose is differentiable at and at , with the composite defined on a neighborhood of . Then
A proof that does not divide by a possibly zero inner increment is useful. Differentiability gives
where define . Also with . Divide the composed increment by and substitute. The result tends to , even if for some nonzero .
Derivatives of sine and cosine
First make the compound-angle formulas explicit. Rotating the plane through an angle sends the horizontal unit vector to and the vertical unit vector to . A rotation preserves vector addition and real scaling, so the unit vector is sent to
Its new angle is ; equating coordinates proves both addition formulas. Replacing by or taking supplies difference and double-angle formulas with the same sign conventions. This is a coordinate derivation, not an inference from numerical angle examples.
Now use the sine addition formula to write
The two special trigonometric limits make this tend to . Similarly,
Thus and for every real input. The quotient rule then gives
For example the tangent numerator is , not . Reciprocals also give and on their respective domains.
If is a numerical angle in degrees, its sine is . Therefore , not just cosine. The radian convention is what removes the conversion factor.
From a proper area logarithm to the natural exponential
Use proper integrals of continuous functions on finite closed intervals, their proved additivity/order/linearity, the completeness and Archimedean properties, and the intermediate value theorem. Define
with oriented bounds. Every integral here is proper: its interval stays a positive distance from zero.
Continuity and strict increase. For , additivity and order give . Near any fixed , restrict . Then , proving continuity without using a logarithmic derivative.
The product law from actual sums. Fix . Scaling a tagged partition of the interval between and by scales its mesh by and its widths by . The corresponding sums satisfy
Both are sums of continuous proper integrands, so their all-mesh limits are equal. For reverse orientation; is zero directly. Hence and
In particular , and . As , the latter values are unbounded above by the Archimedean property; the reciprocal values are unbounded below. For any real , choose positive arguments with below and above . Continuity and the intermediate value theorem give an with . Strict increase makes that unique.
Construct and control the inverse. Define as this inverse. It is strictly increasing and continuous. To prove continuity at , choose . The numbers have positive gaps. If is smaller than both gaps, monotonicity forces , so . The product law and uniqueness yield , and . Define and for . It follows that and , since . For integer exponents these equal repeated products; for rational , , the definition is the unique positive th root of . Thus it agrees with the elementary positive rational powers and gives their continuous real extension. In particular , and the area logarithm is its inverse .
Derivatives without a cycle. For , the average of on the interval between and , with the sign of and orientation both retained, lies between its smallest and largest values on that interval. Both bounds tend to . Thus
For and , put . Inverse continuity gives , and
The denominator limit is nonzero, so the reciprocal is justified. This proves and from proper area and inverse continuity, with neither L'Hôpital's rule nor a previously assumed exponential derivative. The chain rule then gives on by , and for . The case is the constant one. This supplies the normalization and identity bridge between the area logarithm, the inverse exponential and the real-power notation.
Exponential and logarithmic derivatives
The exponential addition law yields
For and small enough to keep ,
These are deductions from the derivatives just proved: and give , while and give . Thus the two limits above follow without l’Hôpital’s rule. With ,
including the constant case . For , on .
On any interval not containing zero, . For negative , this follows by writing and applying the chain rule. A logarithm of an absolute value permits negative inner values but still excludes zeros.
The interval consequences of these derivatives are developed in Mean-value theorem and interval consequences.
Continuous monotone inverses and principal branches
Let be a real interval and let be continuous and strictly monotone. Its image is an interval: every value between two image values is attained between their preimages by the intermediate value theorem. Strict monotonicity makes bijective. Its inverse is continuous relative to . Indeed fix and . If has a point below , choose with ; this is possible by the interval property. If there is no such point, every inverse value is already at least . Similarly, when there are points above , choose in . The positive numbers and for the sides that exist have a positive minimum ; if neither side exists, and continuity is immediate. For with , monotonicity places between the chosen brackets, on each side that exists. Thus . This argument works for increasing and decreasing functions and for included endpoints.
If is interior to , is differentiable at and , continuity and strict monotonicity give an open output interval around . For in that interval put . Injectivity gives , inverse continuity gives , and
The nonzero limit justifies the reciprocal and proves existence of the inverse derivative. No derivative continuity is required once strict monotonicity on the interval has been established.
For in , the addition formulas give : the midpoint lies strictly between and , and . Thus sine is strictly increasing on this closed interval; its endpoint values are . For , , since both sine factors are positive. Cosine is therefore strictly decreasing on , and its endpoint values are . Thus their continuous principal inverses have domains and ranges and , respectively. Tangent is continuous on and is strictly increasing there: for in that interval, , because and both cosine factors are positive. As its argument tends to the endpoints from within, its sine tends to or and its cosine tends to zero through positive values. Hence tangent tends to and . IVT gives its range and a continuous inverse into that open interval. The inverse difference quotient therefore applies to all three branches at every interior input. The positive square-root signs in the following formulas follow from cosine being positive on the arcsine interior range and sine being positive on the arccosine interior range.
Prove local inverse existence before its derivative formula is a stronger later local inverse criterion, using the mean value theorem. The continuous strictly monotone inverse and branch proof needed here is already complete above.
Inverse trigonometric derivatives
Suppose a continuous strictly monotone has a continuous local inverse and . Write and . For , injectivity gives , and
The inverse's continuity ensures when . This proves the inverse derivative, rather than assuming its differentiability and using it in a circular chain-rule argument.
For , the range restriction makes cosine positive in the interior. Thus, for ,
For arccosine, makes sine positive, giving on . For arctangent, and , so for every real .
The arcsine and arccosine formulas have no finite extension to inputs ; those are endpoints of their domains and the interior slopes become unbounded. For , the function domain is , whereas its finite derivative formula applies only to .
Combining rules and implicit equations
Worked example 3.1.3
(Chain, product and logarithmic differentiation)
For , the product and chain rules give . For with , taking logs gives . Differentiating gives , hence . Taking logarithms requires a positive argument; use locally when if appropriate.
Worked example 3.1.4
(Implicit and inverse differentiation)
If locally defines a differentiable and , differentiating yields , hence . At this formula does not assert a finite derivative. If a differentiable inverse exists locally and , differentiating gives . Consequently and for .
Counterexample mode
An inverse need not be differentiable where the slope is zero
The inverse formula above assumes . Without that hypothesis it can fail even for a smooth, strictly increasing bijection. Let on . Its inverse is the real cube root , which is continuous, and . At the difference quotient of the inverse is
which grows without bound as , so does not exist. The derivation breaks at its last step: differentiating at would give , that is , which no finite number satisfies. Geometrically, the graph of is the reflection of the graph of in the line , so the horizontal tangent of at the origin becomes a vertical tangent. At every the hypothesis holds, and the formula gives .
Piecewise functions and linear approximation
If changes formula at , first check that its value and one-sided limits agree. Then compute the left and right difference quotients; differentiability requires them to exist and be equal. For example define for and for . Both pieces tend to , so is continuous at zero, but the right derivative is and the left derivative is , so does not exist.
At a differentiability point, as . The tangent line therefore gives a local linear approximation. The small-o statement means the error divided by tends to zero; it does not promise a particular numerical error bound without further information.
Worked example 3.1.5
(A derivative at a point and a tangent line)
For and , the derivative is for . Thus the tangent line is and gives . The approximation is local; Taylor's theorem can give a quantitative error bound.
Concept lensAlgebraic
The derivative as the only slope with small error
The statement can be read as a definition. Suppose a number satisfies with as . Dividing by gives , so is differentiable at and . Conversely, if exists, then satisfies . Hence differentiability means exactly that one linear function of matches the change with an error that is small compared with , and at most one slope can do so: if two slopes and both worked, then , which forces .
The tangent-line example above shows the size of this error. With and , the approximation differs from by about , much smaller than itself. This reading carries over directly to functions of several variables, where the derivative becomes the linear map that matches the change up to an error small compared with the length of the displacement.
Choosing a method
Start with the definition when asked to justify differentiability, especially at a piecewise boundary. Otherwise identify outer and inner functions before using the chain rule. Use implicit differentiation for equations defining a curve locally, and logarithmic differentiation for positive products or variable exponents. Higher derivatives repeat the process only where the preceding derivative exists.
Exercises
- Compute from the definition for .
- Differentiate and specify its domain.
- For , find at , assuming the curve locally defines differentiable .
Full solutions
- for , so the limit is .
- Since on all of , the domain is and the chain rule gives .
- Differentiate: , so when the denominator is nonzero. At this is .
Connection
A derivative is itself a function. Its sign and changes will describe monotonicity, curvature and optimal values; inverse differentiation provides derivatives needed for integration formulas.
Proof
(Related sections with full statements and proofs)
The following links lead to the full statements and proofs of the prerequisite results used in this note.
Binomial coefficients and Pascal's identity.
Deriving the binomial theorem.
Finite real limit laws and geometric sequences: proofs.
The fundamental trigonometric limit.
Continuity, intermediate values and compact extrema.
Real closed sets: the sequence criterion and the open complement.
Heine–Borel in finite-dimensional Euclidean space.
Darboux sums and integrability.
Darboux integrability and the fundamental theorem.
Bounded proper Riemann integrals: mesh equivalence and elementary properties.