AP Calculus AB Unit 2: Basic Differentiation Rules (Power, Linearity, Trig, Exponential, Logarithmic)

Overview: What derivatives measure + a reliable workflow

A derivative measures how fast a function’s output changes when the input changes. Geometrically, it is the slope of the tangent line to the graph at a point. Although the limit definition of the derivative works for any differentiable function, it can be time-consuming. Basic Differentiation Rules are efficient algebraic shortcuts that still match what the limit definition would give.

Proficiency with these rules is critical for success in AP Calculus AB because they form the foundation for the Chain Rule and Implicit Differentiation later in the course.

A practical habit that prevents many errors is the workflow:

Rewrite → Differentiate → Simplify

In other words, before applying calculus, use algebra to rewrite the function into a form that matches known derivative patterns (especially rewriting radicals and rational expressions using exponents).

Limit definition (reference)

f(x)=limh0f(x+h)f(x)hf'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}

Notation reference (common on AP problems)
MeaningCommon notations
Derivative of y with respect to xdydx\frac{dy}{dx}
Derivative of f(x)f(x)f'(x)
Operator notationddx(f(x))\frac{d}{dx}(f(x))

All of these represent the same idea: the instantaneous rate of change.

Exam Focus
  • Typical question patterns:
    • Use correct derivative notation in free-response work (for example, show the step from the function to its derivative clearly).
    • Identify when you should algebraically rewrite an expression before differentiating.
  • Common mistakes:
    • Notation sloppiness: Do not write the function equal to its derivative.

y=x2=2xy=x^2=2x

This incorrectly implies the function equals its derivative. Use implication-style notation instead.

y=x2y=2xy=x^2\Rightarrow y'=2x

  • Treating an expression as “ready to differentiate” when it needs rewriting first.

Power Rule

The Power Rule is one of the most important differentiation shortcuts because so many functions in calculus (especially polynomials) are built from powers of the variable.

What the Power Rule says

If
%%LATEX6%% then %%LATEX7%%

Here, the exponent n can be any real number for which the expression makes sense on the domain you’re using (integers, fractions, negatives, etc.). In particular, if n is a rational number, then the function is differentiable on its appropriate domain.

Why it matters

The Power Rule makes derivatives of polynomials almost immediate, and it also handles negative exponents (reciprocals) and fractional exponents (radicals). Once you can differentiate powers quickly, you can combine the Power Rule with the linearity rules (sum, difference, constant multiple) to differentiate many multi-term functions.

How it works (intuition, not a full proof)

Starting from the limit definition,
f(x)=limh0f(x+h)f(x)hf'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}

If
%%LATEX9%% then you would expand %%LATEX10%%
(sometimes via the binomial theorem), simplify so an h factor cancels, and then take the limit as h approaches 0. That cancellation step is why powers differentiate “cleanly,” consistently producing
nxn1nx^{n-1}

Using the Power Rule carefully

A reliable process is:

  1. Identify the exponent n.
  2. Multiply by n.
  3. Subtract 1 from the exponent.

A common mental model is: “bring the exponent down, then reduce it by 1.”

Key Strategy: rewrite radicals and rational expressions as exponents

Using the Power Rule is often easiest if you rewrite first.

For example, a term like a square root can be rewritten using a fractional exponent, and a term like a fraction in x can be rewritten using a negative exponent.

Visual representation of the Power Rule on a parabola

Examples (worked step-by-step)

Example 1: Differentiate a positive integer power
%%LATEX12%% %%LATEX13%%

Example 2: Differentiate a negative power
%%LATEX14%% %%LATEX15%%
It can help to rewrite the result as a fraction:
3x4=3x4-3x^{-4}=-\frac{3}{x^4}

Example 3: Differentiate a fractional power
%%LATEX17%% %%LATEX18%%
You could interpret
%%LATEX19%% as %%LATEX20%%
when x is nonnegative, but you do not need to rewrite it unless the problem asks.

What goes wrong (common misconceptions)

Students commonly make these errors:

  • Forgetting that the exponent changes. For instance, writing the derivative as
    %%LATEX21%% instead of %%LATEX22%%
  • Confusing negative exponents. A negative exponent indicates a reciprocal, not a negative value, but the Power Rule still applies normally.
  • Failing to rewrite radicals before differentiating. Trying to differentiate a cube root “in your head” often leads to errors. Always write it explicitly as a power first.
  • Assuming the Power Rule covers everything that “looks like a power.” The Power Rule directly applies to
    %%LATEX23%% not necessarily to something like %%LATEX24%%
    (which requires the Chain Rule, typically taught alongside or soon after these basics).
Exam Focus
  • Typical question patterns:
    • Differentiate polynomials like

x53x2+7x^5-3x^2+7

  • Differentiate expressions involving negative or fractional exponents such as

x1/2x^{-1/2}

  • Use derivatives to interpret rates of change (velocity from position, marginal change, slope at a point).
    • Common mistakes:
  • Dropping the exponent without subtracting 1.
  • Mishandling negative exponents when rewriting in fraction form.
  • Simplification errors (especially with fractional coefficients).
  • Forgetting to rewrite radicals explicitly as powers before applying

nxn1nx^{n-1}


Derivative Rules: Constant, Constant Multiple, Sum, Difference (Linearity)

Real calculus problems rarely involve a single term like a power of x. You usually see functions built by combining simpler pieces—adding, subtracting, or multiplying by constants. The good news is that differentiation behaves nicely with these operations.

A big idea to internalize is that differentiation is linear: it distributes over addition and subtraction, and you can pull constant factors out.

Derivative of a constant (Constant Rule)

A constant function has the form
%%LATEX28%% where c is a real number. Its derivative is %%LATEX29%%

This makes intuitive sense because a horizontal line has slope 0 everywhere.

Constant Multiple Rule

If you multiply a function by a constant, you multiply its derivative by the same constant:
ddx(cf(x))=cf(x)\frac{d}{dx}(cf(x))=cf'(x)

Sum Rule and Difference Rule

If a function is a sum or difference, differentiate term-by-term:
%%LATEX31%% %%LATEX32%%

How to apply linearity (a reliable process)

When you see a function like
F(x)=4x53x2+7F(x)=4x^5-3x^2+7

  1. Break it into pieces.
  2. Differentiate each piece.
  3. Add the results back together.
Examples (worked step-by-step)

Example 1: Polynomial with a constant term
f(x)=6x45x+9f(x)=6x^4-5x+9
Differentiate term-by-term.

For the first term:
ddx(6x4)=64x3=24x3\frac{d}{dx}(6x^4)=6\cdot 4x^3=24x^3

For the second term:
ddx(5x)=51x0=5\frac{d}{dx}(-5x)=-5\cdot 1\cdot x^0=-5

For the constant:
ddx(9)=0\frac{d}{dx}(9)=0

So
f(x)=24x35f'(x)=24x^3-5

Example 2: Negative exponents and multiple terms
%%LATEX39%% Differentiate each term: %%LATEX40%%
%%LATEX41%% %%LATEX42%%
So
%%LATEX43%% If desired, rewrite as fractions: %%LATEX44%%

Worked Example: Rewrite → Differentiate → Simplify (polynomial with radicals and rational terms)

Find the derivative for
y=3x45x+2x+7y=3x^4-5\sqrt{x}+\frac{2}{x}+7

Step 1: Rewrite
y=3x45x1/2+2x1+7y=3x^4-5x^{1/2}+2x^{-1}+7

Step 2: Differentiate (apply rules)
dydx=3(4x3)5(12x1/2)+2(1x2)+0\frac{dy}{dx}=3(4x^3)-5\left(\frac{1}{2}x^{-1/2}\right)+2(-1x^{-2})+0

Step 3: Simplify
dydx=12x352x2x2\frac{dy}{dx}=12x^3-\frac{5}{2\sqrt{x}}-\frac{2}{x^2}

What goes wrong (common misconceptions)
  • Forgetting to differentiate every term (often the middle term in longer expressions).
  • Treating the derivative of a constant as the constant. It must be 0.
  • Losing negative signs when applying the Difference Rule. Be deliberate when copying terms.
  • Confusing “constant multiple” with a true product. Multiplying by a number is covered here; multiplying by another variable expression is not (that requires the Product Rule later).
  • Evaluating before differentiating. If you are asked for a value like

f(2)f'(2)

you must find the general derivative

f(x)f'(x)

first, and only then substitute x equals 2. If you substitute first, you may turn the expression into a constant, and the derivative of a constant is 0.

Exam Focus
  • Typical question patterns:
    • Differentiate multi-term functions efficiently using term-by-term differentiation.
    • Evaluate the derivative at a specific point (for example, compute

f(2)f'(2)

after finding

f(x)f'(x)

).

  • Interpret slope or rate of change for linear combinations (for example, total velocity from component functions).
    • Common mistakes:
  • Arithmetic errors with coefficients (especially negatives and fractions).
  • Writing

ddx(f+g)=fg\frac{d}{dx}(f+g)=f'\cdot g'

(incorrect; derivatives add, they do not multiply).

  • Forgetting that x means x to the first power, so its derivative is 1.
  • Plugging in a value (like 2) before differentiating.

Derivatives of Trigonometric Functions

Trigonometric functions appear in periodic phenomena: sound waves, rotating wheels, seasonal temperature cycles, and any situation with repeating behavior. In calculus, their derivatives are essential because they connect “position-like” and “velocity-like” behavior in oscillations.

Transcendental functions (exponentials, logarithms, and trigonometry) cannot be differentiated using the Power Rule, so you must memorize their standard derivative forms.

Angle mode and units (radians matter)

These derivative formulas assume angles are measured in radians, not degrees. If you use degrees, the clean relationships below break unless you include extra conversion factors.

Core trig derivative formulas (all six)

You are expected to know the derivatives of all six trigonometric functions:

ddx(sinx)=cosx\frac{d}{dx}(\sin x)=\cos x

ddx(cosx)=sinx\frac{d}{dx}(\cos x)=-\sin x

ddx(tanx)=sec2x\frac{d}{dx}(\tan x)=\sec^2 x

ddx(secx)=secxtanx\frac{d}{dx}(\sec x)=\sec x\tan x

ddx(cscx)=cscxcotx\frac{d}{dx}(\csc x)=-\csc x\cot x

ddx(cotx)=csc2x\frac{d}{dx}(\cot x)=-\csc^2 x

These are “known facts” derived from limit definitions and trig identities. On the AP exam, you are generally expected to apply them correctly rather than re-derive them.

Why these derivatives make sense (conceptual picture)

Sine and cosine are phase-shifted versions of each other, so differentiation acts like a phase shift for sinusoidal motion: the rate of change of a sine wave is a cosine wave.

The negative sign in the cosine derivative is not random. Since cosine has a maximum at x equals 0 and then immediately decreases, the slope just to the right of 0 must be negative.

Visual connection (sine and cosine)

Stacked graphs of sin(x) and cos(x) showing slope relationships

The other four: tangent, cotangent, secant, cosecant (memorize)

These are often derived using the Quotient Rule (covered later), but for now they are standard forms to memorize.

Memory aids
  1. The “PSST” mnemonic:

    • Tangent goes with Secant
    • Cotangent goes with Cosecant
  2. The Negative “Co” Rule:

    • All trig functions starting with “c” (cos, cot, csc) have negative derivatives.
How to use trig derivatives with linearity

Many problems at this stage combine trig terms with constants and sums/differences, such as
f(x)=3sinx2cosx+5f(x)=3\sin x-2\cos x+5
You can differentiate term-by-term using the Constant Multiple Rule and Sum/Difference Rules.

Examples (worked step-by-step)

Example 1: Sums of trig functions
%%LATEX61%% %%LATEX62%%
%%LATEX63%% %%LATEX64%%
So
f(x)=3cosx+2sinxf'(x)=3\cos x+2\sin x

Example 2: Tangent and secant
%%LATEX66%% %%LATEX67%%
So
g(x)=sec2x+4secxtanxg'(x)=\sec^2 x+4\sec x\tan x

What goes wrong (common misconceptions)
  • Missing the negative sign:

ddx(cosx)=sinx\frac{d}{dx}(\cos x)=-\sin x

This is one of the most common small errors with big consequences.

  • Mixing up derivatives:

ddx(tanx)=sec2x\frac{d}{dx}(\tan x)=\sec^2 x

but

ddx(secx)=secxtanx\frac{d}{dx}(\sec x)=\sec x\tan x

  • Forgetting domain issues. For example, tangent and secant are undefined where cosine equals 0, so the original function (and its derivative) is not defined at those points.
  • Using degrees instead of radians.
Exam Focus
  • Typical question patterns:
    • Differentiate expressions like

asinx+bcosx+ca\sin x+b\cos x+c

  • Compute a slope at a point by evaluating a trig derivative, for example find

f(π/3)f'(\pi/3)

  • Interpret periodic rate-of-change situations (for example, height of a Ferris wheel vs. time).
    • Common mistakes:
  • Sign errors for cosine, cosecant, and cotangent derivatives (use the Negative “Co” Rule).
  • Writing

ddx(sinx)=sinx\frac{d}{dx}(\sin x)=\sin x

(confusing the derivative with the original function).

  • Not recognizing when a trig function is undefined at the evaluation point.

Derivatives of Exponential and Logarithmic Functions

Exponential and logarithmic functions model growth and decay, scaling, and processes where the rate of change depends on the current amount (compound interest, population growth, radioactive decay). In calculus, they are especially powerful because exponentials have the special property that their derivative is proportional to themselves.

Transcendental functions (exponentials and logarithms included) cannot be differentiated using the Power Rule, so you must memorize their specific forms.

Exponential functions and their derivatives
The natural exponential

The function
%%LATEX75%% is special because its derivative is exactly itself: %%LATEX76%%

This “self-replicating” behavior is why e to the x is the natural language of continuous growth and differential equations.

General base exponentials

For a constant base a with a greater than 0 and a not equal to 1,
ddx(ax)=axln(a)\frac{d}{dx}(a^x)=a^x\ln(a)
Here, ln(a) is just a constant scaling factor.

Logarithmic functions and their derivatives
Natural log

For x greater than 0,
ddx(lnx)=1x\frac{d}{dx}(\ln x)=\frac{1}{x}

Conceptually, ln x grows slowly, and its slope decreases as x increases, matching the behavior of 1 over x.

Log base a

For x greater than 0 and a greater than 0 with a not equal to 1,
ddx(logax)=1xln(a)\frac{d}{dx}(\log_a x)=\frac{1}{x\ln(a)}

This follows from the identity
logax=lnxlna\log_a x=\frac{\ln x}{\ln a}

Visual Tip (helps you remember the scaling factor)

Since
%%LATEX81%% and %%LATEX82%%

the general-base formulas must “reduce” correctly to the base-e case. If you forget whether a factor of ln(a) belongs, check that your formula works when a equals e.

How to differentiate mixed exponential/log expressions (within basic rules)

At this stage, you can handle sums/differences and constant multiples like
F(x)=5ex3lnx+2xF(x)=5e^x-3\ln x+2^x

because each term matches a basic derivative pattern and linearity applies.

Be careful about domain: ln x and log base a of x require x greater than 0 in real-valued AP Calculus contexts, so the whole function is restricted accordingly.

Examples (worked step-by-step)

Example 1: Combine exponentials and logs with sums
%%LATEX84%% Differentiate term-by-term: %%LATEX85%%
%%LATEX86%% %%LATEX87%%
So
f(x)=5ex3x+2xln2f'(x)=5e^x-\frac{3}{x}+2^x\ln 2

Example 2: Log base 10 derivative
%%LATEX89%% %%LATEX90%%

What goes wrong (common misconceptions)
  • Forgetting the ln(a) factor for a to the x. Students often write

ddx(2x)=2x\frac{d}{dx}(2^x)=2^x

but the correct derivative is

ddx(2x)=2xln2\frac{d}{dx}(2^x)=2^x\ln 2

  • Confusing the Power Rule with exponential rules. The Power Rule applies when the base is variable and the exponent is constant; exponential rules apply when the base is constant and the exponent is variable.

A common incorrect attempt is:
ddx(2x)=x2x1\frac{d}{dx}(2^x)=x\cdot 2^{x-1}

The correct derivative is:
ddx(2x)=2xln2\frac{d}{dx}(2^x)=2^x\ln 2

  • Mixing up ln x and e to the x:

ddx(ex)=ex\frac{d}{dx}(e^x)=e^x

but

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

  • Ignoring domain restrictions: ln x and log base a of x require x greater than 0.
  • Assuming log properties let you “split” logs incorrectly. For example, rewriting ln(x+1) as ln x plus ln 1 is not valid, and differentiating ln(x+1) would require the Chain Rule (beyond the narrow “basic rules” scope).
Exam Focus
  • Typical question patterns:
    • Differentiate linear combinations such as

aex+blnx+caxae^x+b\ln x+ca^x

  • Evaluate derivatives at specific points, for example compute

f(1)f'(1)

when

f(x)=lnx+exf(x)=\ln x+e^x

  • Interpret growth or decay rates when the model uses e to the x or a to the x.
    • Common mistakes:
  • Omitting ln(a) in

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

  • Treating ln x as though it differentiates to ln x.
  • Plugging in non-positive values when evaluating expressions involving ln x.
  • Trying to apply the Power Rule to exponentials (base constant, exponent variable).