Basic Properties and Formulas
These rules assume the component functions are differentiable at the evaluation points. A quotient or reciprocal additionally requires a nonzero denominator. For , require differentiable at and differentiable at , with the composition defined nearby.
In the power rule, is a constant, not a function of . For arbitrary real , use ; positive integer powers extend to all real , and negative integer powers exclude zero. At boundaries such as for a fractional power, check the definition separately. See the derivation and examples of these formulas.
Basic Derivative Rules
-
Constant Rule: The derivative of a constant is zero.
-
Constant Multiple Rule: The derivative of a constant multiplied by a function is the constant times the derivative of the function.
-
Power Rule: The derivative of a variable raised to a power is the power multiplied by the variable raised to one less than the power.
Derivative of Composite Functions
Sum Rule
The derivative of a sum of two functions is the sum of their derivatives.
Difference Rule
The derivative of a difference between two functions is the difference of their derivatives.
Product Rule
The derivative of the product of two functions is given by:
Quotient Rule
The derivative of the quotient of two functions is:
Chain Rule
Formal Definition
For two functions and , with and , the derivative of with respect to is:
Lagrange Notation
Using Lagrange's notation, where denotes the derivative, for , the chain rule is expressed as:
Generalization for Multiple Compositions
For compositions involving multiple functions, such as , the chain rule extends as follows: Here , , , and .
Or, using Lagrange notation for a function that is a composition of , , and , we get:
For a geometric view of composition, follow the three number lines in 3Blue1Brown’s chain-rule explanation: input, inner output, then outer output. The two successive changes show why the local scale factors multiply.
Special Derivatives
-
Derivative of a Square: The derivative of the square of a function is twice the function times the derivative of the function.
-
Derivative of a Reciprocal: The derivative of the reciprocal of a function.
Why the product rule has two terms
For , add and subtract in the numerator:
Taking limits gives because differentiability of implies continuity. It is not : taking would incorrectly give instead of .
For a worked combination, let . The outer operation is a product; inside its second factor is a composition. Hence
The factor is the derivative of the inner input . The chain rule composes local rates; the Leibniz notation is a mnemonic, not a justification for cancelling arbitrary symbols.
Open full-size imageFor positive side lengths and increments, the two strips contribute f Δg and g Δf; the corner contributes Δf Δg. Divide the area change by Δx. For differentiable f and g, the corner term tends to zero, leaving the two terms in the product rule. The limit proof above also covers signed values and decreases.