impera Open Impera

AP Calculus AB · Differentiation: definition and fundamental properties

The power rule

1The power rule

Using the limit definition every time is slow. The power rule gives the derivative of any power of $x$:

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

Bring the power down in front, then reduce the power by one. It works for any real $n$: positive, negative or fractional.

  • $\frac{d}{dx}[x^5] = 5x^4$
  • $\frac{d}{dx}[x] = 1$ (since $x = x^1$)
  • $\frac{d}{dx}[x^{-2}] = -2x^{-3}$
  • $\frac{d}{dx}[x^{1/2}] = \frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}}$
Check yourself

What is the derivative of x⁷?

  • 7x⁶

  • 6x⁷

  • 7x⁷

  • x⁶

Show the answer

7x⁶

Bring down 7, reduce the power to 6.

2Constants, multiples, sums

  • Constant rule: $\frac{d}{dx}[k] = 0$. A constant does not change, so its rate is zero (its graph is a horizontal line).
  • Constant multiple rule: $\frac{d}{dx}[k f(x)] = k f'(x)$.
  • Sum and difference rule: $\frac{d}{dx}[f(x) \pm g(x)] = f'(x) \pm g'(x)$.

So a polynomial is differentiated term by term.

Worked example

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

  1. $4x^3 \to 12x^2$.
  2. $-5x^2 \to -10x$.
  3. $7x \to 7$.
  4. $-9 \to 0$.
  5. $f'(x) = 12x^2 - 10x + 7$.
Check yourself

The derivative of f(x) = 6x² − 4x + 11 is:

  • 12x − 4

  • 12x − 4 + 11

  • 12x² − 4x

  • 6x − 4

Show the answer

12x − 4

The constant 11 differentiates to 0.

3Rewriting before differentiating

The power rule needs terms in the form $kx^n$. Rewrite roots and fractions first.

  • $\sqrt[3]{x^2} = x^{2/3}$
  • $\frac{3}{x^4} = 3x^{-4}$
  • $\frac{1}{2\sqrt{x}} = \frac{1}{2}x^{-1/2}$
  • $\frac{x^3 + 2x}{x} = x^2 + 2$ (divide each term; only valid for $x \neq 0$)
Worked example

$y = \frac{5}{x^2} - 4\sqrt{x}$

  1. Rewrite: $y = 5x^{-2} - 4x^{1/2}$.
  2. Differentiate: $y' = -10x^{-3} - 2x^{-1/2}$.
  3. Tidy: $y' = -\frac{10}{x^3} - \frac{2}{\sqrt{x}}$.

A common error: $\frac{d}{dx}\left[\frac{1}{x^3}\right] \neq \frac{1}{3x^2}$. Rewrite as $x^{-3}$ to get $-3x^{-4}$.

Check yourself

The derivative of 2/x is:

  • −2/x²

  • 2 ln x

  • 2

  • 2/x²

Show the answer

−2/x²

2x⁻¹ differentiates to −2x⁻².

4Tangent and normal lines

The derivative gives the slope of the tangent, so we can write the equation of the tangent line at $x = a$ using point-slope form:

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

The normal line is perpendicular to the tangent, so its slope is $-\frac{1}{f'(a)}$.

Worked example

tangent to $f(x) = x^3 - 2x$ at $x = 2$

  1. Point: $f(2) = 8 - 4 = 4$, so $(2, 4)$.
  2. Slope: $f'(x) = 3x^2 - 2$, so $f'(2) = 10$.
  3. Tangent: $y - 4 = 10(x - 2)$.
  4. Normal: slope $-\frac{1}{10}$, so $y - 4 = -\frac{1}{10}(x - 2)$.

The tangent and normal to y = x³ − 2x at (2, 4)

To find where the tangent is horizontal, solve $f'(x) = 0$. For $f(x) = x^3 - 2x$: $3x^2 = 2$, so $x = \pm\sqrt{2/3}$.

Check yourself

The slope of the tangent to y = x² at x = 3 is 6. What is the slope of the normal?

  • 1/6

  • −6

  • 6

  • −1/6

Show the answer

−1/6

Normal slope is the negative reciprocal.

5Going deeper: rewriting first, and finding tangent lines and horizontal tangents

The rule: $\frac{d}{dx}[x^n] = nx^{n-1}$ for any real n. With constants: $\frac{d}{dx}[cx^n] = cnx^{n-1}$; the derivative of a constant is 0; sums and differences are differentiated term by term.

Rewrite before differentiating: convert roots and fractions to powers.

  • $\sqrt{x} = x^{1/2}$; $\sqrt[3]{x^2} = x^{2/3}$.
  • $\frac{1}{x^n} = x^{-n}$.
Worked example

$f(x) = \frac{3}{x^2} + 4\sqrt{x} - 5$.

  1. Rewrite: $3x^{-2} + 4x^{1/2} - 5$.
  2. $f'(x) = -6x^{-3} + 2x^{-1/2}$.
  3. $= -\frac{6}{x^3} + \frac{2}{\sqrt{x}}$.

Worked example (divide first): $g(x) = \frac{x^2 + 1}{x}$.

  1. $g(x) = x + x^{-1}$.
  2. $g'(x) = 1 - \frac{1}{x^2}$.

No quotient rule is needed when the denominator is a single term.

Worked example (expand first): $h(x) = (2x - 3)^2 = 4x^2 - 12x + 9$, so $h'(x) = 8x - 12$.

Tangent lines

Worked example

tangent to $y = x^3 - 2x$ at x = 2.

  1. Point: y = 8 − 4 = 4.
  2. Slope: $y' = 3x^2 - 2$; at x = 2, 10.
  3. $y - 4 = 10(x - 2)$.
  4. Normal line: slope $-\frac{1}{10}$: $y - 4 = -\frac{1}{10}(x - 2)$.

Horizontal tangents: solve f′(x) = 0.

Worked example

$f(x) = x^3 - 3x$.

  1. $f'(x) = 3x^2 - 3 = 0$.
  2. x = ±1.
  3. Points (1, −2) and (−1, 2).

A tangent with a given slope

Worked example

where is the tangent to $y = x^2 - 4x$ parallel to y = 2x + 7?

  1. Slope must be 2: 2x − 4 = 2.
  2. x = 3; point (3, −3).

Finding unknown coefficients

Worked example

$f(x) = ax^2 + bx$ has a tangent of slope 5 at the point (1, 3).

  1. f(1) = a + b = 3.
  2. f′(1) = 2a + b = 5.
  3. a = 2, b = 1.

Rates in context: the volume of a sphere is $V = \frac{4}{3}\pi r^3$; $\frac{dV}{dr} = 4\pi r^2$, which is the surface area: adding a thin layer increases the volume by (surface area) × (thickness).

Linearity: $\frac{d}{dx}[af(x) + bg(x)] = af'(x) + bg'(x)$. From a table with f′(2) = 3 and g′(2) = −1: the derivative of 4f − 2g at 2 is 12 + 2 = 14.

What the power rule does not cover: a variable in the exponent ($2^x$ is not $x \cdot 2^{x-1}$); products and quotients of non-trivial functions; compositions such as $(3x + 1)^{10}$ (chain rule).

Common mistakes

  • $\frac{d}{dx}\left[\frac{1}{x^2}\right] = \frac{1}{2x}$ (rewrite as $x^{-2}$ first).
  • Subtracting 1 wrongly for negative exponents: −2 − 1 = −3, not −1.
  • Differentiating $\pi^2$ or $e^3$ as if they were variables (they are constants: derivative 0).
  • Giving the derivative as the tangent line.
  • Forgetting to evaluate the y-coordinate of the point.
Check yourself

What is the derivative of f(x) = 6 ÷ x³?

  • 6 ÷ (3x²)

  • 18 ÷ x²

  • −18 ÷ x⁴

  • −18 ÷ x²

Show the answer

−18 ÷ x⁴

Rewrite as 6x⁻³; the derivative is −18x⁻⁴.

6For top marks

  • Rewrite every term as $kx^n$ before differentiating.
  • Point-slope form is fine on the AP exam; you do not need to simplify to $y = mx + b$.
  • For horizontal tangents, set $f'(x) = 0$; for vertical tangents, look for where $f'$ is undefined but $f$ is defined.
  • Do not differentiate a constant into anything but $0$.
Example

"$f'(x) = 3x^2 - 2$, so $f'(2) = 10$ and $f(2) = 4$. The tangent line is $y - 4 = 10(x - 2)$."

Check yourself

At which x-values does y = x³ − 12x have horizontal tangents?

  • x = 0 only

  • x = 4 and x = −4

  • x = 12

  • x = 2 and x = −2

Show the answer

x = 2 and x = −2

3x² − 12 = 0 gives x² = 4.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera