Skip to content
EN - Language: English
MathematicsHigh schoolMedium

Product rule and chain rule together

Find the derivative of the function

f(x)=xx2+9f(x) = x\sqrt{x^2 + 9}

and its value at x0=4x_0 = 4.

Hintshow

The function is a product of xx and x2+9\sqrt{x^2 + 9}, so start with the product rule. The second factor is a composite function: the outer function is the square root and the inner function is x2+9x^2 + 9.

Solutiontry it on your own first

Step 1. Check the domain and split the function into two factors

The expression under the square root is always positive, x2+9≥9>0x^2 + 9 \geq 9 > 0, so the function is defined and differentiable for every real number, D=RD = \mathbb{R}. To use the product rule, write it as a product of two factors:

u(x)=xv(x)=x2+9\begin{aligned} u(x) &= x \\ v(x) &= \sqrt{x^2 + 9} \end{aligned}

Step 2. Differentiate the first factor

The first factor is just xx, and the derivative of xx is 11:

u′(x)=1u'(x) = 1

Step 3. Differentiate the second factor with the chain rule

The factor vv is a function inside a function, so it needs the chain rule. The outer function is the square root, whose derivative is 12t\frac{1}{2\sqrt{t}}. The inner function is t=x2+9t = x^2 + 9, whose derivative is 2x2x. Multiply the derivative of the outer function (with the inside left untouched) by the derivative of the inner function:

v′(x)=12x2+9⋅2xv'(x) = \frac{1}{2\sqrt{x^2 + 9}} \cdot 2x

Cancel the 22:

v′(x)=xx2+9\boxed{v'(x) = \frac{x}{\sqrt{x^2 + 9}}}

Step 4. Apply the product rule

Now put uu, u′u', vv and v′v' into the product rule, (u⋅v)′=u′⋅v+u⋅v′(u \cdot v)' = u' \cdot v + u \cdot v':

f′(x)=1⋅x2+9+x⋅xx2+9=x2+9+x2x2+9\begin{aligned} f'(x) &= 1 \cdot \sqrt{x^2 + 9} + x \cdot \frac{x}{\sqrt{x^2 + 9}} \\ &= \sqrt{x^2 + 9} + \frac{x^2}{\sqrt{x^2 + 9}} \end{aligned}

Step 5. Write the derivative as a single fraction

To add the two terms, rewrite the first one as a fraction with denominator x2+9\sqrt{x^2 + 9}. This works because x2+9⋅x2+9=x2+9\sqrt{x^2 + 9} \cdot \sqrt{x^2 + 9} = x^2 + 9:

x2+9=x2+9x2+9\sqrt{x^2 + 9} = \frac{x^2 + 9}{\sqrt{x^2 + 9}}

Now add the numerators:

f′(x)=x2+9+x2x2+9=2x2+9x2+9\begin{aligned} f'(x) &= \frac{x^2 + 9 + x^2}{\sqrt{x^2 + 9}} \\ &= \frac{2x^2 + 9}{\sqrt{x^2 + 9}} \end{aligned}

Step 6. Evaluate the derivative at x = 4

Substitute x=4x = 4 into the simplified derivative. Start with the square root in the denominator:

42+9=25=5\begin{aligned} \sqrt{4^2 + 9} &= \sqrt{25} \\ &= 5 \end{aligned}

Then the numerator:

2⋅42+9=32+9=41\begin{aligned} 2 \cdot 4^2 + 9 &= 32 + 9 \\ &= 41 \end{aligned}

So:

f′(4)=415=8.2f'(4) = \frac{41}{5} = 8.2

Answer

f′(x)=2x2+9x2+9\boxed{f'(x) = \frac{2x^2 + 9}{\sqrt{x^2 + 9}}}
f′(4)=415=8.2\boxed{f'(4) = \frac{41}{5} = 8.2}

The derivative of ff at x=4x = 4 is 8.28.2, so the tangent line to the graph at the point (4,20)(4, 20) has a gradient of 8.28.2.

The theory behind this exerciseCourse: Derivatives from scratch

Sources

We checked the facts on this page against these sources. All of them may be reused freely: they carry an open licence or are not covered by copyright.

  1. Active Calculus (Boelkins) - 2.3 The product and quotient rules (the product rule; the derivative of a product is not the product of the derivatives) · CC BY-SA 4.0
  2. Active Calculus (Boelkins) - 2.5 The chain rule (inner and outer functions, C'(x) = f'(g(x)) g'(x)) · CC BY-SA 4.0
  3. Active Calculus (Boelkins) - 2.1 Elementary derivative rules (the power rule for any nonzero real exponent, so also for the square root) · CC BY-SA 4.0
  4. Calaway, Hoffman and Lippman - Applied Calculus, 2.4 Product and Quotient Rules (multiplying the derivatives of the factors gives the wrong answer) and 2.5 Chain Rule (PDF) · CC BY 3.0 US
  5. Jameson, Machaba and Fasinu - Misconceptions and Errors Among Grade 12 Students When Learning Differentiation Rules, Mathematics Education Journal 8(2), 2024 (taking the derivative of a product as the product of the derivatives, treating the inner function as a constant) · CC BY-SA 4.0
  6. Wikibooks - Calculus/Chain Rule (the exercise with the square root of 1 + x², whose derivative is x/√(1 + x²)) · CC BY-SA 4.0
  7. Wikibooks - Calculus/Product and Quotient Rules (the product rule; the derivative of a product is not the product of the derivatives) · CC BY-SA 4.0

More mathematics exercises