Product rule for differentiation

From Calculus

Statement for two functions

Verbal statement

If two (possibly equal) functions are differentiable at a given real number, then their pointwise product is also differentiable at that number and the derivative of the product is the sum of two terms: the derivative of the first function times the second function and the first function times the derivative of the second function.

Statement with symbols

Suppose f and g are functions, both of which are differentiable at a real number x=x0. Then, the product function fg, defined as xf(x)g(x) is also differentiable at x, and the derivative at x0 is given as follows:

ddx[f(x)g(x)]|x=x0=f(x0)g(x0)+f(x0)g(x0)

or equivalently:

ddx[f(x)g(x)]|x=x0=d(f(x))dx|x=x0g(x0)+f(x0)d(g(x))dx|x=x0

If we consider the general expressions rather than evaluation at a particular point x0, we can rewrite the above as:

ddx[f(x)g(x)]=f(x)g(x)+f(x)g(x)

or equivalently:

(fg)=(fg)+(fg)

Statement for multiple functions

If f1,f2,,fn are all functions, and we define F(x):=f1(x)f2(x)fn(x), then we have:

F(x)=f1(x)f2(x)fn(x)+f1(x)f2(x)fn(x)++f1(x)f2(x)fn1(x)fn(x)

In other words, we get a sum of n terms, each of which is a product of n evaluations, of which only one is a derivative, and the one we choose as the derivative cycles through all the n possibilities.

For instance, if n=3, we get:

F(x)=f1(x)f2(x)f3(x)+f1(x)f2(x)f3(x)+f1(x)f2(x)f3(x)

Related rules

Examples

Trivial examples

We first consider examples where the product rule for differentiation confirms something we already knew through other means:

Case What we know about the derivative of xf(x)g(x) What we know about f(x)g(x)+f(x)g(x)
g is the zero function. The derivative is the zero function, because f(x)g(x)=0 for all x. Both g(x) and g(x) are zero functions, so f(x)g(x)+f(x)g(x) is everywhere zero.
g is a constant nonzero function with value λ. The derivative is λf(x), because the constant can be pulled out of the differentiation process. f(x)g(x) simplifies to λf(x). Since g is constant, g(x) is the zero function, hence so is f(x)g(x). The sum is thus λf(x).
f=g The derivative is 2f(x)f(x) by the chain rule for differentiation: we are composing the square function and f. We get f(x)f(x)+f(x)f(x)=2f(x)f(x).

Nontrivial examples where simple alternate methods exist

Fill this in later

Nontrivial examples where simple alternate methods do not exist

Fill this in later