Representation and Types of Functions: 1 in This Section
Representation and Types of Functions: 1 in This Section
Representation and Types of Functions: 1 in This Section
Chapter 0
August 1999
1 In this section
In this section, you will review some concepts from algebra. We will define function. Each function has both a domain
and a range. Functions can be described via a rule (usually an equation), numerically (through a list or table of values)
or graphically.
Besides knowing the basic concepts, it is essential that we become comfortable working with several common
classes of functions. These include polynomial, trigonometric, exponential and logarithmic functions. Each of these
is described.
There are also a variety of ways that two functions can be combined to obtain new functions. In fact, the ability
to recognize complex functions as combinations of simple functions is a skill that we hope to develop throughout the
course.
2 Introduction
The study of relationships between different quantities is central to modern science. In fact, we encounter such
relationships in our everyday experiences. What is the cost of gasoline per gallon, or bananas per pound? How much
cotton (corn, wheat) can we produce per acre cultivated? What is the relationship between the freezing (or boiling)
point of water and the salinity/mineral content? The study of calculus is primarily the study of these relationships; in
particular, we will study how the change in the amount (value) of one quantity affects the value of another (related)
quantity.
In most applications, many quantities may be related. (The cost of gasoline or bananas, for example, is affected
by many variables.) In this course, we will usually limit our discussion to the simpler case of only 2 variables, one
depending on the other. The ideas we develop here extend to the more general case, however, and you will see this
when you take a course in multivariate or vector calculus.
1
f (2) = 4, f (10) = 100, f (−3) = 9. This suggests that we might make a table listing input and output values.
x f (x)
1 1
2 4
3 9
4 16
5 25
This leads us to an alternate definition of a function.
Definition 2: A function f is a set of ordered pairs (x, f (x)), whose first coordinates come from a set A (the
domain of f ) and whose second coordinates come from a set B (the range of f ), with the property that, for each
x ∈ A, there is only one f (x) ∈ B for which (x, f (x)) is in f .
Questions (true or false):
The range of the square function is the set {0, 1, 4, 9, ...}
The set of ordered pairs {(1, 1), (2, −3), (−4, 1)} is a function.
The daily high temperature is a function of the date.
(For answers to these questions, see the end of this document.)
4 Representation of functions
We represent functions in 3 primary ways: by equations, tables and graphs. We have already considered both equations
and tables for the function defined by the equation f (x) = x2 , the “square” function. We may also present this function
through a graph.
Note that we have only shown a small part of the graph of this function. We can specify what portion of the graph
we wish to view. Here is another piece of the picture.
Our choice of presentation, in this case, depends on what aspects of the function we wish to emphasize. In other
cases, the presentation may depend on how we have “discovered” the function.
2
Figure 2: Graph of f (x) = x2 on the interval [20, 25].
where aj is a constant, j = 0, 1, ..., n. The highest power that appears in the equation defining a polynomial is its
degree.
For example,
f (x) = x3 + x2 − 1
is a third degree polynomial. The coefficient of the highest power is the leading coefficient of the polynomial (in this
case, 1).
A related class of functions are the rational functions, which can be constructed by taking roots and/or quotients
of polynomials. A simple, but important, example is the square root function, defined by the rule
√
f (x) = x.
.
Another important class of rational functions can be expressed as quotients of polynomials. For example,
x2 + x − 3
R(x) = .
x3 + 1
More complicated examples can easily be constructed.
3
Figure 3: Graph of y = sin(x) on the interval [0, 2π].
4
Figure 5: y = 2 sin x on [0, 2π].
(f ◦ g) (x) = f (g(x)) .
That is, we first apply the function g to x, then apply f to g(x). So, if f (x) = x2 and g(x) = sin x, we will have
(f ◦ g) (x) = f (g(x))
= f (sin x)
2
= (sin x)
(g ◦ f ) (x) = g (f (x))
= g x2
= sin x2 .
5
Figure 7: The graphs of y = x2 − 1 and y = x2 + 1.
In the previous section, we discussed both horizontal and vertical shifts of functions. Suppose that h(x) = x + c.
Then the composite function
(f ◦ h) (x) = f (h(x))
= f (x + c)
(f ◦ g) (x) = (g ◦ f ) (x) = x.
6
the square function f (x) = x2 does not have an inverse, since any positive number√has two distinct square roots.
However, if we restrict the domain of f to the nonnegative reals, the function g(x) = x will be an inverse for f.
The number 2 is called the base of this exponential function. We can consider exponential functions with any
positive base.
The most important is the natural exponential function exp, with base
e = exp(1) ≈ 2.7182818284590452353602874713526624977572470937000
The inverse of the natural exponential function is called the natural logarithm, denoted ln(x), or by tradition, simply
ln x. Since exp(x) > 0 for all x, the natural logarithm will have domain (0, ∞). Here is a plot of y = ln x on the
interval [1/10, 10].
The graph of y = ln x has a vertical asymptote at x = 0 (the y− axis).
7
Figure 10: y = ln x
True. On any given day (in any one location), their is a single high temperature. Measuring that temperature
precisely may not be easy, and it is certainly the case that temperatures can fluctuate, even across town. But, picking a
single location to measure the temperature, it is the case that there is only high temperature on any day.