AP-CALCBC-3.5-3.6

U3.5 Selecting Procedures and Higher-Order Derivatives

Master AP Calculus BC 3.5-3.6: choose the right mix of product, quotient, and chain rules, then compute higher-order derivatives and spot their patterns.

What you'll do in this lesson

A voice-first session with the Crimsora tutor on U3.5 Selecting Procedures and Higher-Order Derivatives, then targeted practice and FRQs — with the tutor adapting to where you get stuck.

What this lesson covers

By this point in Unit 3 you know each differentiation rule individually — power, product, quotient, and chain. The real exam skill is knowing which rule to reach for first when a function stacks several structures together, and then applying them in the correct order without losing terms. This lesson also introduces higher-order derivatives: the second derivative ff'', third derivative ff''', and beyond. You will learn to differentiate repeatedly, to read what each order tells you, and to detect the repeating patterns that let you jump straight to the nnth derivative. These ideas power later units on concavity, motion, and Taylor series, so nailing them now pays off repeatedly.

Reading a Function's Structure Before You Differentiate

The single biggest error on these problems is applying a rule to the wrong layer. Before touching a derivative, identify the outermost operation — the last thing you would do if you plugged in a number.

Work from the outside in. If the whole expression is one quantity divided by another, the quotient rule governs the first step. If it is two factors multiplied, use the product rule first. If it is a function wrapped around an inner function, the chain rule governs the outermost step. Only after handling the outer operation do you differentiate the inner pieces, which may themselves need another rule.
Outermost structureFirst rule to apply
f(x)g(x)f(x)\cdot g(x)Product rule
f(x)g(x)\dfrac{f(x)}{g(x)}Quotient rule
f(g(x))f(g(x))Chain rule
f(x)+g(x)f(x)+g(x)Differentiate term by term
For example, y=x2sin(3x)y=x^2\sin(3x) is a product whose second factor needs the chain rule. And y=(xx+1)4y=\left(\dfrac{x}{x+1}\right)^4 is a chain (outer power) wrapped around a quotient. Naming the structure first prevents you from, say, mistakenly treating a product as a chain. The AP exam deliberately builds functions with two or three nested structures to test this judgment.

Executing Combined Rules Cleanly

Once you know the order, keep your work organized so nested rules do not collapse into algebra mistakes. A reliable habit is to write the outer rule's template first, then fill in each derivative as a labeled piece.

Consider y=x2e5xy = x^2 e^{5x}. This is a product, so y=(x2)e5x+x2(e5x)y' = (x^2)' e^{5x} + x^2 (e^{5x})'. Now compute each piece: (x2)=2x(x^2)' = 2x and (e5x)=5e5x(e^{5x})' = 5e^{5x} by the chain rule. Assemble: y=2xe5x+5x2e5x=xe5x(2+5x)y' = 2x e^{5x} + 5x^2 e^{5x} = x e^{5x}(2 + 5x).

Factoring the common terms at the end, as shown, is often expected and also makes the second derivative easier. When the chain rule appears inside a product or quotient, differentiate the inner function separately on scratch space so you do not forget the inner derivative — the most common lost point on the free-response section.

A useful mental checklist: Did I apply the correct outer rule? Did every chain contribute its inner derivative? Did I differentiate, not just copy, each factor? On the multiple-choice section, wrong answers are engineered to match specific slips — forgetting the inner derivative, or swapping the sign in the quotient rule numerator, gffgg2\frac{g f' - f g'}{g^2} versus the incorrect fggfg2\frac{f g' - g f'}{g^2}.

Computing Higher-Order Derivatives

A higher-order derivative is simply the derivative of a derivative. Notation you must recognize includes f(x)f''(x), f(x)f'''(x), f(4)(x)f^{(4)}(x), and the Leibniz form d2ydx2\dfrac{d^2y}{dx^2}, d3ydx3\dfrac{d^3y}{dx^3}, and generally dnydxn\dfrac{d^ny}{dx^n}.

To find ff'', first simplify ff' as much as possible, then differentiate again using whatever rule the simplified ff' requires. The rule can change between orders: a first derivative might need the product rule while the second derivative of a simpler result needs only the power rule.

For f(x)=x4f(x)=x^4: f=4x3f'=4x^3, f=12x2f''=12x^2, f=24xf'''=24x, f(4)=24f^{(4)}=24, and f(5)=0f^{(5)}=0. Every derivative of a polynomial of degree nn eventually becomes zero at order n+1n+1.

Higher-order derivatives carry meaning. If s(t)s(t) is position, then s(t)s'(t) is velocity, s(t)s''(t) is acceleration, and s(t)s'''(t) is jerk. The second derivative also drives concavity analysis in Unit 5. The exam frequently asks you to evaluate ff'' at a specific point, so after differentiating twice, substitute carefully and watch signs. Always fully simplify ff' before computing ff''; differentiating an unsimplified expression multiplies your chances of error.

Recognizing Patterns in Higher-Order Derivatives

Some functions produce a predictable cycle or formula for their derivatives, and the exam rewards spotting it.

Exponential and trig functions cycle. For f(x)=ekxf(x)=e^{kx}, each derivative multiplies by kk: f(n)(x)=knekxf^{(n)}(x)=k^n e^{kx}. For sinx\sin x, the derivatives cycle every four steps: cosx\cos x, sinx-\sin x, cosx-\cos x, sinx\sin x, and repeat. So dndxnsinx\frac{d^n}{dx^n}\sin x depends only on nmod4n \bmod 4.
f(x)f(x)Pattern of f(n)f^{(n)}
ekxe^{kx}knekxk^n e^{kx}
sinx\sin xcycles every 4: cos,sin,cos,sin\cos, -\sin, -\cos, \sin
1x\frac{1}{x}(1)nn!x(n+1)(-1)^n \, n!\, x^{-(n+1)}
lnx\ln x(1)n1(n1)!xn(-1)^{n-1}(n-1)!\,x^{-n} for n1n\ge 1
To find a pattern, compute the first three or four derivatives, watch how the sign, the factorial coefficient, and the power evolve, then write the general term. Sign alternation almost always encodes as (1)n(-1)^n or (1)n1(-1)^{n-1}; repeated products of descending integers signal a factorial. These patterns are the foundation of Taylor and Maclaurin series later in the course, so practicing them now builds directly toward BC's series unit.

Key terms

Higher-order derivative.
A derivative taken more than once, such as ff'' (second) or f(n)f^{(n)} (nnth), obtained by repeatedly differentiating.
Outer function.
In a composition f(g(x))f(g(x)), the function applied last; its derivative is taken first under the chain rule.
Product rule.
(fg)=fg+fg(fg)' = f'g + fg', used when two functions are multiplied.
Quotient rule.
(fg)=fgfgg2\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}, used when one function is divided by another.
Chain rule.
ddxf(g(x))=f(g(x))g(x)\frac{d}{dx}f(g(x)) = f'(g(x))\cdot g'(x), used for composed functions.
Leibniz notation.
Writing derivatives as dydx\frac{dy}{dx}, d2ydx2\frac{d^2y}{dx^2}, etc., emphasizing the order of differentiation.
Concavity.
The direction a curve bends, determined by the sign of the second derivative ff''.

Worked example

Let f(x)=x2exf(x) = x^2 e^{-x}. Find f(x)f''(x) and evaluate f(0)f''(0).
First identify the structure: ff is a product of x2x^2 and exe^{-x}, so the product rule governs the first differentiation, and the chain rule handles exe^{-x}.

Compute ff'. With u=x2u=x^2, u=2xu'=2x; and v=exv=e^{-x}, v=exv'=-e^{-x} by the chain rule (inner derivative of x-x is 1-1). Thenf(x)=2xex+x2(ex)=ex(2xx2).f'(x) = 2x e^{-x} + x^2(-e^{-x}) = e^{-x}(2x - x^2).Factoring the common exe^{-x} now makes the next step cleaner.

Compute ff'' by differentiating f(x)=ex(2xx2)f'(x) = e^{-x}(2x - x^2), again a product. With u=exu=e^{-x}, u=exu'=-e^{-x}; and v=2xx2v=2x-x^2, v=22xv'=2-2x:f(x)=ex(2xx2)+ex(22x).f''(x) = -e^{-x}(2x - x^2) + e^{-x}(2 - 2x).Factor out exe^{-x}:f(x)=ex[(2xx2)+(22x)]=ex(x24x+2).f''(x) = e^{-x}\big[-(2x - x^2) + (2 - 2x)\big] = e^{-x}(x^2 - 4x + 2).Evaluate at x=0x=0: f(0)=e0(00+2)=2f''(0) = e^{0}(0 - 0 + 2) = 2. Since f(0)>0f''(0) > 0, the graph is concave up at x=0x=0.

Practice questions

Let g(x)=sin(2x)g(x) = \sin(2x). What is g(4)(x)g^{(4)}(x)?
  1. 16sin(2x)16\sin(2x)
  2. 16sin(2x)-16\sin(2x)
  3. 8cos(2x)8\cos(2x)
  4. 16cos(2x)16\cos(2x)

Answer: 16sin(2x)16\sin(2x)

Each derivative of sin(2x)\sin(2x) brings out a factor of 2 from the chain rule and advances the trig cycle. g=2cos(2x)g' = 2\cos(2x), g=4sin(2x)g'' = -4\sin(2x), g=8cos(2x)g''' = -8\cos(2x), g(4)=16sin(2x)g^{(4)} = 16\sin(2x). After four derivatives the trig function returns to sin\sin, and the accumulated factor is 24=162^4 = 16.
Given y=xx2+1y = \dfrac{x}{x^2+1}, find dydx\dfrac{dy}{dx} and state which rule you applied first and why.

Answer: dydx=1x2(x2+1)2\dfrac{dy}{dx} = \dfrac{1 - x^2}{(x^2+1)^2}.

The outermost structure is a quotient, so the quotient rule comes first. With f=xf=x (f=1f'=1) and g=x2+1g=x^2+1 (g=2xg'=2x): y=fgfgg2=(1)(x2+1)x(2x)(x2+1)2=x2+12x2(x2+1)2=1x2(x2+1)2y' = \frac{f'g - fg'}{g^2} = \frac{(1)(x^2+1) - x(2x)}{(x^2+1)^2} = \frac{x^2+1-2x^2}{(x^2+1)^2} = \frac{1-x^2}{(x^2+1)^2}. Recognizing the quotient as the outer operation prevents the common error of differentiating numerator and denominator separately.
For f(x)=1xf(x) = \frac{1}{x}, write a general formula for the nnth derivative f(n)(x)f^{(n)}(x).

Answer: f(n)(x)=(1)nn!x(n+1)f^{(n)}(x) = (-1)^n \, n! \, x^{-(n+1)}.

Compute a few: f=x2f' = -x^{-2}, f=2x3f'' = 2x^{-3}, f=6x4f''' = -6x^{-4}. The sign alternates, giving (1)n(-1)^n. The coefficients 1,2,6,241, 2, 6, 24 are n!n!. The exponent decreases by one each time, reaching (n+1)-(n+1). Combining yields f(n)(x)=(1)nn!x(n+1)f^{(n)}(x) = (-1)^n n!\, x^{-(n+1)}, a pattern you can verify against f=(1)33!x4=6x4f'''=(-1)^3 3! x^{-4} = -6x^{-4}.

FAQ

How do I decide which differentiation rule to use first?
Identify the outermost operation — the last thing you would compute if you plugged in a number. If the whole thing is a division, start with the quotient rule; if it is a multiplication, start with the product rule; if it is a function inside another, start with the chain rule. Then differentiate the inner pieces with whatever rules they require.
What is the difference between ff'' and (f)2(f')^2?
They are completely different. ff'' means differentiate ff twice — take the derivative of the first derivative. (f)2(f')^2 means take the first derivative once and then square the result. The exam sometimes offers a squared first derivative as a distractor, so read the notation carefully.
Do I need to simplify the first derivative before finding the second?
Yes, almost always. Simplifying and factoring ff' first makes the second differentiation shorter and dramatically reduces sign and algebra errors. A messy unsimplified ff' forces you to apply the product or quotient rule to more terms than necessary.
How are higher-order derivatives used later in AP Calculus BC?
The second derivative determines concavity and inflection points in Unit 5 and acceleration in motion problems. Recognizing patterns in the nnth derivative is the foundation of Taylor and Maclaurin series in the BC series unit, where you evaluate f(n)f^{(n)} at a point to build the series coefficients.

Learn this with a teacher, not a page

The Crimsora tutor teaches U3.5 Selecting Procedures and Higher-Order Derivatives live — explaining on a whiteboard, asking you questions, and adapting to where you get stuck.