Guozhen AIGlobal AI field notes and model intelligence

English translation

Define the function

Published:

Category: AI Calculus for Beginners

Read time: 4 min

Reads: 0

Lesson #7Views are counted together with the original Chinese articleImages are preserved from the source page

Concept Map: Definition and Geometric Meaning of Derivatives

A derivative is the instantaneous rate of change obtained by compressing a change down to an infinitesimally small scale. Geometrically, it corresponds to the slope of the tangent line to a curve at a given point.

Verification Diagram: Definition and Geometric Meaning of Derivatives

I interpret derivative results as “change in output per unit change in input,” rather than merely writing symbolic answers.

In the previous article, we discussed function continuity and differentiability. To deepen our understanding of derivatives and differentials, today we will explore the definition of the derivative and its geometric meaning. The derivative is a foundational concept in calculus—it provides a powerful tool for analyzing how functions change.

Definition of the Derivative

The fundamental definition of the derivative describes the instantaneous rate of change of a function at a specific point. Given a function f(x)f(x), suppose we wish to compute its derivative at a point x=ax = a. By definition, the derivative is expressed as:

Derivative Geometric Interpretation Flashcard

When learning the definition of the derivative, first observe how the slope of a secant line approaches that of the tangent line. Linking rates of change directly to the shape of the graph builds deeper intuition than memorizing the limit formula alone.

f(a)=limh0f(a+h)f(a)hf'(a) = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h}

Here, hh represents a very small increment; f(a+h)f(a + h) is the function value near aa, and f(a)f(a) is the function value at aa. The value of this limit—provided it exists—is the derivative of ff at aa, commonly denoted f(a)f'(a).

Example

Consider the function f(x)=x2f(x) = x^2. We want to compute its derivative at a=3a = 3. Using the definition above:

f(3)=limh0f(3+h)f(3)hf'(3) = \lim_{h \to 0} \frac{f(3 + h) - f(3)}{h}

Substitute the expression for f(x)f(x):

f(3)=limh0(3+h)232hf'(3) = \lim_{h \to 0} \frac{(3+h)^2 - 3^2}{h}

Expand and simplify:

=limh09+6h+h29h=limh06h+h2h=limh0(6+h)=6= \lim_{h \to 0} \frac{9 + 6h + h^2 - 9}{h} = \lim_{h \to 0} \frac{6h + h^2}{h} = \lim_{h \to 0} (6 + h) = 6

Thus, f(3)=6f'(3) = 6, meaning the instantaneous rate of change of f(x)=x2f(x) = x^2 at x=3x = 3 is 6.

Geometric Meaning of the Derivative

The derivative is not merely an algebraic construct—it carries profound geometric significance. Specifically, the derivative at a point equals the slope of the tangent line to the graph of the function at that point. If we draw the tangent line at x=ax = a, its slope is precisely f(a)f'(a).

Calculus Reading Roadmap Card

While reading “Derivatives and Differentials: Definition and Geometric Meaning of the Derivative”, treat the accompanying diagrams as navigation cards: first grasp the overall logical flow, then examine why each step follows, and finally verify boundary conditions.

Connection Between Tangents and Derivatives

Recall the graph of f(x)=x2f(x) = x^2: a upward-opening parabola. At x=3x = 3, the tangent line has slope 66, indicating that near x=3x = 3, changes in the function’s output are approximately proportional to changes in input—with proportionality factor 66.

On the graph, the equation of the tangent line is:

yf(a)=f(a)(xa)y - f(a) = f'(a)(x - a)

Substituting f(3)=9f(3) = 9 and f(3)=6f'(3) = 6, we obtain:

y9=6(x3)y - 9 = 6(x - 3)

or equivalently,

y=6x9y = 6x - 9

This line is the tangent to the function at x=3x = 3.

Code Example

We can also visualize this process programmatically using Python and the matplotlib library:

import numpy as np
import matplotlib.pyplot as plt

# Define the function
def f(x):
    return x**2

# Derivative function (analytically derived)
def f_prime(a):
    return 2 * a

# Set x-range
x = np.linspace(0, 6, 100)
y = f(x)

# Plot the function
plt.plot(x, y, label='$f(x) = x^2$')

# Compute tangent line at x = a
a = 3
slope = f_prime(a)
y_tangent = slope * (x - a) + f(a)

# Plot the tangent line
plt.plot(x, y_tangent, label=f'Tangent at $x={a}$', linestyle='--')

# Mark the point (3, f(3))
plt.scatter([a], [f(a)], color='red')
plt.text(a, f(a), f'({a}, {f(a)})', fontsize=12, verticalalignment='bottom')

plt.title('Function and Tangent Line')
plt.xlabel('$x$')
plt.ylabel('$f(x)$')
plt.legend()
plt.grid()
plt.axhline(0, color='black', linewidth=0.5, ls='--')
plt.axvline(0, color='black', linewidth=0.5, ls='--')
plt.show()

Application Review Card: Derivatives and Differentials — Definition and Geometric Meaning

If you haven’t fully internalized “Derivatives and Differentials: Definition and Geometric Meaning of the Derivative”, revisit this card and walk through its four key actions step-by-step.

Application Check Card: Derivatives and Differentials — Definition and Geometric Meaning

When reviewing “Derivatives and Differentials: Definition and Geometric Meaning of the Derivative”, avoid tackling large projects all at once. Instead, start with one simple example to confirm whether the core logic is clear.

Summary

In this article, we thoroughly examined both the formal definition of the derivative and its geometric interpretation. The derivative quantifies the instantaneous rate of change of a function at a point—and simultaneously manifests visually as the slope of the tangent line to the function’s graph. In upcoming sections, we will introduce more advanced topics—including rules of differentiation and derivatives of elementary functions—to help you build a comprehensive mastery of this essential calculus concept.

Continue

Keep reading from here

Browse English site

Reader Messages

Reader messages

Questions, corrections, extra sources, or hands-on results can be left here. No login is required.

Max 800 characters

To reduce spam, each message is checked for length, link count, and posting frequency.

0/800

Messages

0 messages
Loading messages...