Mathematics · Calculus

Product Rule of Differentiation

The product rule allows the differentiation of products of two functions.

BasicExam-relevant

Free · no credit card · in your study plan in 2 minutes

Formula

LaTeX: (f \cdot g)' = f' \cdot g + f \cdot g'
Dimensionless (calculus)

Variables & units – Product Rule of Differentiation

SymbolMeaningUnit
f, gDifferentiable functionsdimensionless
f', g'Derivatives of f and gdimensionless

Derivation & background – Product Rule of Differentiation

Mnemonic: "derivative-of-first times second, plus first times derivative-of-second". Leibniz notation: d(u·v)/dx = (du/dx)·v + u·(dv/dx). Generalized to n factors by mathematical induction.

Exam blueprint

Validity range

Applies when both factors are differentiable at the point considered.

Derivation steps

In the difference quotient both factors change; both change contributions remain.

  1. 1Write f(x+h)g(x+h)-f(x)g(x).
  2. 2Add and subtract f(x+h)g(x), yielding two difference quotients.

Rearrangements

Reconstruct product from known derivative

Algebraically useful; in practice f'g + fg' is used directly.

Task variant

Differentiate x²·e^x.

(x²e^x)' = 2x·e^x + x²·e^x = e^x(2x+x²).

Common mistakes

Multiplying only the derivatives: (fg)' = f'g'.

Correct is f'g + fg'.

Exam context

  • Typical with exponential functions, trigonometric products and parametric functions.

These mistakes cost points in real exams. The set drills them until they stick.

Worked example

(x²·sin x)' = 2x·sin x + x²·cos x. Check: the graph of (x²·sin x) should have slope 0 at x = 0: 2·0·0 + 0² = 0 ✓

Applications

Physics (momentum p = mv, dp/dt = m′v + mv′), statistics, optimization problems

Quanta exam set

Curated exam set for "Product Rule of Differentiation":

Question (front)

Which formula describes Product Rule of Differentiation?

Answer in your set

Question (front)

How do you rearrange (fg)' = f'g + fg' for Reconstruct product from known derivative?

Answer in your set

Question (front)

Which common mistake happens with Product Rule of Differentiation?

Answer in your set

+ 7 more cards: units, variables, derivation, example, exam task

These 10 cards are ready. One click and they sit in your deck, FSRS schedules the reviews until exam day.

Scientific sources

Common notations & search queries

(f*g)'=f'g+fg'(uv)'=u'v+uv'd/dx(fg)=f'g+fg'Produktregel AbleitungProduktregel DifferentialrechnungStrich normal plus normal Strichproduct rule derivative

Related formulas

More Mathematics formulas

Frequently asked questions about Product Rule of Differentiation

How do you differentiate a product of two functions?+

By the product rule (f·g)′ = f′·g + f·g′. So you differentiate the first factor and multiply it by the unchanged second, then add the unchanged first factor times the derivative of the second. Example: for x²·e^x, f = x² with f′ = 2x and g = e^x with g′ = e^x. This gives (x²·e^x)′ = 2x·e^x + x²·e^x = e^x·(2x + x²). It is important that you do not simply multiply the two derivatives; that is the most common mistake. Both summands belong, because in the limit both factors change simultaneously.

Why is (f·g)′ not equal to f′·g′?+

Because when differentiating a product both factors change simultaneously and both change contributions must be taken into account. In the difference quotient of f·g one adds and subtracts an intermediate term, which creates two contributions: one from the change of f with g held fixed, one from the change of g with f held fixed. This gives (f·g)′ = f′·g + f·g′. Taking only f′·g′ would omit the mixed contributions and give a wrong result. A simple test: for f = g = x, (x·x)′ = (x²)′ = 2x, whereas f′·g′ = 1·1 = 1, which is obviously wrong.

When do you use the product rule and when the chain rule?+

The product rule applies when two functions are multiplied together, that is for an expression of the form f(x)·g(x), for example x²·sin x. The chain rule, by contrast, applies to nested functions where one function is inserted into another, that is f(g(x)), for example sin(x²). The key is the structure: a times sign between two independent functions points to the product rule, an inner function in the argument of an outer one to the chain rule. Often both rules appear combined in one problem, for example x²·sin(3x); then you first apply the product rule and use the chain rule for the nested factor.

How do you differentiate a product of three functions?+

The product rule extends to three factors. For f·g·h, (f·g·h)′ = f′·g·h + f·g′·h + f·g·h′. So you differentiate one factor at a time and leave the other two unchanged, then add all three terms. The pattern continues for any number of factors: in each summand exactly one factor is differentiated. Alternatively you can combine two factors into one and apply the ordinary product rule twice. Example: (x·sin x·e^x)′ = 1·sin x·e^x + x·cos x·e^x + x·sin x·e^x. Make sure to form only a single derivative in each term.

How do you check the result of a product rule differentiation?+

A good check is to test the result at a known point with an expected property. For (x²·sin x)′ = 2x·sin x + x²·cos x the slope at x = 0 should be zero, because there the function itself is zero and has a local extremum: 2·0·0 + 0²·1 = 0, which fits. In addition you can evaluate the product in special cases, for example when one factor is constant; then the product rule must give the same as simple differentiation with a constant prefactor. Checking at a rounded numerical value with the difference quotient also confirms whether your symbolic derivative is correct.

Retain Product Rule of Differentiation for exams

Create a curated FSRS exam set for (fg)' = f'g + fg': formula recall, variables, derivation, rearrangement, worked example, common mistakes and exam context.

Free · curated formula set · LaTeX · FSRS spaced repetition

How do you calculate with Product Rule of Differentiation?

Here is how to work through a typical Product Rule of Differentiation ((fg)' = f'g + fg') task step by step:

  1. 1

    Task

    Differentiate x²·e^x.

    Solution path

    (x²e^x)' = 2x·e^x + x²·e^x = e^x(2x+x²).