Tangent Line Approximation and Local Linearity

The Tangent Line Approximation

Motivating Questions & Core Concepts

  • Formula for General Tangent Line Approximation: The equation for the tangent line approximation to a differentiable function f at point (a, f(a)) is \mathbf{y - f(a) = f'(a)(x - a)} or \mathbf{y = f'(a)(x - a) + f(a)}.

  • Principle of Local Linearity: When a function f is differentiable at a point x = a, if you zoom in sufficiently close to that point, the graph of the function becomes indistinguishable from its tangent line at that point. The function "looks linear" up close.

  • Local Linearization: The local linearization of a differentiable function f at a point (a, f(a)) is a new function, denoted as L(x), which is simply another name for the tangent line. Its formula is \mathbf{L(x) = f'(a)(x - a) + f(a)}. For x values near a, the function f(x) is approximated by its local linearization: \mathbf{f(x) \approx L(x)}.

  • Information from Tangent Line Approximation: Knowing the tangent line approximation L(x) at a point (a, f(a)) provides two key pieces of information about the original function f(x) at that point:

    • The value of the function: L(a) = f(a).

    • The slope of the function: L'(a) = f'(a).

  • Information from the Second Derivative: Knowing the value of the second derivative, f''(a), at the point of approximation provides additional knowledge about the behavior (concavity) of the original function and whether the tangent line approximation is an overestimate or underestimate:

    • If f''(a) > 0 (function is concave up at x=a), the tangent line lies below the curve, so L(x) \le f(x). The approximation is an underestimate.

    • If f''(a) < 0 (function is concave down at x=a), the tangent line lies above the curve, so L(x) \ge f(x). The approximation is an overestimate.

    • If f''(a) = 0 and changes sign, it indicates an inflection point, meaning the concavity changes at x=a. In this case, the tangent line might cross the curve.

Introduction to Local Linearity (1.8.1)

  • Simplest Functions: Linear functions are the easiest to work with.

  • Power of Differentiability: A function f being differentiable at a point a implies it is locally linear near a. This means that very close to a, the function's graph resembles its tangent line.

  • Advantages of Approximation: Using a simpler linear function to approximate the original function f(x) is beneficial when:

    • Information about f(x) is limited.

    • f(x) is computationally or algebraically complex.

  • Recalling Derivative as Slope: When f is differentiable at x=a, f'(a) gives the slope of the tangent line to f at the point (a, f(a)).

  • Equation of Tangent Line (Point-Slope Form): Given a point (a, f(a)) and the slope f'(a), the equation of the tangent line is \mathbf{y - f(a) = f'(a)(x - a)}.

The Tangent Line (1.8.2)

  • Formal Equation: For a function f differentiable at x=a, the tangent line at (a, f(a)) is given by:
    \mathbf{y - f(a) = f'(a)(x - a)}
    This can be rewritten as:
    \mathbf{y = f'(a)(x - a) + f(a)}

  • Distinguishing Constants and Functions:

    • f(a) is a constant value resulting from evaluating f(x) at the specific fixed x=a.

    • f(x) is the general expression defining the function.

    • Similarly, f'(a) is the constant slope at x=a.

    • f'(x) is the general derivative function.

  • Important Note: When finding a tangent line, it is crucial to evaluate both the function and its derivative at the specific, fixed x-value (the point of tangency).

The Local Linearization (1.8.3)

  • Definition: The local linearization of f at (a, f(a)) is denoted by L(x), and it is defined as:
    \mathbf{L(x) = f'(a)(x - a) + f(a)}

  • Approximation: For values of x near a, the function f(x) can be approximated by its local linearization: \mathbf{f(x) \approx L(x)}.

  • Graphical Interpretation (Figure 1.8.1): When observing a function and its tangent line from a distance, they appear distinct. However, upon zooming in (magnifying the view near the point of tangency), the function's graph and its tangent line become nearly indistinguishable, clearly illustrating the principle of local linearity.

  • Key Properties of L(x) at x=a:

    • L(a) = f'(a)(a - a) + f(a) = f(a). The linearization has the same value as the function at a.

    • L'(x) = f'(a) (since it's a linear function, its derivative is its slope). Therefore, L'(a) = f'(a). The linearization has the same slope as the function at a.

  • Conclusion: The local linearization L(x) is a linear function that shares both the same value and the same slope as the function f(x) at the point of tangency (a, f(a)).

Shape of the Function and Second Derivative (1.8.3 continued)

  • Beyond Value and Slope: While L(x) tells us the height and slope of f(x) at the point of tangency, it doesn't immediately reveal the shape of f(x) (e.g., whether it's curving up or down).

  • The Role of the Second Derivative: The second derivative, f''(a), provides this additional information about the function's concavity at x=a, which determines the function's shape relative to its tangent line.

  • Four Possibilities (as shown in Figure 1.8.3):

    1. f''(a) > 0 (Concave Up): The graph of f is concave up at x=a. The tangent line lies entirely below the curve. This means L(x) \le f(x), and the tangent line approximation underestimates the true value of f(x).

    2. f''(a) < 0 (Concave Down): The graph of f is concave down at x=a. The tangent line lies entirely above the curve. This means L(x) \ge f(x), and the tangent line approximation overestimates the true value of f(x).

    3. f''(a) = 0 and changes sign (Inflection Point): The concavity of the graph changes at x=a. The tangent line will cross the curve.

    4. f(x) is linear: If the function itself is linear (e.g., f(x) = mx + b), then f(x) = L(x) for all x, and f''(x) = 0 everywhere.

Applications of Local Linearity (1.8.4)

  • Estimating Complex Values: Local linearity allows a computationally simple way to estimate values of functions near a known point.

  • Root-Finding Algorithms: The idea that a differentiable function looks linear near a point is fundamental to developing effective algorithms for estimating the zeroes of a function (e.g., Newton's Method, a topic studied in second-semester calculus).

  • Evaluating Challenging Limits: Local linearity can help make sense of certain indeterminate limits. For example, for the limit \lim_{x \to 0} \frac{\sin(x)}{x}:

    • The function f(x) = \sin(x) at the point (0,0) has a local linearization L(x) = x.

    • For x near 0, \sin(x) \approx x.

    • Therefore, \frac{\sin(x)}{x} \approx \frac{x}{x} = 1 for x \ne 0.

    • This makes \lim_{x \to 0} \frac{\sin(x)}{x} = 1 plausible.

  • Accuracy of Approximation: The accuracy of the tangent line approximation L(x) to f(x) generally decreases as x moves further away from the point of tangency a. The second derivative value, f''(a), also helps explain which function might be better approximated by L(x): a function with a smaller absolute value of f''(a) at the tangency point generally experiences less curvature, making the linear approximation more accurate over a larger interval.

Summary of Key Concepts (1.8.4)

  • Tangent Line Equation: For a differentiable function f at (a, f(a)):
    \mathbf{y - f(a) = f'(a)(x - a)}

  • Local Linearity Principle: Differentiable functions appear linear when viewed closely (zoomed in).

  • Local Linearization Function: The tangent line is renamed L(x), where:
    \mathbf{L(x) = f(a) + f'(a)(x - a)}

  • Approximation: For x near a, \mathbf{f(x) \approx L(x)}.

  • Information from L(x). From L(x), we know the function's value and slope at x=a:

    • L(a) = f(a)

    • L'(a) = f'(a)

  • Information from f''(a). Knowing f''(a) allows us to determine the concavity of f(x) at x=a, and whether the tangent line lies above (overestimate if concave down, f''(a) < 0) or below (underestimate if concave up, f''(a) > 0) the graph of f(x).