Product Rule in Calculus 📈
Welcome, students! In this lesson, you will learn one of the most useful rules in calculus: the product rule. Calculus often helps us understand change, and many real situations involve two quantities that multiply together. For example, a company’s revenue can be written as price times number of items sold, or the area of a rectangle can be written as length times width. When both parts are changing, we need a special method to find the rate of change of the product. That method is the product rule.
Learning goals
By the end of this lesson, you should be able to:
- explain what the product rule means and why it is needed,
- apply the product rule to differentiate functions written as products,
- connect the product rule to rates of change in real contexts,
- recognize how the product rule fits into the wider study of calculus,
- use examples and technology-supported checking to build confidence.
What is the product rule?
The product rule is a differentiation rule for functions that are multiplied together. If a function is written as $y=f(x)g(x)$, then the derivative is not just the derivative of one part times the other part. Instead, both functions contribute to the rate of change.
The product rule is:
$$\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)$$
You may also see it written with Leibniz notation as:
$$\frac{dy}{dx} = \frac{df}{dx}g + f\frac{dg}{dx}$$
This formula says: differentiate the first function and multiply by the second, then add the first function times the derivative of the second. The plus sign is important. Many students first expect multiplication to “carry through” in a simple way, but calculus shows that change in a product is more complicated than that.
A helpful memory phrase is: “first derivative times second, plus first times second derivative.” 🙂
Why we need the product rule
Imagine a small online shop selling T-shirts. Let $p(x)$ be the price of a shirt after $x$ days and let $q(x)$ be the number sold per day after $x$ days. Revenue can be modeled by:
$$R(x)=p(x)q(x)$$
If the price changes and the number sold changes, then the revenue changes because of both factors. If we only differentiated one factor and ignored the other, we would miss part of the story.
This is a key idea in IB Mathematics: Applications and Interpretation SL: calculus is about interpreting change in context. A product represents a situation where two changing quantities work together. The product rule lets us find the rate of change of that combined quantity.
Another example is the area of a rectangle. If length is $L(t)$ and width is $W(t)$, then area is:
$$A(t)=L(t)W(t)$$
If both length and width change with time, then area changes because of both. The product rule gives:
$$\frac{dA}{dt}=\frac{dL}{dt}W(t)+L(t)\frac{dW}{dt}$$
That means the area can increase because the rectangle is getting longer, wider, or both.
Working through the rule step by step
Let’s differentiate a simple product:
$$y=(x^2)(\sin x)$$
Here, one factor is $f(x)=x^2$ and the other is $g(x)=\sin x$.
First find each derivative:
$$f'(x)=2x$$
$$g'(x)=\cos x$$
Now apply the product rule:
$$\frac{dy}{dx}=(2x)(\sin x)+(x^2)(\cos x)$$
So the derivative is:
$$\frac{dy}{dx}=2x\sin x+x^2\cos x$$
Notice that both original factors remain in the answer in some form. This is one reason the product rule is easy to identify once you know what to look for.
Now try a function with a constant factor:
$$y=5x^3e^x$$
You can think of this as $f(x)=5x^3$ and $g(x)=e^x$. Then:
$$f'(x)=15x^2$$
$$g'(x)=e^x$$
Apply the rule:
$$\frac{dy}{dx}=15x^2e^x+5x^3e^x$$
You can factor this if needed:
$$\frac{dy}{dx}=5x^2e^x(3+x)$$
Factoring is not required by the product rule, but it can make an answer neater or easier to interpret.
Common mistakes to avoid
A very common mistake is to do this:
$$\frac{d}{dx}[f(x)g(x)] = f'(x)g'(x)$$
This is incorrect. The derivative of a product is not the product of the derivatives.
For example, if $y=x\cdot x=x^2$, then the product rule gives:
$$\frac{dy}{dx}=(1)(x)+(x)(1)=2x$$
If you incorrectly used $f'(x)g'(x)$, you would get:
$$1\cdot 1=1$$
That is not the derivative of $x^2$. This example shows why the product rule matters.
Another mistake is forgetting that both terms are added. The structure is always:
$$f'(x)g(x)+f(x)g'(x)$$
Not one term, not multiplication, but addition of two parts.
It also helps to keep track of the order of the functions. You may choose either function as the “first” one, but you must be consistent when writing the formula.
Product rule in context and interpretation
In IB AI SL, the goal is not just to calculate derivatives but to interpret them. That means asking what the derivative tells us about the situation.
Suppose a café’s daily profit is modeled by:
$$P(x)=a(x)b(x)$$
where $a(x)$ might represent the number of drinks sold and $b(x)$ might represent profit per drink. Then:
$$P'(x)=a'(x)b(x)+a(x)b'(x)$$
The first term shows how profit changes when sales change. The second term shows how profit changes when profit per drink changes. In real life, both effects may happen at the same time. This is exactly the kind of reasoning calculus is designed for.
Another useful interpretation is in physics. If position is given by a product of two changing quantities, the product rule gives the rate of change. Even in non-physics IB contexts, the idea is the same: many real quantities are built from products, so their rates of change must account for both factors.
Using technology to check your work
Technology can help you confirm derivatives, but it should not replace understanding. A graphing calculator or computer algebra system can differentiate products and show the result. This is useful for checking whether you applied the product rule correctly.
For example, if you enter:
$$y=(x^2)(\sin x)$$
a calculator may display:
$$\frac{dy}{dx}=2x\sin x+x^2\cos x$$
You can then compare this with your own work. If your answer is different, go back and check each derivative carefully.
Technology is also useful for interpreting the derivative graphically. The graph of a product may look complicated, but the derivative helps show where the function is increasing or decreasing. This supports the broader calculus idea that derivatives measure rate of change.
Example with a short applied interpretation
Suppose the width of a poster is $w(t)=20+2t$ cm and the height is $h(t)=30-t$ cm, where $t$ is time in weeks. The area is:
$$A(t)=w(t)h(t)=(20+2t)(30-t)$$
Using the product rule:
$$A'(t)=(2)(30-t)+(20+2t)(-1)$$
Simplify:
$$A'(t)=60-2t-20-2t$$
$$A'(t)=40-4t$$
This tells us the area is changing at a rate of $40-4t$ square centimeters per week. At $t=5$,
$$A'(5)=40-20=20$$
So after 5 weeks, the poster’s area is increasing at $20$ cm^2 per week. This is a clear example of how calculus connects symbolic differentiation to real-world meaning.
How the product rule fits into calculus
The product rule is one of the core differentiation rules, along with the power rule, quotient rule, and chain rule. It is especially important because it often appears inside more complex problems. Many expressions in calculus are built from combinations of rules.
For example, a function may include a product inside a chain structure, such as:
$$y=(x^2+1)e^{3x}$$
Here you need the product rule for the multiplication and possibly the chain rule for differentiating $e^{3x}$. In that way, the product rule is not isolated; it is part of a larger toolkit for analyzing change.
In the full calculus story, differentiation helps us find instantaneous rates of change, while integration helps us find accumulation. The product rule belongs to the differentiation side, but its ideas still support interpretation in accumulation problems because it helps describe how changing quantities interact.
Conclusion
The product rule is a key calculus method for differentiating products of functions. It exists because the derivative of a product is not simply the product of the derivatives. Instead, both functions contribute to the total rate of change.
For students, the most important points are to recognize when a function is a product, apply the formula carefully, and interpret the result in context. Whether you are studying revenue, area, or another changing quantity, the product rule helps you describe how two moving parts combine to create change. That makes it a powerful and practical tool in IB Mathematics: Applications and Interpretation SL.
Study Notes
- The product rule is used when two functions are multiplied: $y=f(x)g(x)$.
- The formula is $$\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + f(x)g'(x).$$
- A good memory phrase is: “first derivative times second, plus first times second derivative.”
- Do not confuse the product rule with $f'(x)g'(x)$; that is incorrect.
- The product rule is useful for real-world situations where two changing quantities are multiplied, such as revenue or area.
- In interpretation questions, explain what each term in the derivative means in context.
- Technology can check answers, but understanding the rule is still essential.
- The product rule often appears together with other calculus rules, especially the chain rule.
