Product Rule — Step by Step, Deeply Explained
A full handwritten-style guide that takes you from the basic idea to real fluency, with intuition, worked examples, strategy, mistakes, and practice.
What is the Product Rule?
The Product Rule is the rule you use when you want to differentiate a function that is built by multiplying two functions of x together. That last phrase matters. This is not about multiplying two ordinary numbers like 4 and 7. It is about multiplying expressions that both change as x changes.
If one function changes and the other function also changes, then the total product changes for two separate reasons at the same time. The first factor is changing, and the second factor is changing. The Product Rule captures both effects in one clean formula.
In plain English: differentiate the first part and keep the second part the same, then add the first part unchanged times the derivative of the second part.
This rule shows up everywhere in calculus. You use it with polynomials, trigonometric functions, exponentials, logarithms, and more advanced combinations later on. If you truly understand this rule rather than memorizing it mechanically, differentiation becomes dramatically easier.
Why do we even need a special rule?
A lot of students first meet the Product Rule right after learning simpler derivative rules like the power rule. At that point, it is tempting to assume derivatives behave the way multiplication behaves in arithmetic. That intuition feels natural, but it breaks down fast.
One common wrong guess is:
This is incorrect because the product changes not just from “the derivative of both,” but from the combined effect of each factor changing while the other still exists.
Here is a quick reality check:
Now use the wrong rule:
That does not match 5x⁴. So a new rule is necessary.
The deeper reason is this: when x changes by a tiny amount, the first factor changes and the second factor changes. Those are two separate contributions to the total change in the product. The Product Rule adds those contributions correctly.
The intuition behind the formula
Here is the idea that makes the Product Rule feel much less mysterious. Imagine two quantities are multiplied together, say length and width. If the area of a rectangle is A = length × width, then the area can change because the length changes, because the width changes, or because both change.
Suppose the length is u and the width is v. If u increases a little bit, then the area increases by about (change in u) × v. If v increases a little bit, then the area increases by about u × (change in v). Put those together, and the total change is approximately:
When calculus turns that approximate statement into an exact derivative statement, you get:
That is why the rule has two terms. One term accounts for the first function changing. The other term accounts for the second function changing.
This is one of the most useful mental models in calculus: when a quantity depends on multiple changing parts, the derivative often tracks each changing part separately. Once you grasp that, the Product Rule stops feeling like a random formula and starts feeling inevitable.
The Product Rule formula again
You might also see it written in shorthand as:
All versions mean the same thing. Use whichever one helps you think clearly.
Step-by-step method you can use every single time
When students struggle with Product Rule questions, it is rarely because the formula is too advanced. Usually the issue is that they try to do everything mentally at once. The fix is to use a reliable structure.
This sequence sounds simple, but it is powerful. It protects you from most common errors.
Example 1: y = x²(x + 3)
This is a perfect starter example because it involves a polynomial times a bracket. That structure should immediately make you think: Product Rule.
Differentiate each:
Write the rule before plugging values in:
Now substitute:
y′ = 2x² + 6x + x²
y′ = 3x² + 6x
Notice what made this easy: we kept the structure intact. If you jump straight into expanding without writing the Product Rule skeleton, it is much easier to miss a term.
Example 2: y = x³ sin x
This is the moment where the Product Rule becomes more than a school exercise. You cannot combine x³ and sin x into a single simpler expression. So the Product Rule is not optional. It is the natural tool.
u′ = 3x², v′ = cos x
y′ = 3x² sin x + x³ cos x
This result is already in a strong final form. Sometimes you simplify further; sometimes you do not. Good calculus is not about forcing every answer into one style. It is about recognizing what is already clean and mathematically useful.
Example 3: y = (2x + 1)(x² − 4)
This is a great example because both factors are algebraic, but neither factor should be ignored. Students sometimes see brackets and expand first. You can do that, but the Product Rule is often cleaner and teaches better discipline.
u′ = 2, v′ = 2x
y′ = 2(x² − 4) + (2x + 1)(2x)
y′ = 2x² − 8 + 4x² + 2x
y′ = 6x² + 2x − 8
One subtle skill here is controlling the algebra after differentiation. Many Product Rule mistakes are not derivative mistakes at all; they are expansion or sign mistakes during simplification.
Example 4: y = eˣ cos x
Now we combine an exponential and a trigonometric function. This is where Product Rule fluency becomes genuinely valuable. These mixed-function derivatives show up constantly in higher calculus, physics, engineering, and differential equations.
u′ = eˣ, v′ = −sin x
y′ = eˣ cos x + eˣ(−sin x)
y′ = eˣ cos x − eˣ sin x
y′ = eˣ(cos x − sin x)
The factoring at the end is optional, but elegant. It makes the shared factor visible and gives a more compact final answer.
Example 5: y = x ln x
This is a classic example. It is simple enough to understand quickly, but important enough that it appears in many textbooks and exams.
u′ = 1, v′ = 1/x
y′ = 1·ln x + x·(1/x)
y′ = ln x + 1
This is one of those beautiful answers in calculus where an apparently messy product becomes something surprisingly simple.
Example 6: y = (x² + 1)(x³ − 2x)
This example is slightly more demanding because each factor has multiple terms. But the Product Rule itself does not become harder. The main challenge is staying organized.
u′ = 2x, v′ = 3x² − 2
y′ = 2x⁴ − 4x² + 3x⁴ + x² − 2
y′ = 5x⁴ − 3x² − 2
If you can do this calmly, you are already beyond basic Product Rule understanding. You are building algebraic control, which matters just as much as derivative knowledge.
Example 7: y = (3x² + 2)(sin x)
This is another excellent mixed-type example. One factor is polynomial; the other is trigonometric. That should immediately trigger Product Rule thinking.
Step 2: u′ = 6x, v′ = cos x
y′ = 6x sin x + (3x² + 2) cos x
What matters here is that both terms remain visible. If you write only one term, you have lost half the derivative.
How to recognize when the Product Rule is needed
You should think about the Product Rule whenever you see two separate expressions multiplied together and both depend on x. Here are the most common patterns:
- Polynomial × polynomial, such as x²(x + 1)
- Polynomial × trigonometric function, such as x sin x
- Polynomial × exponential function, such as x²eˣ
- Polynomial × logarithmic function, such as x ln x
- Exponential × trigonometric function, such as eˣ cos x
- Two brackets multiplied together, such as (x² + 3)(x⁵ − 1)
A useful habit is this: whenever you see multiplication in a derivative question, pause and ask, “Are these both functions of x?” If yes, the Product Rule may be the correct tool.
When you do not need the Product Rule
This point is extremely important because strong calculus students do not just know rules; they know when to avoid unnecessary work.
If the expression can be simplified first into a single simpler function, that can be the faster route.
Therefore y′ = 5x⁴
Using the Product Rule also works:
y′ = 2x⁴ + 3x⁴ = 5x⁴
Both are correct. But simplifying first is more efficient here.
That said, do not force simplification if it makes the problem harder. For something like x² sin x, there is nothing meaningful to simplify. In that case, go directly to the Product Rule.
The most common mistakes — and how to avoid them
This is the most famous Product Rule error. Fix it by forcing yourself to say the rule aloud: first derivative times second, plus first times second derivative.
The Product Rule always has two terms. If your answer has only one term, stop and check.
In the first term, only the first factor is differentiated. In the second term, only the second factor is differentiated.
If one factor has more than one term, keep it in brackets until you are ready to expand. This avoids silent sign mistakes.
Many students apply the Product Rule correctly but simplify incorrectly. Always treat simplification as a separate step.
Be careful with derivatives like d/dx(cos x) = −sin x and d/dx(ln x) = 1/x. The Product Rule does not replace those rules; it works together with them.
A fast strategy for exams
When time matters, clarity matters even more. Here is an exam-safe workflow:
- Spot the multiplication and identify the two factors.
- Write a small side note: u = ..., v = ....
- Compute u′ and v′.
- Write u′v + uv′ before simplifying.
- Only simplify if it improves the answer or the examiner likely expects it.
This method is not just safe. It is efficient. Students who rush often think structure wastes time. In reality, structure prevents rework.
How the Product Rule connects to other derivative rules
The Product Rule does not live alone. In real problems, it often combines with the power rule, the chain rule, trigonometric derivatives, logarithmic derivatives, and exponential derivatives.
For example, in y = x² sin(3x), you use the Product Rule because two factors are multiplied, but inside one factor, sin(3x), you also need the Chain Rule.
That is a powerful lesson: calculus rules are not isolated tricks. They layer together. The sooner you get comfortable combining them, the stronger you become.
Product Rule vs. Quotient Rule vs. Chain Rule
Students often confuse these three, so let us separate them cleanly:
Sometimes a single problem uses more than one of these. That is normal. In fact, that is where calculus starts to feel real.
Practice set
Try the question first, then reveal the answer. Do not just read the result. The real improvement comes from attempting the structure yourself.
y′ = 4x⁴ − 8x³ + x⁴
y′ = 5x⁴ − 8x³
y′ = cos x − x sin x
y′ = 2x⁴ + 2x + 3x⁴ + 15x²
y′ = 5x⁴ + 15x² + 2x
y′ = eˣ(x² + 2x)
y′ = 2x ln x + x
y′ = 2x sin(3x) + x²·3cos(3x)
y′ = 2x sin(3x) + 3x² cos(3x)
Quick memory trick
f′g + fg′
This short phrase is worth memorizing exactly. It gives you the whole structure in one line and helps under time pressure.
Helpful questions students often ask
Sometimes yes. If expanding makes the expression simpler, that is perfectly valid. But if the product involves sin x, ln x, eˣ, or other functions that do not combine into one simpler algebraic expression, the Product Rule is usually the right path.
Not always. Once you are comfortable, you can mentally track the two factors. But when learning, and especially during exams, labeling them is a smart move.
You can apply the Product Rule more than once, or group two factors together first. For example, for x²eˣ sin x, you might treat x² and eˣ sin x as two big factors, then use Product Rule again on eˣ sin x.
Check whether you got two terms. Check whether each term came from differentiating only one factor at a time. Check signs, brackets, and special derivatives.
Because it is one of the core structures of calculus. Once you own it, you unlock a huge percentage of standard derivative problems.
Final summary
The Product Rule tells you how to differentiate the product of two functions. The formula is:
Use it whenever two x-dependent expressions are multiplied. Think of the derivative as tracking both ways the product can change: the first factor changes while the second remains present, and the second factor changes while the first remains present.
If you remember nothing else, remember this process:
2. Differentiate each one separately
3. Write u′v + uv′
4. Substitute carefully
5. Simplify calmly
Mastering the Product Rule is not about memorizing a sentence. It is about seeing structure. Once you start seeing products clearly, many calculus problems become far less intimidating. That is the real win: not just getting an answer, but becoming the kind of student who can look at a derivative problem and know exactly what to do next.