AP · Calculus AB · Basic Differentiation Rules

The Product Rule and the Quotient Rule

19 min readUpdated November 30, 2026FreeAP Calculus AB, Derivatives: Definition and Basic Rules

The product rule and the quotient rule tell you how to differentiate two functions that are multiplied or divided: (uv)′=u′v+uv′(uv)' = u'v + uv' and (uv)′=u′v−uv′v2\left(\dfrac{u}{v}\right)' = \dfrac{u'v - uv'}{v^2}. The derivative of a product is not the product of the derivatives, and the same goes for quotients. The same two rules give you the derivatives of tan⁡x\tan x, sec⁡x\sec x, csc⁡x\csc x and cot⁡x\cot x, and let you find derivatives from a table of values.

Quick check

  1. What is the derivative of 4x3−5x+24x^3 - 5x + 2?Show answerHide answer

    12x2−512x^2 - 5. Use the power rule on each term; the constant 22 has derivative 00.

  2. What are the derivatives of sin⁡x\sin x, cos⁡x\cos x and exe^x?Show answerHide answer

    cos⁡x\cos x, −sin⁡x-\sin x and exe^x. If any of these surprised you, see the note on derivatives of sin x, cos x, eˣ and ln x.

  3. Is the derivative of x2sin⁡xx^2 \sin x equal to 2xcos⁡x2x \cos x?Show answerHide answer

    No. Multiplying the two derivatives drops a term. The product rule gives 2xsin⁡x+x2cos⁡x2x \sin x + x^2 \cos x.

Know these already? Jump to the practice questions

What you'll be able to do

  • Identify whether an expression is a product, a quotient or neither, and choose the rule that fits.
  • Calculate derivatives of products and quotients built from polynomial, trigonometric and exponential parts.
  • Show where the derivatives of tan⁡x\tan x, sec⁡x\sec x, csc⁡x\csc x and cot⁡x\cot x come from, using the quotient rule.
  • Evaluate the derivative of a product or quotient at a point from a table of values of ff, gg, f′f' and g′g'.
  • Write an equation for a tangent line to the graph of a product or quotient.

Key terms

Product rule

For differentiable functions uu and vv, the derivative of uvuv is u′v+uv′u'v + uv'.

In plain English
Differentiate one factor and keep the other, then swap roles, then add.
Don't write
(uv)′=u′v′(uv)' = u'v'; that leaves out a whole term.

Quotient rule

For differentiable functions uu and vv with v≠0v \neq 0, the derivative of uv\dfrac{u}{v} is u′v−uv′v2\dfrac{u'v - uv'}{v^2}.

In plain English
Bottom times the derivative of the top, minus top times the derivative of the bottom, all over the bottom squared.
Don't write
u′v′\dfrac{u'}{v'}, or a numerator in the order uv′−u′vuv' - u'v, which flips the sign of the answer.

Why isn't the derivative of a product the product of the derivatives?

Test the idea on x⋅x=x2x \cdot x = x^2. Its derivative is 2x2x, but multiplying the derivatives of the two factors gives 1⋅1=11 \cdot 1 = 1. So products need their own rule.

Picture a rectangle with sides uu and vv that both change as xx changes. Its area is uvuv. When xx grows a little, the area gains a strip along one side, worth about u′vu'v, and a strip along the other side, worth about uv′uv'. The tiny corner piece is small enough to ignore. Adding the two strips gives the rate at which the area grows.

Learn this:

ddx[u v]=u′v+uv′\frac{d}{dx}\big[u\,v\big] = u'v + uv'

Take y=x2sin⁡xy = x^2 \sin x. Let u=x2u = x^2 and v=sin⁡xv = \sin x, so u′=2xu' = 2x and v′=cos⁡xv' = \cos x. Then

dydx=2xsin⁡x+x2cos⁡x\frac{dy}{dx} = 2x \sin x + x^2 \cos x

The two terms can go in either order, because you add them. What matters is that each term has exactly one factor differentiated.

Key idea

In a product, each term of the derivative has exactly one factor differentiated, and you add the terms.

Check yourself

Differentiate y=xexy = x e^x.
Show answerHide answer

ex+xexe^x + x e^x, which is ex(1+x)e^x(1 + x). Here u=xu = x gives u′=1u' = 1, and v=exv = e^x gives v′=exv' = e^x.

How does the quotient rule work?

For y=uvy = \dfrac{u}{v}, the derivative uses the same four pieces as the product rule, but the numerator has a minus sign and the whole thing sits over v2v^2.

Learn this:

ddx[uv]=u′v−uv′v2,v≠0\frac{d}{dx}\left[\frac{u}{v}\right] = \frac{u'v - uv'}{v^2}, \quad v \neq 0

Because of the minus sign, order matters: start with the derivative of the top times the bottom. A common memory aid is "low d-high minus high d-low, over low squared".

Take y=x2x+1y = \dfrac{x^2}{x + 1}. Here u=x2u = x^2, u′=2xu' = 2x, v=x+1v = x + 1 and v′=1v' = 1:

dydx=2x(x+1)−x2(1)(x+1)2=x2+2x(x+1)2\frac{dy}{dx} = \frac{2x(x + 1) - x^2(1)}{(x + 1)^2} = \frac{x^2 + 2x}{(x + 1)^2}

Simplify the numerator, but leave the denominator as a square; expanding it only makes the answer longer.

Check whether you need the rule at all. A constant denominator is a constant multiple: x35=15x3\dfrac{x^3}{5} = \dfrac{1}{5}x^3, with derivative 35x2\dfrac{3}{5}x^2. A single power of xx underneath can be divided in first: x2+3xx=x+3\dfrac{x^2 + 3x}{x} = x + 3 for x≠0x \neq 0, so its derivative is 11.

Examiner's eye

Points are lost when the numerator is written as uv′−u′vuv' - u'v. That reverses the sign of the whole derivative, so write u′vu'v first every time.

Check yourself

Differentiate y=xx+4y = \dfrac{x}{x + 4}.
Show answerHide answer

4(x+4)2\dfrac{4}{(x + 4)^2}. The numerator is 1⋅(x+4)−x⋅1=41 \cdot (x + 4) - x \cdot 1 = 4.

Where do the other four trig derivatives come from?

Each of tan⁡x\tan x, sec⁡x\sec x, csc⁡x\csc x and cot⁡x\cot x can be written with sin⁡x\sin x and cos⁡x\cos x, so the quotient rule finds its derivative.

For tan⁡x=sin⁡xcos⁡x\tan x = \dfrac{\sin x}{\cos x}, take u=sin⁡xu = \sin x and v=cos⁡xv = \cos x:

ddx[tan⁡x]=cos⁡x⋅cos⁡x−sin⁡x⋅(−sin⁡x)cos⁡2x=cos⁡2x+sin⁡2xcos⁡2x=1cos⁡2x=sec⁡2x\frac{d}{dx}[\tan x] = \frac{\cos x \cdot \cos x - \sin x \cdot (-\sin x)}{\cos^2 x} = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} = \frac{1}{\cos^2 x} = \sec^2 x

The identity sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1 is what makes the result tidy.

For sec⁡x=1cos⁡x\sec x = \dfrac{1}{\cos x}, the top is a constant, so u′=0u' = 0:

ddx[sec⁡x]=0⋅cos⁡x−1⋅(−sin⁡x)cos⁡2x=1cos⁡x⋅sin⁡xcos⁡x=sec⁡xtan⁡x\frac{d}{dx}[\sec x] = \frac{0 \cdot \cos x - 1 \cdot (-\sin x)}{\cos^2 x} = \frac{1}{\cos x} \cdot \frac{\sin x}{\cos x} = \sec x \tan x

The same steps with cot⁡x=cos⁡xsin⁡x\cot x = \dfrac{\cos x}{\sin x} and csc⁡x=1sin⁡x\csc x = \dfrac{1}{\sin x} give the other two. Learn this:

FunctionDerivative
tan⁡x\tan xsec⁡2x\sec^2 x
sec⁡x\sec xsec⁡xtan⁡x\sec x \tan x
cot⁡x\cot x−csc⁡2x-\csc^2 x
csc⁡x\csc x−csc⁡xcot⁡x-\csc x \cot x

The "co" functions (cos⁡x\cos x, cot⁡x\cot x and csc⁡x\csc x) all have a minus sign in their derivatives. If you forget one of these results, you can rebuild it with the quotient rule.

Check yourself

Use the quotient rule on cot⁡x=cos⁡xsin⁡x\cot x = \dfrac{\cos x}{\sin x} to find its derivative.
Show answerHide answer

−csc⁡2x-\csc^2 x. The numerator is (−sin⁡x)(sin⁡x)−(cos⁡x)(cos⁡x)=−(sin⁡2x+cos⁡2x)=−1(-\sin x)(\sin x) - (\cos x)(\cos x) = -(\sin^2 x + \cos^2 x) = -1, so the derivative is −1sin⁡2x=−csc⁡2x-\dfrac{1}{\sin^2 x} = -\csc^2 x.

How do you use a table of values?

Some questions give only values, not formulas: a table of f(x)f(x), f′(x)f'(x), g(x)g(x) and g′(x)g'(x) at a few inputs, and a request for the derivative of fgfg or fg\dfrac{f}{g} at one of them. The rules still apply; you put numbers where the expressions were.

If h(x)=f(x) g(x)h(x) = f(x)\,g(x) and k(x)=f(x)g(x)k(x) = \dfrac{f(x)}{g(x)}, then

h′(a)=f′(a) g(a)+f(a) g′(a)k′(a)=f′(a) g(a)−f(a) g′(a)(g(a))2h'(a) = f'(a)\,g(a) + f(a)\,g'(a) \qquad k'(a) = \frac{f'(a)\,g(a) - f(a)\,g'(a)}{\big(g(a)\big)^2}

Every value comes from the same row of the table, the row where x=ax = a. Write the rule with aa in it first, then substitute. That way your working shows which value went where, and a sign slip is easier to spot.

For example, suppose f(4)=3f(4) = 3, f′(4)=2f'(4) = 2, g(4)=−1g(4) = -1 and g′(4)=6g'(4) = 6. Then the derivative of fgfg at x=4x = 4 is 2(−1)+3(6)=162(-1) + 3(6) = 16.

Key idea

Write the rule with aa in it first, then put in the four values from the row where x=ax = a.

Check yourself

With the same values at x=4x = 4, find the derivative of f(x)g(x)\dfrac{f(x)}{g(x)} at x=4x = 4.
Show answerHide answer

−20-20. The numerator is 2(−1)−3(6)=−202(-1) - 3(6) = -20 and the denominator is (−1)2=1(-1)^2 = 1.

Which method fits?

What you seeWhat to do
Two functions of xx multiplied, such as x3cos⁡xx^3 \cos xProduct rule
A function of xx divided by another function of xxQuotient rule
A constant on the bottom, such as x47\dfrac{x^4}{7}Constant multiple: 17x4\dfrac{1}{7}x^4
A constant times a function, such as 5sin⁡x5 \sin xConstant multiple, no product rule
Terms divided by a single power of xxDivide each term first, then use the power rule
Only values of ff, gg, f′f' and g′g'Write the rule at x=ax = a, then substitute

Worked example 1: A product with a trig factor

Question: Find dydx\dfrac{dy}{dx} for y=x3cos⁡xy = x^3 \cos x.

What tells you the method

Two functions of xx, x3x^3 and cos⁡x\cos x, are multiplied, so this is a product.

  1. Step 1: Name the parts.

    u=x3u = x^3, so u′=3x2u' = 3x^2; v=cos⁡xv = \cos x, so v′=−sin⁡xv' = -\sin x.

    Why

    Writing the four pieces first keeps the signs under control.

  2. Step 2: Apply the product rule.

    dydx=u′v+uv′=3x2cos⁡x+x3(−sin⁡x)\dfrac{dy}{dx} = u'v + uv' = 3x^2 \cos x + x^3(-\sin x).

    Why

    Each term has exactly one factor differentiated.

  3. Step 3: Tidy.

    dydx=3x2cos⁡x−x3sin⁡x\dfrac{dy}{dx} = 3x^2 \cos x - x^3 \sin x, which factors as x2(3cos⁡x−xsin⁡x)x^2(3\cos x - x \sin x).

    Why

    The factored form makes later work, such as solving dydx=0\dfrac{dy}{dx} = 0, easier.

Check it

At x=0x = 0 the derivative is 00. Near 00, cos⁡x\cos x is close to 11, so yy behaves like x3x^3, which is flat at the origin; a slope of 00 fits.

Answer

dydx=3x2cos⁡x−x3sin⁡x\dfrac{dy}{dx} = 3x^2 \cos x - x^3 \sin x.

Worked example 2: A quotient at a point

Question: Let f(x)=2x+1x2+3f(x) = \dfrac{2x + 1}{x^2 + 3}. Find f′(x)f'(x) and f′(1)f'(1).

What tells you the method

A function of xx is divided by another function of xx, so use the quotient rule.

  1. Step 1: Name the parts.

    u=2x+1u = 2x + 1, u′=2u' = 2; v=x2+3v = x^2 + 3, v′=2xv' = 2x.

    Why

    The quotient rule needs all four.

  2. Step 2: Apply the quotient rule.

    f′(x)=2(x2+3)−(2x+1)(2x)(x2+3)2f'(x) = \dfrac{2(x^2 + 3) - (2x + 1)(2x)}{(x^2 + 3)^2}.

    Why

    The derivative of the top times the bottom comes first, then you subtract.

  3. Step 3: Simplify the numerator.

    2x2+6−4x2−2x=−2x2−2x+62x^2 + 6 - 4x^2 - 2x = -2x^2 - 2x + 6, so f′(x)=−2x2−2x+6(x2+3)2f'(x) = \dfrac{-2x^2 - 2x + 6}{(x^2 + 3)^2}.

    Why

    The minus sign applies to the whole product (2x+1)(2x)(2x + 1)(2x), so both of its terms change sign.

  4. Step 4: Substitute x=1x = 1.

    f′(1)=−2−2+6(1+3)2=216=18f'(1) = \dfrac{-2 - 2 + 6}{(1 + 3)^2} = \dfrac{2}{16} = \dfrac{1}{8}.

    Why

    The derivative at a point is the derivative formula evaluated there.

Check it

The slope between the points on the graph at x=0.99x = 0.99 and x=1.01x = 1.01 is f(1.01)−f(0.99)0.02≈0.125\dfrac{f(1.01) - f(0.99)}{0.02} \approx 0.125, which matches 18\dfrac{1}{8}.

Answer

f′(x)=−2x2−2x+6(x2+3)2f'(x) = \dfrac{-2x^2 - 2x + 6}{(x^2 + 3)^2} and f′(1)=18f'(1) = \dfrac{1}{8}.

Worked example 3: Derivatives from a table

Question: The functions ff and gg are differentiable, and the table gives their values at x=2x = 2.

xxf(x)f(x)f′(x)f'(x)g(x)g(x)g′(x)g'(x)
2233−1-1−2-244

Let h(x)=f(x) g(x)h(x) = f(x)\,g(x) and k(x)=f(x)g(x)k(x) = \dfrac{f(x)}{g(x)}. (a) Find h′(2)h'(2). (b) Find k′(2)k'(2). (c) Write an equation for the line tangent to the graph of hh at x=2x = 2.

What tells you the method

Only values are given; hh is a product and kk is a quotient, so you substitute the x=2x = 2 row into each rule.

  1. Step 1: Product rule at x=2x = 2.

    h′(2)=f′(2)g(2)+f(2)g′(2)=(−1)(−2)+(3)(4)=2+12=14h'(2) = f'(2)g(2) + f(2)g'(2) = (-1)(-2) + (3)(4) = 2 + 12 = 14.

    Why

    Every value comes from the row where x=2x = 2.

  2. Step 2: Quotient rule at x=2x = 2.

    k′(2)=f′(2)g(2)−f(2)g′(2)(g(2))2=(−1)(−2)−(3)(4)(−2)2=2−124=−52k'(2) = \dfrac{f'(2)g(2) - f(2)g'(2)}{\big(g(2)\big)^2} = \dfrac{(-1)(-2) - (3)(4)}{(-2)^2} = \dfrac{2 - 12}{4} = -\dfrac{5}{2}.

    Why

    The derivative of the top times the bottom comes first, and (−2)2=4(-2)^2 = 4 is positive.

  3. Step 3: Find the point on the graph.

    h(2)=f(2)g(2)=3(−2)=−6h(2) = f(2)g(2) = 3(-2) = -6, so the point is (2,−6)(2, -6).

    Why

    A tangent line needs a point as well as a slope.

  4. Step 4: Write the tangent line.

    y−(−6)=14(x−2)y - (-6) = 14(x - 2), so y=14x−34y = 14x - 34.

    Why

    This is point-slope form with slope h′(2)=14h'(2) = 14.

Check it

At x=2x = 2 the line gives 14(2)−34=−6=h(2)14(2) - 34 = -6 = h(2), so it passes through the point of tangency.

Answer

(a) h′(2)=14h'(2) = 14 (b) k′(2)=−52k'(2) = -\dfrac{5}{2} (c) y=14x−34y = 14x - 34

Your turn

Question: Find dydx\dfrac{dy}{dx} for y=sin⁡x1+cos⁡xy = \dfrac{\sin x}{1 + \cos x}, and simplify fully.

  1. Step 1:

    Name the parts: u=sin⁡xu = \sin x, u′=cos⁡xu' = \cos x, v=1+cos⁡xv = 1 + \cos x, v′=−sin⁡xv' = -\sin x.

  2. Step 2:

    The quotient rule gives dydx=cos⁡x(1+cos⁡x)−sin⁡x(−sin⁡x)(1+cos⁡x)2\dfrac{dy}{dx} = \dfrac{\cos x(1 + \cos x) - \sin x(-\sin x)}{(1 + \cos x)^2}.

  3. Step 3: Your go: expand the numerator, use sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1, then cancel.

Show the full solutionHide the solution

The numerator is cos⁡x+cos⁡2x+sin⁡2x=cos⁡x+1\cos x + \cos^2 x + \sin^2 x = \cos x + 1. So dydx=1+cos⁡x(1+cos⁡x)2=11+cos⁡x\dfrac{dy}{dx} = \dfrac{1 + \cos x}{(1 + \cos x)^2} = \dfrac{1}{1 + \cos x}, wherever cos⁡x≠−1\cos x \neq -1.

Answer: dydx=11+cos⁡x\dfrac{dy}{dx} = \dfrac{1}{1 + \cos x}

Traps

Trap

Thinking the derivative of f(x)g(x)f(x)g(x) is f′(x)g′(x)f'(x)g'(x).

It seems right because the derivative of a sum is the sum of the derivatives. But multiplication does not work that way: x⋅x=x2x \cdot x = x^2 has derivative 2x2x, not 1⋅1=11 \cdot 1 = 1. The derivative of fgfg is f′g+fg′f'g + fg'.

Check yourself

Which is the derivative of x2exx^2 e^x: 2xex2x e^x or 2xex+x2ex2x e^x + x^2 e^x?
Show answerHide answer

2xex+x2ex2x e^x + x^2 e^x. The first expression is the product of the derivatives, which leaves out the term where exe^x is differentiated.

Trap

Writing the quotient rule numerator as uv′−u′vuv' - u'v.

It seems right because the product rule works in either order. But subtraction does not: swapping the terms multiplies the whole derivative by −1-1. Start with the derivative of the top: u′v−uv′u'v - uv'.

Check yourself

For y=1xy = \dfrac{1}{x}, which order gives the known derivative −1x2-\dfrac{1}{x^2}?
Show answerHide answer

u′v−uv′=0⋅x−1⋅1=−1u'v - uv' = 0 \cdot x - 1 \cdot 1 = -1, over x2x^2, gives −1x2-\dfrac{1}{x^2}. The other order gives +1x2+\dfrac{1}{x^2}, which cannot be right: 1x\dfrac{1}{x} decreases for x>0x > 0.

Trap

Writing the derivative of cot⁡x\cot x as csc⁡2x\csc^2 x, or of csc⁡x\csc x as csc⁡xcot⁡x\csc x \cot x.

It seems right because the results for tan⁡x\tan x and sec⁡x\sec x have no minus sign. But the co-functions all carry one, just as cos⁡x\cos x does: the derivatives are −csc⁡2x-\csc^2 x and −csc⁡xcot⁡x-\csc x \cot x.

Check yourself

Is cot⁡x\cot x increasing or decreasing on 0<x<π0 < x < \pi, and what does that say about its derivative?
Show answerHide answer

Decreasing, so its derivative must be negative there. That matches −csc⁡2x-\csc^2 x, which is negative wherever it is defined.

What's examined

The product and quotient rules belong to Unit 2 of the AP® Calculus AB exam, and later units keep using them. They can appear in multiple-choice questions and as steps inside free-response questions, including ones where ff and gg are given only through a table of values. Expect command words such as "Find", "Evaluate" and "Write an equation for the line tangent to…". There is no formula sheet, so the product rule, the quotient rule and the four trig derivatives must come from memory. In free response, show the rule with the values substituted, not just a final number: that setup is part of what earns credit.

Practice questions

  1. Recall Which of the following is ddx[sec⁡x]\dfrac{d}{dx}[\sec x]?
  • A) sec⁡2x\sec^2 x
  • B) −sec⁡xtan⁡x-\sec x \tan x
  • C) sec⁡xtan⁡x\sec x \tan x
  • D) −csc⁡xcot⁡x-\csc x \cot x
Show answer

Answer: C, sec⁡xtan⁡x\sec x \tan x.

Marking points:

  • Write sec⁡x=1cos⁡x\sec x = \dfrac{1}{\cos x}; the quotient rule gives sin⁡xcos⁡2x=sec⁡xtan⁡x\dfrac{\sin x}{\cos^2 x} = \sec x \tan x.
  • A is the derivative of tan⁡x\tan x, B adds a minus sign that belongs only to the co-functions, and D is the derivative of csc⁡x\csc x.
  1. Recall Differentiate y=x4exy = x^4 e^x.
Show answer

Answer: dydx=4x3ex+x4ex\dfrac{dy}{dx} = 4x^3 e^x + x^4 e^x, which factors as x3ex(x+4)x^3 e^x(x + 4).

Marking points:

  • u=x4u = x^4, u′=4x3u' = 4x^3; v=exv = e^x, v′=exv' = e^x.
  • Product rule: u′v+uv′=4x3ex+x4exu'v + uv' = 4x^3 e^x + x^4 e^x.
  1. Apply If f(x)=3x−1x+2f(x) = \dfrac{3x - 1}{x + 2}, which of the following is f′(x)f'(x)?
  • A) 7(x+2)2\dfrac{7}{(x + 2)^2}
  • B) −7(x+2)2\dfrac{-7}{(x + 2)^2}
  • C) 5(x+2)2\dfrac{5}{(x + 2)^2}
  • D) 33
Show answer

Answer: A, 7(x+2)2\dfrac{7}{(x + 2)^2}.

Marking points:

  • The numerator is 3(x+2)−(3x−1)(1)=3x+6−3x+1=73(x + 2) - (3x - 1)(1) = 3x + 6 - 3x + 1 = 7.
  • B uses the numerator in the order uv′−u′vuv' - u'v; C forgets that the minus sign applies to the −1-1 as well; D divides the derivative of the top by the derivative of the bottom.
  1. Apply The functions ff and gg are differentiable, and the table gives their values at x=1x = 1.
xxf(x)f(x)f′(x)f'(x)g(x)g(x)g′(x)g'(x)
112255−3-311

Let p(x)=f(x) g(x)p(x) = f(x)\,g(x) and q(x)=g(x)f(x)q(x) = \dfrac{g(x)}{f(x)}. Find (a) p′(1)p'(1) and (b) q′(1)q'(1).

Show answer

Answer: (a) p′(1)=−13p'(1) = -13 (b) q′(1)=174q'(1) = \dfrac{17}{4}

Marking points:

  • p′(1)=f′(1)g(1)+f(1)g′(1)=(5)(−3)+(2)(1)=−13p'(1) = f'(1)g(1) + f(1)g'(1) = (5)(-3) + (2)(1) = -13.
  • In qq, gg is on top: q′(1)=g′(1)f(1)−g(1)f′(1)(f(1))2=(1)(2)−(−3)(5)4=174q'(1) = \dfrac{g'(1)f(1) - g(1)f'(1)}{\big(f(1)\big)^2} = \dfrac{(1)(2) - (-3)(5)}{4} = \dfrac{17}{4}.
  1. Apply Which of the following is ddx[xcot⁡x]\dfrac{d}{dx}[x \cot x]?
  • A) −csc⁡2x-\csc^2 x
  • B) cot⁡x+xcsc⁡2x\cot x + x \csc^2 x
  • C) −xcsc⁡2x-x \csc^2 x
  • D) cot⁡x−xcsc⁡2x\cot x - x \csc^2 x
Show answer

Answer: D, cot⁡x−xcsc⁡2x\cot x - x \csc^2 x.

Marking points:

  • Product rule with u=xu = x and v=cot⁡xv = \cot x: 1⋅cot⁡x+x(−csc⁡2x)1 \cdot \cot x + x(-\csc^2 x).
  • A multiplies the two derivatives, B drops the minus sign in the derivative of cot⁡x\cot x, and C leaves out the u′vu'v term.
  1. Exam-style The functions ff and gg are differentiable, with f(3)=4f(3) = 4, f′(3)=−2f'(3) = -2, g(3)=2g(3) = 2 and g′(3)=5g'(3) = 5. If k(x)=f(x)g(x)k(x) = \dfrac{f(x)}{g(x)}, what is the value of k′(3)k'(3)?
  • A) −12-12
  • B) −6-6
  • C) −25-\dfrac{2}{5}
  • D) 66
Show answer

Answer: B, −6-6.

Marking points:

  • k′(3)=f′(3)g(3)−f(3)g′(3)(g(3))2=(−2)(2)−(4)(5)22=−244=−6k'(3) = \dfrac{f'(3)g(3) - f(3)g'(3)}{\big(g(3)\big)^2} = \dfrac{(-2)(2) - (4)(5)}{2^2} = \dfrac{-24}{4} = -6.
  • A forgets to square g(3)g(3), C divides f′(3)f'(3) by g′(3)g'(3), and D reverses the order of the numerator.
  1. Exam-style Let f(x)=exx2+1f(x) = \dfrac{e^x}{x^2 + 1}. (a) Show that f′(x)=ex(x−1)2(x2+1)2f'(x) = \dfrac{e^x(x - 1)^2}{(x^2 + 1)^2}. (b) Find the value of xx at which the graph of ff has a horizontal tangent line. (c) Write an equation for the line tangent to the graph of ff at x=0x = 0.
Show answer

Answer: (a) f′(x)=ex(x2+1)−ex(2x)(x2+1)2=ex(x−1)2(x2+1)2f'(x) = \dfrac{e^x(x^2 + 1) - e^x(2x)}{(x^2 + 1)^2} = \dfrac{e^x(x - 1)^2}{(x^2 + 1)^2} (b) x=1x = 1 (c) y=x+1y = x + 1

Marking points:

  • Quotient rule with u=exu = e^x, u′=exu' = e^x, v=x2+1v = x^2 + 1, v′=2xv' = 2x; factor exe^x from the numerator to get ex(x2−2x+1)=ex(x−1)2e^x(x^2 - 2x + 1) = e^x(x - 1)^2.
  • A horizontal tangent needs f′(x)=0f'(x) = 0; exe^x is never 00, so (x−1)2=0(x - 1)^2 = 0 and x=1x = 1.
  • f(0)=1f(0) = 1 and f′(0)=1⋅11=1f'(0) = \dfrac{1 \cdot 1}{1} = 1, so the tangent line is y−1=1(x−0)y - 1 = 1(x - 0), that is y=x+1y = x + 1.

Key points

Recall, then reveal

Say the main points from memory first, then check them.

Show key pointsHide key points
  • Product: (uv)′=u′v+uv′(uv)' = u'v + uv', so each term differentiates exactly one factor.
  • Quotient: (uv)′=u′v−uv′v2\left(\dfrac{u}{v}\right)' = \dfrac{u'v - uv'}{v^2}; the minus sign makes the order of the numerator matter.
  • tan⁡x→sec⁡2x\tan x \to \sec^2 x, sec⁡x→sec⁡xtan⁡x\sec x \to \sec x \tan x, cot⁡x→−csc⁡2x\cot x \to -\csc^2 x, csc⁡x→−csc⁡xcot⁡x\csc x \to -\csc x \cot x: the co-functions carry the minus sign.
  • From a table, write the rule at x=ax = a, then substitute every value from that row.
  • A constant denominator is a constant multiple, and a single power of xx underneath can be divided in first.

Keep learning

Explore AP Calculus AB tutoring →

View the full Calculus AB syllabus →

More in this unit

Derivatives: Definition and Basic Rules

All Basic Differentiation Rules notes

Part of Novark's AP Calculus AB notes