Functions and limits — the mathematics of nearness
The Chemical Hook: When two argon atoms approach each other, what happens to the potential energy? At large distances, they barely interact. At intermediate distances, they attract. At very short distances, they repel violently. The whole story of chemistry is written in this curve of "as r approaches..."
1. Functions: The Language of Dependence
1.1 What Is a Function?
A function is a rule that assigns to each input exactly one output. We write:
$$f: X \to Y$$
$$x \mapsto f(x)$$
"For each element x in the domain X, there is exactly one element f(x) in the codomain Y."
Definition (Function): A function f from set X to set Y is a rule that assigns to each element x ∈ X a unique element f(x) ∈ Y. X is the domain, Y is the codomain, and the set of all outputs {f(x) : x ∈ X} is the range.
1.2 Functions in Chemistry
Input (Domain)
Output (Range)
Function
Distance r between atoms
Potential energy V
V(r) — Lennard-Jones potential
Substrate concentration [S]
Reaction rate v
v([S]) — Michaelis-Menten
Temperature T
Fraction in excited state
Boltzmann distribution
Time t
Concentration [A]
[A](t) — kinetics
Interactive: Function Grapher
3x
Domain
ℝ
Range
[0, ∞)
Zeros
x = 1
1.3 Key Properties of Functions
Continuity: Small changes in input produce small changes in output (no jumps)
Monotonicity: Always increasing or always decreasing
Boundedness: Outputs stay within a finite range
Periodicity: Function repeats at regular intervals
2. Limits: The Mathematics of Approach
2.1 The Intuition
The limit captures what happens as we get arbitrarily close to a point, without necessarily reaching it.
Question: What is the value of sin(x)/x when x = 0?
Direct substitution gives 0/0 — undefined! But watch what happens as x approaches 0...
Interactive: Limit Explorer
1.00
f(x) = sin(x)/x
0.841
Limit as x→0
1.000
Distance from limit
0.159
2.2 Formal Definition
Definition (Limit): We say limx→a f(x) = L if for every ε > 0, there exists δ > 0 such that: