5. Calculus

Product Rule

Product Rule in Calculus

Introduction: Why does multiplying functions matter? 📈

Imagine students is tracking the growth of a small online store. One function gives the number of visitors per day, and another gives the average spending per visitor. The total revenue depends on both, so it is often modeled as a product of two functions. This is where the Product Rule becomes essential. In calculus, we need ways to find how a quantity changes when it is built from two changing parts. The Product Rule tells us how to differentiate a product of functions correctly.

By the end of this lesson, students should be able to:

  • explain the meaning of the Product Rule and its notation,
  • apply the rule to find derivatives of products of functions,
  • connect the rule to real-world modelling and IB-style reasoning,
  • understand how Product Rule fits into broader calculus ideas such as rate of change and accumulation.

The key idea is simple but very important: the derivative of a product is not just the product of the derivatives. That common mistake causes many errors, so learning the structure of the rule is essential.

What the Product Rule says

If two functions are multiplied together, such as $y=f(x)g(x)$, then the derivative is

$$

$\frac{dy}{dx}=f(x)g'(x)+g(x)f'(x).$

$$

A more compact form is

$$

$(fg)'=f'g+fg'.$

$$

This means you differentiate the first function and keep the second, then keep the first and differentiate the second, and finally add the two results.

For example, if $y=x^2\sin x$, then let $f(x)=x^2$ and $g(x)=\sin x$. Since $f'(x)=2x$ and $g'(x)=\cos x$, the derivative is

$$

$\frac{dy}{dx}=2x\sin x+x^2\cos x.$

$$

This result is very useful because products of functions appear often in science, economics, and statistics. For example, a changing price multiplied by a changing quantity sold gives changing revenue, and the Product Rule helps describe that change accurately.

Why the rule works

To understand the rule, students can think about a small change in a product. Suppose $y=f(x)g(x)$ and $x$ changes a tiny amount $\Delta x$. Then both $f(x)$ and $g(x)$ may change. The product changes because of two effects:

  1. the first function changes while the second stays about the same,
  2. the second function changes while the first stays about the same.

That is why the derivative has two terms. The Product Rule captures both sources of change.

A helpful way to see this is through approximation. If $f$ changes by $\Delta f$ and $g$ changes by $\Delta g$, then

$$

$\Delta(fg)\approx f\,\Delta g+g\,\Delta f,$

$$

ignoring the tiny term $\Delta f\,\Delta g$. When divided by $\Delta x$ and the limit is taken as $\Delta x\to 0$, this becomes

$$

$\frac{d}{dx}(fg)=f\frac{dg}{dx}+g\frac{df}{dx}.$

$$

This shows that the rule is not arbitrary; it comes from the way two varying quantities interact.

How to apply the Product Rule accurately

When using the Product Rule, the first step is to identify the two functions being multiplied. Then students should differentiate each one separately and substitute into the formula.

Example 1: polynomial times polynomial

Suppose

$$

y=(3x^2-1)(x^4+2x).$$

Let $f(x)=3x^2-1$ and $g(x)=x^4+2x$. Then

$$

$f'(x)=6x, \qquad g'(x)=4x^3+2.$

$$

So

$$

$\frac{dy}{dx}=6x(x^4+2x)+(3x^2-1)(4x^3+2).$

$$

This can be simplified if needed, but in many IB questions, a correct unsimplified derivative is already acceptable unless otherwise stated.

Example 2: trigonometric and exponential functions

Suppose

$$

$y=e^x\cos x.$

$$

Then $f(x)=e^x$ and $g(x)=\cos x$. Since $f'(x)=e^x$ and $g'(x)=-\sin x$,

$$

$\frac{dy}{dx}=e^x\cos x-e^x\sin x.$

$$

Factoring gives

$$

$\frac{dy}{dx}=e^x(\cos x-\sin x).$

$$

This kind of expression appears often in modelling oscillations, growth, and decay together.

Example 3: product inside a bigger expression

If

$$

$y=x^2\ln x,$

$$

then the Product Rule gives

$$

$\frac{dy}{dx}=2x\ln x+x^2\cdot\frac{1}{x}=2x\ln x+x.$

$$

Here, the function $\ln x$ must have domain $x>0$, so domain awareness matters in calculus. In IB Mathematics: Applications and Interpretation HL, context and interpretation are as important as algebraic accuracy.

Common mistakes to avoid ⚠️

A frequent error is writing

$$

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

$$

This is incorrect because it ignores the two separate ways the product changes. Another mistake is differentiating only one factor and forgetting the other factor must still be included.

For example, if

$$

$y=x^3\sin x,$

$$

then the derivative is not just

$$

$3x^2\cos x.$

$$

The correct derivative is

$$

$\frac{dy}{dx}=3x^2\sin x+x^3\cos x.$

$$

students should also be careful when simplifying before differentiating. Sometimes expanding first is possible, especially for polynomials, but for many functions it is easier and safer to use the Product Rule directly.

A final common issue is mixing up the Product Rule with the Chain Rule. They are different. The Product Rule applies when two functions are multiplied. The Chain Rule applies when one function is inside another, such as $\sin(x^2)$. Some expressions require both rules together, such as

$$

$y=x^2\sin(x^3).$

$$

In that case, one factor is $x^2$, and the other factor is a composite function $\sin(x^3)$.

Product Rule in IB-style reasoning and modelling

In IB Mathematics: Applications and Interpretation HL, calculus is not only about symbolic manipulation. It is about understanding change in context. The Product Rule helps when one measured quantity depends on two changing factors.

Real-world example: revenue

Suppose a company’s revenue is

$$

$R(x)=p(x)q(x),$

$$

where $p(x)$ is the price per item and $q(x)$ is the number of items sold. Then the rate of change of revenue is

$$

$R'(x)=p'(x)q(x)+p(x)q'(x).$

$$

This tells students that revenue can change because price changes, quantity changes, or both. In interpretation questions, the meaning of each term is important. The first term measures the effect of changing price while holding sales level fixed. The second term measures the effect of changing sales while holding price fixed.

Real-world example: area with changing dimensions

If the length of a rectangle is $L(t)$ and the width is $W(t)$, then the area is

$$

$A(t)=L(t)W(t).$

$$

Its rate of change is

$$

$\frac{dA}{dt}=L(t)\frac{dW}{dt}+W(t)\frac{dL}{dt}.$

$$

This is useful in physics and engineering, where dimensions may vary over time.

Link to accumulation

The derivative gives rate of change, while integration gives accumulation. Product Rule matters because it helps us create and interpret the differential equations that describe accumulation processes. If a model involves a product like $y=f(x)g(x)$, then understanding $\frac{dy}{dx}$ is often the first step before solving or interpreting the model.

Conclusion

The Product Rule is a fundamental calculus tool for differentiating products of functions. Its formula,

$$

$(fg)'=f'g+fg',$

$$

shows that both factors contribute to the rate of change. This idea matches real-life situations where two changing quantities work together, such as revenue, area, or growth models. In IB Mathematics: Applications and Interpretation HL, students should not only calculate derivatives correctly but also explain what each term means in context. That combination of algebra and interpretation is central to calculus.

Study Notes

  • The Product Rule is used when two functions are multiplied: $y=f(x)g(x)$.
  • The formula is $\frac{d}{dx}(fg)=f'g+fg'$.
  • Differentiate each factor separately, then add the two products.
  • The derivative of a product is not the product of the derivatives.
  • Use the Product Rule for expressions like $x^2\sin x$, $e^x\cos x$, and $x^2\ln x$.
  • In context, each term in the Product Rule often has a real meaning, such as one factor changing while the other stays fixed.
  • The rule is essential in modelling revenue, area, and other quantities built from changing parts.
  • Product Rule often appears alongside the Chain Rule, especially when one factor is itself a composite function.
  • Good calculus work in IB includes correct algebra, accurate notation, and clear interpretation of results.

Practice Quiz

5 questions to test your understanding

Product Rule — IB Mathematics Applications And Interpretation HL | A-Warded