Professional Documents
Culture Documents
1.1
1
Functions Given by
Formulas
Summary
Chapter Review
Exercises
The heights of winning pole vaults in the Olympic Games
can be modeled by functions. See Exercise 2 on page 29.
The Quick Reference section
of your Technology Guide
We look first at functions given by formulas, since this provides a natural context for
explaining how a function works.
2 The
parentheses in functional notation indicate the dependence of the function on the variable. They do not represent multiplication. For example,
M(30) is not the same as M × 30.
1.1 Functions Given by Formulas 21
Part 1: Use functional notation to show the cost of buying 4 apples, 2 sodas, and 3 pizzas, and
then calculate that cost.
Part 2: Explain the meaning of G(2, 6, 1).
Solution to Part 3: We calculate G(2, 6, 1) just as we did in part 1, but this time we use a = 2,
s = 6, and p = 1:
G(2, 6, 1) = 0.6 × 2 + 0.5 × 6 + 3.25 × 1
= 7.45 dollars .
Thus the cost is $7.45.
Even when the formula for a function is complicated, the idea of how you use it
remains the same. Let’s look, for example, at f = f (x), where f is determined as a
function of x by the formula
x2 + 1
f = √ .
x
22 Chapter 1 Functions
You should check 1.1 to see that the calculator gives an answer of 5.773502692, which
we round to 5.77. Do not allow formulas such as this one to intimidate you. With the aid
of the calculator, it is easy to deal with them.
Solution to Part 2: We borrow $5000, so we use P = 5000. The monthly interest rate is 0.58%, so
we use r = 0.0058, and we pay off the loan in 3 years, or 36 months, so t = 36. In functional
notation, the monthly payment is M(5000, 0.0058, 36). To calculate it we use
FIGURE 1.2 Completing
the calculation 5000 × 0.0058 × 1.005836
M(5000, 0.0058, 36) = .
1.005836 − 1
3 Herewe are assuming monthly payment and interest compounding. If you use the annual percentage rate (APR) reported on your loan agreement,
then you have r = APR
12 . See also Exercise 12 at the end of the Prologue.
1.1 Functions Given by Formulas 23
Once again we make the calculation in two stages. First 1.4 we get 1.005836 − 1 as
shown in Figure 1.3. As before, we use this answer to complete the calculation 1.5 as
follows:
5000 × 0.0058 × 1.005836
.
Answer from the first calculation
The result in Figure 1.4 shows that we will have to make a monthly payment of $154.29.
1.0058^36-1 1.0058^36-1
.2314555099 .2314555099
5000*.0058*1.005
8^36/Ans
154.2940576
Another common way of presenting a function such as this one is with a table
of values:
x 1 2 3 4
f (x) 2 4 6 8
If we see a table such as this, we can interpret it as a function, provided that the
elements of the top row are distinct. The top row is the domain, the bottom row is
the range, and the columns give the function correspondence. We shall look more
closely at functions given by tables in the next section.
It is not necessary that all the elements of the range be used up, and there may
be several elements of the domain assigned to a single element of the range. The
following correspondence also gives a function from D to R, even though 4 is
used three times and 6 and 8 aren’t used at all:
1 −→ 2
2 −→ 4
3 −→ 4
4 −→ 4 .
In this case, it would also be correct to say that this correspondence defines a
function with domain D and range {2, 4}.
On the other hand, a function is not allowed to leave out elements of the
domain, nor may it assign the same element of the domain to more than one
element of the range. Thus the following assignment is not a function from D to
R. It fails to satisfy the definition on two counts, either of which would disqualify
it. The number 4 is in the domain but is assigned to nothing, and 3 is assigned to
both 6 and 8.
1 −→ 2
2 −→ 4
3 −→ 6
3 −→ 8 .
When functions are given by formulas, the domain and range may not be
specified. Consider the function f given by the formula f (x) = 1/x. If, as in this
example, we do not specify the domain or the range, then the domain is assumed to
be all real numbers for which the formula makes sense, and the range is assumed to
be all real numbers y such that f (x) = y for some x. In order to find the domain for
such a formula, it is usually best to work backwards. That is, we locate the numbers
for which the formula does not make sense. In the case of 1/x, the formula does not
make sense when x = 0, because division by 0 is not defined. Thus the domain
for this function is all real numbers except 0. In this case the range is also all
real numbers except 0, but even for relatively simple formulas, the range may be
difficult to determine.
1.1 Functions Given by Formulas 25
√
As another example, consider f (x) = x. This formula does not make sense
as a real number if x is a negative number, so the domain is all real numbers greater
than or equal to 0.
For many common formulas, we can find the domain by ruling out numbers
that cause division by 0 or result in the square root of a negative number. As a final
example, consider the formula
x2 + x + 1
f (x) = √ .
(x − 3) x − 1
To find the domain, we look for trouble spots. The numerator causes no trouble
since the formula x 2 + x + 1 makes sense for any number x. The denominator,
however, needs a closer look. Using x = 3 or x = 1 will cause division by 0, and
using any number less than 1 will result in the square root of a negative number.
Thus the domain is the set of all real numbers greater than 1 excluding 3.
Enrichment Exercises
E-1. Determining when a correspondence is a function: Let D = {1, 2, 3, 4},
and let R = {5, 6, 7, 8}. Which of the following correspondences define a
function f with domain D and range R? Be sure to explain your answers.
a. 1 −→ 8 b. 1 −→ 8
2 −→ 7 2 −→ 8
3 −→ 5 3 −→ 5
4 −→ 6 4 −→ 6
c. 1 −→ 8 d. 1 −→ 8
1 −→ 5 2 −→ 7
2 −→ 7 4 −→ 6
3 −→ 5
4 −→ 6
E-2. Finding the domain: Find the domain of the function given by each of the
following formulas.
x4 + x − 2 x−5
a. f (x) = b. f (x) =
7 (x − 4)(x + 6)
√
x−8 √ √
c. f (x) = d. f (x) = x − 3 + x − 4
x − 10
E-3. Functions on other sets: Although the most common functions dealt with
in mathematics involve numbers, some do not. The definition of a function
remains the same. Each element of the domain must be assigned to a unique
element of the range. Which of the following correspondences are functions?
a. Define D to be the set of all U.S. presidents and R the set of all last names.
Let f : D → R be the assignment
f ( President ) = Last name of president .
b. Let D and R be as above, and let f : R → D be the assignment
f ( Last name ) = President with that last name .
➞
26 Chapter 1 Functions