---
title: "Foundational Derivative Rules | FiveStudy"
description: "Differentiate powers, sums, products, quotients, and the standard trigonometric, exponential, and logarithmic functions efficiently."
url: https://fivestudy.com/guides/ap-calculus-ab-foundational-derivative-rules
---

[AP Calculus AB](https://fivestudy.com/ap-calculus-ab) · Study guide

# Foundational Derivative Rules

[Figure: FiveStudy logo]

FiveStudy

AP Calculus AB · Unit 2

AP Calculus AB · Comprehensive Guide 5

# Foundational Derivative *Rules*

Differentiate powers, sums, products, quotients, and the standard trigonometric, exponential, and logarithmic functions efficiently.

6 topics · 6 worked examples

Prerequisite check

You should know algebraic simplification, exponent laws, trigonometric identities, and the derivative definition.

AP reasoning lens

Before calculating, identify the outer operation. A product or quotient requires its own rule; differentiating factors separately is not valid.

## In this guide

1. 2.5 · Applying the Power Rule
2. 2.6 · Derivative Rules: Constant, Sum, Difference, and Constant Multiple
3. 2.7 · Derivatives of cos x, sin x, e^x, and ln x
4. 2.8 · The Product Rule
5. 2.9 · The Quotient Rule
6. 2.10 · Finding the Derivatives of Tangent, Cotangent, Secant, and Cosecant Functions

Topic 2.5

## Applying the Power Rule

So far, finding a derivative meant setting up a difference quotient hf(x+h)−f(x) and taking a limit. That works, but it is slow. For one very common family of functions — the powers of x such as x2, x3, x10, and even x−2 — there is a shortcut that returns the derivative in a single step, no limit needed.

### Skills inside this topic

**2.5.a**Integer power rule

**2.5.b**Power rule with rational and negative exponents

**2.5.c**Rewriting before differentiating

### Core results and conditions

- **2.5.a · Integer power rule**For any integer n, dxd[xn]=nxn−1. The original exponent n does two jobs in the answer: it becomes the new front coefficient, and it determines the new exponent n−1. Both pieces come from the same n.
- **2.5.b · Power rule with rational and negative exponents**For every real number p, dxd[xp]=pxp−1. Two arithmetic steps, always in this order: (1) coefficient becomes p; (2) new exponent becomes p−1. The constant-multiple rule rides along: dxd[kxp]=kpxp−1, so the new coefficient is the product k⋅p.
- **2.5.c · Rewriting before differentiating**Every rewrite in this lesson is one of these algebra facts (for a positive integer or rational k, and any real exponents a,b): xk1=x−k,nx=x1/n,xa⋅xb=xa+b,xbxa=xa−b. None of these is calculus — they are exponent rules from algebra. They merely put the expression into the one form the power rule accepts.

### Worked example · source skill 2.5.a

Differentiate y=x6.

Read off the exponent: n=6.

Move 1 — bring 6 down to the front as the new coefficient.

Move 2 — subtract 1 from the exponent: 6−1=5.

Assemble: dxd[x6]=6x5.

**Result and interpretation**
Takeaway: The single exponent 6 supplies both the front coefficient and the new exponent 5. One value, two jobs.

**Common mistake**

Mistake: dxd[x7]=7x7 — the front coefficient is right, but the exponent was left unchanged (or, in another version, raised to x8).

**Correction:** Correct approach: dxd[x7]=7x6. Always lower the exponent by one — and remember that subtracting 1 from a negative exponent makes it more negative.

**Check your understanding**

Differentiate f(x)=x2x1. Collapse the denominator to a single power of x before applying the power rule.

**Show answer**

Collapse the denominator by adding exponents: x2x=x2⋅x1/2=x5/2. Take the reciprocal: f(x)=x5/21=x−5/2. Power rule: bring −25 down; new exponent −25−1=−27. So f′(x)=−25x−7/2.

Topic 2.6

## Derivative Rules: Constant, Sum, Difference, and Constant Multiple

The derivative dxd[something] answers one question: how fast does the 'something' change as x changes? It reports a rate of change, not a value.

### Skills inside this topic

**2.6.a**Derivative of a constant

**2.6.b**Constant-multiple rule for derivatives

**2.6.c**Sum/difference rule

**2.6.d**Compound rewrite + differentiate (distribute / simplify first)

### Core results and conditions

- **2.6.a · Derivative of a constant**For every real number c, dxd[c]=0. Equivalently, if f(x)=c is the constant function, then f′(x)=0 for all x. The answer is exactly 0 — not c, not 1, not cx.
- **2.6.b · Constant-multiple rule for derivatives**For any constant c and any differentiable function f, dxd[cf(x)]=cf′(x). Pull the constant c outside the derivative, differentiate f(x) on its own, then multiply by c.
- **2.6.c · Sum/difference rule**If f and g are both differentiable, then their sum and their difference are differentiable, and dxd[f(x)+g(x)]=f′(x)+g′(x), dxd[f(x)−g(x)]=f′(x)−g′(x). In words: the derivative of a sum is the sum of the derivatives, and the derivative of a difference is the difference of the derivatives.
- **2.6.d · Compound rewrite + differentiate (distribute / simplify first)**If f(x) is given as a product, quotient, binomial power, or radical, first do the algebra to rewrite it as a sum of constant multiples of powers of x: f(x)=c1xk1+c2xk2+⋯+cnxkn where each ki is any real exponent. Then differentiate term-by-term with the power rule and the sum/difference and constant-multiple rules: f′(x)=c1k1xk1−1+c2k2xk2−1+⋯+cnknxkn−1.

### Worked example · source skill 2.6.b

Differentiate y=3x2.

Identify the constant and the inner function: c=3, f(x)=x2.

Pull the constant outside: dxd[3x2]=3⋅dxd[x2].

Apply the power rule to x2: dxd[x2]=2x.

Multiply: 3⋅2x=6x.

**Result and interpretation**
Takeaway: The 3 is never differentiated. It stays in front and multiplies the new derivative — confirming the g′(x)=6x row from the table.

**Common mistake**

Mistake: "dxd[9]=9, because the derivative of 9 is 9."

**Correction:** Correct approach: For any constant c, write dxd[c]=0. The output of the constant rule is always the single number 0, regardless of how big the constant is.

**Check your understanding**

Differentiate k(x)=x2x3+x for x=0 using only rules from 2.6.a–c. Show the rewrite explicitly, then k′(x).

**Show answer**

Split the quotient: x2x3+x2x=x+x−1. (Note x/x2=x−1, not x1.) Differentiate term-by-term: dxd[x]=1 and dxd[x−1]=−x−2. Answer: k′(x)=1−x−2=1−x21. No quotient rule needed — the split plus a negative-exponent conversion did the work.

Topic 2.7

## Derivatives of cos x, sin x, e^x, and ln x

Calculus has a small set of base derivatives that you simply memorize. Every larger rule you meet later — sums, constant multiples, products, chains — eventually leans on this list. For Topic 2.7 there are exactly four.

### Skills inside this topic

**2.7.a**Memorized base derivatives

**2.7.b**Linear combinations of base functions

**2.7.c**Sign-and-shift traps for the four named derivatives

### Core results and conditions

- **2.7.a · Memorized base derivatives**dxd[sinx]=cosx dxd[cosx]=−sinx dxd[ex]=ex dxd[lnx]=x1 Read dxd[⋅] as 'the derivative with respect to x of.' The output is again a function of x — the derivative function, written f′(x) in Lagrange notation.
- **2.7.b · Linear combinations of base functions**If c is a constant and g is differentiable, then dxd[cg(x)]=cg′(x). The coefficient does not disappear and does not change. It simply waits out front while you differentiate the function next to it.
- **2.7.c · Sign-and-shift traps for the four named derivatives**function | derivative | sinx | cosx | cosx | −sinx (the minus lives here) | ex | ex (unchanged) | lnx | x1

### Worked example · source skill 2.7.b

For p(x)=3ex+2lnx+sinx, find p′(1).

Differentiate term by term: 3(ex)′=3ex, 2(lnx)′=x2, (sinx)′=cosx.

So p′(x)=3ex+x2+cosx.

Substitute x=1: e1=e; 12=2; cos1 is not a special angle, so leave it exact.

Combine: p′(1)=3e+2+cos1.

**Result and interpretation**
Takeaway: Always differentiate first, then substitute — plugging in before differentiating would destroy the x-dependence. Some pieces collapse to exact numbers; non-special trig values like cos1 stay symbolic.

[Figure: AB Topic 2.7: An exponential function and its derivative keep the same shape, differing by the chain-rule scale factor.]

An exponential function and its derivative keep the same shape, differing by the chain-rule scale factor.

**Common mistake**

Mistake: "(cosx)′=sinx, so at x=2π the slope is +1."

**Correction:** Correct approach: Write the minus first: (cosx)′=−sinx. At x=2π, −sin2π=−1. Sanity check: does the sign of your slope match whether the curve is rising or falling there?

**Check your understanding**

A student reports the derivative of g(x)=5cosx+lnx as g′(x)=5sinx+lnx. Reconstruct the correct derivative, and identify which trap fired on each term.

**Show answer**

Correct derivative: g′(x)=−5sinx+x1. First term: trap E1 — the negative on the cosine derivative was dropped, so 5sinx should be −5sinx (using (5cosx)′=5(−sinx)). Second term: trap E2 — lnx was left as itself instead of 1/x. One sign-family error and one shift-family error, fixed independently.

Topic 2.8

## The Product Rule

So far in Unit 2 you can differentiate term-by-term: the power rule, constant multiples, and sums and differences all let you break an expression apart and handle the pieces separately. But a product of two functions, like h(x)=x2ex, does not break apart that way.

### Skills inside this topic

**2.8.a**Standard product rule (fg)' = f'g + fg'

**2.8.b**Three-factor product: (fgh)' = f'gh + fg'h + fgh'

**2.8.c**Product rule with named values (table)

### Core results and conditions

- **2.8.a · Standard product rule (fg)' = f'g + fg'**If h(x)=f(x)g(x) and both f and g are differentiable, then h′(x)=f′(x)g(x)+f(x)g′(x). In words: the derivative of the first factor times the second, plus the first factor times the derivative of the second. Each original factor appears twice in the answer — once differentiated, once left alone.
- **2.8.b · Three-factor product: (fgh)' = f'gh + fg'h + fgh'**For three differentiable functions f, g, and h, (fgh)′=f′gh+fg′h+fgh′. Every term keeps all three factors. The prime cycles through the three positions: first on f, then on g, then on h. Two factors are always copied unchanged in each term.
- **2.8.c · Product rule with named values (table)**The derivative of the product fg at x=a is (fg)′(a)=f′(a)g(a)+f(a)g′(a). Each term differentiates exactly one of the two factors; the other factor is left as its value at a. The two terms are joined by a plus sign.

### Worked example · source skill 2.8.a

Differentiate h(x)=xlnx, then evaluate h′(e).

Let f=x, g=lnx; then f′=1, g′=x1.

Product rule: h′(x)=(1)(lnx)+(x)(x1).

The second term collapses: x⋅x1=1.

So h′(x)=lnx+1. At x=e: h′(e)=lne+1=1+1=2.

**Result and interpretation**
Takeaway: The cancellation x⋅x1=1 turns the second term into a constant — a hallmark of xlnx. Simplify each term before adding.

[Figure: AB Topic 2.8: A product creates behavior that cannot be differentiated by multiplying the two separate derivatives.]

A product creates behavior that cannot be differentiated by multiplying the two separate derivatives.

**Common mistake**

Mistake: For h(x)=xsinx, a student writes h′(x)=(1)(cosx)=cosx.

**Correction:** Correct approach: Write both terms: h′(x)=(1)(sinx)+(x)(cosx)=sinx+xcosx. Use the template f′g+fg′ in full before simplifying.

**Check your understanding**

Using table T, let k(x)=−2f(x)g(x). Compute k′(1).

**Show answer**

Factor the constant: k′(1)=−2(fg)′(1). From the x=1 column, f(1)=3, f′(1)=2, g(1)=6, g′(1)=1, so (fg)′(1)=(2)(6)+(3)(1)=12+3=15. Therefore k′(1)=−2⋅15=−30. Tempting wrong answers: −4 (pairing the two derivatives, f′(1)g′(1)=2⋅1=2, then scaling by −2) or −36 (using (fg)(1)=3⋅6=18, the value, not the derivative).

Topic 2.9

## The Quotient Rule

You can already differentiate sums, differences, and products. But many functions are fractions of two pieces — like x+1x, x+1x2, or xsinx. What is the derivative of a quotient?

### Skills inside this topic

**2.9.a**Standard quotient rule (f/g)' = (f'g - fg')/g^2

**2.9.b**Quotient vs. rewrite-as-product: choosing the cleaner strategy

**2.9.c**Quotient rule with named values (from a table of f, f', g, g')

### Core results and conditions

- **2.9.a · Standard quotient rule (f/g)' = (f'g - fg')/g^2**If h(x)=g(x)f(x) and g(x)=0, then h′(x)=[g(x)]2f′(x)g(x)−f(x)g′(x). Read it aloud as low D-high minus high D-low, over the square of what is below: the bottom times the derivative of the top, minus the top times the derivative of the bottom, all divided by the bottom squared.
- **2.9.b · Quotient vs. rewrite-as-product: choosing the cleaner strategy**For any constant c and any exponent n, xnc=cx−n,xbxa=xa−b,xbkxa=kxa−b. Once the fraction is a power (or a sum of powers), the power rule dxd[xn]=nxn−1 finishes it directly — no quotient rule needed.
- **2.9.c · Quotient rule with named values (from a table of f, f', g, g')**If f and g are differentiable at x=a and g(a)=0, then (gf)′(a)=[g(a)]2f′(a)g(a)−f(a)g′(a). In words: derivative of the top times the bottom, MINUS the top times the derivative of the bottom, all over the bottom squared.

### Worked example · source skill 2.9.a

Differentiate h(x)=x+1x2.

Parts: f=x2, g=x+1; so f′=2x, g′=1.

Template: h′(x)=(x+1)2(2x)(x+1)−(x2)(1).

Expand the numerator: 2x2+2x−x2=x2+2x.

Factor (optional): h′(x)=(x+1)2x(x+2).

**Result and interpretation**
Takeaway: When f′ is not constant the numerator need not simplify to a number. Expand, combine like terms, and factor only if it makes the answer cleaner.

[Figure: AB Topic 2.9: A quotient can include rapidly changing behavior near a denominator zero; the quotient rule keeps both numerator and denominator contributions.]

A quotient can include rapidly changing behavior near a denominator zero; the quotient rule keeps both numerator and denominator contributions.

**Common mistake**

Mistake: "(exx)′=e2xxex−ex=exx−1."

**Correction:** Correct approach: Always lead with the derivative-of-top term: low D-high minus high D-low. Here f′g−fg′=(1)ex−(x)ex=ex(1−x), giving the correct h′(x)=ex1−x.

**Check your understanding**

Using the running four-row table, compute (gf)′(4). The row x=4 is f(4)=6, f′(4)=2, g(4)=3, g′(4)=−1. Watch the sign of g′(4).

**Show answer**

38. Numerator =f′(4)g(4)−f(4)g′(4)=(2)(3)−(6)(−1)=6−(−6)=6+6=12; the −fg′ term becomes +6 because g′(4)=−1. Denominator =[g(4)]2=32=9. Result =912=38.

Topic 2.10

## Finding the Derivatives of Tangent, Cotangent, Secant, and Cosecant Functions

You already know the two base trig derivatives: (sinx)′=cosx and (cosx)′=−sinx. The remaining four trig functions — tanx, cotx, secx, and cscx — each have a derivative you should be able to quote on sight, the way you quote the multiplication table.

### Skills inside this topic

**2.10.a**Memorized derivatives of the other four trig functions

**2.10.b**Sign-pattern recognition: the co-functions carry the negative

**2.10.c**Application in product/quotient settings

### Core results and conditions

- **2.10.a · Memorized derivatives of the other four trig functions**dxd[tanx]=sec2x\qquaddxd[cotx]=−csc2x Both right-hand sides are squared trig functions. Tangent gives a plain sec2x; cotangent — a 'co-' function — gives csc2x with a leading minus sign. Dropping that square (writing secx instead of sec2x) and dropping that minus are the two most common slips in this topic.
- **2.10.b · Sign-pattern recognition: the co-functions carry the negative**The co-functions carry the minus. If a trig function's name begins with the prefix co- (cos, cot, csc), its derivative rule begins with a leading minus sign. If the name does not begin with co- (sin, tan, sec), its derivative rule has no leading minus.
- **2.10.c · Application in product/quotient settings**(tanx)′=sec2x (secx)′=secxtanx (cotx)′=−csc2x (cscx)′=−cscxcotx The two cofunctions — cot and csc — carry an intrinsic minus sign. That minus belongs to the derivative itself (to f′ or g′); it is not the connecting sign of the product or quotient rule.

### Worked example · source skill 2.10.a

Differentiate p(x)=xsecx, then evaluate p′(3π).

This is a product of x and secx; use the product rule (uv)′=u′v+uv′ with u=x and v=secx.

u′=1 and v′=(secx)′=secxtanx, so p′(x)=1⋅secx+x⋅secxtanx=secx+xsecxtanx.

At x=3π: sec3π=2 and tan3π=3.

p′(3π)=2+3π⋅2⋅3=2+323π.

**Result and interpretation**
Takeaway: The new rules slot straight into the product and quotient rules you already know. Note (secx)′=secxtanx is a product, not sec2x.

**Common mistake**

Mistake: A student writes (cotx)′π/3=csc23π=34, with no minus sign.

**Correction:** Correct approach: Write the minus every time, then evaluate: (cotx)′π/3=−csc23π=−34. Right magnitude, right sign.

**Check your understanding**

Find an equation of the line tangent to h(x)=xsecx at x=0. Then compute the derivative of g(x)=xcotx.

**Show answer**

Tangent line. Point: h(0)=0⋅sec0=0, so (0,0). Slope: h′(x)=secx+xsecxtanx, and h′(0)=1+0=1. Point-slope gives y−0=1(x−0), so y=x — matching the red tangent in the graph. Derivative of xcotx. Product rule with f=x (f′=1) and g=cotx (g′=−csc2x): g′(x)=(1)(cotx)+(x)(−csc2x)=cotx−xcsc2x. Writing cotx+xcsc2x would drop the cofunction's minus.

## Last-pass checklist

**2.5 · Applying the Power Rule**2.5.a, 2.5.b, 2.5.c

**2.6 · Derivative Rules: Constant, Sum, Difference, and Constant Multiple**2.6.a, 2.6.b, 2.6.c, 2.6.d

**2.7 · Derivatives of cos x, sin x, e^x, and ln x**2.7.a, 2.7.b, 2.7.c

**2.8 · The Product Rule**2.8.a, 2.8.b, 2.8.c

**2.9 · The Quotient Rule**2.9.a, 2.9.b, 2.9.c

**2.10 · Finding the Derivatives of Tangent, Cotangent, Secant, and Cosecant Functions**2.10.a, 2.10.b, 2.10.c

FiveStudy · AP Calculus AB · Unit 2

Guide 5 of 16
