From Wikipedia, the free encyclopedia - View original article

For Euler's chain rule relating partial derivatives of three independent variables, see Triple product rule. For the counting principle in combinatorics, see Rule of product.

Calculus | ||||||
---|---|---|---|---|---|---|

| ||||||

Specialized | ||||||

In calculus, the **product rule** is a formula used to find the derivatives of products of two or more functions. It may be stated thus:

- .

or in the Leibniz notation thus:

- .

In the notation of differentials this can be written as follows:

- .

The derivative of the product of three functions is:

- .

Discovery of this rule is credited to Gottfried Leibniz, who demonstrated it using differentials.^{[1]} (However, Child (2008) argues that it is due to Isaac Barrow). Here is Leibniz's argument: Let *u*(*x*) and *v*(*x*) be two differentiable functions of *x*. Then the differential of *uv* is

Since the term *du*·*dv* is "negligible" (compared to *du* and *dv*), Leibniz concluded that

and this is indeed the differential form of the product rule. If we divide through by the differential *dx*, we obtain

which can also be written in Lagrange's notation as

- Suppose we want to differentiate
*ƒ*(*x*) =*x*^{2}sin(*x*). By using the product rule, one gets the derivative*ƒ*'(*x*) = 2*x*sin(*x*) +*x*^{2}cos(*x*) (since the derivative of*x*^{2}is 2*x*and the derivative of sin(*x*) is cos(*x*)). - One special case of the product rule is the
**constant multiple rule**which states: if*c*is a real number and*ƒ*(*x*) is a differentiable function, then*cƒ*(*x*) is also differentiable, and its derivative is (*c*×*ƒ*)'(*x*) =*c*×*ƒ*'(*x*). This follows from the product rule since the derivative of any constant is zero. This, combined with the sum rule for derivatives, shows that differentiation is linear. - The rule for integration by parts is derived from the product rule, as is (a weak version of) the quotient rule. (It is a "weak" version in that it does not prove that the quotient is differentiable, but only says what its derivative is
*if*it is differentiable.)

Let *h(x) = f(x) g(x)*, and suppose that *f* and *g* are each differentiable at *x*. We want to prove that *h* is differentiable at *x* and that its derivative *h'(x)* is given by *f'(x) g(x) + f(x) g'(x)*.

- .

This section does not cite any references or sources. (July 2013) |

A rigorous proof of the product rule can be given using the definition of the derivative as a limit, and the basic properties of limits.

Let *h(x) = f(x) g(x)*, and suppose that *f* and *g* are each differentiable at *x _{0}*. (Note that

Let *Δh = h(x _{0}+Δx) - h(x_{0})*; note that although

The function *h* is differentiable at *x _{0}* if the limit

exists; when it does, *h'(x _{0})* is defined to be the value of the limit.

As with *Δh*, let *Δf = f(x _{0}+Δx) - f(x_{0})* and

It follows that *h(x _{0}+Δx) = f(x_{0}+Δx) g(x_{0}+Δx) = (f(x_{0}) + Δf) (g(x_{0})+Δg)*; applying the distributive law, we see that

**(**- )

- )

While it is not necessary for the proof, it can be helpful to understand this product geometrically as the area of the rectangle in this diagram:

To get the value of *Δh*, subtract *h(x _{0})=f(x_{0}) g(x_{0})* from equation

To find *h'(x _{0})*, we need to find the limit as

**(**- )

- )

The first two terms of the right-hand side of this equation correspond to the areas of the blue rectangles; the third corresponds to the area of the gray rectangle. Using the basic properties of limits and the definition of the derivative, we can tackle this term-by term. First,

- .

Similarly,

- .

The third term, corresponding to the small gray rectangle, winds up being negligible (i.e. going to 0 in the limit) because *Δf Δg* "vanishes to second order." Rigorously,

We have shown that the limit of each of the three terms on the right-hand side of equation **(**)** exists, hence

exists and is equal to the sum of the three limits. Thus, the product *h(x)* is differentiable at *x _{0}* and its derivative is given by

as was to be shown.

By definition, if are differentiable at then we can write

such that , also written . Then:

Taking the limit for small gives the result.

Let *f* = *uv* and suppose *u* and *v* are positive functions of *x*. Then

Differentiating both sides:

and so, multiplying the left side by *f*, and the right side by *uv* (note: *f* = *uv*),

The proof appears in [1]. Note that since *u*, *v* need to be continuous, the assumption on positivity does not diminish the generality.

This proof relies on the chain rule and on the properties of the natural logarithm function, both of which are deeper than the product rule (however, information about the derivative of a logarithm that is sufficient to carry out a variant of the proof can be inferred by considering the derivative at *x* = *1* of the logarithm to any base of *cx*, where *c* is a constant, then generalising *c*). From one point of view, that is a disadvantage of this proof. On the other hand, the simplicity of the algebra in this proof perhaps makes it easier to understand than a proof using the definition of differentiation directly.

There is an analogous but arguably even easier proof (i.e., some people may find it easier as it can be used before being able to differentiate logarithms), using quarter square multiplication, which similarly relies on the chain rule and on the properties of the quarter square function (shown here as *q*, i.e., with ):

Differentiating both sides:

This does not present issues of whether the values are positive or negative, and the function's properties are much simpler to demonstrate (indeed, it can be differentiated without using first principles by considering the derivative at *x* = *0* of *cx*, where *c* is a constant, then generalising *c*).

Note also, these proofs are only valid for numbers or similar, whereas proofs from first principles are also valid for matrices and such like.

The product rule can be considered a special case of the chain rule for several variables.

Let *u* and *v* be continuous functions in *x*, and let d*x*, d*u* and d*v* be infinitesimals within the framework of non-standard analysis, specifically the hyperreal numbers. Using st to denote the standard part function that associates to a finite hyperreal number the real infinitely close to it, this gives

.

This was essentially Leibniz's proof exploiting the transcendental law of homogeneity (in place of the standard part above).

In the context of Lawvere's approach to infinitesimals, let dx be a nilsquare infinitesimal. Then du = u' dx and dv = v' dx, so that

since

This section does not cite any references or sources. (July 2013) |

The product rule can be generalized to products of more than two factors. For example, for three factors we have

- .

For a collection of functions , we have

It can also be generalized to the Leibniz rule for the *n*th derivative of a product of two factors:

See also binomial coefficient and the formally quite similar binomial theorem. See also General Leibniz rule.

Furthermore, for the *n*th derivative of an arbitrary number of factors:

For partial derivatives, we have

where the index *S* runs through the whole list of 2^{n} subsets of {1, ..., *n*}. For example, when *n* = 3, then

Suppose *X*, *Y*, and *Z* are Banach spaces (which includes Euclidean space) and *B* : *X* × *Y* → *Z* is a continuous bilinear operator. Then *B* is differentiable, and its derivative at the point (*x*,*y*) in *X* × *Y* is the linear map *D*_{(x,y)}*B* : *X* × *Y* → *Z* given by

In abstract algebra, the product rule is used to *define* what is called a derivation, not vice versa.

The product rule extends to scalar multiplication, dot products, and cross products of vector functions.

For scalar multiplication:

For dot products:

For cross products:

(Beware: since cross products are not commutative, it is not correct to write But cross products are anticommutative, so it can be written as )

For scalar fields the concept of gradient is the analog of the derivative:

Among the applications of the product rule is a proof that

when *n* is a positive integer (this rule is true even if *n* is not positive or is not an integer, but the proof of that must rely on other methods). The proof is by mathematical induction on the exponent *n*. If *n* = 0 then *x*^{n} is constant and *nx*^{n − 1} = 0. The rule holds in that case because the derivative of a constant function is 0. If the rule holds for any particular exponent *n*, then for the next value, *n* + 1, we have

Therefore if the proposition is true of *n*, it is true also of *n* + 1.

Product rule is also used in definition of abstract tangent space of some abstract geometric figure (smooth manifold). This definition we can use if we cannot or wish to not use surrounding ambient space where our chosen geometric figure lives (since there might be no such surrounding space). It uses the fact that it is possible to define derivatives of real-valued functions on that geometric figure at a point p solely with the product rule and that the set of all such derivations in fact forms a vector space that is the desired tangent space.

- Derivation (differential algebra)
- Differential (mathematics)
- General Leibniz rule
- Quotient rule
- Reciprocal rule

**^**Michelle Cirillo (August 2007). "Humanizing Calculus".*The Mathematics Teacher***101**(1): 23–27. (subscription required (help)).

- Child, J. M. (2008) "The early mathematical manuscripts of Leibniz", Gottfried Wilhelm Leibniz, translated by J. M. Child; page 29, footnote 58.