AP Calculus AB Unit 2 Study Guide: Derivative Meaning, Limit Definition, Notation, Differentiability, and Core Rules

The derivative as an instantaneous rate of change

A big idea in calculus is that you can describe how fast something is changing even when the change is happening continuously. The tool for this is the derivative. Before you learn shortcut rules, it’s essential to understand what the derivative means as a rate of change and as a slope.

From average rate of change to instantaneous rate of change

There are two closely related ways to describe “rate of change.” The first is the average rate of change over an interval, which comes from the slope formula you already know (often said as “rise over run”). For two points \bigl(x_1,y_1\bigr) and \bigl(x_2,y_2\bigr), the slope is often stated as:

\frac{y_2-y_1}{x_2-x_1}

For a function f, the average rate of change from x=a to x=b is the slope of the secant line through \bigl(a,f(a)\bigr) and \bigl(b,f(b)\bigr):

\frac{f(b)-f(a)}{b-a}

This measures the “overall steepness” across an interval.

The second is the instantaneous rate of change at a specific point (for example, a speed “right now” or a slope “right here”). You get it by taking the same secant-slope idea but shrinking the interval until it becomes a single point. In other words, it’s the difference quotient with a limit as h\to 0 (fully developed in the next section).

Difference quotient / average rate of change diagram

Slopes on curves: secant lines and tangent lines

For a straight (linear) graph, slope is constant and you can compute it directly with “rise over run.” For a curved graph, the slope generally changes from point to point, so we approximate the slope at a point by using a secant line through two nearby points.

Secant line approximation

As the two points get closer, the secant line slope becomes more accurate for the slope at the point. In the limit, the secant line becomes the tangent line at that point.

It’s common to hear “a tangent line touches the curve at exactly one point.” What’s always true is that the tangent line matches the curve’s direction at that point. It can still cross the curve and remain tangent there.

Tangent line as a limit of secants

Geometric meaning: slope of the tangent line

At a point on a smooth curve, the derivative represents the slope of the tangent line at that point. If f'(a)=3, interpret it as: near x=a, the function is increasing at a rate of about 3 units up for every 1 unit to the right.

Physical meaning: velocity as a derivative

If s(t) is position as a function of time, then average velocity on an interval is:

\frac{s(t_2)-s(t_1)}{t_2-t_1}

Instantaneous velocity at time t=a is the derivative:

v(a)=s'(a)

Worked example: average vs instantaneous (conceptual)

Suppose a car’s position is given by:

s(t)=t^2

Average velocity from t=2 to t=3:

\frac{s(3)-s(2)}{3-2}=\frac{9-4}{1}=5

Instantaneous velocity at t=2 is the slope of the tangent line at t=2, which you cannot get from a single interval calculation alone; you need the limiting process that defines the derivative.

Exam Focus
  • Typical question patterns:
    • Interpret a derivative value in context (slope or rate of change, with units).
    • Compare average rate of change on an interval to instantaneous rate at a point.
    • Use a sign of the derivative (positive, negative, zero) to describe increasing/decreasing behavior.
  • Common mistakes:
    • Treating average rate of change as “the derivative” without taking a limit.
    • Forgetting units: if output is meters and input is seconds, derivative units are meters per second.
    • Thinking a tangent line “touches once” only; tangent lines can cross the curve and still be tangent at the point.

The limit definition of the derivative

The derivative is defined using a limit of slopes of secant lines. This is the foundation that makes every differentiation rule trustworthy.

The difference quotient

Start with two nearby inputs: x and x+h. The slope of the secant line through \bigl(x,f(x)\bigr) and \bigl(x+h,f(x+h)\bigr) is:

\frac{f(x+h)-f(x)}{h}

This expression is called the difference quotient. When h is small, it approximates the instantaneous rate of change.

Defining the derivative as a limit

To get the exact instantaneous rate of change, take the limit as h approaches 0:

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

You’ll also see an equivalent form at a specific point x=a:

f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}

Both definitions express the same idea: shrink the interval to zero width so a secant slope becomes a tangent slope.

Why a limit is necessary (and why you can’t plug in h=0)

If you try to substitute h=0 directly into the difference quotient, you get an undefined form:

\frac{f(x+0)-f(x)}{0}=\frac{0}{0}

The limit asks: as h gets extremely small (but not equal to 0), does the expression approach a single number? If yes, that number is the derivative.

One-sided derivatives

Sometimes the slope behavior from the left and right differs. Define:

f'_-(a)=\lim_{h\to 0^-}\frac{f(a+h)-f(a)}{h}

f'_+(a)=\lim_{h\to 0^+}\frac{f(a+h)-f(a)}{h}

A function is differentiable at a only if both one-sided derivatives exist and are equal.

Worked example: derivative from the definition

Find the derivative of:

f(x)=x^2

Start with the definition:

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

Substitute f(x)=x^2:

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

Expand:

f'(x)=\lim_{h\to 0}\frac{x^2+2xh+h^2-x^2}{h}

Simplify the numerator:

f'(x)=\lim_{h\to 0}\frac{2xh+h^2}{h}

Factor out h:

f'(x)=\lim_{h\to 0}\frac{h(2x+h)}{h}

Cancel h (this removes the 0/0 issue):

f'(x)=\lim_{h\to 0}(2x+h)

Now take the limit:

f'(x)=2x

Common algebra obstacles

Most “derivative from definition” problems are really algebra skills disguised as calculus. You often must simplify the difference quotient by expanding and canceling, factoring, or rationalizing (especially with square roots). If you don’t successfully remove the factor of h in the denominator, you’ll be stuck.

Worked example: definition with a square root (rationalizing)

Find f'(x) for:

f(x)=\sqrt{x}

Use the definition:

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

Multiply numerator and denominator by the conjugate:

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

Use difference of squares in the numerator:

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

Simplify:

f'(x)=\lim_{h\to 0}\frac{h}{h(\sqrt{x+h}+\sqrt{x})}

Cancel h:

f'(x)=\lim_{h\to 0}\frac{1}{\sqrt{x+h}+\sqrt{x}}

Now take the limit:

f'(x)=\frac{1}{2\sqrt{x}}

Exam Focus
  • Typical question patterns:
    • Compute f'(a) using the definition at a specific point.
    • Find a formula for f'(x) using the definition for a given function.
    • Use one-sided derivatives to test differentiability at a point.
  • Common mistakes:
    • Plugging in h=0 immediately and concluding the derivative “doesn’t exist.”
    • Expanding incorrectly (especially (x+h)^2 or (x+h)^3 ).
    • Rationalizing incorrectly or forgetting to multiply both numerator and denominator by the conjugate.

Derivative notation and the derivative as a function

Once you understand the limit definition, the next key shift is this: the derivative isn’t just a number at one point. It’s usually a new function that describes the slope behavior everywhere the original function is differentiable.

Notation you must recognize

AP Calculus uses multiple notations for derivatives. They all represent the same underlying idea but are used in different contexts.

MeaningCommon notationNotes
Derivative of f at xf'(x)Common in function language
Derivative of y with respect to x\frac{dy}{dx}Emphasizes input/output rate relationship
Operator notation\frac{d}{dx}[f(x)]Useful when differentiating expressions
Derivative at a pointf'(a)A single number (slope at x=a)

You should also recognize common second derivative notation (even if most second-derivative applications come later):

FunctionFirst derivativeSecond derivative
f(x)f'(x)f''(x)
g(x)g'(x)g''(x)
yy' or \frac{dy}{dx}y''

A crucial interpretation difference:

  • f'(a) is a number.
  • f'(x) is a function (a rule that outputs slopes).

The derivative function as a slope machine

If you compute f'(x), then you can plug in any x-value to get the slope of the original function at that point. For instance, if:

f'(x)=2x

then:

f'(3)=6

That means the tangent line to f at x=3 has slope 6.

Connecting derivatives to graphs

These core connections are worth memorizing because they power many graph and interpretation questions:

  • If f'(x)>0 on an interval, then f is increasing there.
  • If f'(x)

The tangent line equation (linearization at a point)

If you know the derivative at a point, you can write the equation of the tangent line.

At x=a:

  • Point on the curve: \bigl(a,f(a)\bigr)
  • Slope: f'(a)

Tangent line:

y-f(a)=f'(a)(x-a)

Worked example: tangent line from derivative at a point

Let:

f(x)=x^2

Find the tangent line at x=2.

First compute values:

f(2)=4

Derivative:

f'(x)=2x

Slope at x=2:

f'(2)=4

Tangent line equation:

y-4=4(x-2)

Simplified form:

y=4x-4

A subtle but common confusion

Students sometimes think f'(x) is “the slope” and therefore must be constant. In reality, for most functions the slope changes from point to point, so f'(x) typically varies with x.

Exam Focus
  • Typical question patterns:
    • Interpret f'(a) as a slope or a rate of change in words.
    • Write the equation of a tangent line using f(a) and f'(a).
    • Given a formula for f'(x), evaluate it at specific points and interpret the results.
  • Common mistakes:
    • Mixing up f'(a) (a number) with f'(x) (a function).
    • Using the point \bigl(f(a),a\bigr) by accident instead of \bigl(a,f(a)\bigr).
    • Thinking a horizontal tangent line automatically means the function has a maximum or minimum there.

Differentiability and continuity

The derivative is not guaranteed to exist everywhere. Understanding when a function is differentiable helps you reason about graphs and avoid invalid calculations.

What it means to be differentiable

A function is differentiable at x=a if the limit defining the derivative exists and is a finite real number:

f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}

If this limit does not exist (or is infinite), the function is not differentiable at a.

Differentiability implies continuity

A key theorem you must know:

If a function is differentiable at x=a, then it is continuous at x=a.

The contrapositive is often the useful test:

If a function is not continuous at x=a, then it cannot be differentiable at x=a.

Be careful: the converse is false. A function can be continuous but not differentiable.

Where differentiability fails (graph features)

There are four classic situations where a function is continuous but not differentiable, or not even continuous.

1) Corners

A corner happens when the left-hand slope and right-hand slope are finite but not equal. A typical example is an absolute value graph. At a corner, f'_-(a) and f'_+(a) both exist but are not equal.

2) Cusps

A cusp is like a corner but with slopes becoming infinite in opposite directions. The one-sided derivatives may approach +\infty and -\infty.

3) Vertical tangents

A vertical tangent occurs when the slope becomes infinite in the same direction from both sides. The derivative does not exist as a finite real number.

4) Discontinuities

If the function has a hole, jump, or asymptote at a, it is not continuous and therefore not differentiable.

Worked example: continuous but not differentiable

Consider:

f(x)=|x|

At x=0, the graph has a corner. The left-hand slope is -1 and the right-hand slope is 1, so the derivative at 0 does not exist. Yet the function is continuous at 0. Continuity means “no breaks,” while differentiability means “smooth enough to have a single tangent slope.”

Why this matters for calculus rules

Differentiation rules (power rule, product rule, etc.) require that the function be differentiable where you apply them. If you apply a rule at a point where the derivative doesn’t exist, you can produce meaningless results. For example, you cannot correctly claim “the derivative of |x| at 0 is 0” just because the graph looks symmetric.

Exam Focus
  • Typical question patterns:
    • Decide whether a function is differentiable at a point using a graph (look for corners, cusps, vertical tangents, discontinuities).
    • Use the statement “differentiable implies continuous” to justify conclusions.
    • Use one-sided derivatives (or one-sided behavior) to explain nondifferentiability.
  • Common mistakes:
    • Assuming continuity automatically means differentiability.
    • Confusing a vertical tangent with “derivative equals 0”; it’s the opposite situation (slope blows up).
    • Missing corners when a graph is drawn roughly; always check if left and right tangent slopes match.

Linearity rules: constants, constant multiples, sums, and differences

Once you have the derivative defined, you want efficient tools to compute derivatives without redoing the limit definition every time. The first set of tools are called linearity properties because they tell you how derivatives interact with adding functions and scaling them.

Why these rules matter

Using the limit definition every time is tedious, so these rules let you break complicated expressions into simpler pieces whose derivatives you already know.

Constant rule

If k is a constant number, then:

\frac{d}{dx}[k]=0

Intuition: a constant function is a horizontal line, and a horizontal line has slope 0 everywhere.

Example: If:

f(x)=10

then:

f'(x)=0

Constant multiple rule

If k is a constant and f is differentiable, then:

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

Meaning: multiplying a function by a constant multiplies every slope by that same constant (you can “pull the constant out”).

Sum and difference rules

If f and g are differentiable, then:

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

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

Worked example: using linearity

Differentiate:

h(x)=3x^4-5x+7

Using linearity, differentiate term-by-term (the power rule is introduced next, but the setup is the key structure):

h'(x)=\frac{d}{dx}[3x^4]-\frac{d}{dx}[5x]+\frac{d}{dx}[7]

Then apply constant multiple and constant rule:

h'(x)=3\frac{d}{dx}[x^4]-5\frac{d}{dx}[x]+0

Common misconception: “derivative distributes over everything”

Linearity works for addition/subtraction and constant multiples, but not for multiplication or division of non-constant functions. For example:

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

Products and quotients need special rules.

Exam Focus
  • Typical question patterns:
    • Differentiate polynomials or sums of basic functions using linearity.
    • Identify which derivative rules apply to an expression (linearity vs product/quotient).
    • Simplify an expression before differentiating to make linearity easier to apply.
  • Common mistakes:
    • Treating a product like a sum and differentiating term-by-term when terms are multiplied.
    • Forgetting that the derivative of a constant is 0.
    • Dropping negative signs when applying the difference rule.

The power rule (and how it connects back to limits)

The power rule is one of the most important derivative shortcuts because it handles polynomials efficiently.

The rule

For any real number n (in AP Calculus AB, you’ll most often use integers and simple rationals):

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

A helpful description is: “multiply down and decrease the power.”

Why it’s believable

You already proved a special case from the limit definition:

\frac{d}{dx}[x^2]=2x

The general proof uses algebra (binomial expansion for integers). The main idea is that in the difference quotient for x^n, you can factor out an h from the numerator, cancel it, and then evaluate the limit.

Using the power rule on polynomials

A polynomial is a sum of power functions, so linearity plus the power rule differentiates any polynomial.

Worked example: polynomial derivative

Differentiate:

f(x)=6x^5-4x^3+x-9

Apply the power rule term-by-term:

f'(x)=30x^4-12x^2+1-0

So:

f'(x)=30x^4-12x^2+1

Quick examples that match the “multiply down, decrease the power” idea

  • For:

x^4

the derivative is:

4x^3

  • For:

2x^2

the derivative is:

4x

Negative exponents and rational exponents

The power rule still works for negative and rational powers (on domains where the function is defined).

Worked example: negative exponent

Differentiate:

g(x)=x^{-3}

Power rule:

g'(x)=-3x^{-4}

Rewrite with positive exponents if you want:

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

Worked example: rational exponent

Differentiate:

h(x)=x^{1/2}

Power rule:

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

Rewrite:

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

This matches the limit-definition result for \sqrt{x} and is a great consistency check.

Derivatives of linear functions as a special case

For f(x)=mx+b, derivative is constant:

\frac{d}{dx}[mx+b]=m

That fits the power rule because:

\frac{d}{dx}[mx]=m\frac{d}{dx}[x]=m\cdot 1

Common pitfalls

  • Forgetting to subtract 1 from the exponent.
  • Incorrectly applying the power rule to expressions that are not simple powers (for example, a product like x^2(x+1) needs algebra or the product rule).
Exam Focus
  • Typical question patterns:
    • Differentiate polynomials and power functions, including negative and rational exponents.
    • Use derivatives to find tangent slopes at specified points.
    • Combine power rule with linearity in multi-term expressions.
  • Common mistakes:
    • Treating \frac{d}{dx}[x^n] as x^{n-1} (forgetting the multiplier n).
    • Applying the rule to something like (x+1)^5 directly (that requires chain rule, a later unit).
    • Ignoring domain restrictions for rational exponents (for example, \sqrt{x} requires x\ge 0 in real-valued contexts).

Exponential and logarithmic derivatives: e^x and \ln x

Some derivative rules are so fundamental that they are often taught as “memory derivatives” because it’s faster to know them than to re-derive them each time.

Memory derivatives list (includes trig, exponential, logarithmic)

The derivative of e^x

The natural exponential function is special because its rate of change equals its value:

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

Worked example: exponential derivative

Differentiate:

f(x)=5e^x-2

Use constant multiple and constant rule:

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

So:

f'(x)=5e^x

The derivative of \ln x

The natural logarithm is the inverse of e^x. Its derivative is:

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

Domain note: \ln x (and its derivative rule) applies for x>0 in real-valued contexts.

Worked example: logarithmic derivative

Differentiate:

g(x)=\ln x+x^3

Use linearity and known derivatives:

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

Why these are “fundamental properties”

These derivative rules act like building blocks for more advanced differentiation techniques later (especially the chain rule). In many AP problems, you’ll differentiate expressions that include a mix of powers, exponentials, logs, and trig functions.

Common misconceptions

  • Confusing \ln x with \log x. On the AP exam, \ln x means natural log (base e). If \log x appears, it is typically base 10 unless stated otherwise.
  • Copying the function incorrectly (for example, thinking the derivative of \ln x is another logarithm). The derivative is 1/x.
Exam Focus
  • Typical question patterns:
    • Differentiate expressions involving e^x and \ln x combined with polynomials.
    • Evaluate derivatives at specific points, often with context (growth rate at a time).
    • Interpret the meaning of \frac{d}{dx}[e^x]=e^x in terms of proportional growth.
  • Common mistakes:
    • Writing \frac{d}{dx}[e^x]=xe^{x-1} (incorrectly mixing with the power rule).
    • Forgetting the domain restriction for \ln x.
    • Treating \ln(x^2) as if it were a product; log properties are algebra, and differentiating compositions is a later skill.

Trigonometric derivatives: \sin x and \cos x

Trigonometric functions connect calculus to periodic motion: springs, sound waves, rotating objects, and alternating current. These are also commonly treated as “memory derivatives.”

Trig memory derivatives

Core derivative rules

These are the trig derivatives you are expected to know in AP Calculus AB Unit 2:

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

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

A common way to remember the second one is: cosine’s derivative is negative sine.

Why the negative sign appears

If you look at the graph of \cos x near x=0, it starts at 1 and decreases as x increases a little, so the slope at 0 is negative. The negative sign ensures the derivative matches that behavior.

Radians matter

These derivative rules are correct when angles are measured in radians, not degrees. AP Calculus assumes radian measure unless explicitly stated. The limit-definition derivations rely on:

\lim_{x\to 0}\frac{\sin x}{x}=1

Worked example: trig derivatives

Differentiate:

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

Apply linearity and the trig rules:

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

So:

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

Connecting trig derivatives to motion

If position is sinusoidal, its derivative shifts phase:

  • Derivative of sine is cosine (a phase shift).
  • Derivative of cosine is negative sine (phase shift plus reflection).

In physics language: if position oscillates like \sin t, velocity oscillates like \cos t.

Exam Focus
  • Typical question patterns:
    • Differentiate expressions involving \sin x and \cos x combined with polynomials.
    • Evaluate derivatives at key angles (like 0, \pi/2, \pi) using known trig values.
    • Use derivative signs to describe where a trig function is increasing/decreasing.
  • Common mistakes:
    • Dropping the negative in \frac{d}{dx}[\cos x]=-\sin x.
    • Using degrees in a calculus context.
    • Confusing the derivative with the original function.

The product rule

Linearity rules do not handle multiplication of two non-constant functions. If you need the derivative of a product, you use the product rule.

The rule

If f and g are differentiable, then:

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

You will also see it written with placeholders like u and v:

\frac{d}{dx}[uv]=u\frac{dv}{dx}+v\frac{du}{dx}

Why it works (conceptual)

The product f(x)g(x) changes because f changes while g is momentarily treated as fixed, and because g changes while f is momentarily treated as fixed. The product rule adds those two contributions.

Memory aids

  • “Derivative of first times second, plus first times derivative of second.”
  • A compact mnemonic some students use is “1d2 + 2d1” (first times derivative of second, plus second times derivative of first).

Worked example: product rule with polynomials

Differentiate:

h(x)=(x^2+1)(3x-5)

Identify:

f(x)=x^2+1

g(x)=3x-5

Differentiate each:

f'(x)=2x

g'(x)=3

Apply product rule:

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

Substitute:

h'(x)=2x(3x-5)+(x^2+1)3

Simplify:

h'(x)=6x^2-10x+3x^2+3

So:

h'(x)=9x^2-10x+3

Worked example: product rule with trig and exponential

Differentiate:

p(x)=e^x\sin x

Let:

f(x)=e^x

g(x)=\sin x

Then:

f'(x)=e^x

g'(x)=\cos x

Product rule:

p'(x)=e^x\sin x+e^x\cos x

Factor if desired:

p'(x)=e^x(\sin x+\cos x)

When expanding is possible (and when product rule saves time)

If you have two polynomials multiplied, like:

(2x+7)(9x+8)

you can multiply it out and then use the power rule, but that can take time and can introduce algebra errors. The product rule is often faster and safer.

Common misconception: “just multiply the derivatives”

A frequent incorrect idea is:

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

That is not true in general.

Exam Focus
  • Typical question patterns:
    • Differentiate a product of two functions where each is simple on its own (polynomial times trig, polynomial times exponential, etc.).
    • Identify when you must use product rule instead of expanding (sometimes either works, but product rule is safer).
    • Evaluate the derivative at a point after differentiating.
  • Common mistakes:
    • Writing only one term (for example, f'(x)g(x) and forgetting f(x)g'(x)).
    • Using product rule when the expression is actually a sum.
    • Expanding incorrectly if you choose to expand first.

The quotient rule

Division creates another situation where linearity does not apply. When you have one function divided by another, the quotient rule is a reliable method.

The rule

If f and g are differentiable and g(x)\neq 0, then:

\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right]=\frac{f'(x)g(x)-f(x)g'(x)}{(g(x))^2}

Using placeholders u and v:

\frac{d}{dx}\left[\frac{u}{v}\right]=\frac{v\frac{du}{dx}-u\frac{dv}{dx}}{v^2}

Understanding the structure and memory aids

The numerator is a subtraction of two products, and the denominator is the square of the original denominator.

A common memory aid is:

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

Written compactly as a mnemonic:

  • “low d high - high d low / low^2”

Just be careful with parentheses and signs when you substitute.

Quotient rule reminder

Worked example: quotient rule with polynomials

Differentiate:

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

Let:

f(x)=x^2+1

g(x)=x-2

Compute derivatives:

f'(x)=2x

g'(x)=1

Apply quotient rule:

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

Simplify numerator:

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

So:

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

Worked example: quotient rule leading to a trig derivative

Differentiate:

r(x)=\frac{\sin x}{\cos x}

Let:

f(x)=\sin x

g(x)=\cos x

Derivatives:

f'(x)=\cos x

g'(x)=-\sin x

Quotient rule:

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

Simplify numerator:

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

Use the identity \sin^2 x+\cos^2 x=1:

r'(x)=\frac{1}{\cos^2 x}

This is commonly written as:

r'(x)=\sec^2 x

Common pitfalls

  • Forgetting parentheses, especially around the entire numerator.
  • Squaring only part of the denominator. The whole denominator function is squared.
  • Sign errors: the quotient rule has a subtraction in the numerator.
  • Writing:

\frac{f'(x)}{g'(x)}

This is not a valid general rule.

Exam Focus
  • Typical question patterns:
    • Differentiate rational functions (polynomial over polynomial) using the quotient rule.
    • Differentiate expressions like trig over trig or exponential over polynomial.
    • Evaluate the derivative at a point while respecting domain restrictions (denominator cannot be zero).
  • Common mistakes:
    • Writing \frac{f'(x)}{g'(x)} (incorrect; that is not a rule).
    • Forgetting to square the denominator function.
    • Losing a negative sign in the numerator subtraction.

Putting the rules together: strategy, structure, and correctness

By the end of Unit 2, you should be able to look at a function and decide which differentiation tools apply, while also keeping the meaning of the derivative in mind.

A practical strategy for choosing a rule

When you see an expression, classify how it’s built by its outermost operation:

  • Sums and differences: use linearity.
  • Constant multiples: pull the constant out.
  • Powers of x: use the power rule.
  • e^x and \ln x: use their special rules.
  • \sin x and \cos x: use trig rules.
  • Products: use product rule (or expand first if that is simpler and safe).
  • Quotients: use quotient rule (or simplify first if possible).

Worked example: mixed rules

Differentiate:

f(x)=\frac{(x^2+1)e^x}{x}

This is a quotient: numerator is (x^2+1)e^x and denominator is x. Use quotient rule.

Let:

u(x)=(x^2+1)e^x

v(x)=x

Then:

v'(x)=1

To find u'(x), use the product rule because u is a product.

Let:

a(x)=x^2+1

b(x)=e^x

Then:

a'(x)=2x

b'(x)=e^x

Product rule:

u'(x)=2x e^x+(x^2+1)e^x

Now apply quotient rule:

f'(x)=\frac{u'(x)v(x)-u(x)v'(x)}{(v(x))^2}

Substitute:

f'(x)=\frac{\left(2x e^x+(x^2+1)e^x\right)x-(x^2+1)e^x(1)}{x^2}

You can simplify, but even without full simplification, the structure is correct and gradeable. If you do simplify:

f'(x)=\frac{2x^2 e^x+x(x^2+1)e^x-(x^2+1)e^x}{x^2}

Factor out e^x in the numerator:

f'(x)=\frac{e^x\left(2x^2+x(x^2+1)-(x^2+1)\right)}{x^2}

Correctness includes domain awareness

Your derivative is valid on the domain where the original function is defined and where the derivative rules apply. For rational functions, remember division by zero is not allowed. In the previous example, x\neq 0.

Interpreting your result

Even when the task is computational, it helps to ask:

  • Does the derivative look like it could represent a slope/rate?
  • Are there obvious sign mistakes (for example, forgetting the negative in cosine’s derivative)?
  • Does the derivative have domain restrictions inherited from the original function?

Common structural errors to avoid

  • Applying product rule to something that is actually a composition, like (3x+1)^5 (composition is handled by chain rule in the next unit).
  • Overusing quotient rule when simplification makes the problem easier. For instance:

\frac{x^2}{x}=x

for x\neq 0.

Exam Focus
  • Typical question patterns:
    • Differentiate functions that require multiple rules (for example, quotient rule with a numerator that needs product rule).
    • Decide whether to simplify first or apply a rule directly, then justify with correct algebra.
    • Compute and interpret f'(a) for a complicated-looking expression.
  • Common mistakes:
    • Using chain rule patterns prematurely (a later unit skill) instead of product/quotient and algebra.
    • Algebra errors after differentiating correctly.
    • Ignoring domain restrictions (like denominator equals zero) when evaluating derivatives at points.