---
title: "Defining the Derivative of a Function and Using Derivative Notation | FiveStudy"
description: "A secant slope with the gap shrunk to nothing — written five different ways."
url: https://fivestudy.com/guides/ap-calculus-bc-2-2-defining-the-derivative-and-derivative-notation
---

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

# Defining the Derivative of a Function and Using Derivative Notation

[Figure: FiveStudy]

FiveStudy

AP® Calculus BC · Unit 2 · Differentiation: Definition and Fundamental Properties

AP® Calculus BC · Unit 2 · Differentiation: Definition and Fundamental Properties

# The *Derivative* and Its Notation

The derivative turns “slope at a point” into a function you can compute and graph. This guide defines it, shows the notations you will see, and uses it to write tangent lines.

1. The derivative at a point 2. The derivative as a function 3. Notation 4. Tangent lines 5. Recognizing derivatives

The idea in one paragraph

The **derivative** of \(f\) at \(x = a\), written \(f'(a)\), is the instantaneous rate of change there: \(f'(a) = \displaystyle\lim_{h \rightarrow 0} \frac{f(a + h) - f(a)}{h}\), when the limit exists. It is the slope of the tangent line at \((a, f(a))\). Doing the same calculation with a general \(x\) gives a new function, \(f'(x)\), whose value at each \(x\) is the slope of \(f\) there. Several notations, \(f'(x)\), \(y'\), \(\frac{dy}{dx}\), \(\frac{d}{dx}[f(x)]\), all mean this same function.

## 1 The derivative at a point

\[ f'(a) = \lim_{h \rightarrow 0} \frac{f(a + h) - f(a)}{h} = \lim_{x \rightarrow a} \frac{f(x) - f(a)}{x - a} \]

If this limit exists, \(f\) is **differentiable** at \(a\). Three ways to read \(f'(a)\):

- the slope of the tangent line at \((a, f(a))\);
- the instantaneous rate of change of \(f\) at \(a\);
- the limit of slopes of secant lines through \((a, f(a))\).

## 2 The derivative as a function

Run the limit with \(x\) in place of a specific number and you get a formula that works for every \(x\) at once:

\[ f'(x) = \lim_{h \rightarrow 0} \frac{f(x + h) - f(x)}{h} \]

Worked Example 1 The derivative as a function

### \(f(x) = x^2 - 3x\)

1. 1

   \(f(x + h) = (x + h)^2 - 3(x + h) = x^2 + 2xh + h^2 - 3x - 3h\).

2. 2

   Subtract \(f(x) = x^2 - 3x\): \(2xh + h^2 - 3h\).

3. 3

   Divide by \(h\): \(2x + h - 3\).

4. 4

   Let \(h \rightarrow 0\): \(2x - 3\).

**Answer:** \(f'(x) = 2x - 3\). Check: \(f'(4) = 5\), the slope found at \(x = 4\).

**Figure 1.** The derivative is a new function whose output at x is the slope of f at x. Where f falls, f′ is negative; at the bottom of f, f′ is 0; where f rises, f′ is positive.

Worked Example 2 A reciprocal

### \(g(x) = \dfrac{1}{x}\)

1. 1

   \(\dfrac{g(x + h) - g(x)}{h} = \dfrac{\frac{1}{x + h} - \frac{1}{x}}{h}\).

2. 2

   Combine the top: \(\dfrac{x - (x + h)}{x(x + h)} = \dfrac{-h}{x(x + h)}\). Divide by \(h\): \(\dfrac{-1}{x(x + h)}\).

3. 3

   Let \(h \rightarrow 0\): \(-\dfrac{1}{x^2}\).

**Answer:** \(g'(x) = -\dfrac{1}{x^2}\), negative for every \(x \neq 0\): the graph of \(\frac1x\) is always falling.

## 3 Notation

| Notation | Read it as | Use |
| --- | --- | --- |
| \(f'(x)\) | f prime of x | The derivative function |
| \(f'(4)\) | f prime of 4 | Slope at x = 4 (a number) |
| \(y'\) | y prime | Derivative when \(y\) is the output |
| \(\dfrac{dy}{dx}\) | d y d x | Rate of change of y with respect to x |
| \(\dfrac{d}{dx}\left[x^2 - 3x\right]\) | the derivative of … | An instruction: take the derivative of this |
| \(\left.\dfrac{dy}{dx}\right\|_{x = 4}\) | dy/dx at x = 4 | Derivative evaluated at a point |

Why dy/dx?

\(\frac{\Delta y}{\Delta x}\) is the average rate: change in \(y\) over change in \(x\). The “d” version is the limit of that as \(\Delta x\) shrinks. The notation reminds you that a derivative is a rate, and it carries units: if \(y\) is in meters and \(x\) is in seconds, \(\frac{dy}{dx}\) is in meters per second.

## 4 Tangent lines

The tangent line at \(x = a\) passes through \((a, f(a))\) with slope \(f'(a)\). In point-slope form:

\[ y = f(a) + f'(a)(x - a) \]

Worked Example 3 Tangent line

### Tangent to \(f(x) = x^2 - 3x\) at \(x = 4\)

1. 1

   Point: \((4, f(4)) = (4, 4)\).

2. 2

   Slope: \(f'(4) = 2(4) - 3 = 5\).

3. 3

   Point-slope form: \(y - 4 = 5(x - 4)\).

**Answer:** \(y = 4 + 5(x - 4)\), or \(y = 5x - 16\).

**Figure 2.** The tangent line passes through the point (4, f(4)) = (4, 4) with slope f′(4) = 5. Near x = 4 it is almost indistinguishable from the curve.

Common Mistake 1 · Using f′(x) as the slope

A tangent line has one slope, a number. Writing \(y - 4 = (2x - 3)(x - 4)\) uses the whole derivative function and gives a parabola, not a line. Evaluate first: \(f'(4) = 5\).

Common Mistake 2 · Confusing f(a) and f′(a)

\(f(4) = 4\) is the height of the point; \(f'(4) = 5\) is the slope there. The tangent line needs both, in different places of the formula.

## 5 Recognizing derivatives

Worked Example 4 Recognize a derivative

### Two disguised limits

Each limit is a derivative. Name the function and the point, then find the value.
(a) \(\displaystyle\lim_{x \rightarrow 3} \frac{x^4 - 81}{x - 3}\) (b) \(\displaystyle\lim_{h \rightarrow 0} \frac{\sin\left(\frac{\pi}{2} + h\right) - 1}{h}\)

1. 1

   (a) This is the x form with \(f(x) = x^4\) and \(a = 3\), since \(f(3) = 81\). So it equals \(f'(3)\).

2. 2

   For \(x^4\) the derivative is \(4x^3\) (the power rule, which comes from the same limit), so \(f'(3) = 4 \cdot 27 = 108\).

3. 3

   (b) This is the h form with \(f(x) = \sin x\) and \(a = \frac{\pi}{2}\), since \(\sin\frac{\pi}{2} = 1\).

4. 4

   The slope of the sine curve at its peak is 0 (the tangent there is horizontal), so the limit is 0.

**Answer:** (a) \(f'(3)\) for \(f(x) = x^4\): 108. (b) the derivative of \(\sin x\) at \(\frac{\pi}{2}\): 0.

Common Mistake 3 · Computing the limit the long way when it is a derivative

When a limit matches \(\frac{f(a + h) - f(a)}{h}\) or \(\frac{f(x) - f(a)}{x - a}\), it is \(f'(a)\). Spotting that turns a long algebra problem into a short derivative problem.

### Quick reference

| Idea | Formula |
| --- | --- |
| Derivative at a | \(f'(a) = \lim_{h \rightarrow 0} \frac{f(a + h) - f(a)}{h}\) |
| Derivative function | \(f'(x) = \lim_{h \rightarrow 0} \frac{f(x + h) - f(x)}{h}\) |
| Tangent line at a | \(y = f(a) + f'(a)(x - a)\) |
| Units | Output units per input unit |

FiveStudy AP® Calculus BC · The derivative and its notation
