English translation
Define symbolic variable
A tangent line approximates a curve locally by a straight line; the rate of change tells you how sensitive the output is to small changes in the input near a given point.
I’ll verify that the tangent line passes through the point on the original function. Even if the slope is correct, an incorrect point yields an incorrect tangent equation.
In the previous article, we explored the fundamental concepts of derivatives and differentials, along with differentiation rules and derivatives of basic functions. In this article, we delve into practical applications of derivatives and differentials—specifically, how to use them to find tangent lines and analyze rates of change.
The Concept of Tangent Lines
A tangent line is a straight line that touches a curve at a single point and captures the curve’s local behavior there. Geometrically, if we draw a tangent line at the point , its slope equals the derivative of the function at that point, denoted .
When solving tangent line or rate-of-change problems: first identify the function and the point of interest; then compute the derivative, evaluate it at that point, and interpret the meaning of the slope.
Equation of a Tangent Line
The equation of the tangent line can be written using the point-slope form:
Here, is the function value at , and is the derivative evaluated at that point.
Example: Finding the Tangent Line Equation
Consider the function . Let’s find the equation of the tangent line at .
-
Compute the function value:
-
Compute the derivative:
-
Write the tangent line equation:
Simplifying gives:
Thus, the tangent line to the curve at the point is .
Rates of Change
A rate of change quantifies how quickly one quantity changes relative to another. Mathematically, instantaneous rates of change are expressed via derivatives. Specifically, for a function , the rate of change at is precisely the derivative .
After reading Applications of Derivatives and Differentials: Tangents and Rates of Change, don’t stop at “I understand.” Go back and manually work through one step—then note where you get stuck. This reflection will make future learning more solid.
Example: Velocity as a Rate of Change
Suppose an object’s position over time is described by . We want to find its velocity (i.e., the instantaneous rate of change of position) at time .
-
Differentiate the position function to obtain the velocity function:
-
Evaluate velocity at :
Therefore, the object’s velocity at is 14 units per time unit.
Python Implementation: Derivatives and Tangent Lines
We can use the SymPy library to compute derivatives and plot tangent lines. Below is a simple Python example demonstrating how to calculate a derivative and visualize the corresponding tangent line.
import numpy as np
import matplotlib.pyplot as plt
import sympy as sp
# Define symbolic variable
x = sp.symbols('x')
# Define function
f = x**2
# Compute derivative
f_prime = sp.diff(f, x)
# Specify point of tangency
a = 1
f_a = f.subs(x, a)
f_prime_a = f_prime.subs(x, a)
# Tangent line function
def tangent_line(x_val):
return f_prime_a * (x_val - a) + f_a
# Generate data points
x_vals = np.linspace(-2, 3, 100)
y_vals = [f.subs(x, val) for val in x_vals]
tangent_vals = [tangent_line(val) for val in x_vals]
# Plot
plt.figure(figsize=(10, 6))
plt.plot(x_vals, y_vals, label='y = x^2', color='blue')
plt.plot(x_vals, tangent_vals, label='Tangent: y = 2x - 1', color='red', linestyle='--')
plt.scatter(a, f_a, color='green') # Point of tangency
plt.title('Relationship Between Tangent Line and Function')
plt.xlabel('x')
plt.ylabel('y')
plt.axhline(0, color='black', linewidth=0.5, ls='--')
plt.axvline(0, color='black', linewidth=0.5, ls='--')
plt.grid()
plt.legend()
plt.show()
Code Explanation
- We use
SymPyto define the quadratic function and compute its derivative. - Using the specified point of tangency , we evaluate both the function and its derivative to construct the tangent line equation.
- Finally, we use
matplotlibto plot the original function and its tangent line.
When reviewing Applications of Derivatives and Differentials: Tangents and Rates of Change, place key concepts, procedural steps, and observable outcomes side-by-side on a single page for efficient review.
When practicing Applications of Derivatives and Differentials: Tangents and Rates of Change, write the input conditions, computational steps, and resulting outputs together—this makes future self-checking easier.
Summary
In this article, we examined practical applications of derivatives and differentials—particularly in determining tangent lines and analyzing rates of change. We learned how to derive tangent line equations and interpret derivatives as instantaneous rates of change. These ideas are essential for understanding functional behavior and lay the groundwork for upcoming topics in integral calculus. In the next article, we will introduce the fundamental concepts and applications of integration.
Continue