# Local Linearity and Linearization

> AP Calculus AB · Contextual Applications of Differentiation
> Source: https://www.owlsprep.com/study/ap-calculus-ab-u4-local-linearity-and-linearization/

This guide covers geometric interpretation of local linearity, the linearization (tangent line approximation) formula, differential notation, approximating function values, and error estimation, aligned to AP Calculus AB CED requirements.

**Prerequisites:** Compute derivatives of elementary functions using differentiation rules; Find the equation of a tangent line at a point; Evaluate functions at given input values

## Learning objectives

- Explain the geometric property of local linearity for differentiable functions
- Calculate the linearization of a function at a given point
- Use linearization to approximate function values near a known point
- Use differentials to approximate changes and measurement errors
- Determine if a linear approximation is an overestimate or underestimate

## Local Linearity: The Geometric Foundation

Local linearity is a core geometric property of differentiable functions: when you zoom in far enough on any point on the graph of a differentiable function, the graph becomes almost identical to its tangent line at that point. For any differentiable $y=f(x)$ at $x=a$, the derivative $f'(a)$ gives the slope of the tangent line. Because the tangent line and original function agree in value and slope at $x=a$, the function behaves almost exactly like the tangent line for $x$-values very close to $a$.

**Local Linearity** — A property of differentiable functions where, near any point of differentiability, the graph of the function is indistinguishable from its tangent line at that point when sufficiently zoomed in.

*Example:* For $y = \sin x$ at $x=0$, zooming to $[-0.1, 0.1]$ makes the curve identical to its tangent line $y=x$.

**Worked example:** Confirm that $f(x) = \sqrt{x}$ is locally linear at $x=4$ by comparing the function value to its tangent line approximation at $x=4.1$ and $x=6$.

1. Calculate $f(4)$ and the derivative at $x=4$:

   $$f(4) = \sqrt{4} = 2, \quad f'(x) = \frac{1}{2\sqrt{x}}, \quad f'(4) = \frac{1}{4} = 0.25$$
2. Write the tangent line equation at $x=4$ in point-slope form:

   $$y = f(4) + f'(4)(x-4) = 2 + 0.25(x-4) = 0.25x + 1$$
3. Actual function value: $f(4.1) = \sqrt{4.1} \approx 2.0248$. Tangent line approximation: $y = 2 + 0.25(0.1) = 2.025$. The difference is only ~0.0002, which is negligible.
4. Actual function value: $f(6) = \sqrt{6} \approx 2.4495$. Tangent line approximation: $y = 2 + 0.25(2) = 2.5$. The difference is ~0.05, much larger.
5. Conclusion: Near $x=4$, the function is almost identical to its tangent line, so it is locally linear at $x=4$. The approximation breaks down far from the point of tangency.

> **Exam tip:** When the AP exam asks you to explain why a function is locally linear at a point, always mention that the function is differentiable at that point, and that the tangent line matches the function's value and slope for inputs near the point.

## Linearization: Formula and Computation

Linearization (also called tangent line approximation) is the practical application of local linearity: we use the simple, easy-to-evaluate tangent line to approximate the value of a complicated nonlinear function near the point of tangency. Finding and using linearization is the most heavily tested skill for this topic on the AP exam.

**Linearization of $f(x)$ at $x=a$** — The tangent line to $f(x)$ at $x=a$, used to approximate values of $f(x)$ near $x=a$. We always choose $a$ to be a point where $f(a)$ and $f'(a)$ can be calculated exactly.

*Notation:* $L(x)$

*Example:* To approximate $\sqrt{15}$, we choose $a=16$, since $\sqrt{16}=4$ is known exactly.

$$L(x) = f(a) + f'(a)(x - a)$$

**Worked example:** Find the linearization of $f(x) = x^3 - 2x + 1$ at $a=2$, then use it to approximate $f(1.98)$.

1. Calculate $f(a)$ at $a=2$:

   $$f(2) = (2)^3 - 2(2) + 1 = 8 - 4 + 1 = 5$$
2. Calculate the derivative and evaluate at $a=2$:

   $$f'(x) = 3x^2 - 2, \quad f'(2) = 3(4) - 2 = 10$$
3. Substitute into the linearization formula and simplify:

   $$L(x) = 5 + 10(x - 2) = 10x - 15$$
4. Evaluate $L(1.98)$ to get the approximation:

   $$L(1.98) = 10(1.98) - 15 = 4.8$$
5. The actual value of $f(1.98) \approx 4.801$, so the approximation is extremely accurate.

> **Exam tip:** Always simplify your linearization before evaluating the approximation to reduce arithmetic errors. If you leave the linearization in factored form, double-check your distribution of the slope term.

## Differentials and Approximating Change

Differentials are an alternative notation for linear approximation that focuses on changes in quantities, rather than absolute values. This notation is especially useful for real-world problems where we want to approximate how much a quantity changes, or to estimate error from measurement.

**Differential** — For a function $y = f(x)$, $dx = \Delta x = x - a$ is the small change in input. $dy = f'(x)dx$ is the linear approximation of the actual change $\Delta y = f(x+dx) - f(x)$. For small $dx$, $\Delta y \approx dy$.

*Notation:* $dy$ (output change), $dx$ (input change)

*Example:* This notation is directly equivalent to linearization, just rearranged to highlight changes.

$$dy = f'(x) dx$$

**Worked example:** The radius of a spherical birthday balloon is measured as 10 cm with a maximum measurement error of $\pm 0.1$ cm. Use differentials to approximate the maximum possible error in the calculated surface area of the balloon.

1. Recall the surface area formula and label known values:

   $$S(r) = 4\pi r^2, \quad r = 10 \text{ cm}, \quad |dr| = 0.1 \text{ cm}$$
2. Calculate the derivative of $S(r)$:

   $$S'(r) = 8\pi r$$
3. Maximum error in surface area is approximated by $|dS|$:

   $$|dS| = |S'(r) dr|$$
4. Substitute values to get the final result:

   $$|dS| = |8\pi (10)(0.1)| = 8\pi \approx 25.13 \text{ cm}^2$$
5. The maximum possible error in the calculated surface area is approximately $8\pi$ cm².

> **Exam tip:** Always read the question carefully: if it asks for absolute error, you just need $|dy|$; if it asks for relative error, you need $\frac{|dy|}{y}$, and percentage error is that value multiplied by 100.

## AP-Style Practice Problems

**Check your understanding**

Test your understanding with these AP-style problems:

1. What is the linearization of $f(x) = \ln(3x + 1)$ at $a = 0$?

   - A) $L(x) = 3x$
   - B) $L(x) = 1 + 3x$
   - C) $L(x) = 3x + \ln 2$
   - D) $L(x) = x$

   *Answer:* A) $L(x) = 3x$

   *Why:* Correct. We calculate $f(0) = \ln 1 = 0$, $f'(0) = 3$, so $L(x) = 0 + 3(x-0) = 3x$. Common wrong answers come from miscalculating $f(0)$ (option B), choosing the wrong $a$ (option C), or forgetting the chain rule (option D).

**Worked example:** Let $f(x) = \sqrt{x^2 + 9}$: (a) Find the linearization $L(x)$ at $a=4$. (b) Approximate $f(4.2)$ and state if the approximation is an overestimate or underestimate. (c) Use differentials to approximate the change in $f(x)$ when $x$ increases from 4 to 4.2.

1. Part (a): Calculate $f(4)$ and $f'(4)$:

   $$f(4) = \sqrt{4^2 + 9} = 5, \quad f'(x) = \frac{x}{\sqrt{x^2 + 9}}, \quad f'(4) = \frac{4}{5} = 0.8$$
2. Substitute into the linearization formula:

   $$L(x) = 5 + 0.8(x-4) = 0.8x + 1.8$$
3. $L(4.2) = 5.16$. The second derivative $f''(x) > 0$ for all $x$, so $f(x)$ is concave up near $x=4$. A tangent line to a concave up function lies below the curve, so this is an underestimate.
4. Part (c): Approximate the change with differentials:

   $$dx = 0.2, \quad dy = f'(4)dx = 0.8(0.2) = 0.16$$

**Worked example:** The monthly profit of a small coffee shop is modeled by $P(x) = 12x - 0.005x^2 - 2000$ dollars, where $x$ is the number of lattes sold per month. The shop currently sells 1500 lattes per month, and projects sales will increase by 60 lattes next month. Use linearization to approximate the change in profit, and the approximate total profit for next month.

1. Calculate the derivative and evaluate at $x=1500$:

   $$P'(x) = 12 - 0.01x, \quad P'(1500) = -3 \text{ dollars per latte}$$
2. Approximate the change in profit:

   $$dP = P'(1500)dx = -3(60) = -180$$
3. Calculate current monthly profit at 1500 lattes:

   $$P(1500) = 12(1500) - 0.005(1500)^2 - 2000 = 4750$$
4. Approximate total profit = $\$4750 - \$180 = \boxed{\$4570}$. In context: a 60-latte sales increase will decrease total monthly profit by approximately \$180.

## Common pitfalls

- **Wrong:** Writing the linearization as $L(x) = f(a) + f'(a)x$ instead of $L(x) = f(a) + f'(a)(x-a)$, omitting the $(x-a)$ term.
  - Why it fails: Students misremember the formula and forget it is derived from point-slope form of a line.
  - Correct: Always start from point-slope form $(y - f(a)) = f'(a)(x-a)$, then rearrange to get $L(x)$.
- **Wrong:** Choosing $a$ as the input you want to approximate instead of a nearby known point (e.g., approximating $\sqrt{15}$ by choosing $a=15$ instead of $a=16$).
  - Why it fails: Students misread the problem and forget the purpose of $a$ is to have an exactly known value of $f(a)$.
  - Correct: Always pick the closest round number to your unknown input where you can compute $f(a)$ exactly.
- **Wrong:** Forgetting the chain rule when differentiating composite functions for linearization (e.g., writing the derivative of $e^{3x}$ as $e^{3x}$ instead of $3e^{3x}$).
  - Why it fails: Students rush through differentiation after setting up the problem and skip the chain rule step.
  - Correct: After calculating any derivative for linearization, double-check that you applied the chain rule for composite inner functions.
- **Wrong:** Claiming a linear approximation is accurate for a point far from $a$.
  - Why it fails: Students assume linearization works everywhere, not just locally.
  - Correct: After calculating an approximation, check how far your input is from $a$, and explicitly note that accuracy decreases as distance from $a$ increases.
- **Wrong:** Writing $\Delta y = dy$ instead of $\Delta y \approx dy$, treating the approximation as exact.
  - Why it fails: Students forget that $dy$ is a linear approximation, not the actual change.
  - Correct: Always use an approximation symbol when relating $\Delta y$ to $dy$, and explicitly state the relationship is approximate for small $dx$.
- **Wrong:** Confusing the measured value of a quantity with its error in differential error problems (e.g., using $dr = 10$ cm instead of $dr = 0.1$ cm in the balloon example).
  - Why it fails: Students mix up which value corresponds to the input and which corresponds to the error.
  - Correct: Label all variables before substituting: $r$ = measured input, $dr$ = error in $r$.

## Cheatsheet

| Category | Formula | Notes |
| --- | --- | --- |
| Local Linearity Property | Near $x=a$, $f(x) \approx$ tangent line | Only applies to differentiable functions at $x=a$ |
| Linearization at $x=a$ | $L(x) = f(a) + f'(a)(x-a)$ | $a$ must be a point with known $f(a)$ and $f'(a)$ |
| Linear Approximation | $f(x) \approx L(x)$ | Only accurate for $x$ very close to $a$ |
| Differential of $y = f(x)$ | $dy = f'(x) dx$ | $dy$ approximates the change in $y$ |
| Actual vs Approximate Change | $\Delta y = f(x+dx) - f(x) \approx dy$ | $\Delta y$ is exact, $dy$ is approximate |
| Max Absolute Error | $\|\text{Error}\| \approx \|f'(x) dx\|$ | $dx$ = maximum error in input |
| Relative Error | $\frac{\|dy\|}{\|f(x)\|}$ | Unitless error proportional to quantity size |
| Percentage Error | $100 \times \frac{\|dy\|}{\|f(x)\|}$ | Error expressed as a percentage |

## What's next

Local linearity and linearization is the foundational prerequisite for the next core topics in AP Calculus AB Unit 4. The immediate next topic is related rates, which relies on the idea of differentials (small linear changes) to relate the rates of change of connected quantities; without understanding that $\Delta y \approx dy = f'(x) dx$, you will struggle to set up related rate equations correctly. This topic also introduces the core idea of approximating complicated nonlinear functions with simple linear models, which underpins all applied calculus in science, economics, and engineering, and prepares you for later topics like curve sketching and optimization.

- [L'Hopital's Rule for Indeterminate Forms](https://www.owlsprep.com/study/ap-calculus-ab-u4-l-hopital-s-rule-for/)
- [Analytical Applications of Differentiation Overview](https://www.owlsprep.com/study/ap-calculus-ab-u5-overview/)
- [Mean Value Theorem (MVT)](https://www.owlsprep.com/study/ap-calculus-ab-u5-mean-value-theorem/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-calculus-ab-u4-local-linearity-and-linearization/
