Professional Documents
Culture Documents
FLPnotes PDF
FLPnotes PDF
1. Functions
Definition. A function is a rule that assigns every object in a set X a new object in a set Y .
There are many ways to think of functions: a machine that eats a number and spits out another number,
a graph, or a mapping between X and Y . They are useful in social sciences because the value/quantity
of one object often depends on the value/quantity of another. A function can describe that relationship
mathematically.
Example. The map f (x) = x2 is a function from R to R. It takes in real numbers as its input, and outputs
their square. Notice that the output is a single value for every specific input.
A function does not have to be defined by a single rule as in the previous example. Piece-wise functions
is not a function, because it does not a assign a single value to x = 2 (or any other value of x between 0 and
10).
Example. Suppose you have a (completely fictional) data set that looks at a school’s budget and average
test scores.
Annual School Budget in USD Average ACT Score
656, 247 24
700, 255 25
923, 456 26
1
2 MPP MATH CAMP 2017
This gives you a function from X = {budget amounts} to Y = {ACT scores}. By analyzing this function,
you may be able to determine if there is a relationship between budget and average test score.
Definition. If f is a function from X to Y , then X is called the range of f . The domain of f is the set of
Our domains and ranges will usually be intervals on the real number line. These are denoted as follows:
Sometimes, the domain of a function is not made explicitly clear. In this case, the implicit domain is the
Since we can’t take the square root of a negative number, this is only defined when x−1 ≥ 0. Equivalently,
we need x ≥ 1. So the implicit domain of f is [1, +∞), and its range is [0, +∞)
Functions can be put together in several ways. We can add and multiply functions, for example:
f (x)
h(x) = f (x) + g(x), k(x) = f (x) · g(x), j(x) = .
g(x)
Notice that the range of h, k, and j will depend on the ranges and domains of f and g.
√
Example. Let f (x) = x − 1 and g(x) = (x + 1)2 + 10. Find the (implicit) domain and range of h(x), k(x),
and j(x).
Domain Range
this with more exciting functions. As before, the domain and range of a composition of functions depends
√
Example. Let f (x) = x − 1 and g(x) = (x + 1)2 + 10. If h(x) = f (g(x)) and k(x) = g(f (x)), then find the
Domain Range
Identity f (x) = x R R
Constant f (x) = c R R
Review: Exponentials and Logs For any real number a and natural number n, we define
a−n · an = 1. In other words, a−n = a1n . We define a1/n so that (a1/n )n = 1. In other words,
√
a1/n = n a. Then for irrational x, we define ax so that f (x) = ax is continuous.
aloga (b) = a.
Notice that if a (x) = ax , then loga ◦ expa (x) = expa ◦ loga (x) = x, whenever these are
defined.
• ax · ay = ax+y
• ax /ay = ax−y
• (ax )y = axy .
2. Limits
The difference between algebra and calculus comes down to limits - the analysis of the behavior of a
function as it approaches some point (which may or may not be in the domain of the function!). This comes
up in the real world all the time: any time a model uses “ideal” conditions, we are looking at a limit.
The key idea in limits is to get steadily closer approximations, and look at the pattern made by these
approximations. The first example of this principle in action comes from the Greeks, who approximated the
area of a circle using successively smaller triangles. However, the method wasn’t formalized until the 19th
Definition. A function f has a limit L at a if for all > 0 there exists a δ > 0 such that 0 < |x − a| < δ
lim f (x) = L.
x→a
Example. The following simple functions have limits (everywhere). We can prove the following statements
But we can also use some simple properties of limits to make some calculations easier.
Theorem 2.1. (Algebraic Properties of Limits) If limx→a f (x) = F and limx→a g(x) = G, then
Example. We can prove the following using the algebraic properties of limits.
• limx→0 x2 + 3 = 3
x− 4
• limx→2 x2 −5x+6
√
x−1
• limx→1 x−1
6 MPP MATH CAMP 2017
Sometimes, we only know (or care) about half of our function. In these cases, we may want to consider
one-sided limits.
Definition. A function f has a right- (left-)handed limit L at a if for all > 0, there exists a δ > 0 such
that 0 < x − a < δ (0 < a − x < δ) implies |f (x) − L| ≤ . We denote the right- and left- handed limits by
respectively.
Note that a function has a limit L at a if and only if both the right- and left-handed limits of f at a are
L.
• limx→+∞ 0 = 0
1
• limx→+∞ x =0
1
if [x] is even,
• Let f (x) = Then limx→+∞ f (x) does not exist.
−1
if [x] is odd
FUNCTIONS, LIMITS, AND CONTINUITY NOTES 7
3. Continuity
Intuitively, a function is continuous if you can draw its graph without picking up your pencil. If you want
Note that for a function to be continuous at a point c, limx→c f (x) and f (c) must exist! A function which
is not continuous at a point c has a discontinuity at c. There are different types of discontinuity.
Notice, however, that a function may have more than one discontinuity. In fact, a function can have
Definition. A function is continuous on an open interval (a, b) if it is continuous at c for all c ∈ (a, b). A
function is continuous on a closed interval [a, b] if, additionally, the right- and left-handed limits exist at a
The functions f (x) = ax and f (x) = loga (x) are continuous everywhere on their domains.
Example. The function f (x) = loga (x2 − 1) is continuous on (1, +∞). It is not continuous on [1, +∞)