AM01 Calculus of One Variable Handout
AM01 Calculus of One Variable Handout
AM01 Calculus of One Variable Handout
Christoph Vanberg
University of Heidelberg
Department of Economics
1 of 15
One variable calculus Part 1
▶ Functions in R1
▶ Graph of a function
▶ Derivative at a point
▶ Differentiability and continuity
One (and two) variable calculus is intuitively accessible because we can draw graphs. This
is not possible when we analyse models with more than two variables. So one goal of
this lecture will be for us to learn how to express intuitive graphical concepts in analytical
terms.
2 of 15
Functions in R
Definition: We use the symbol R to denote the set of real numbers. (Sometimes
we may also write R1 .)
f :D→R
3 of 15
Graphs
{(x, y ) ∈ D × R : f (x) = y }
We say that a function is increasing if its graph slopes up from left to right.
Analytically,
Definition: A function f is (strictly) increasing if x2 > x1 ⇒ f (x2 ) > f (x1 ). It is
(strictly) decreasing if x2 > x1 ⇒ f (x2 ) < f (x1 ).
A maximum is a point such that the graph slopes up to its left and down to its
right. Analytically,
Definition: x0 is a local maximum of the function f if there exists an open
interval (a, b) such that x0 ∈ (a, b) and f (x0 ) ≥ f (x) for all x ∈ (a, b).
Definition: x0 is a global maximum of the function f if f (x0 ) ≥ f (x) for all
x ∈ D.
4 of 15
Neighborhoods and Limits
For what follows, we will need concepts that capture notions of ‘closeness’.
We first define what it means for two numbers to be ‘close’ to one another:
Definition: Let x0 , ϵ ∈ R with ϵ > 0. The open ball of radius ϵ centered at x0 ,
written Bϵ (x0 ) is the set of real numbers whose distance to x0 is (strictly) less
than ϵ:
Bϵ (x0 ) = (x0 − ϵ, x0 + ϵ)
Then we want to describe the idea that a function value f (x) approaches (gets
closer and closer to) a certain value as x approaches to some x0 :
Definition: Let f be a function in R and let x0 , c ∈ R. We say that c is the limit
of f (x) as x tends to x0 if for any ϵ > 0 there exists a δ > 0 such that
5 of 15
Continuity
Graphically, a function is continuous if its graph has no gaps.
Analytically,
Definition: A function f : D → R is continuous at x0 ∈ D if
6 of 15
Linear functions and slope
f (x) = a + bx
The slope of a linear function is the same no matter where (at which point x0 )
we start.
7 of 15
Nonlinear functions and slope
▶ The slope (rate of change) of a nonlinear function changes as we move
along the x axis.
▶ We define the slope of a nonlinear function f at a point x0 ∈ D to be the
slope of the tangent line to the graph of f at the point (x0 , f (x0 )).
▶ Graphically, the tangent line, is defined as the limit of a sequence of
secant lines connecting the point (x0 , f (x0 )) to the point
(x0 + h, f (x0 + h)) for h tending to zero.
▶ The tangent line is uniquely defined only if this sequence of secant lines
has an unambiguous limit.
8 of 15
Nonlinear functions and slope
Again, we translate this into an analytical statement:
Definition: Let (x0 , f (x0 )) be a point of the graph of y = f (x). The derivative
of f at x0 is the slope of the tangent line to the graph of f at (x0 , f (x0 )), given
by
f (x0 + h) − f (x0 )
f ′ (x0 ) = lim
h→0 h
provided that this limit exists. If so, we say that f is differentiable at x0 .
0 f (x +h)−f (x )
0
Exercise: Let g (h) = h
with f (x) = x 2 . Use our definition of the limit to find
the limit of g as h tends to zero.
Answer: It’s simple to establish that g (h) = 2x0 + h, and therefore we would guess that its limit as h → 0 is 2x0 . To
see that this is true, take any ϵ > 0. We need to find δ such that 0 < |h| < δ ⇒ |g (h) − 2x0 | = |h| < ϵ. Clearly,
any δ ∈ (0, ϵ] does the trick.
9 of 15
Approximation by derivatives
The derivative of f at x0 can be used to approximate the change in y associated
with a change in x.
10 of 15
Rules of differentiation
▶ Power rule:
f (x) = x k ⇒ f ′ (x) = kx k−1
▶ Product rule:
▶ Quotient rule:
▶ Chain rule:
f (x) = g (h(x)) ⇒ f ′ (x) = g ′ (h(x))h′ (x)
11 of 15
Differentiability
We have already learned
Definition: A function f : D → R is differentiable at x0 ∈ D if the limit
f (x0 + h) − f (x0 )
lim
h→0 h
exists. If f is differentiable at all points in D, we say that it is differentiable.
Graphically, a function is differentiable if its graph is is smooth (no kinks or gaps)
and its tangent line is never vertical.
The easiest way to understand this is to look at examples of functions that are
not differentiable.
12 of 15
Differentiability
Example 1:
f (x) = |x|
13 of 15
Differentiability
Example 2: √
f (x) = x
etc. up to C ∞
15 of 15