The Product Rule is one of the most helpful tools in Differential Calculus (*or Calculus I*) to derive two functions that are being multiplied. It can be used along with any existing types of functions as long as multiplication operations are present within the given derivation problem.

However, as easy as it seems to just use a standard formula in deriving functions with multiplication operations, it is essential to learn the concepts behind this standard formula that will satisfy the principles of the product rule. Hence, in this chapter, we will focus mainly on the proofs of the product rule formula by applying the concepts of derivation through limits and the chain rule.

## What is the Product Rule?

The product rule is defined as the derivative of the product of at least two functions. The product rule can be used to derive any given product of functions such as but not limited to:

$latex (fg)'(x) = \frac{d}{dx}(f(x) \cdot g(x))$

where *f(x)* and *g(x)* can be equivalent to any types of functions.

But how exactly do we derive that given function using the product rule?

The product rule states that the derivative of a product of two functions is equal to the first function f(x) in its original form multiplied by the derivative of the second function g(x) and then added to the original form of the second function g(x) multiplied by the derivative of the first function *f(x)*.

To better illustrate, when you are given two functions *f(x)* and *g(x)* and then you are asked to get the derivative of *fg(x) *or the derivative of the product of *f(x)* and *g(x)*, we have:

$$(fg)'(x) = f(x) \cdot g'(x) + g(x) \cdot f'(x)$$ |

Easy, right? But we should not take this formula superficially if we aim to be able to derive any product of functions. In order to learn and understand the concepts behind the development of this product rule formula, we need to be familiarized with any proof which would satisfy the statement of the product rule.

## Proof of The Product Rule Using Limits

In this article, you are highly recommended to be familiarized with the topics, *The Slope of a Tangent Line* and *Derivatives Using Limits,* as a pre-requisite to better understand The Proof of The Product Rule Using Limits.

We can recall that

$$\frac{d}{dx} f(x) = \lim \limits_{h \to 0} {\frac{f(x+h)-f(x)}{h}}$$

By applying limits, we can derive a function *f(x)*. But how about a product of two functions *f(x)* and *g(x)*?

For instance, we are given two functions *f(x)* and *g(x)* and then, we are asked to get the derivative of *fg(x);* we have

$$(fg)'(x) = \frac{d}{dx}(f(x) \cdot g(x))$$

To derive the product of these two functions using limits, we have the following:

Let

$$\Upsilon(x) = f(x) \cdot g(x)$$

Then we have,

$$\Upsilon'(x) = \frac{d}{dx}(f(x) \cdot g(x))$$

and we can derive it by

$$\Upsilon'(x) = \lim \limits_{h \to 0} {\frac{\Upsilon(x+h)-\Upsilon(x)}{h}}$$

By substituting the equation $latex \Upsilon(x) = f(x) \cdot g(x)$, we have

$$ \Upsilon'(x) = \lim \limits_{h \to 0} {\frac{f(x+h) \cdot g(x+h) – f(x) \cdot g(x)}{h}}$$

which can be clearly re-written as:

$$\frac{d}{dx}(f(x) \cdot g(x)) =\lim \limits_{h \to 0} {\frac{f(x+h) \cdot g(x+h) – f(x) \cdot g(x)}{h}}$$

This represents the derivative of a product in terms of limits. Now, this equation cannot be algebraically manipulated easily to arrive at the product rule formula that we are trying to prove.

However, we can add and subtract $latex f(x+h) \cdot g(x)$ to the numerator. Hence, we have

$$\frac{d}{dx}(f(x) \cdot g(x)) = \lim \limits_{h \to 0} {\frac{f(x+h) \cdot g(x+h) – f(x+h) \cdot g(x) + f(x+h) \cdot g(x) – f(x) \cdot g(x)}{h}}$$

Given that $$+ f(x+h) \cdot g(x) – f(x+h) \cdot g(x) = 0$$, we didn’t change the equation at all.

Now, we can factor $latex f(x+h)$ from the first two terms and $latex g(x)$ from the last two terms. Then, we can split it into two parts and by simplifying, we have,

$$\frac{d}{dx}(f(x) \cdot g(x)) = \lim \limits_{h \to 0} {\frac{f(x+h) \cdot (g(x+h)-g(x))}{h} +\lim \limits_{h \to 0} \frac{g(x) \cdot (f(x+h)-f(x))}{h}}$$

$$\frac{d}{dx}(f(x) \cdot g(x)) = \lim \limits_{h \to 0} {f(x+h) \cdot \frac{g(x+h)-g(x)}{h} +\lim \limits_{h \to 0} g(x) \cdot \frac{f(x+h)-f(x)}{h}}$$

By applying the properties of limits to solve the equation, we have

$$\frac{d}{dx}(f(x) \cdot g(x)) = \lim \limits_{h \to 0} {f(x+h)} \cdot \lim \limits_{h \to 0} {\frac{g(x+h)-g(x)}{h}} + \lim \limits_{h \to 0} {g(x)} \cdot \lim \limits_{h \to 0} {\frac{f(x+h)-f(x)}{h}}$$

The limits $latex \lim \limits_{h \to 0} {f(x+h)}$ and $latex \lim \limits_{h \to 0} {g(x)}$ can be easily solved. When *h* tends to zero, we will simply get $latex f(x)$ and $latex g(x)$ respectively.

The limits $latex \lim \limits_{h \to 0} {\frac{g(x+h)-g(x)}{h}}$ and $latex \lim \limits_{h \to 0} {\frac{f(x+h)-f(x)}{h}}$ look more complicated, but they are simply the derivatives of $latex g(x)$ and $latex h(x)$ expressed in limits. Therefore, we have:

$$\frac{d}{dx}(f(x) \cdot g(x)) = f(x) \cdot \frac{d}{dx}(g(x)) + g(x) \cdot \frac{d}{dx}(f(x))$$

or it can be simply illustrated as

$$(fg)'(x) = f(x) \cdot g'(x) + g(x) \cdot f'(x)$$

which is now * The Product Rule Formula*.

Start now: Explore our additional Mathematics resources

## Proof of The Product Rule Using The Chain Rule

Another way that might make the product rule easier to prove and formulate is by applying the chain rule formula. Hence, you are highly recommended to be familiarized with the topics, *The Chain Rule Formula*, *The Sum/Difference of Derivatives, and The Power Formula* as a pre-requisite to better understand The Proof of The Product Rule Using The Chain Rule.

We can recall that the chain rule formula is

$$ \frac{d}{dx}[(f(x))^n] = n \cdot (f(x))^{n-1} \cdot \frac{d}{dx}(f(x))$$

To make the derivation of the product rule easier, we can consider the following expression:

$$\Upsilon(x) = {{(f+g)}^2}$$

where, *f* and *g* are two valid functions.

We are going to derive $latex \Upsilon(x)$ by applying the chain rule. Therefore, we have:

$latex \Upsilon'(x)= 2(f+g)(f’+g’)$

If we multiply and expand the parentheses, we have:

$latex \Upsilon'(x)= 2(ff’+fg’+gf’+gg’)$

$latex = 2ff’+2fg’+2gf’+2gg’$

Now, instead of using the chain rule, we can expand the expression $latex {{(f+g)}^2}$ to get:

$latex \Upsilon(x) = {{f}^2}+fg+{{g}^2}$

If we differentiate term by term, we get:

$latex \Upsilon'(x)= 2ff’+2(fg)’+2gg’)$

Since the two expressions we got for $latex \Upsilon'(x)$ are equivalent, we have:

$$2ff’+2(fg)’+2gg’)= 2ff’+2fg’+2gf’+2gg’$$

$latex (fg)’= fg’+gf’$

We have clearly arrived at the product rule.

## Proof of the Product Rule using logarithmic differentiation

A third method we can use to prove the product rule is by using logarithmic differentiation and implicit differentiation. This is a quicker method but requires you to be familiarized with both topics.

We can start by writing the following expression:

$latex y=f(x)g(x)$

Now, we can take the natural logarithm of both sides:

$latex \ln(y)=\ln(f(x)g(x))$

By using the laws of logarithms on the right side, we can write:

$latex \ln(y)=\ln f(x)+\ln g(x)$

Taking the derivative of both sides, we have:

$$\frac{y’}{y}=\frac{f'(x)}{f(x)}+\frac{g'(x)}{g(x)}$$

Solving for $latex y’$, we have:

$$y’=y\left(\frac{f'(x)}{f(x)}+\frac{g'(x)}{g(x)}\right)$$

Now, we can substitute $latex y=f(x)g(x)$ to get:

$$(fg)’=f(x)g(x)\left(\frac{f'(x)}{f(x)}+\frac{g'(x)}{g(x)}\right)$$

If we multiply and expand the parentheses, we get:

$latex (fg)’=g(x)f'(x)+f(x)g'(x)$

We have arrived at the product rule.

## Product Rule – Examples with Answers

### EXAMPLE 1

Derive the following:

$latex f(x) = \sqrt[5]{x^3} \cdot (x^5 + 3x^2 – 4x)$

##### Solution

The first thing we need to do is to list down the product rule formula for our reference:

$latex \frac{d}{dx}(uv) = uv’ + vu’$

We have two multiplicands in the given function *f(x)*. The first multiplicand is $latex \sqrt[5]{x^3}$ and the other one is $latex (x^5 + 3x^2 – 4x)$.

Based on the product rule formula, let $latex u$ be the first multiplicand and $latex v$ the second multiplicand.

Therefore, we have

$latex u = \sqrt[5]{x^3}$

$latex v = (x^5 + 3x^2 – 4x)$

$latex f(x) = uv$

After doing this, we can now use the product rule formula to derive our given problem:

$latex f'(x) = uv’ + vu’$

$$\frac{d}{dx}f(x) = u \cdot \frac{d}{dx}(v) + v \cdot \frac{d}{dx}(u)$$

$$\frac{d}{dx}f(x) = (\sqrt[5]{x^3}) \cdot \frac{d}{dx}(x^5 + 3x^2 – 4x) + (x^5 + 3x^2 – 4x) \cdot \frac{d}{dx}(\sqrt[5]{x^3})$$

For any radicals, it is advisable to rewrite them in fractional exponent form:

$$\frac{d}{dx}f(x) = (x^3)^{\frac{1}{5}} \cdot \frac{d}{dx}(x^5 + 3x^2 – 4x) + (x^5 + 3x^2 – 4x) \cdot \frac{d}{dx}((x^3)^{\frac{1}{5}})$$

* Note: *In this sample problem, the derivative of $latex u$ will use the chain rule and the power rule formula whilst the derivative of $latex v$ will use the power rule formula and the sum/difference of derivatives.

By applying the product rule formula together with the other derivative formulas to be used for $latex u’$ and $latex v’$, we have:

$$\frac{d}{dx}f(x) = (x^3)^{\frac{1}{5}} \cdot (5x^4 + 6x – 4) + (x^5 + 3x^2 – 4x) \cdot (\frac{1}{5} \cdot (x^3)^{-\frac{4}{5}} \cdot 3x^2)$$

Simplifying algebraically, we get

$$f'(x) = x^{\frac{3}{5}} \cdot (5x^4 + 6x – 4) + (x^5 + 3x^2 – 4x) \cdot (\frac{3}{5}x^{-\frac{2}{5}})$$

$$f'(x) = 5x^{\frac{23}{5}} + 6x^{\frac{8}{5}} – 4x^{\frac{3}{5}} + \frac{3}{5}x^{\frac{23}{5}} + \frac{9}{5}x^{\frac{8}{5}} – \frac{12}{5}x^{\frac{3}{5}}$$

$$f'(x) = \frac{28}{5}x^{\frac{23}{5}} + \frac{39}{5}x^{\frac{8}{5}} – \frac{32}{5}x^{\frac{3}{5}}$$

**And the final answer is:**

$$f'(x) = \frac{28x^{\frac{23}{5}} + 39x^{\frac{8}{5}} – 32x^{\frac{3}{5}}}{5}$$

**OR** in radical form,

$$f'(x) = \frac{28\sqrt[5]{x^{23}} + 39\sqrt[5]{x^8} – 32\sqrt[5]{x^3}}{5}$$

### EXAMPLE 2

Derive the following function:

$latex f(x) = (5x^5-x^4) \cdot (30x-12x^2)$

##### Solution

Based on our given, we have two multiplicands in the given function *f(x)*. The first multiplicand is $latex (5x^5-x^4)$ and the other one is $latex (30x-12x^2)$.

Let $latex u$ be the first multiplicand and $latex v$ the second multiplicand.

Therefore, we have

$latex u = (5x^5-x^4)$

$latex v = (30x-12x^2)$

$latex f(x) = uv$

After doing this, we can now use the product rule formula to derive our given problem:

$latex f'(x) = uv’ + vu’$

$$\frac{d}{dx}f(x) = u \cdot \frac{d}{dx}(v) + v \cdot \frac{d}{dx}(u)$$

$$\frac{d}{dx}f(x) = (5x^5-x^4) \cdot \frac{d}{dx}(30x-12x^2) + (30x-12x^2) \cdot \frac{d}{dx}(5x^5-x^4)$$

* Note: *In this sample problem, the derivative of $latex u$ will use the power rule formula and the sum/difference of derivatives. The derivative of $latex v$ will also use the same derivation formulas used in $latex u$.

By applying the product rule formula together with the other derivative formulas to be used for $latex u’$ and $latex v’$, we have:

$$\frac{d}{dx}f(x) = (5x^5-x^4) \cdot (30-24x) + (30x-12x^2) \cdot (25x^4-4x^3)$$

Simplifying algebraically, we get

$$f'(x) = [-120x^6+174x^5-30x^4] + [-300x^6+798x^5-120x^4]$$

$$f'(x) = -120x^6-300x^6 +174x^5+798x^5-30x^4-120x^4$$

**And the final answer is:**

$$f'(x) = -420x^6+972x^5-150x^4$$

### EXAMPLE 3

What is the derivative of the following function?

$latex f(x) = 6x^3 \cdot \ln{(x)}$

##### Solution

Based on our given, we have two multiplicands in the given function *f(x)*. The first multiplicand is $latex 6x^3$ and the other one is $latex \ln{(x)}$.

Based on the product rule formula, and letting $latex u$ be the first multiplicand and $latex v$ the second multiplicand, we have

$latex u = 6x^3$

$latex v = \ln{(x)}$

$latex f(x) = uv$

After doing this, we can now use the product rule formula to derive our given problem:

$latex f'(x) = uv’ + vu’$

$$\frac{d}{dx}f(x) = u \cdot \frac{d}{dx}(v) + v \cdot \frac{d}{dx}(u)$$

$$\frac{d}{dx}f(x) = 6x^3 \cdot \frac{d}{dx}(\ln{(x)}) + \ln{(x)} \cdot \frac{d}{dx}(6x^3)$$

* Note: *In this sample problem, the derivative of $latex u$ will use the power rule formula whilst the derivative of $latex v$ will use the derivative formula for logarithmic functions.

By applying the product rule formula together with the other derivative formulas to be used for $latex u’$ and $latex v’$, we have:

$$\frac{d}{dx}f(x) = 6x^3 \cdot (\frac{1}{x}) + \ln{(x)} \cdot (18x^2)$$

Simplifying algebraically, we get

$latex f'(x) = 6x^2 + 18x^2 \cdot \ln{(x)}$

**And the final answer is:**

$latex f'(x) = 6x^2 + 18x^2\ln{(x)}$

### EXAMPLE 4

Find the derivative of:

$latex f(x) = 9x^3 \cdot \sec{(\pi x)}$

##### Solution

Based on our given, we have two multiplicands in the given function *f(x)*. The first multiplicand is $latex 6x^3$ and the other one is $latex \ln{(x)}$.

Based on the product rule formula, and letting $latex u$ be the first multiplicand and $latex v$ the second multiplicand, we have

$latex u = 9x^3$

$latex v = \sec{(\pi x)}$

$latex f(x) = uv$

After doing this, we can now use the product rule formula to derive our given problem:

$latex f'(x) = uv’ + vu’$

$$\frac{d}{dx}f(x) = u \cdot \frac{d}{dx}(v) + v \cdot \frac{d}{dx}(u)$$

$$\frac{d}{dx}f(x) = 9x^3 \cdot \frac{d}{dx}(\sec{(\pi x)}) + \sec{(\pi x)} \cdot \frac{d}{dx}(9x^3)$$

* Note: *In this sample problem, the derivative of $latex u$ will use the power rule formula whilst the derivative of $latex v$ will use the chain rule formula and the derivative formula for trigonometric functions.

$$\frac{d}{dx}f(x) = 9x^3 \cdot (\pi \sec{(\pi x)} \tan{(\pi x)}) + \sec{(\pi x)} \cdot (27x^2)$$

Simplifying algebraically, we get

$$f'(x) = 9\pi x^3 \cdot (\sec{(\pi x)} \tan{(\pi x)}) + 27x^2 \cdot \sec{(\pi x)}$$

**And the final answer is:**

$$f'(x) = 9\pi x^3 \sec{(\pi x)} \tan{(\pi x)} + 27x^2 \sec{(\pi x)}$$

### EXAMPLE 5

Derive the following function:

$latex f(x) = 5^x \cdot (x+5)^5$

##### Solution

Based on our given, we have two multiplicands in the given function *f(x)*. The first multiplicand is $latex 5^x$ and the other one is $latex (x+5)^5$.

Letting $latex u$ be the first multiplicand and $latex v$ the second multiplicand, we have

$latex u = 5^x$

$latex v = (x+5)^5$

$latex f(x) = uv$

After doing this, we can now use the product rule formula to derive our given problem:

$latex f'(x) = uv’ + vu’$

$$\frac{d}{dx}f(x) = u \cdot \frac{d}{dx}(v) + v \cdot \frac{d}{dx}(u)$$

$$\frac{d}{dx}f(x) = 5^x \cdot \frac{d}{dx}((x+5)^5) + (x+5)^5 \cdot \frac{d}{dx}(5^x)$$

* Note:*In this sample problem, the derivative of $latex u$ will use the derivative formula for exponential function whilst the derivative of $latex v$ will use the chain rule formula.

$$\frac{d}{dx}f(x) = 5^x \cdot (5 \cdot (x+5)^4 \cdot (1)) + (x+5)^5 \cdot (5^x \cdot \ln{(5)} \cdot (1))$$

Simplifying algebraically, we get

$$f'(x) = 5(x+5)^4 \cdot 5^x + (x+5)^5 \cdot \ln{(x)}$$

**And the final answer is:**

$$f'(x) = 5(x+5)^4 \cdot 5^x + (x+5)^5 \ln{(x)}$$

## See also

Interested in learning more about the product rule? Take a look at these pages:

### Learn mathematics with our additional resources in different topics

**LEARN MORE**