# Product rule

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

or in Leibniz's notation

In differentials notation, this can be written as

In Leibniz's notation, the derivative of the product of three functions (not to be confused with Euler's triple product rule) is

## Contents

## DiscoveryEdit

Discovery of this rule is credited to Gottfried Leibniz, who demonstrated it using differentials.^{[1]} (However, J. M. Child, a translator of Leibniz's papers,^{[2]} 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

## ExamplesEdit

- Suppose we want to differentiate
*f*(*x*) =*x*^{2}sin(*x*). By using the product rule, one gets the derivative*f′*(*x*) = 2*x*sin(*x*) +*x*^{2}cos(*x*) (since the derivative of*x*^{2}is 2*x*and the derivative of the sine function is the cosine function). - One special case of the product rule is the constant multiple rule, which states: if
*c*is a number and*f*(*x*) is a differentiable function, then*cf*(*x*) is also differentiable, and its derivative is (*cf*)′(*x*) =*cf′*(*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.)

## ProofsEdit

### Proof by factoring (Proof from first principles)Edit

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*). To do this, (which is zero, and thus does not change the value) is added to the numerator to permit its factoring, and then properties of limits are used.

### Brief proofEdit

By definition, if are differentiable at then we can write

such that , also written . Then:

Taking the limit for small gives the result.

### Quarter squaresEdit

There is a proof using quarter square multiplication which relies on the chain rule and on the properties of the quarter square function (shown here as *q*, i.e., with ):

Differentiating both sides:

### Chain ruleEdit

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

### Non-standard analysisEdit

Let *u* and *v* be continuous functions in *x*, and let *dx*, *du* and *dv* 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).

### Smooth infinitesimal analysisEdit

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

## GeneralizationsEdit

This section does not cite any sources. (July 2013) (Learn how and when to remove this template message) |

### A product of more than two factorsEdit

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

### Higher derivativesEdit

It can also be generalized to the general Leibniz rule for the *n*th derivative of a product of two factors, by symbolically expanding according to the binomial theorem:

Applied at a specific point *x*, the above formula gives:

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

### Higher partial derivativesEdit

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

### Banach spaceEdit

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

### Derivations in abstract algebraEdit

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

### Vector functionsEdit

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

For scalar multiplication:

For dot products:

For cross products:

Note: cross products are not commutative, i.e. , instead products are anticommutative, so it can be written as

### Scalar fieldsEdit

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

## ApplicationsEdit

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 for *n*, it is true also for *n* + 1, and therefore for all natural *n*.

## ReferencesEdit

**^**Michelle Cirillo (August 2007). "Humanizing Calculus".*The Mathematics Teacher*.**101**(1): 23–27. (Subscription required (help)). Cite uses deprecated parameter`|subscription=`

(help)**^**Leibniz, G. W. (2005) [1920],*The Early Mathematical Manuscripts of Leibniz*(PDF), translated by J.M. Child, Dover, p. 28, footnote 58, ISBN 978-0-486-44596-0