Calculus (IX): How To Really Understand The Product Rule - An illustration with whiteboard graphics showing the following information: u(x) = 3x² + 2; v(x) = 2x + 8; y(x) = [u(x)]*[v(x)]; dy/dx = ??

Welcome to the ninth calculus series entry, where we take a look at the first principles behind the product rule of differentiation. In my previous essay, I covered the sum rule and the difference rule of differentiation.

Suppose that we have the following functions:

Calculus (IX): How To Really Understand The Product Rule — An illustration with whiteboard graphics showing the following information: u(x) = 3x² + 2; v(x) = 2x + 8; y(x) = [u(x)]*[v(x)]
Functions of x — Math illustrated by the author

As you can see, u(x) and v(x) are separately functions of the independent variable ‘x’. We get the function y(x) by multiplying u(x) and v(x). Now, how shall we go about differentiating y(x)? Let us find out.

This essay is supported by Generatebg

A product with a beautiful background featuring the sponsor: Generatebg - a service that generates high-resolution backgrounds in just one click. The description says "No more costly photographers" and displays a "Get Started" button beneath the description.

The Intuitive Method

We cannot just differentiate u(x) and v(x) separately with respect to ‘x’ and multiply the results. If we do that we are sure to miss the cross multiplied terms. So, why don’t we start by multiplying the components of y(x) first:

Calculus (IX): How To Really Understand The Product Rule — An illustration with whiteboard graphics showing the following information: y(x) = [u(x)]*[v(x)]; y(x) = (3x² + 2)*(2x + 8) = 6x³ + 24x² + 4x + 16
y(x) expanded — Math illustrated by the author

Now, we just have a single expression in terms of ‘x’. If we differentiate this expression with respect to ‘x’ using the power rule, we get the derivative dy/dx as follows:

Calculus (IX): How To Really Understand The Product Rule — An illustration with whiteboard graphics showing the following information: y(x) = (3x² + 2)*(2x + 8) = 6x³ + 24x² + 4x + 16; dy/dx = 18x² + 48x + 4
dy/dx — Math illustrated by the author

This is a good start. Now we know what the derivative of the function is. But even though we have managed to differentiate a function that is a product of two separate functions, we have still not covered the underlying principles in the abstract sense.

To do that, we shall use first principles that we have been applying from the beginning of this series (if you haven’t checked out my previous essays in this series, I strongly recommend that you do).


The Product Rule Emerges from First Principles

If we increase ‘x’ by an infinitesimal amount of ‘dx’, ‘y’ increases by ‘dy’, ‘u’ increases by ‘du’, and ‘v’ increases by ‘dv’ (where ‘dy’, ‘du’, and ‘dv’ are also infinitesimal amounts). We get the corresponding expression as follows:

Calculus (IX): How To Really Understand The Product Rule — An illustration with whiteboard graphics showing the following information: y = u*v y + dy = (u + du)*(v + dv)
(y + dy) — Math illustrated by the author

When we carry out the multiplication operation on the right-hand side of the equation, we get the following result:

Calculus (IX): How To Really Understand The Product Rule — An illustration with whiteboard graphics showing the following information: y = (u + du)*(v + dv) = (u*v) + (v*du) + (u*dv) + (du*dv)
(y + dy) expanded — Math illustrated by the author

The last term (du*dv) is an infinitesimal term of the second order of smallness. So, we may neglect it in the limit of ‘x’ tending to zero. We may then subtract [y = (u*v)] from both sides of the resulting expression as follows:

Calculus (IX): How To Really Understand The Product Rule — An illustration with whiteboard graphics showing the following information: y + dy = (u*v) + (v*du) + (u*dv); Subtracting y = (u*v) from both sides: y + dy − y = (u*v) + (v*du) + (u*dv) − (u*v); dy = (v*du) + (u*dv)
dy — Math illustrated by the author

If we divide the above expression by ‘dx’ throughout, we get the derivative of ‘y’ with respect to ‘x’:

Calculus (IX): How To Really Understand The Product Rule — An illustration with whiteboard graphics showing the following information: dy = (v*du) + (u*dv); Dividing both sides by dx: dy/dx = [v*(du/dx)] + [u*(dv/dx)]
The product rule — Math illustrated by the author

This is the general expression for the product rule of calculus. Let us see how exactly it works.


Interpreting the Product Rule of Calculus

The product rule essentially conveys the following steps in order to differentiate a function that is a product of two functions:

1. Multiply each function with the derivative of the other separately. To this end, treat any other function that is currently not being differentiated as a constant. For example, when differentiating ‘u’, treat ‘v’ as a constant and when differentiating ‘v’, treat ‘u’ as a constant.

2. Sum all the resulting products to obtain the derivative of the original encompassing function.

We may test out how this works using our original example:

Calculus (IX): How To Really Understand The Product Rule — An illustration with whiteboard graphics showing the following information: u(x) = 3x² + 2; v(x) = 2x + 8; y(x) = [u(x)]*[v(x)]; du/dx = 6x; dv/dx = 2; dy/dx = [v*(du/dx)] + [u*(dv/dx)] = [(2x + 8)*6x] + [(3x² + 2)*2] = 12x² + 48x + 6x² + 4 = 18x² + 48x + 4
Solved example using the product rule — Math illustrated by the author

There we go; we have obtained the same result as before, but this time we successfully applied the product rule based on first principles. In my next essay, I will be covering the quotient rule of differentiation.


Reference and credit: Silvanus Thompson.

If you’d like to get notified when interesting content gets published here, consider subscribing.

Further reading that might interest you:

If you would like to support me as an author, consider contributing on Patreon.

Street Science

Explore humanity's most curious questions!

Sign up to receive more of our awesome content in your inbox!

Select your update frequency:

We don’t spam! Read our privacy policy for more info.