Professional Documents
Culture Documents
In this course we will be dealing a lot with the Cartesian plane (also called the xy-plane),
so this section should serve as a review of it and its properties.
y-axis
6
Quadrant 2 Quadrant 1
- x-axis
Quadrant 3 Quadrant 4
The xy-plane is divided into 4 quadrants by the x-axis and y-axis. Each point in the xy-
plane is represented by an ordered pair (x, y). If we have two points (x1 , y1 ), (x2 , y2 ) in the
xy-plane, then:
the distance d between them is found using the Pythagorean theorem. The formula is:
p
d = (x1 x2 )2 + (y1 y2 )2
the midpoint between them is found by averaging the x-coordinates and then averaging
the y-coordinates. The formula is:
x1 + x2 y1 + y2
P = ,
2 2
P s(x1 , y1 )
A
A
AU
d s |y1 y2 |
s
(x2 , y2 ) |x1 x2 |
solution:
6
@
@
@
@ y=x
y = x @
@
@
@ -
?
Example: Graph the function y = |x| 2.
solution: The effect of the 2 is to shift the graph down 2 units:
Terminology:
x-intercepts - place or places where the graph crosses the x-axis. There could be several
or none. To find the x-intercept for y = f (x), solve f (x) = 0.
y-intercept - where graph crosses the y-axis. To find, set x = 0. Note that the graph
of a function can have at most one y-intercept.
straight lines
parabolics
absolute values
Examples:
y-intercept at (0, 3)
x-intercept - none. Why?
y-intercept - x = 0 y = 2
2
x-intercept - y = 0 x = 3
a) Find equations for C(x), the total cost and R(x), the total revenue, where x is the
number of units.
Note that this model is extremely oversimplified. As the course progresses, we will see more
realistic examples.
solution:
a) C(x) = |{z}
6000 + |6.50x
{z }
initial cost cost for x units
R(x) = 13.90x
b) To find the breakeven point, set C(x) = R(x) and solve for x.
C(x) = R(x)
y = mx + b where m is the slope of the line and bis the y-intercept of the line.
To find the slope using two points (x1 , y1 ) and (x2 , y2 ), use
y y2 y1 change in y
m= = =
x x2 x1 change in x
(assuming x1 6= x2 )
Examples:
1. Find an equation of the line passing through (3, 6) and (1, 2).
solution: First, get slope:
y 26 4
m= = = = 1
x 1 (3) 4
Thus the line has equation y = 1x + b. Now we can plug either of the points into
this equation and solve for b. To substitute the point (3, 6) into the equation, we let
x = 3 and y = 6:
6 = (1)(3) + b b = 3
So y = x + 3.
1
2. Find an equation for the line with slope 6
through the point (1, 5).
solution: They give us the slope, so we need to only find b. We plug the point (1, 5)
into y = 61 x + b and solve:
1 29
5 = (1) + b b =
6 6
Therefore an equation of the line is y = 16 x + 29
6
.
Exercise: Notice that in the above two examples we asked for an equation of the line in
question this implies that there are others. Can you think of any more?
Example: Suppose you are a contractor, and have purchased a piece of equipment for
$26,500. The equipment costs $5.25 per hour for fuel and maintenance. The operator of
the equipment is paid $9.50 per hour.
a) Write a linear equation (that is, an equation for a line) giving the total cost C(t) of
operating equipment for t hours.
b) You charge your customers $25/hr. Find an equation for revenue R(t).
d) Find the number of hours you must operate before breaking even.
b) R(t) = 25t.
P (t) = R(t) C(t) = 25t 26, 500 14.75t = 10.25t 26, 500
d) To find the break-even point, we set R(t) = C(t). Notice that this is the same as
setting P (t) = 0.
25t = 26, 500 + 14.75t
10.25t = 26, 500
t 2585.4 hours.
1.4 Functions
In the expression
y = f (x) = x2 + 3
we say that x is the independent variable and that y is the dependent variable.
A function is a relationship between two variables such that to each value of the inde-
pendent variable there corresponds exactly one value of the dependent variable. This is a
rewording of what you may know as the so-called vertical line test for functions.
The domain of a function is the set of all values of the independent variable for which the
function is defined.
Examples:
Domain = {x | x 6= 1}
solution: Here we need to make sure that whats inside the square root is non-negative.
So,
2x 3 0
3
x
2
So the domain is [ 23 , ). Note that 32 is included. The graph looks like:
Related to the domain is the range, which is the set of all y-values a function could possibly
take.
Composites
If f and g are functions, then their composite, denoted f g, is defined to be f (g(x)). In
other words, apply g to x and then apply f to the result.
Example: If f (x) = 1 + x2 and g(x) = 2x 1, then
So f g 6= g f , in general.
Inverses
Two functions f and g are inverses of each other if f (g(x)) = x and g(f (x) = x. Normally,
g is denoted f 1 . So,
f f 1 (x) = x
f 1 f (x) = x
1 1
f (f 1 (x)) = f ( x + 2) = 6 3( x + 2) = 6 + x 6 = x
3 3
You must also check that f 1 (f (x)) = x as well (exercise!)
Some functions have inverses and some dont. A function is said to be one-to-one if no
two x-values get sent to the same y-value. If a function is one-to-one, then it passes the
so-called horizontal line test: any horizontal line in the xy-plane will only intersect the
function once. It is a fact that if a function is one-to-one on its domain, then it has an
inverse there.
x1
Example: Find the inverse of y = 2x+7
.
solution: The way to find the inverse of a function is to have x and y switch places and
then solve for y. Thus we solve:
y1
x= x(2y + 7) = y 1
2y + 7
2xy + 7x = y 1
2xy y = 7x 1
y(2x 1) = 7x 1
7x 1 7x + 1
y= =
2x 1 1 2x
Thus if f (x) = x1
2x+7
, then f 1 = 7x+1
12x
.
1.5 Limits
Definition 1.1 If f (x) becomes arbitrarily close to the number L as x approaches c from
both sides, then we write
lim f (x) = L
xc
lim f (x) = 3
x
One-sided limits
In these cases you just approach from one side or the other.
Example: Suppose f (x) has the following graph:
Note the closed and open circles. In this case, they mean that the value of f at 2 is 5. Here,
If both the left and right limits exist and are equal, then limxc f (x) = L
If they both exist but are not equal, then the ordinary (or two-sided) limit does not exist.
So in the above picture, limx2 f (x) does not exist.
Example: Suppose f (x) has the following graph:
Here, limx3+ f (x) = 1 and limx3 f (x) = 1. Why? We dont care about the value
of f at 3, only about values near 3. So, since limx3+ f (x) and limx3 f (x) both
exist and are equal, we have limx3 f (x) = 1. (Even though f (3) = 2!)
Frequently, it is the case that limxc f (x) = f (c). In other words, to calculate the limit,
you can just plug c into the function. But, this is not always the case, as seen by the last
example.
Examples:
5. lim x = c
xc
h in
6. lim [f (x)]n = lim f (x)
xc xc
h i1/n
7. lim [f (x)]1/n = lim f (x) assuming the nth root exists
xc xc
From these it is easy to see that if f (x) is any polynomial, then limxc f (x) = f (c).
Note how much easier it is to calculate limits with the formula limxc f (x) = f (c) than
with a table.
Examples:
4x5
2. Evaluate limx1 3x
solution:
4x 5 limx1 (4x 5) 4(1) 5 9
lim = = =
x1 3 x limx1 (3 x) 3 (1) 4
x3 1
3. Evaluate limx1 x1
.
solution: In this case, I cannot just plug in 1 because that would make the denominator
0. But note that when we plug 1 into the numerator we also get 0. This means that
x 1 must be a factor of x3 1.
In other words we can write x3 1 = (x 1)h(x) where h(x) is some polynomial.
To find h(x) we do long division
x2 + x + 1
x1 x3 1
(x3 x2 )
x2 1
(x2 x)
x1
(x 1)
0
4. Show that
|3x|
lim
x0 x
does not exist.
solution: To do this, we show that the two one-sided limits are different.
First, lets compute limx0 . Thus we are considering negative values of x. For
negative values of x, |3x| = 3x, so
|3x| 3x
lim = lim = lim 3 = 3
x0 x x0 x x0
Now, lets compute limx0+ . In this case we are considering positive x, so |3x| = 3x.
Thus,
|3x| 3x
lim+ = lim+ = lim 3 = 3
x0 x x0 x x0
From the graph (and our intuition) we can see that the function approches 0 as x
approaches . In other words,
1 1
lim = 0 = lim
x x x x
1 1
lim+ = , lim =
x0 x x0 x
Strictly speaking, these limits dont exist because are not numbers. Instead,
whenever we write that a limit as x approaches c is , we are saying that the
function is unbounded as x c. When this happens, we say that f (x) has a
vertical asymptote at x = c.
1.6 Continuity
Recall that if f (x) is a polynomial, then limxc f (x) = f (c). These types of limits are easy
to calculate. This leads to the following definition.
Definition 1.2 Let c (a, b) and f (x) a function whose domain contains (a, b). then the
function f (x) is continuous at c if
1. f (c) is defined,
2. the limit exists, and
3. the two are equal.
Intuition:
The graph of a continuous function is one that has no holes, jumps, or gaps. It can be
drawn without lifting the pencil. This is intuition only.
Example:
These are the three basic ways something can fail continuity.
Examples:
3. Consider
x2 1
f (x) = .
x1
Lets graph it. f (x) is undefined at x = 1. If x 6= 1, we get
x2 1 (x + 1)(x 1)
= = x + 1 this is a line.
x1 x1
So the graph is
4. The function
1
g(x) =
+1 x2
2
is continuous everywhere because x + 1 is never 0.
7. Now consider (
|x 2| + 3 x < 0
f (x) =
x+5 x0
This function is clearly continuous everywhere except possibly at x = 0. Lets check
x = 0.
lim f (x) =?
x0
Again, we look at one-sided limits:
Note: we are not skipping 4.1 this section of notes presents them both at the same time.
Definition 4.1 If a > 0 and a 6= 1, then the exponential function with base a is given by
f (x) = ax .
1. a0 = 1
2. ax ay = ax+y
3. (ax )y = axy
4. (ab)x = ax bx
ax
5. ay
= axy
ax
6. ( ab )x = bx
7. ax = 1/ax
Its possible to prove that this limit exists, but its not obvious.
1. Exponential growth; ex
2. Exponential decay; ex
3. More generally, if a > 0,
If a < 1,
Here are some sample calculations you should be able to do with exponents (see p#297):
2. a)
3
1 1 1
= 3 =
3 5 125
b)
1/3
1 1
=
8 2
c)
2
(64)2/3 = (64)1/3 = 42 = 16
f)
5
45/2 = 41/2 = 25 = 32
You should be able to do these calculations on a test without the aid of a calculator.
Compounding Interest
Suppose I invest $1 in a bank that pays 100% interest. Clearly, at the end of one year, I
will have $2 (it is also clear that I should be investing much more than $1).
But suppose instead that after 6 months I withdraw my money and immediately re-invest
it. How much money will I have at the end of the year?
After 6 months, we have $1.50. If we then reinvest this at 100% interest for the rest of the
year, we get
1
$1.50 1 + = $2.25
2
The 12 term above corresponds to the interest rate (100% or 1.00) divided by the number
of times we compounded in the year. So by getting interest on the interest we got from the
first 6 months, we ended up with more money at the end of the year. What happens if we
compound it more often?
Consider this table:
# of times $ after
compounded 1 year (approx)
1 2
2 2.25
3 2.37
4 2.44
20 2.65
100 2.70
10000 2.72
Note that:
The more times you compound, the more money you make. However, the amount of
increase gets less and less.
The numbers on the right hand side approach a limit. Can you see what it is?
Why? You start with P dollars. When it is time for the first compounding, you multiply
by 1 + nr (you would normally multiply by 1 plus the interest rate, but since only an nth
of the year has passed we have to divide the interest rate by n). After each compounding,
you multiply by another 1 + nr .
Example: Suppose you start with an initial deposit of $2500 with an annual interest rate
of 5%. How much do you have after 20 years if you compound yearly? Every 6 months?
Every 3 months? Every month? Every day?
solution: The ns for each other above cases are n = 1, 2, 4, 12, 365. So the solutions can be
filled into this chart:
n A(t)
1 2500(1 + 0.05)20 6633.24
40
2 2500 1 + .05 2
80
4 2500 1 + .05 4
240
12 2500 1 + .0512
.05 7300
365 2500 1 + 365
Note: on tests you will not be expected to simplify these numbers.
Continuous Compounding
This process of compounding repeatedly has a limit at n . This is called continuous
compounding. Lets find this formula: we will do it for t = 1.
r n
A = lim P 1 +
n n
r n
= P lim 1 +
n n
If we let x = r/n, then n = r/x. Then as n , x 0, so we have
A = P lim (1 + x)r/x
hx0 ir
1/x
= P lim (1 + x)
x0
r
= P e
In general, we have that if P is the inital amount and r is the rate, then with continuous
compounding
A(t) = P ert
4.4 Logarithms
This graph passes the horizontal line test, so f (x) = ex is one-to-one and therefore has an
inverse function. This is also true of f (x) = ax for any a > 0, a 6= 1.
More generally, for any a > 1 the graph of ax and its inverse look like this. If f (x) = ax ,
then we define the inverse function f 1 to be the logarithm with base a, and write
Note that, since the image of ax is only the positive numbers, the domain of loga (x) is all
positive real numbers. The key property is:
loga x = b ab = x
Examples:
log10 10 = 1 10? = 10
log5 25 = 2 5? = 25
log4 12 = 12 4? = 12
1 1
log5 125 = 3 5? = 125
log equation corresponding
exponential equation
Log Rules
The most important case of logs is when b = e. Log base e has a special name, in fact
we define loge x = ln(x). So the above becomes
Other rules: (I will state for ln, but they work for every log). Suppose that x, y > 0
4. ln(xy ) = y ln(x)
Calculations:
3
e3 ln(x) = eln(x ) = x3
1
ln = ln(e1 ) = 1
e
Rewrite the following:
xy
ln = ln(xy) ln(z) = ln(x) + ln(y) ln(z)
z
2000 = 1000(1.05)t
2 = 1.05t
We have to solve this for t. The general principle we use is that if we are trying to solve
for a variable in the exponent, take log of both sides. So we get
ln(2) = ln(1.05t )
ln(2) = t ln(1.05)
In this last point we see the point of using logs - the exponent can be brought down and
solved for. So,
ln(2)
t= 14.21 years.
ln(1.05)
ln(2)
Note that this is a very typical test/exam question. The answer I would expect is t = ln(1.05)
.
Example 2: Same question, but now interest is compounded 10 times a year.
solution: By our formula,
10t
.05
A(t) = 1000 1 + = 1000(1.005)10t
10
Again, we solve A(t) = 2000.
2000 = 1000(1.005)10t
2 = 1.00510t
ln(2) = ln(1.00510t )
ln(2) = 10t ln(1.005)
Therefore,
ln(2)
t= 13.9 years.
10 ln(1.005)
Example 3: Same question, but now interest is compounded continuously.
solution: By our formula,
A(t) = 1000e.05t
Again, we solve A(t) = 2000.
2000 = 1000e.05t
2 = e.05t
ln(2) = ln(e.05t )
ln(2) = .05t
Therefore,
ln(2)
t= 13.86 years.
.05
Notice that continuous compounding gives a kind of best case scenario no amount of
compounding will get your money to double faster than approximately 13.86 years.