























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























































Remark. These are notes for Section 5 of Math 1110, taught at Cornell University during the spring semester of 2009. This is a first-semester course in single variable calculus. These notes are only meant to supplement reading from the textbook, not
- Class Notes for Math 1110, Section - Spring-5 -2.5 0 2.5 5
-2.
Figure 1: The circle is the graph of the equation x^2 + y^2 = 1. The other curve is the graph of the equation y^2 = x^3 − x + 1, called an elliptic curve.
Notice that it is a minor miracle that the graphs of most equations we encounter form nice curves. If you randomly start coloring in points in the plane, there’s no particular reason to think that they would form a curve.
1.2.2 Equations that are functions
The simplest kind of equation is one where one of the variables is alone on one side of the equation. y = x^2 − 1
In this equation, the value of y is completely determined by the value of x. We say that “y is a function of x”, and we can write y(x) = x^2 − 1, or y = f (x) where f (x) = x^2 − 1. There are many different notations. Because each value of x determines a specific value of y, the graph of an equation involving x and y where y is a function of x will have a particularly nice prop- erty. Above each value on the x-axis, there can be at most one point on the graph. Otherwise, there would be two values of y that correspond to a single value of x. Another way to characterize this property is called the vertical line test. An equation gives y as a function of x if and only if it is impossible to draw a vertical line in the plane going through more than one point on the graph. For instance, notice that the circle pictured in Figure 1 fails the Vertical Line Test, so it cannot be the graph of a function.
The concept of a function actually encompasses things much more general than just those defined by equations.
Notation. A set is a collection of objects. An element is an object in a set. The notation “a ∈ A” means “a is an element of the set A”. The notation “B ⊂ A” means that “the set B is a subset of the set A”, which simply means that every element of B is also an element of A. We denote the set of real numbers by the symbol R. The set of real numbers includes all integers, fractions of integers, square roots, cube roots, et cetera. It also includes transcendental numbers, like π and e. The real numbers exactly consist of all possible decimal numbers, terminating and non-terminating, repeating and non-repeating. The real numbers fill up the entire number line. Non-examples of real numbers include, but are not limited to, the imaginary unit i =
−1, all complex numbers such as 2 + 3i, and me, Timothy Goldberg. Also, apples are not real numbers.
Example 1.1. Consider the open interval (− 1 , 3), which consists of all real numbers x such that − 1 < x < 3. Then 0 ∈ (− 1 , 3), and (− 1 , 3) ⊂ R.
Definition 1.2. A function f between two sets A and B is any assignment of an element f (a) ∈ B to each element a ∈ A. We use the notation “f : A → B” to denote such a function. The set A of inputs is called the domain of f , and the set B of outputs is called the codomain of f. The set of elements of B which actually appear as outputs of f is called the range, or image of f , denoted by f (A). (This notation is meant to remind you that the range is what you get by dumping the entire domain into the function.) Of course, f (A) ⊂ B. For later reference, the symbol “:=” means “is defined to be equal to”, whereas “=” just means “is equal to”.
It may be silly to have separate concepts for the codomain and the range. Why don’t we only use the range, the set of things that can actually come out of the
Remark 1.4. A very important point to keep in mind is that when we write down a formula for a function, like f (x) = cos(x^2 ), the variable we use doesn’t matter. For this reason, it is sometimes called a dummy variable. The following formulae all define the same function. cos(x^2 ), cos(z^2 ), cos(θ^2 ), cos
, cos
Given two real-valued functions f, g : A → R defined on some set A ⊂ R, because we can add, subtract, multiply, and divide real numbers, we can construct several new functions.
(f + g)(x) := f (x) + g(x) (f − g)(x) := f (x) − g(x) (f · g)(x) := f (x) · g(x) (f /g)(x) := f (x) g(x)
The domains of f +g, f −g, and f ·g are all A, just like those of the original functions. But since division by zero is undefined, the domain of f /g is the set
{x ∈ A such that g(x) 6 = 0}.
This way of constructing new functions should be very familiar to you, so I won’t include any example. A more general way of creating new functions, one which does not depend on the functions being real-valued, is function composition. Let A, B, and C be sets, and let f : A → B and g : B → C be functions. Their composition is the function g ◦ f : A → C defined by (g ◦ f )(a) := g (f (a))
for all a ∈ A. Notice that if you want to form the composition g ◦ f of two functions, you have to be sure the output of the inner function f is allowed to be an input of the outer function g.
Example 1.5.
Let f (x) = sin x and g(x) = x^2 + 1. Then
(f ◦ g)(x) = f (g(x)) = f
x^2 + 1
= sin
x^2 + 1
and (g ◦ f )(x) = g (f (x)) = g (sin x) = (sin x)^2 + 1 = sin^2 x + 1.
The last way of constructing new functions from old that we will describe is piecewise-defined functions. In a piecewise-defined function, the domain is bro- ken up into several pieces, and each piece is assigned a function. Consider the following formula.
f (x) =
x^2 if x < 0 3 x if 0 ≤ x < 2 − 2 x + 10 if x ≥ 2
This represents a function f : R → R whose domain is split up into three pieces:
(−∞, 0), [0, 2), and [2, ∞).
When you plug a particular value of x into f (x), the formula you use to evaluate it depends on which piece of the domain contains that value of x. So
f (−1) = (−1)^2 = 1, f (1) = 3(1) = 3, and f (3) = −2(3) + 10 = −6 + 10 = 4.
We will now give two important examples of piecewise-defined functions.
Example 1.6.
|x| =
x if x ≥ 0 −x if x < 0
A little thought, and perhaps working through a couple of examples, will show that this definition agrees with the usual definition of the absolute value of a number x as the distance between x and 0, or as the number x written without its sign.
Today’s topic is Limits of Functions. To ease into this topic, consider the function f (x) = x (^2) − 3 x+ x− 2. We can factor the numerator and write
f (x) = x^2 − 3 x + 2 x − 2
(x − 2)(x − 1) x − 2
It is incredibly tempting to cancel the factor x − 2 from the numerator and denomi- nator, leaving the function x−1. The question is, what is the difference between the functions (x−2)( x−x 2 −1)and x − 1? For any value of x except x = 2, these two functions have the same value. For x = 2, the first function is undefined but the second simply evaluates to 2 − 1 = 1. So the only difference between the two functions is their domains. Therefore, the graph of y = f (x) looks exactly like the graph of y = x − 1, except that it is missing the point (2, 1). See Figure 2.
-5 -2.5 0 2.5 5
-2.
Figure 2: The graph of f (x) = (x−2)( x−x 2 − 1). It is exactly the line y = x − 1 with a hole at the point (2, 1).
Even though the function f is not defined at 2, we can ask about its behavior near 2. We can ask about the behavior of the values of f (x) as the number x approaches 2. From our work above, we see that the value of f (x) will approach 1. To record this fact, we use the notation
xlim→ 2 f^ (x) = 1,
which is read as “the limit of f (x) as x goes to 2 is 1”.
In order to ask about the behavior of a function f (x) as x approaches a particular number a ∈ R, it is evidently not necessary for f to be defined at a, but it is important that f be defined for all numbers near a. Specifically, in order to ask about the limit
xlim→a f^ (x),
we require that there be an open interval I ⊂ R such that a ∈ R, and such that f is defined on the set I − {a}.
Remark 2.1.
(− 1 , 2) − { 0 } = {x ∈ R such that − 1 < x < 2 and x 6 = 0}.
Let a ∈ R.
xlim→a x^ =^ a. (Notice that a is a particular number, while x is a dummy variable for both the limit and the function of which we are taking the limit.)
In the end, all we really did was plug the value x = 5 into the function. The only thing that could have gone wrong is if the denominator had ended up being equal to zero. This is exactly how one proves the following theorem.
Theorem 2.3. Let f be a rational function which is defined at the number a ∈ R. Then
x^ lim→a f^ (x) =^ f^ (a).
What if we are trying to calculate the limit lim x→a f (x) of a rational function f (x) that
isn’t defined at x = a? Usually, the answer is to try some algebraic manipulation.
Example 2.4.
lim x→ 2 x^2 − 3 x + 2 x − 2
Answer. We saw above that x (^2) − 3 x+ x− 2 =^
(x−2)(x−1) x− 2 , and hence^
x^2 − 3 x+ x− 2 =^ x^ −^1 for all x ∈ R − { 2 }. Since the limit at 2 only cares what happens near 2, and not at 2, we know that
lim x→ 2 x^2 − 3 x + 2 x − 2 = lim x→ 2 (x − 2)(x − 1) x − 2 = lim x→ 2 x − 1 = 2 − 1 = 1.
In general, if we can perform an algebraic manipulation that only changes our function at a finite number of points, then the limit will remain the same.
lim x→a
1 x −^
1 a x − a
Answer. This actually is a rational function, because it can be re-written in the correct form. The trick is to combine the fractions in the numerator by
finding a common denominator. We calculate
lim x→a
1 x −^
1 a x − a
= lim x→a
a a ·^
1 x −^
x x ·^
1 a x − a = lim x→a
a ax −^
x ax x − a = lim x→a
a ax −^
x ax x − a = lim x→a
a−x ax x − a = lim x→a
−(x − a) (x − a)(ax) = lim x→a −
ax
a^2
Note that our final answer doesn’t make sense if a = 0.
xlim→ 4
x − 2 x^2 − 16
Answer. There are certainly several different ways to do this, but the one that comes first to my mind is to multiply the numerator by its conjugate. Of course, to balance the fraction we must multiply the denominator by the same thing. We calculate
xlim→ 4
x − 2 x^2 − 16 = (^) xlim→ 4
x − 2 x^2 − 16
√x^ + 2 x + 2 = lim x→ 4
x − 2)(
x + 2) (x^2 − 16)(
x + 2) = (^) xlim→ 4
x − 4 (x − 4)(x + 4)(
x + 2) = (^) xlim→ 4
(x + 4)(
that |x| =
x if x ≥ 0 −x if x < 0
. Hence
|x − 2 | =
x − 2 if x − 2 ≥ 0 −(x − 2) if x − 2 < 0
x − 2 if x ≥ 2 −(x − 2) if x < 2
It follows that
|x − 2 | x^2 + x − 6
x− 2 x^2 +x− 6 if^ x^ ≥^2 −(x−2) x^2 +x− 6 if^ x <^2
x− 2 (x−2)(x+3) if^ x^ ≥^2 −(x−2) (x−2)(x+3) if^ x <^2
1 x+3 if^ x^ ≥^2
− (^) x+3^1 if x < 2
Therefore lim x→ 2 +^ f (x) = lim x→ 2 +
x + 3
and lim x→ 2 −^ f (x) = lim x→ 2 −^
x + 3
The relationship between one-sided limits and full limits is quite simple. When we write lim x→a f (x) = L, we mean that the limit of f (x) as x approaches a in any way
whatsoever is L. Since the only ways that x can approach a is from above or from below, we know the following fact.
Fact 2.6.
lim x→a f (x) = L exactly if lim x→a+^ f (x) = L AND lim x→a−^ f (x) = L.
What exactly do we mean when we write
xlim→a f^ (x) =^ L?
Intuitively, we mean the following two things.
These conditions amount to the following working definition.
We write “lim x→a f (x) = L” if the value of f (x) can be made arbitrarily close to L by making x sufficiently close to a.
We measure the closeness of two numbers by calculating the distance between them, and we do this by taking the absolute value of their difference. So f (x) and L are close to each other exactly when |f (x) − L| is very small. So we can rewrite our working definition as follows.
We write “lim x→a f (x) = L” if the distance |f (x) − L| can be made arbitrarily small by making the number |x−a| sufficiently small.
The terms “arbitrarily small” and “sufficiently small” are still not very precise. They basically mean, if you tell me how small you want |f (x) − L| to be, I can tell you how small you need to make |x − a| in order to make that happen. There’s a succinct way to write this in mathematical language.
Figure 3: The graph of a function f (x) satisfying the condition: “if |x − a| < δ then |f (x) − L| < ”.
Just as we can ask about the behavior of a function f (x) as x gets infinitely close to a number a, we can ask about its behavior as x gets infinitely large.
Definition 3.3. We say the limit of f (x) as x approaches infinity is L, written
xlim→∞ f^ (x) =^ L,
if f (x) can be made arbitrarily close to L by taking x sufficiently large. Similarly, we say the limit of f (x) as x approaches negative infinity is L, written
x→−∞lim f^ (x) =^ L,
if f (x) can be made arbitrarily close to L by taking x sufficiently large in the negative direction.
Example 3.4. Consider the function f (x) = (^) x^1. When you divide 1 by a huge number you get a
small result, and the huger the number is the smaller the result. Hence lim x→∞
x
The same thing holds if you divide 1 by a hugely negative number, so (^) x→−∞lim
x
also. These facts are evident from the graph of (^) x^1 , shown in Figure 4. The laws of limits we listed previously hold for limits at infinity as well. Hence, for (^) x^12 = (^1) x · (^1) x , for (^) x^13 = (^1) x · (^1) x · (^1) x , and in general for (^) x^1 p for any positive integer p, we have
x→±∞lim
xp^
This will prove to be an extremely valuable fact.
-5 -2.5 0 2.5 5
-2.
Figure 4: The graph of (^1) x , which demonstrates that limx→±∞ (^) x^1 = 0. If we want to be more precise about how the function approaches 0, we could write limx→∞ (^1) x = 0+ and limx→−∞ (^1) x = 0−, although usually this isn’t necessary.
Definition 3.5. The horizontal line y = L is a horizontal asymptote of f (x) if limx→∞ f (x) = L or limx→−∞ f (x) = L, or both.
Since there are only two infinite limits to check, a function can have at most two horizontal asymptotes. It could instead have no horizontal asymptotes, or it could have only one. If a function has just a single horizontal line as an asymptote, it could be an asymptote in the ∞ direction only, in the −∞ direction only, or in both directions at once. An example of this last situation is the function (^1) x , which has y = 0 as a horizontal asymptote in both directions. The graph of a function can cross its horizontal asymptote any number of times, including infinitely-many. For example, see Figure 5.
Example 3.6.