Calculus · Derivatives

How to Use the Product Rule

Problem

f(x)=x2(x+3)f(x) = x^2(x + 3)

Answer

f′(x)=3x2+6xf^{\prime}(x) = 3x^2 + 6x

The product rule applies when two functions multiply. For simple polynomials you can expand first, but the rule works in every case.

Step-by-step solution

  1. Label the two factors.

    u=x2,v=x+3u = x^2,\quad v = x + 3

    Why: The product rule needs each factor and its derivative.

  2. Differentiate each factor.

    u′=2x,v′=1u^{\prime} = 2x,\quad v^{\prime} = 1

    Why: The power rule gives u prime, and the derivative of x + 3 is 1.

  3. Write the product rule.

    f′(x)=u′v+uv′f^{\prime}(x) = u^{\prime} v + u v^{\prime}

    Why: Each factor takes a turn being differentiated.

  4. Substitute and simplify.

    f′(x)=2x(x+3)+x2(1)=2x2+6x+x2=3x2+6xf^{\prime}(x) = 2x(x + 3) + x^2(1) = 2x^2 + 6x + x^2 = 3x^2 + 6x

    Why: Combining like terms gives the final derivative.

Common mistakes

  • Multiplying the derivatives: 2x times 1. That is not the product rule.
  • Differentiating only one factor.
  • Forgetting to distribute the 2x over both terms in the bracket.

Practice problems

Use the same method. Work each problem on paper, then open the answer to check.

  1. f(x)=x(x+1)f(x) = x(x + 1)

    Show answer

    f′(x)=2x+1f^{\prime}(x) = 2x + 1

  2. f(x)=x2(x+2)f(x) = x^2(x + 2)

    Show answer

    f′(x)=3x2+4xf^{\prime}(x) = 3x^2 + 4x

  3. f(x)=x3(x−1)f(x) = x^3(x - 1)

    Show answer

    f′(x)=4x3−3x2f^{\prime}(x) = 4x^3 - 3x^2

  4. f(x)=x(x2+2)f(x) = x(x^2 + 2)

    Show answer

    f′(x)=3x2+2f^{\prime}(x) = 3x^2 + 2

  5. f(x)=x2(x2+1)f(x) = x^2(x^2 + 1)

    Show answer

    f′(x)=4x3+2xf^{\prime}(x) = 4x^3 + 2x