AP Calculus BC Unit 2 Notes: Basic Differentiation Rules (Definition to Toolkit)

Derivative Linearity: Constants, Sums, Differences, and Constant Multiples

A derivative measures how fast a function’s output changes as its input changes. If y=f(x)y = f(x), then f(x)f'(x) (read “ff prime of xx”) is the instantaneous rate of change of ff with respect to xx. In AP Calculus, you learn the derivative from the limit definition first, but very quickly you switch to differentiation rules that let you compute derivatives efficiently.

The first group of rules are sometimes called linearity rules because they tell you derivatives “distribute” nicely over addition and scalar multiplication. These rules matter because most functions you meet are built by combining simpler functions, and you want a method that lets you differentiate piece-by-piece rather than restarting from the limit definition every time.

Notation you’ll see (all mean the same derivative)
MeaningCommon notationWhen it shows up
Derivative of yy with respect to xxdydx\frac{dy}{dx}When yy is written as a dependent variable
Derivative operator applied to a functionddx[f(x)]\frac{d}{dx}[f(x)]When emphasizing the operation “differentiate”
Prime notationf(x)f'(x)Most common for functions
Constant Rule

If a function is a constant, its output never changes as xx changes, so its rate of change is zero.

If f(x)=cf(x) = c where cc is a constant, then:

f(x)=0f'(x) = 0

Why this makes sense: a horizontal line has slope 00 everywhere.

Example 1

Let f(x)=7f(x) = 7. Then:

f(x)=0f'(x) = 0

Example 2 (constant inside a larger expression)

If g(x)=x2+5g(x) = x^2 + 5, the derivative of the +5+5 part is 00, so the constant doesn’t affect the rate of change.

Constant Multiple Rule

If you scale a function by a constant, you scale its rates of change by the same constant. Think of stretching a graph vertically: all slopes get stretched by that factor too.

If f(x)f(x) is differentiable and cc is a constant:

ddx[cf(x)]=cf(x)\frac{d}{dx}[c f(x)] = c f'(x)

Example 1

Differentiate h(x)=4x3h(x) = 4x^3. You can view this as 4x34 \cdot x^3. The derivative is:

h(x)=4ddx[x3]h'(x) = 4 \cdot \frac{d}{dx}[x^3]

You’ll compute ddx[x3]\frac{d}{dx}[x^3] using the power rule (next major topic), but the key idea here is that the 44 stays out front.

Example 2

If p(x)=12sin(x)p(x) = -\frac{1}{2} \sin(x), then:

p(x)=12cos(x)p'(x) = -\frac{1}{2} \cos(x)

The trig derivative comes later, but the constant multiple rule is what keeps the factor 12-\frac{1}{2} unchanged.

Sum and Difference Rules

If a function is the sum (or difference) of two differentiable functions, its derivative is the sum (or difference) of their derivatives.

If f(x)f(x) and g(x)g(x) are differentiable:

ddx[f(x)+g(x)]=f(x)+g(x)\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)

ddx[f(x)g(x)]=f(x)g(x)\frac{d}{dx}[f(x) - g(x)] = f'(x) - g'(x)

Why this matters: most AP-style derivatives are combinations like polynomials plus trig plus exponentials. These rules let you separate the work into manageable pieces.

Example 1

Differentiate F(x)=x4+3xcos(x)F(x) = x^4 + 3x - \cos(x).

Use sum/difference to differentiate term-by-term:

  • ddx[x4]\frac{d}{dx}[x^4] will use the power rule.
  • ddx[3x]\frac{d}{dx}[3x] uses constant multiple and power rule.
  • ddx[cos(x)]\frac{d}{dx}[-\cos(x)] uses constant multiple and trig derivatives.

So you can write:

F(x)=ddx[x4]+ddx[3x]ddx[cos(x)]F'(x) = \frac{d}{dx}[x^4] + \frac{d}{dx}[3x] - \frac{d}{dx}[\cos(x)]

Then evaluate each derivative with the appropriate rule.

Example 2 (watch the minus sign)

Let G(x)=5x2(2x31)G(x) = 5x^2 - (2x^3 - 1).

A common mistake is to differentiate without first handling the subtraction correctly. You can simplify first:

G(x)=5x22x3+1G(x) = 5x^2 - 2x^3 + 1

Now the difference rule applies cleanly term-by-term.

What goes wrong most often
  • Students sometimes think ddx[f(x)+g(x)]=f(x)g(x)\frac{d}{dx}[f(x) + g(x)] = f'(x) g'(x). That is false. Addition does not turn into multiplication.
  • Dropping a negative sign is extremely common, especially with expressions like (2x31)-(2x^3 - 1).
  • Confusing “constant rule” with “power rule” for terms like x0x^0. Since x0=1x^0 = 1 (for x0x \neq 0), its derivative is 00 because it is constant.
Exam Focus
  • Typical question patterns:
    • Differentiate a multi-term expression (polynomial plus trig/exp/log) by separating into terms.
    • Find f(a)f'(a) for a given aa after computing f(x)f'(x).
    • Use derivative notation correctly, switching between f(x)f'(x) and dydx\frac{dy}{dx}.
  • Common mistakes:
    • Turning sums into products (for example, writing ddx[x2+sin(x)]=2xcos(x)\frac{d}{dx}[x^2 + \sin(x)] = 2x\cos(x)).
    • Losing negatives when distributing subtraction through parentheses.
    • Treating a constant multiple as if it changes the derivative rule (it doesn’t, it just stays as a factor).

The Power Rule

The power rule is the workhorse for differentiating polynomials and many algebraic expressions. It tells you how to differentiate xx raised to a constant power.

What it says

For any real number nn, the derivative of xnx^n (where defined) is:

ddx[xn]=nxn1\frac{d}{dx}[x^n] = n x^{n-1}

Why it matters

Polynomials (like 3x42x+93x^4 - 2x + 9) are built entirely out of powers of xx and constants. Once you can differentiate xnx^n, the linearity rules let you differentiate an entire polynomial quickly. The power rule also extends to negative powers (rational functions written as powers) and fractional powers (roots written as exponents), which show up often in AP problems.

How it works (mechanism)

Conceptually, the power rule is consistent with the limit definition of the derivative and algebraic expansion patterns. You don’t need to re-derive it on the exam, but you should understand what it does:

  • The old exponent nn becomes a coefficient.
  • The new exponent becomes n1n - 1.

That “bring down the power, subtract one” pattern is easy to remember, but it must be applied carefully, especially when the base is not exactly xx (that situation requires the chain rule, which is a different topic).

Applying the power rule to common forms
Polynomials

A polynomial is a sum of terms like axna x^n where aa is a constant and nn is a nonnegative integer. Use constant multiple + power rule term-by-term.

Example 1

Differentiate:

f(x)=3x57x2+4x9f(x) = 3x^5 - 7x^2 + 4x - 9

Differentiate each term:

ddx[3x5]=35x4=15x4\frac{d}{dx}[3x^5] = 3 \cdot 5x^4 = 15x^4

ddx[7x2]=72x=14x\frac{d}{dx}[-7x^2] = -7 \cdot 2x = -14x

ddx[4x]=41=4\frac{d}{dx}[4x] = 4 \cdot 1 = 4

ddx[9]=0\frac{d}{dx}[-9] = 0

So:

f(x)=15x414x+4f'(x) = 15x^4 - 14x + 4

Negative powers (rewrite first)

Negative exponents often appear as fractions. Rewriting helps you avoid quotient rule when it’s unnecessary.

Example 2

Differentiate:

g(x)=5x3g(x) = \frac{5}{x^3}

Rewrite as:

g(x)=5x3g(x) = 5x^{-3}

Apply constant multiple and power rule:

g(x)=5(3)x4g'(x) = 5 \cdot (-3)x^{-4}

So:

g(x)=15x4g'(x) = -15x^{-4}

You can rewrite back as a fraction:

g(x)=15x4g'(x) = -\frac{15}{x^4}

Fractional powers (roots)

A square root is a power of 12\frac{1}{2}, a cube root is a power of 13\frac{1}{3}, and so on.

Example 3

Differentiate:

h(x)=x=x12h(x) = \sqrt{x} = x^{\frac{1}{2}}

Then:

h(x)=12x12h'(x) = \frac{1}{2}x^{-\frac{1}{2}}

Which can be rewritten as:

h(x)=12xh'(x) = \frac{1}{2\sqrt{x}}

What goes wrong most often
  • Applying the power rule to something that is not xnx^n, like (3x+1)5(3x + 1)^5. The power rule alone does not work there; you’d need the chain rule.
  • Forgetting that ddx[x]=1\frac{d}{dx}[x] = 1, which is the power rule with n=1n = 1.
  • Mishandling negative exponents when rewriting (for example, thinking x3=1x3x^{-3} = \frac{1}{x^{-3}} instead of x3=1x3x^{-3} = \frac{1}{x^3}).
Exam Focus
  • Typical question patterns:
    • Differentiate polynomials and evaluate the derivative at a point (for example, find f(2)f'(2)).
    • Differentiate expressions with roots or rational forms by rewriting into exponent form.
    • Identify where a derivative is undefined due to domain issues (for example, 1x2\frac{1}{x^2} at x=0x = 0).
  • Common mistakes:
    • Using the power rule on a composite base like (2x5)4(2x - 5)^4 without chain rule.
    • Dropping the exponent subtraction step (writing nxnnx^n instead of nxn1nx^{n-1}).
    • Algebra errors when rewriting between radicals, fractions, and exponents.

Derivatives of Trigonometric Functions

Trigonometric functions model periodic behavior: oscillations, waves, circular motion, and repeating signals. In calculus, their derivatives matter because the derivative of a trig function is another trig function, which makes trig functions “closed” under differentiation. This is especially useful in motion problems (position, velocity, acceleration) and in modeling cycles.

The core trig derivative facts

For angles measured in radians (the standard in calculus), the fundamental derivatives are:

ddx[sin(x)]=cos(x)\frac{d}{dx}[\sin(x)] = \cos(x)

ddx[cos(x)]=sin(x)\frac{d}{dx}[\cos(x)] = -\sin(x)

From these, you also need the derivatives of the other four trig functions:

ddx[tan(x)]=sec2(x)\frac{d}{dx}[\tan(x)] = \sec^2(x)

ddx[sec(x)]=sec(x)tan(x)\frac{d}{dx}[\sec(x)] = \sec(x)\tan(x)

ddx[csc(x)]=csc(x)cot(x)\frac{d}{dx}[\csc(x)] = -\csc(x)\cot(x)

ddx[cot(x)]=csc2(x)\frac{d}{dx}[\cot(x)] = -\csc^2(x)

Why “radians” matters

These derivative rules are true in this clean form only when xx is in radians. If you use degrees, extra conversion factors appear. On the AP exam, you should assume trig derivatives use radians unless explicitly stated otherwise.

How to apply these rules

You usually combine trig derivatives with linearity (sum/difference and constant multiple). Later, you’ll combine them with chain rule and product/quotient rules; for now, focus on recognizing which trig function you have and applying the matching derivative.

Example 1

Differentiate:

f(x)=6sin(x)3cos(x)f(x) = 6\sin(x) - 3\cos(x)

Apply constant multiple and sum/difference:

f(x)=6cos(x)3(sin(x))f'(x) = 6\cos(x) - 3(-\sin(x))

So:

f(x)=6cos(x)+3sin(x)f'(x) = 6\cos(x) + 3\sin(x)

Example 2

Differentiate:

g(x)=tan(x)+2sec(x)g(x) = \tan(x) + 2\sec(x)

Then:

g(x)=sec2(x)+2sec(x)tan(x)g'(x) = \sec^2(x) + 2\sec(x)\tan(x)

Common conceptual pitfalls
  • Sign errors: The derivative of cos(x)\cos(x) is negative. Many students remember “sine goes to cosine” but forget the negative when “cosine goes to negative sine.”
  • Mixing up sec2(x)\sec^2(x) and sec(x)tan(x)\sec(x)\tan(x): tan(x)\tan(x) differentiates to sec2(x)\sec^2(x), but sec(x)\sec(x) differentiates to sec(x)tan(x)\sec(x)\tan(x).
  • Undefined points: Functions like tan(x)\tan(x) and sec(x)\sec(x) are undefined where cos(x)=0\cos(x) = 0. Their derivatives inherit those domain restrictions.
Exam Focus
  • Typical question patterns:
    • Differentiate expressions combining trig functions with polynomials (for example, x2sin(x)x^2\sin(x) later uses product rule).
    • Compute f(a)f'(a) for a given value and possibly simplify using trig identities.
    • Interpret a trig derivative in a rate-of-change context (periodic motion).
  • Common mistakes:
    • Forgetting the negative in ddx[cos(x)]=sin(x)\frac{d}{dx}[\cos(x)] = -\sin(x).
    • Writing ddx[tan(x)]=sec(x)tan(x)\frac{d}{dx}[\tan(x)] = \sec(x)\tan(x) (wrong; that’s for sec(x)\sec(x)).
    • Treating trig derivatives as if they require the power rule (they don’t; trig functions have their own rules).

Derivatives of Exponential and Logarithmic Functions

Exponential and logarithmic functions show up whenever growth changes proportionally to current size (population growth, compound interest, radioactive decay) or whenever you’re measuring multiplicative change additively (logs). In calculus, they’re crucial because many differential equations and growth/decay models depend on them, and because exe^x has the special property that its derivative is itself.

Exponential functions
Derivative of exe^x

The natural exponential function exe^x is special because:

ddx[ex]=ex\frac{d}{dx}[e^x] = e^x

Why this matters: exe^x is the unique base for which the function equals its own rate of change. This is why ee appears constantly in continuous growth models.

Example 1

Differentiate:

f(x)=5exex+2f(x) = 5e^x - e^x + 2

Combine like terms or just differentiate term-by-term:

f(x)=5exex+0f'(x) = 5e^x - e^x + 0

So:

f(x)=4exf'(x) = 4e^x

Derivative of axa^x

For an exponential function with base aa (where a>0a > 0 and a1a \neq 1):

ddx[ax]=axln(a)\frac{d}{dx}[a^x] = a^x \ln(a)

This formula is worth understanding: differentiating axa^x pulls down a factor of ln(a)\ln(a).

Example 2

Differentiate:

g(x)=2xg(x) = 2^x

Then:

g(x)=2xln(2)g'(x) = 2^x \ln(2)

A common simplification mistake is trying to turn ln(2)\ln(2) into a decimal on a non-calculator exam. Usually you should leave it as ln(2)\ln(2).

Logarithmic functions

Logarithms undo exponentials. The natural log ln(x)\ln(x) is the inverse of exe^x, and its derivative is one of the most frequently used facts in calculus.

Derivative of ln(x)\ln(x)

For x>0x > 0:

ddx[ln(x)]=1x\frac{d}{dx}[\ln(x)] = \frac{1}{x}

Domain matters: ln(x)\ln(x) is defined only for positive xx (in the real-number setting of AP Calculus). So the derivative formula is stated with x>0x > 0.

Example 1

Differentiate:

h(x)=3ln(x)1xh(x) = 3\ln(x) - \frac{1}{x}

First rewrite 1x\frac{1}{x} as x1x^{-1} if you want:

ddx[1x]=ddx[x1]=(1)x2=x2\frac{d}{dx}\left[-\frac{1}{x}\right] = \frac{d}{dx}[-x^{-1}] = -(-1)x^{-2} = x^{-2}

And:

ddx[3ln(x)]=31x\frac{d}{dx}[3\ln(x)] = 3\cdot \frac{1}{x}

So:

h(x)=3x+1x2h'(x) = \frac{3}{x} + \frac{1}{x^2}

Derivative of loga(x)\log_a(x)

If loga(x)\log_a(x) is log base aa (with a>0a > 0 and a1a \neq 1), then for x>0x > 0:

ddx[loga(x)]=1xln(a)\frac{d}{dx}[\log_a(x)] = \frac{1}{x\ln(a)}

This matches the change-of-base relationship between loga(x)\log_a(x) and ln(x)\ln(x).

Example 2

Differentiate:

p(x)=log3(x)p(x) = \log_3(x)

Then:

p(x)=1xln(3)p'(x) = \frac{1}{x\ln(3)}

Common conceptual pitfalls
  • Confusing ln(x)\ln(x) with 1ln(x)\frac{1}{\ln(x)}. The derivative of ln(x)\ln(x) is 1x\frac{1}{x}, not something involving ln(x)\ln(x).
  • Forgetting domain restrictions: ln(x)\ln(x) and loga(x)\log_a(x) require x>0x > 0 in this course.
  • Mixing up the exponential derivative rules: ddx[ex]=ex\frac{d}{dx}[e^x] = e^x but ddx[ax]=axln(a)\frac{d}{dx}[a^x] = a^x\ln(a).
Exam Focus
  • Typical question patterns:
    • Differentiate expressions containing exe^x, axa^x, ln(x)\ln(x), and simplify.
    • Evaluate derivatives at points (for example, find the slope of the tangent to y=2xy = 2^x at x=0x = 0).
    • Combine log/exp derivatives with product or quotient rules in more complex expressions.
  • Common mistakes:
    • Writing ddx[ln(x)]=ln(x)\frac{d}{dx}[\ln(x)] = \ln(x) (confusing it with exe^x).
    • Omitting the ln(a)\ln(a) factor when differentiating axa^x.
    • Ignoring that ln(x)\ln(x) is undefined for x0x \le 0 (which can affect whether an answer makes sense for a given interval).

The Product Rule

Real AP problems rarely hand you a function that is just a simple sum of basic pieces. Very often, you’ll see products like x2sin(x)x^2\sin(x) or (x+1)ex(x+1)e^x. The product rule is the tool for differentiating the product of two differentiable functions.

What it is

If h(x)=f(x)g(x)h(x) = f(x)g(x), then:

h(x)=f(x)g(x)+f(x)g(x)h'(x) = f'(x)g(x) + f(x)g'(x)

Why it matters (and why you can’t just “multiply the derivatives”)

A tempting but incorrect idea is:

ddx[f(x)g(x)]=f(x)g(x)\frac{d}{dx}[f(x)g(x)] = f'(x)g'(x)

That is not generally true. The correct product rule reflects that both factors can change with xx, and the rate of change of the product depends on two contributions:

  • “First changes, second stays” gives f(x)g(x)f'(x)g(x).
  • “Second changes, first stays” gives f(x)g(x)f(x)g'(x).

A helpful analogy: if the area of a rectangle is A=LWA = LW, then a small change in area comes from changing the length while width stays about the same, plus changing the width while length stays about the same.

How to use it step-by-step
  1. Identify f(x)f(x) and g(x)g(x).
  2. Compute f(x)f'(x) and g(x)g'(x) using basic rules.
  3. Substitute into f(x)g(x)+f(x)g(x)f'(x)g(x) + f(x)g'(x).
  4. Simplify if asked (but don’t overdo algebra if it risks mistakes).

Example 1

Differentiate:

h(x)=x2sin(x)h(x) = x^2\sin(x)

Let f(x)=x2f(x) = x^2 and g(x)=sin(x)g(x) = \sin(x).

Then:

f(x)=2xf'(x) = 2x

g(x)=cos(x)g'(x) = \cos(x)

Apply product rule:

h(x)=(2x)sin(x)+(x2)cos(x)h'(x) = (2x)\sin(x) + (x^2)\cos(x)

So:

h(x)=2xsin(x)+x2cos(x)h'(x) = 2x\sin(x) + x^2\cos(x)

Example 2

Differentiate:

p(x)=(x+1)exp(x) = (x+1)e^x

Let f(x)=x+1f(x) = x+1 and g(x)=exg(x) = e^x.

Then:

f(x)=1f'(x) = 1

g(x)=exg'(x) = e^x

So:

p(x)=(1)ex+(x+1)exp'(x) = (1)e^x + (x+1)e^x

Combine like terms:

p(x)=(x+2)exp'(x) = (x+2)e^x

What goes wrong most often
  • Forgetting one of the two terms. The product rule always produces a sum of two products.
  • Misidentifying f(x)f(x) and g(x)g(x) in a complicated expression, leading to wrong derivatives.
  • Expanding unnecessarily: Sometimes expanding first helps (especially with polynomials), but expanding x2sin(x)x^2\sin(x) isn’t possible in a useful algebraic way. Choose the approach that reduces error.
Exam Focus
  • Typical question patterns:
    • Differentiate a product of an algebraic term and a trig/exp/log term.
    • Find the equation of a tangent line to a product function at a given xx value.
    • Use product rule inside a larger expression with sums and constants.
  • Common mistakes:
    • Using f(x)g(x)f'(x)g'(x) instead of f(x)g(x)+f(x)g(x)f'(x)g(x) + f(x)g'(x).
    • Forgetting to multiply by the original (undifferentiated) factor in each term.
    • Algebra mistakes when simplifying, especially factoring out common terms like exe^x.

The Quotient Rule

When a function is a ratio of two differentiable functions, you can sometimes rewrite it using negative exponents and use the power rule instead. But when rewriting isn’t convenient (or when the denominator is not a simple power of xx), the quotient rule is the standard tool.

What it is

If:

h(x)=f(x)g(x)h(x) = \frac{f(x)}{g(x)}

where g(x)0g(x) \neq 0, then:

h(x)=f(x)g(x)f(x)g(x)(g(x))2h'(x) = \frac{f'(x)g(x) - f(x)g'(x)}{(g(x))^2}

Why it matters

Quotients appear in rates (for example, “per” quantities), rational functions, and many applied contexts. The quotient rule helps you differentiate without doing long algebraic division or complicated rewrites.

A memory aid that many students use is:

  • “Low d-high minus high d-low over low-low.”

Translated: denominator times derivative of numerator minus numerator times derivative of denominator, all over denominator squared.

How to use it step-by-step
  1. Identify the numerator as f(x)f(x) and denominator as g(x)g(x).
  2. Compute f(x)f'(x) and g(x)g'(x).
  3. Substitute into the formula carefully, paying attention to parentheses.
  4. Simplify cautiously.

Example 1

Differentiate:

q(x)=x2+1xq(x) = \frac{x^2 + 1}{x}

Here f(x)=x2+1f(x) = x^2 + 1 and g(x)=xg(x) = x.

Compute derivatives:

f(x)=2xf'(x) = 2x

g(x)=1g'(x) = 1

Apply quotient rule:

q(x)=(2x)(x)(x2+1)(1)x2q'(x) = \frac{(2x)(x) - (x^2 + 1)(1)}{x^2}

Simplify numerator:

q(x)=2x2x21x2q'(x) = \frac{2x^2 - x^2 - 1}{x^2}

So:

q(x)=x21x2q'(x) = \frac{x^2 - 1}{x^2}

Notice you could also rewrite q(x)=x+x1q(x) = x + x^{-1} and use power rule to get q(x)=1x2q'(x) = 1 - x^{-2}, which is equivalent to x21x2\frac{x^2 - 1}{x^2}. This is a good reminder: sometimes there are multiple correct methods.

Example 2

Differentiate:

r(x)=sin(x)x2r(x) = \frac{\sin(x)}{x^2}

Let f(x)=sin(x)f(x) = \sin(x) and g(x)=x2g(x) = x^2.

Then:

f(x)=cos(x)f'(x) = \cos(x)

g(x)=2xg'(x) = 2x

Apply quotient rule:

r(x)=(cos(x))(x2)(sin(x))(2x)(x2)2r'(x) = \frac{(\cos(x))(x^2) - (\sin(x))(2x)}{(x^2)^2}

So:

r(x)=x2cos(x)2xsin(x)x4r'(x) = \frac{x^2\cos(x) - 2x\sin(x)}{x^4}

You can factor xx in the numerator if you want, but it’s not required unless the problem asks for a specific form.

What goes wrong most often
  • Sign error in the numerator: It is f(x)g(x)f(x)g(x)f'(x)g(x) - f(x)g'(x), not a plus.
  • Forgetting to square the denominator: The denominator becomes (g(x))2(g(x))^2.
  • Dropping parentheses: If f(x)f(x) or g(x)g(x) is multi-term, you must keep it grouped when substituting.
Exam Focus
  • Typical question patterns:
    • Differentiate a rational function where rewriting is possible but not obvious, testing your strategic choice.
    • Compute a slope at a point for a quotient function, sometimes with trig in the numerator or denominator.
    • Combine quotient rule with simplification and domain awareness (where g(x)=0g(x) = 0 the function and derivative are undefined).
  • Common mistakes:
    • Writing the numerator as f(x)g(x)f(x)g(x)f'(x)g'(x) - f(x)g(x) (mixing up the pattern).
    • Squaring the wrong expression (for example, squaring only part of the denominator).
    • Cancelling factors incorrectly across subtraction in the numerator (you can only factor and cancel a common factor, not “cancel terms”).