Calculus3Differentiation Rules2 of 9
Differentiation Rules · 2

Product and Quotient Rules

1

The product rule

For a sum, the derivative of f+g\fc{f} + \gc{g} is just f′+g′\fc{f'} + \gc{g'}. You might guess that a product works the same way, and that the derivative of f⋅g\fc{f} \cdot \gc{g} is f′⋅g′\fc{f'} \cdot \gc{g'}. But let's test that on x2⋅x3\fc{x^2} \cdot \gc{x^3}.

(x2⋅x3)′=(x5)′=5x4(x2)′⋅(x3)′=2x⋅3x2=6x3\displaystyle \begin{aligned}(\fc{x^2} \cdot \gc{x^3})' &= (x^5)' = 5x^4\\[4pt] (\fc{x^2})' \cdot (\gc{x^3})' &= \fc{2x} \cdot \gc{3x^2} = 6x^3\end{aligned}

The two answers aren't even the same power of xx, so (fg)′(\fc{f}\gc{g})' can't be f′g′\fc{f'}\gc{g'}. To see what the derivative really is, think of f(x)⋅g(x)\fc{f(x)} \cdot \gc{g(x)} as the area of a rectangle with sides f(x)\fc{f(x)} and g(x)\gc{g(x)}.

f(x)\htmlClass{lc-blue}{f(x)}
g(x)\htmlClass{lc-pink}{g(x)}
df\htmlClass{lc-blue}{df}
dg\htmlClass{lc-pink}{dg}
g df\htmlClass{lc-pink}{g}\,\htmlClass{lc-blue}{df}
f dg\htmlClass{lc-blue}{f}\,\htmlClass{lc-pink}{dg}
df dg\htmlClass{lc-blue}{df}\,\htmlClass{lc-pink}{dg}
f(x) g(x)f(x)\,g(x)

When xx grows by a small step dxdx, both sides grow, and the area gains two thin rectangles and one small corner.

Find the derivative of f(x)⋅g(x)f(x) \cdot g(x) using the area of a rectangle
f\htmlClass{lc-blue}{f}
g\htmlClass{lc-pink}{g}
fgfg
(fg)′=  ?(\htmlClass{lc-blue}{f}\htmlClass{lc-pink}{g})' = \;?
Text solution
Add up the new areaThe sides grow by df≈f′ dx\fc{df} \approx \fc{f'}\,dx and dg≈g′ dx\gc{dg} \approx \gc{g'}\,dx. That gives two thin rectangles and a corner.
change in area≈g f′ dx+f g′ dx+f′g′ dx dx\displaystyle \text{change in area} \approx \gc{g}\,\fc{f'}\,dx + \fc{f}\,\gc{g'}\,dx + \fc{f'}\gc{g'}\,dx\,dx
Divide by dxdx, then let dx→0dx \to 0The corner still has a dxdx after dividing, so it goes to 00. Only the two thin rectangles are left.
change in areadx≈f′g+fg′+f′g′ dx\displaystyle \frac{\text{change in area}}{dx} \approx \fc{f'}\gc{g} + \fc{f}\gc{g'} + \fc{f'}\gc{g'}\,dx
→  f′g+fg′(dx→0)\displaystyle \to\; \fc{f'}\gc{g} + \fc{f}\gc{g'} \quad (dx \to 0)
Check on x2⋅x3\fc{x^2} \cdot \gc{x^3}The rule gives 5x45x^4, the same as (x5)′(x^5)'.
2x⋅x3+x2⋅3x2\displaystyle \fc{2x} \cdot \gc{x^3} + \fc{x^2} \cdot \gc{3x^2} =2x4+3x4\displaystyle = 2x^4 + 3x^4 =5x4\displaystyle = 5x^4
The product rule
(fg)′\displaystyle (\fc{f}\gc{g})' =f′g+fg′\displaystyle = \fc{f'}\gc{g} + \fc{f}\gc{g'}

Each term is the derivative of one factor times the other factor left unchanged. Does the area increase when we increase the width and decrease the height?

Area with two changing sides

Now let's use the product rule on a function where one factor has a square root, y=x (x2+3)y = \fc{\sqrt{x}}\,\gc{(x^2 + 3)}. Rewrite x\fc{\sqrt{x}} as x12\fc{x^{\frac12}}, so its derivative is 12x−12\fc{\frac12 x^{-\frac12}}, or 12x\fc{\frac{1}{2\sqrt{x}}}.

(x)′\displaystyle (\fc{\sqrt{x}})' =(x12)′\displaystyle = \left(\fc{x^{\frac12}}\right)' =12x−12\displaystyle = \fc{\frac12 x^{-\frac12}} =12x\displaystyle = \fc{\frac{1}{2\sqrt{x}}}
y=x (x2+3)y′=12x (x2+3)+x⋅2x\displaystyle \begin{aligned}y &= \fc{\sqrt{x}}\,\gc{(x^2 + 3)}\\[4pt] y' &= \fc{\frac{1}{2\sqrt{x}}}\,\gc{(x^2 + 3)} + \fc{\sqrt{x}} \cdot \gc{2x}\end{aligned}

We can leave the answer in this form without multiplying it out. Expanding to x52+3x12x^{\frac52} + 3x^{\frac12} and using the power rule gives the same derivative. But when f\fc{f} or g\gc{g} is given only by a graph or a table, there's nothing to multiply out, and the product rule is the only way.

2

Finding (fg)′(fg)' from tables and graphs

To find the derivative of a product at a point, we don't need formulas for f\fc{f} and g\gc{g}. The product rule at 33 is (fg)′(3)=f′(3)g(3)+f(3)g′(3)(\fc{f}\gc{g})'(3) = \fc{f'(3)}\gc{g(3)} + \fc{f(3)}\gc{g'(3)}, so we only need four numbers, the value and the derivative of each function at 33.

xxf(x)\fc{f(x)}f′(x)\fc{f'(x)}g(x)\gc{g(x)}g′(x)\gc{g'(x)}
332\fc{2}−1\fc{-1}5\gc{5}4\gc{4}

The four numbers can also come from graphs made of straight segments. The value at x=2x = 2 is the height of the graph there, and the derivative is the slope of the segment through x=2x = 2.

11
22
33
44
55
66
11
22
33
44
55
66
xx
yy
f(2)=3\htmlClass{lc-blue}{f(2) = 3}
g(2)=4\htmlClass{lc-pink}{g(2) = 4}
3\htmlClass{lc-blue}{3}
3\htmlClass{lc-blue}{3}
4\htmlClass{lc-pink}{4}
−4\htmlClass{lc-pink}{-4}
f\htmlClass{lc-blue}{f}
g\htmlClass{lc-pink}{g}
f(2)=3f′(2)=4−13−0=1g(2)=4g′(2)=2−64−0=−1\displaystyle \begin{aligned}\fc{f(2)} &= \fc{3}\\ \fc{f'(2)} &= \frac{4 - 1}{3 - 0} = \fc{1}\\[10pt] \gc{g(2)} &= \gc{4}\\ \gc{g'(2)} &= \frac{2 - 6}{4 - 0} = \gc{-1}\end{aligned}
Find the derivative of a product at a point from a table and from a graph
xx
33
f(x)\htmlClass{lc-blue}{f(x)}
2\htmlClass{lc-blue}{2}
f′(x)\htmlClass{lc-blue}{f'(x)}
−1\htmlClass{lc-blue}{-1}
g(x)\htmlClass{lc-pink}{g(x)}
5\htmlClass{lc-pink}{5}
g′(x)\htmlClass{lc-pink}{g'(x)}
4\htmlClass{lc-pink}{4}
(fg)′(3)=  ?(\htmlClass{lc-blue}{f}\htmlClass{lc-pink}{g})'(3) = \;?
f\htmlClass{lc-blue}{f}
g\htmlClass{lc-pink}{g}
fgfg
Text solution
From the table, at x=3x = 3The first term is negative because f\fc{f} is decreasing at 33, so that side of the rectangle is shrinking.
(fg)′(3)\displaystyle (\fc{f}\gc{g})'(3) =(−1)(5)+(2)(4)\displaystyle = (\fc{-1})(\gc{5}) + (\fc{2})(\gc{4}) =−5+8\displaystyle = \loss{-5} + \gain{8} =3\displaystyle = 3
One factor is a formulaFor k(x)=x2⋅g(x)k(x) = \fc{x^2} \cdot \gc{g(x)}, at x=3x = 3 the factor x2\fc{x^2} is 9\fc{9}, and its derivative 2x\fc{2x} is 6\fc{6}.
k′(3)\displaystyle k'(3) =6⋅5+9⋅4\displaystyle = \fc{6} \cdot \gc{5} + \fc{9} \cdot \gc{4} =30+36\displaystyle = \gain{30} + \gain{36} =66\displaystyle = 66
From the graphs, at x=2x = 2Use the heights and slopes read off the graphs, with h(x)=f(x)g(x)h(x) = \fc{f(x)}\gc{g(x)}.
h′(2)\displaystyle h'(2) =(1)(4)+(3)(−1)\displaystyle = (\fc{1})(\gc{4}) + (\fc{3})(\gc{-1}) =4−3\displaystyle = \gain{4} - \loss{3} =1\displaystyle = 1

Which graph values and slopes do we need for the derivative of the product?

Using graph values in the product rule
3

The quotient rule

When the bottom is just one term, we can split the fraction and use the power rule.

xx\displaystyle \frac{\fc{\sqrt{x}}}{\gc{x}} =x12−1\displaystyle = x^{\fc{\frac12} - \gc{1}} =x−12\displaystyle = x^{-\frac12}
x3+2xx\displaystyle \frac{\fc{x^3 + 2\sqrt{x}}}{\gc{x}} =x2+2x−12  →  2x−x−32\displaystyle = x^2 + 2x^{-\frac12} \;\to\; 2x - x^{-\frac32}

When the bottom is a sum, splitting doesn't work because x+1x2+3\frac{\fc{x+1}}{\gc{x^2+3}} isn't equal to x+1x2+x+13\frac{\fc{x+1}}{\gc{x^2}} + \frac{\fc{x+1}}{\gc{3}}. To find its derivative, we need a rule for fg\frac{\fc{f}}{\gc{g}}.

ddx[x+1x2+3]\displaystyle \frac{d}{dx}\left[\frac{\fc{x+1}}{\gc{x^2+3}}\right] =  ?\displaystyle = \;?

We can get that rule from the rectangle again. This time the area is f\fc{f} and one side is g\gc{g}, so the other side is the quotient q=fgq = \frac{\fc{f}}{\gc{g}}. Then f=q⋅g\fc{f} = q \cdot \gc{g}, a product we already know how to differentiate.

g\htmlClass{lc-pink}{g}
q=fgq = \dfrac{\htmlClass{lc-blue}{f}}{\htmlClass{lc-pink}{g}}
area=f\text{area} = \htmlClass{lc-blue}{f}
Find the derivative of fg\frac{f}{g} using the product rule on f=q⋅gf = q \cdot g
g\htmlClass{lc-pink}{g}
q=fgq = \dfrac{\htmlClass{lc-blue}{f}}{\htmlClass{lc-pink}{g}}
f\htmlClass{lc-blue}{f}
(fg)′=  ?\left(\dfrac{\htmlClass{lc-blue}{f}}{\htmlClass{lc-pink}{g}}\right)' = \;?
Text solution
Differentiate f=q⋅g\fc{f} = q \cdot \gc{g}Use the product rule on the right, then solve for q′q'.
f′\displaystyle \fc{f'} =q′g+q g′\displaystyle = q'\gc{g} + q\,\gc{g'}
q′\displaystyle q' =f′−q g′g\displaystyle = \frac{\fc{f'} - q\,\gc{g'}}{\gc{g}}
Put fg\frac{\fc{f}}{\gc{g}} back in for qqThat leaves a fraction inside a fraction, so multiply the top and bottom by g\gc{g}.
q′\displaystyle q' =(f′−fg g′)⋅gg⋅g\displaystyle = \frac{\left(\fc{f'} - \frac{\fc{f}}{\gc{g}}\,\gc{g'}\right)\cdot \gc{g}}{\gc{g} \cdot \gc{g}} =f′g−f g′g2\displaystyle = \frac{\fc{f'}\gc{g} - \fc{f}\,\gc{g'}}{\gc{g^2}}
Use it at x=3x = 3With the table from before, the two products are the same as in the product rule, but now we subtract them and divide by g(3)2=25\gc{g(3)^2 = 25}.
(fg)′(3)\displaystyle \left(\frac{\fc{f}}{\gc{g}}\right)'(3) =(−1)(5)−(2)(4)52\displaystyle = \frac{(\fc{-1})(\gc{5}) - (\fc{2})(\gc{4})}{\gc{5^2}} =−5−825\displaystyle = \frac{\loss{-5} - \gain{8}}{\gc{25}} =−1325\displaystyle = -\frac{13}{25}
The quotient rule
(fg)′\displaystyle \left(\frac{\fc{f}}{\gc{g}}\right)' =f′g−f g′g2\displaystyle = \frac{\fc{f'}\gc{g} - \fc{f}\,\gc{g'}}{\gc{g^2}}

People often remember this as "lo d hi minus hi d lo, over lo squared." Here lo is the bottom g\gc{g}, hi is the top f\fc{f}, and d means the derivative. The minus sign comes from the rectangle. Hold its area f\fc{f} at 6\fc{6} and widen the base g\gc{g} from 2\gc{2} to 3\gc{3}, and the height qq has to shrink from 33 to 22.

g=2\htmlClass{lc-pink}{g = 2}
q=3q = 3
area=6\text{area} = \htmlClass{lc-blue}{6}
g=3\htmlClass{lc-pink}{g = 3}
q=2q = 2
area=6\text{area} = \htmlClass{lc-blue}{6}

Be careful not to divide the derivative of the top by the derivative of the bottom. On x3x\frac{\fc{x^3}}{\gc{x}}, the quotient rule gives 2x2x, the same as simplifying to x2x^2 first, but 3x21\frac{\fc{3x^2}}{\gc{1}} is 3x23x^2. And when the fraction simplifies like this one, simplifying first is much faster.

(x3x)′\displaystyle \left(\frac{\fc{x^3}}{\gc{x}}\right)' =3x2⋅x−x3⋅1x2\displaystyle = \frac{\fc{3x^2} \cdot \gc{x} - \fc{x^3} \cdot \gc{1}}{\gc{x^2}} =2x3x2\displaystyle = \frac{2x^3}{\gc{x^2}} =2x\displaystyle = 2x
x3x\displaystyle \frac{\fc{x^3}}{\gc{x}} =x2  →  2x,3x21≠2x\displaystyle = x^2 \;\to\; 2x, \qquad \frac{\fc{3x^2}}{\gc{1}} \neq 2x
4

Where the tangent is horizontal

A horizontal line has slope 0\tg{0}, so to find where y=x+1x2+3y = \frac{\fc{x+1}}{\gc{x^2+3}} has a horizontal tangent, we look for where y′=0y' = \tg{0}. The bottom is a sum, so we use the quotient rule with these pieces.

f=x+1,f′=1g=x2+3,g′=2x\displaystyle \begin{aligned}\fc{f} &= \fc{x + 1}, &\quad \fc{f'} &= \fc{1}\\ \gc{g} &= \gc{x^2 + 3}, &\quad \gc{g'} &= \gc{2x}\end{aligned}
Find the points where y=x+1x2+3y = \frac{x+1}{x^2+3} has a horizontal tangent
xx
yy
y=x+1x2+3y = \dfrac{\htmlClass{lc-blue}{x + 1}}{\htmlClass{lc-pink}{x^2 + 3}}
y′=0 at x=  ?y' = \htmlClass{lc-violet}{0} \text{ at } x = \;?
Text solution
Keep brackets on the second productThe minus sign applies to the whole product (x+1)(2x)(\fc{x+1})(\gc{2x}), so it reaches both terms: −(2x2+2x)=−2x2−2x-(2x^2 + 2x) = -2x^2 - 2x.
y′\displaystyle y' =(x2+3)(1)−(x+1)(2x)(x2+3)2\displaystyle = \frac{\gc{(x^2+3)}(\fc{1}) - (\fc{x+1})(\gc{2x})}{\gc{(x^2+3)^2}} =−(x+3)(x−1)(x2+3)2\displaystyle = \frac{-(x+3)(x-1)}{\gc{(x^2+3)^2}}
Set the numerator to 00The denominator is at least 99, so it's never 00. Only the numerator decides.
−(x+3)(x−1)\displaystyle -(x+3)(x-1) =0  →  x\displaystyle = 0 \;\to\; x =1,x\displaystyle = 1, \quad x =−3\displaystyle = -3

Plugging those x-values back into yy gives the local maximum (1,12)(1, \frac12) and the local minimum (−3,−16)(-3, -\frac16) on the graph.

−6-6
−3-3
33
66
xx
yy
(1,12)\left(1, \tfrac12\right)
(−3,−16)\left(-3, -\tfrac16\right)
y(1)=24=12y(−3)=−212=−16\displaystyle \begin{aligned}y(1) &= \frac{\fc{2}}{\gc{4}} = \frac12\\[10pt] y(-3) &= \frac{\fc{-2}}{\gc{12}} = -\frac16\end{aligned}
5

When to use the quotient rule

The quotient rule works on any fraction, but it takes a lot of algebra, and often you don't need it. Look at the bottom first. If it's a constant or a constant times a power of xx, like x\gc{x}, x\gc{\sqrt{x}}, 4\gc{4}, or 3x2\gc{3x^2}, divide each term on top by it and use the power rule. If it's a sum of terms, you can't split it, so you use the quotient rule. Let's sort three fractions this way.

Differentiate x3+2xx\frac{\fc{x^3 + 2\sqrt{x}}}{\gc{x}}, 6x2+3\frac{\fc{6}}{\gc{x^2 + 3}}, and x2+14\frac{\fc{x^2 + 1}}{\gc{4}}
ddx x3+2xx\displaystyle \frac{d}{dx}\,\frac{\fc{x^3 + 2\sqrt{x}}}{\gc{x}} =  ?\displaystyle = \;?
ddx 6x2+3\displaystyle \frac{d}{dx}\,\frac{\fc{6}}{\gc{x^2 + 3}} =  ?\displaystyle = \;?
ddx x2+14\displaystyle \frac{d}{dx}\,\frac{\fc{x^2 + 1}}{\gc{4}} =  ?\displaystyle = \;?
Text solution
One term on the bottom: divideDividing each term of the top by x\gc{x} leaves powers of xx.
x3+2xx\displaystyle \frac{\fc{x^3 + 2\sqrt{x}}}{\gc{x}} =x2+2x−12  →  2x−x−32\displaystyle = x^2 + 2x^{-\frac12} \;\to\; 2x - x^{-\frac32}
A sum on the bottom: quotient ruleSplitting fails, as x=1x = 1 shows. The top 6\fc{6} is a constant, so its derivative is 0\fc{0} and the first term drops out.
61+3\displaystyle \frac{\fc{6}}{\gc{1 + 3}} =1.5≠612+63\displaystyle = 1.5 \neq \frac{\fc{6}}{\gc{1^2}} + \frac{\fc{6}}{\gc{3}} =8\displaystyle = 8
(6x2+3)′\displaystyle \left(\frac{\fc{6}}{\gc{x^2+3}}\right)' =(x2+3)(0)−6(2x)(x2+3)2\displaystyle = \frac{\gc{(x^2+3)}(\fc{0}) - \fc{6}(\gc{2x})}{\gc{(x^2+3)^2}} =−12x(x2+3)2\displaystyle = \frac{-12x}{\gc{(x^2+3)^2}}
A constant on the bottom: pull it outDividing by 4\gc{4} is multiplying by 14\gc{\frac14}, so the constant-multiple rule does it.
x2+14\displaystyle \frac{\fc{x^2+1}}{\gc{4}} =14 (x2+1)  →  14⋅2x\displaystyle = \gc{\frac14}\,(\fc{x^2 + 1}) \;\to\; \gc{\frac14} \cdot \fc{2x} =x2\displaystyle = \frac{x}{2}

Summary

The product rule
f\htmlClass{lc-blue}{f}
g\htmlClass{lc-pink}{g}
g df\htmlClass{lc-pink}{g}\,\htmlClass{lc-blue}{df}
f dg\htmlClass{lc-blue}{f}\,\htmlClass{lc-pink}{dg}
df dg\htmlClass{lc-blue}{df}\,\htmlClass{lc-pink}{dg}
(fg)′\displaystyle (\fc{f}\gc{g})' =f′g+fg′\displaystyle = \fc{f'}\gc{g} + \fc{f}\gc{g'}

To differentiate a product, keep one factor and differentiate the other, then switch, and add the two terms. The derivative is not f′g′\fc{f'}\gc{g'}. The term f′g′\fc{f'}\gc{g'} comes from the little corner df⋅dg\fc{df} \cdot \gc{dg}. In terms of dxdx, its area is f′g′(dx)2\fc{f'}\gc{g'}(dx)^2, so dividing by dxdx leaves f′g′ dx\fc{f'}\gc{g'}\,dx, which vanishes as dxdx approaches 00.

The product rule at a point
(fg)′(a)\displaystyle (\fc{f}\gc{g})'(a) =f′(a) g(a)+f(a) g′(a)\displaystyle = \fc{f'(a)}\,\gc{g(a)} + \fc{f(a)}\,\gc{g'(a)}

To find the derivative of a product at x=ax = a, we only need four numbers, f(a)\fc{f(a)}, f′(a)\fc{f'(a)}, g(a)\gc{g(a)}, and g′(a)\gc{g'(a)}. On a graph of straight line segments, each value is the height at x=ax = a, and each derivative is the slope of the segment through x=ax = a. If a factor is x2\fc{x^2}, its value at aa is a2\fc{a^2} and its derivative is 2a\fc{2a}.

The quotient rule
(fg)′\displaystyle \left(\frac{\fc{f}}{\gc{g}}\right)' =f′g−f g′g2\displaystyle = \frac{\fc{f'}\gc{g} - \fc{f}\,\gc{g'}}{\gc{g^2}}
−(x+1)(2x)\displaystyle -(\fc{x+1})(\gc{2x}) =−(2x2+2x)\displaystyle = -(2x^2 + 2x)

Remember this as "lo d hi minus hi d lo, over lo squared." The minus sign belongs with g′\gc{g'} because in our rectangle, increasing the base while keeping the area fixed makes the height smaller. Keep brackets around the second product so the minus sign applies to every term when you expand it. Leave the denominator as g2\gc{g^2} without multiplying it out.

When to use the quotient rule
x3+2xx\displaystyle \frac{\fc{x^3 + 2\sqrt{x}}}{\gc{x}} =x2+2x−12\displaystyle = x^2 + 2x^{-\frac12}

Look at the bottom before using the quotient rule. If the bottom is just one term, divide each term on top by it, rewrite the powers, and use the power rule. If the bottom is a sum of terms, you can't split the fraction, so use the quotient rule. If the top is a constant, its derivative is 00, so the first term in the numerator is 00.

Horizontal tangents of a quotient

A fraction equals 00 when its numerator equals 00 and its denominator is not 00. To find where the tangent line to a quotient is horizontal, find the derivative y′y' using the quotient rule and simplify it, then set its numerator equal to 00 and check that the denominator is not 00.

6

Practice

Write answers as fractions, not decimals, like −74-\frac74 instead of −1.75-1.75. Any correct form counts, whether simplified or not.

1
Differentiate f(x)=(x2+3)(2x−5)f(x) = (x^2 + 3)(2x - 5).

The product rule has two terms. If the first term is (x2+3)′(2x−5)(x^2 + 3)'(2x - 5), what is the second term?

If you got 4x4x Check that you used the product rule. Differentiating both factors and multiplying them gives (2x)(2)=4x(2x)(2) = 4x, but (fg)′(fg)' is f′g+fg′f'g + fg'.

Find the derivative of each factor first.
(x2+3)′\displaystyle (\fc{x^2 + 3})' =2x,(2x−5)′\displaystyle = \fc{2x}, \qquad (\gc{2x - 5})' =2\displaystyle = \gc{2}
Use the product rule, then expand and combine like terms.
f′(x)=2x (2x−5)+(x2+3)(2)=4x2−10x+2x2+6=6x2−10x+6\displaystyle \begin{aligned}f'(x) &= \fc{2x}\,\gc{(2x - 5)} + \fc{(x^2 + 3)}(\gc{2})\\ &= 4x^2 - 10x + 2x^2 + 6\\ &= 6x^2 - 10x + 6\end{aligned}
2
A store's price pp and weekly sales qq both change with time. This week p=20p = 20 dollars, rising by 0.50.5 dollars per week, and q=300q = 300 items, falling by 1010 items per week. At what rate is the revenue R=p⋅qR = p \cdot q changing?

Sales are falling by 1010 items per week. What does that mean for the sign of q′q'?

Write down each rate with its sign. Sales are falling, so q′\gc{q'} is negative.
p=20,p′=0.5,q=300,q′=−10\displaystyle \fc{p = 20}, \quad \fc{p' = 0.5}, \qquad \gc{q = 300}, \quad \gc{q' = -10}
Revenue is a product, so we use the product rule.
R′=p′q+p q′=(0.5)(300)+(20)(−10)=150−200=−50\displaystyle \begin{aligned}R' &= \fc{p'}\gc{q} + \fc{p}\,\gc{q'} = (\fc{0.5})(\gc{300}) + (\fc{20})(\gc{-10})\\ &= \gain{150} - \loss{200} = -50\end{aligned}
Revenue is decreasing at 5050 dollars per week, because the loss from falling sales outweighs the gain from the higher price.
3
f(2)=3f(2) = 3 and f′(2)=5f'(2) = 5. Find the derivative of [f(x)]2[f(x)]^2 at x=2x = 2.

Write [f(x)]2[f(x)]^2 as f(x)⋅f(x)f(x) \cdot f(x). Which rule differentiates a product?

A function squared is the function multiplied by itself.
[f(x)]2\displaystyle [\fc{f(x)}]^2 =f(x)⋅f(x)\displaystyle = \fc{f(x)} \cdot \fc{f(x)}
Applying the product rule gives two equal terms. Plug in f(2)=3\fc{f(2) = 3} and f′(2)=5\fc{f'(2) = 5}.
(f⋅f)′(2)=f′(2) f(2)+f(2) f′(2)=5⋅3+3⋅5=30\displaystyle \begin{aligned}(\fc{f} \cdot \fc{f})'(2) &= \fc{f'(2)}\,\fc{f(2)} + \fc{f(2)}\,\fc{f'(2)}\\ &= \fc{5} \cdot \fc{3} + \fc{3} \cdot \fc{5} = 30\end{aligned}
4
Differentiate y=x2−1x2+1y = \dfrac{x^2 - 1}{x^2 + 1}.

The minus sign in the quotient rule applies to the whole second product, −(x2−1)(2x)=−(2x3−2x)-(x^2 - 1)(2x) = -(2x^3 - 2x). What happens to each sign when you remove the parentheses?

If you got −4x(x2+1)2-\dfrac{4x}{(x^2+1)^2} Check the order in the numerator. The quotient rule starts with the derivative of the top times the bottom, then subtracts the top times the derivative of the bottom.

Use the quotient rule. That's the derivative of the top times the bottom, minus the top times the derivative of the bottom, divided by the bottom squared.
y′\displaystyle y' =2x (x2+1)−(x2−1)(2x)(x2+1)2\displaystyle = \frac{\fc{2x}\,\gc{(x^2+1)} - \fc{(x^2-1)}(\gc{2x})}{\gc{(x^2+1)^2}}
The minus sign applies to the entire second product, so both signs change when we expand.
=2x3+2x−(2x3−2x)(x2+1)2=2x3+2x−2x3+2x(x2+1)2=4x(x2+1)2\displaystyle \begin{aligned}&= \frac{2x^3 + 2x - (2x^3 - 2x)}{\gc{(x^2+1)^2}}\\[8pt] &= \frac{2x^3 + 2x - 2x^3 + 2x}{\gc{(x^2+1)^2}} = \frac{4x}{\gc{(x^2+1)^2}}\end{aligned}
5
The graphs of ff and gg are made of straight segments. The graph of ff goes from (0,1)(0, 1) to (2,5)(2, 5) to (6,1)(6, 1), and the graph of gg goes from (0,3)(0, 3) to (4,−1)(4, -1) to (6,1)(6, 1). Find the derivative of f(x)g(x)\dfrac{f(x)}{g(x)} at x=1x = 1.

At x=1x = 1, use the segment of ff from (0,1)(0, 1) to (2,5)(2, 5). What is the slope of that segment?

Read the heights from the graph at x=1x = 1, and find the slopes of the segments the points lie on.
f(1)\displaystyle \fc{f(1)} =3,f′(1)\displaystyle = \fc{3}, \qquad \fc{f'(1)} =5−12−0\displaystyle = \frac{5 - 1}{2 - 0} =2\displaystyle = \fc{2}
g(1)\displaystyle \gc{g(1)} =2,g′(1)\displaystyle = \gc{2}, \qquad \gc{g'(1)} =−1−34−0\displaystyle = \frac{-1 - 3}{4 - 0} =−1\displaystyle = \gc{-1}
Plug the four values into the quotient rule.
(fg)′(1)=f′(1) g(1)−f(1) g′(1)g(1)2=(2)(2)−(3)(−1)22=74\displaystyle \begin{aligned}\left(\frac{\fc{f}}{\gc{g}}\right)'(1) &= \frac{\fc{f'(1)}\,\gc{g(1)} - \fc{f(1)}\,\gc{g'(1)}}{\gc{g(1)^2}}\\[8pt] &= \frac{(\fc{2})(\gc{2}) - (\fc{3})(\gc{-1})}{\gc{2^2}} = \frac{7}{4}\end{aligned}
6
Differentiate y=(x+1)2xy = \dfrac{(x + 1)^2}{\sqrt{x}}.

The bottom is a single term, x=x12\sqrt{x} = x^{\frac12}. What happens if you expand the top and divide each term directly?

If you got 32x12−12x−32\frac32 x^{\frac12} - \frac12 x^{-\frac32} Check the expansion of (x+1)2(x + 1)^2. Squaring x+1x + 1 gives x2+2x+1x^2 + 2x + 1, which includes the middle term 2x2x.

The bottom is a single term, so expanding the top and dividing each term directly is faster than the quotient rule.
(x+1)2\displaystyle \fc{(x + 1)^2} =x2+2x+1\displaystyle = \fc{x^2 + 2x + 1}
Write the bottom as x12\gc{x^{\frac12}} and divide it into each term on top.
y\displaystyle y =x2+2x+1x12\displaystyle = \frac{\fc{x^2 + 2x + 1}}{\gc{x^{\frac12}}} =x32+2x12+x−12\displaystyle = x^{\frac32} + 2x^{\frac12} + x^{-\frac12}
Now take the derivative term by term using the power rule.
y′\displaystyle y' =32x12+x−12−12x−32\displaystyle = \frac32 x^{\frac12} + x^{-\frac12} - \frac12 x^{-\frac32}
7
Find the points where y=x2x−1y = \dfrac{x^2}{x - 1} has a horizontal tangent.

A horizontal tangent means the slope is 00. When is a fraction equal to 00?

If you got (2,4)(2, 4) only Don't divide x2−2x=0x^2 - 2x = 0 by xx, or you lose the solution x=0x = 0. Factor out xx instead.

If you got x=1x = 1 At x=1x = 1, the denominator is 00, so the function is undefined and has no tangent line there.

A horizontal tangent means y′=0y' = \tg{0}, so find the derivative with the quotient rule.
y′=2x (x−1)−x2⋅1(x−1)2=x2−2x(x−1)2=x(x−2)(x−1)2\displaystyle \begin{aligned}y' &= \frac{\fc{2x}\,\gc{(x-1)} - \fc{x^2} \cdot \gc{1}}{\gc{(x-1)^2}}\\[8pt] &= \frac{x^2 - 2x}{\gc{(x-1)^2}} = \frac{x(x-2)}{\gc{(x-1)^2}}\end{aligned}
A fraction is 00 when its numerator is 00 and its denominator isn't 00.
x(x−2)\displaystyle x(x - 2) =0  →  x\displaystyle = 0 \;\to\; x =0,x\displaystyle = 0, \quad x =2\displaystyle = 2
(x−1)2≠0 at x\displaystyle \gc{(x-1)^2} \neq 0 \text{ at } x =0,2\displaystyle = 0, 2
Plug x=0x = 0 and x=2x = 2 back into the original function to get the y-coordinates.
y(0)=0y(2)=41=4→  (0,0),(2,4)\displaystyle \begin{aligned}y(0) &= 0\\ y(2) &= \frac{\fc{4}}{\gc{1}} = 4\\[4pt] &\to\; (0, 0), \quad (2, 4)\end{aligned}
8
f(2)=4f(2) = 4, f′(2)=1f'(2) = 1, g(2)=3g(2) = 3 and g′(2)=−2g'(2) = -2. For h(x)=f(x)x⋅g(x)h(x) = \dfrac{f(x)}{x \cdot g(x)}, find h′(2)h'(2). Challenge

The bottom is the product x⋅g(x)x \cdot g(x). What rule do you need to differentiate the bottom?

Evaluate the bottom at x=2x = 2.
x\displaystyle x =2:x⋅g(x)\displaystyle = 2: \qquad \gc{x \cdot g(x)} =2⋅3\displaystyle = 2 \cdot \gc{3} =6\displaystyle = \gc{6}
The bottom is a product, so use the product rule to find its derivative at x=2x = 2.
(x⋅g(x))′=1⋅g(x)+x⋅g′(x)x=2:3+2(−2)=−1\displaystyle \begin{aligned}(\gc{x \cdot g(x)})' &= 1 \cdot \gc{g(x)} + x \cdot \gc{g'(x)}\\ x = 2: \qquad &\gc{3} + 2(\gc{-2}) = \gc{-1}\end{aligned}
Put the values into the quotient rule for h′(2)h'(2).
h′(2)\displaystyle h'(2) =(1)(6)−(4)(−1)62\displaystyle = \frac{(\fc{1})(\gc{6}) - (\fc{4})(\gc{-1})}{\gc{6^2}} =1036\displaystyle = \frac{10}{\gc{36}} =518\displaystyle = \frac{5}{18}