1 Ee
1 Ee
Four Ways to Represent a A. The area A of a circle depends on the radius r of the
1.1 Function circle. The rule that connects r and A is given by the
equation A = r 2. With each positive number r there is
associated one value of A, and we say that A is a
function of r.
1 2
1 2
3 4
3 4
8/30/2023
Vertical ground acceleration during the A symbol that represents an arbitrary number in the domain
Northridge earthquake of a function f is called an independent variable.
Figure 1
5 6
5 6
It’s helpful to think of a function as a machine Thus we can think of the domain as the set of all possible
(see Figure 2). inputs and the range as the set of all possible outputs.
7 8
7 8
8/30/2023
9 10
Figure 4 Figure 5
11 12
11 12
8/30/2023
Figure 6
The notation for intervals is given in Appendix A.
{y | –2 y 4} = [–2, 4]
13 14
13 14
Representations of Functions
There are four possible ways to represent a function:
15 16
15 16
8/30/2023
Figure 13 17 18
17 18
x = y2 – 2
Figure 14(a)
Figure 14(b) Figure 14(c)
19 20
19 20
8/30/2023
Representations of Functions
We observe that if we reverse the roles of x and y, then the
equation x = h(y) = y2 – 2 does define x as a function of y
(with y as the independent variable and x as the dependent
variable) and the parabola now appears as the graph of the
function h.
Piecewise Defined Functions
21 22
21 22
A function f is defined by On the other hand, if x > –1, then the value of f(x) is x2.
Evaluate f(–2), f(–1), and f(0) and sketch the graph. Since 0 > –1, we have f(0) = 02 = 0.
Solution:
How do we draw the graph of f ? We observe that if x –1,
Remember that a function is a rule. For this particular
then f(x) = 1 – x, so the part of the graph of f that lies to the
function the rule is the following:
left of the vertical line x = –1 must coincide with the line
y = 1 – x, which has slope –1 and y-intercept 1.
First look at the value of the input x. If it happens that
x –1, then the value of f(x) is 1 – x.
23 24
23 24
8/30/2023
For example,
Figure 15
|3| = 3 |– 3| = 3 |0| = 0 | – 1| = –1
The solid dot indicates that the point (–1, 2) is included on
the graph; the open dot indicates that the point (–1, 1) is |3 – | = – 3
excluded from the graph. 25 26
25 26
Solution:
From the preceding discussion we know that
x if x 0
(Remember that if a is negative, then –a is positive.) |x| =
–x if x < 0
27 28
27 28
8/30/2023
0.88 if 0 < w 1
1.05 if 1 < w 2
C(w) = 1.22 if 2 < w 3
1.39 if 3 < w 4
Figure 16
29 30
29 30
Example 10 cont’d
Symmetry
Figure 18
You can see why functions similar to this one are called
step functions—they jump from one value to the next.
31 32
31 32
8/30/2023
Symmetry Symmetry
If a function f satisfies f(–x) = f(x) for every number x in its This means that if we have plotted the graph of f for x 0,
domain, then f is called an even function. For instance, we obtain the entire graph simply by reflecting this portion
the function f(x) = x2 is even because about the y-axis.
An even function
Figure 19
33 34
33 34
Symmetry Example 11
The graph of an odd function is symmetric about the origin Determine whether each of the following functions is even,
(see Figure 20). odd, or neither even nor odd.
(a) f(x) = x5 + x (b) g(x) = 1 – x4 (c) h(x) = 2x – x2
Solution:
(a) f(–x) = (–x)5 + (–x) = (–1)5x5 + (–x)
= –x5 – x = –(x5 + x)
An odd function
Figure 20
= –f(x)
If we already have the graph of f for x 0, we can obtain
the entire graph by rotating this portion through 180 about Therefore f is an odd function.
the origin.
35 36
35 36
8/30/2023
Figure 21
37 38
37 38
Figure 22
39 40
39 40
8/30/2023
Figure 23
41 42
41 42
Polynomials
A function P is called a polynomial if
is a polynomial of degree 6.
43 44
43 44
8/30/2023
Polynomials Polynomials
A polynomial of degree 1 is of the form P(x) = mx + b and Its graph is always a parabola obtained by shifting the
so it is a linear function. parabola y = ax2. The parabola opens upward if a > 0 and
downward if a < 0. (See Figure 7.)
A polynomial of degree 2 is of the form P(x) = ax2 + bx + c
and is called a quadratic function (二次函數).
45 46
Polynomials
A polynomial of degree 3 is of the form
P(x) = ax3 + bx2 + cx + d a0
and is called a cubic function (三次函數). Figure 8 shows
the graph of a cubic function in part (a) and graphs of
polynomials of degrees 4 and 5 in parts (b) and (c). Power Functions (冪函數)
Figure 8 47 48
47 48
8/30/2023
49 50
51 52
8/30/2023
53 54
Power Functions
(iii) a = –1
The graph of the reciprocal function (倒數函數) f(x) = x –1
= 1/x is shown in Figure 14. Its graph has the equation y =
1/x, or xy = 1, and is a hyperbola with the coordinate axes
as its asymptotes.
Rational Functions (有理函數)
55 56
8/30/2023
Figure 14 57 Figure 16 58
57 58
Algebraic Functions
A function f is called an algebraic function if it can be
constructed using algebraic operations (such as addition,
subtraction, multiplication, division, and taking roots)
starting with polynomials. Any rational function is
automatically an algebraic function.
Algebraic Functions (代數函數)
Here are two more examples:
59 60
59 60
8/30/2023
Trigonometric Functions
In calculus the convention is that radian measure is always
used (except when otherwise indicated).
61 62
61 62
|sin x| 1 |cos x| 1
(b) g(x) = cos x
Figure 18 63 64
63 64
8/30/2023
65 66
Trigonometric Functions
Notice that the tangent function has period :
67 68
67 68
8/30/2023
Figure 20
69 70
69 70
Logarithmic Functions
The logarithmic functions f(x) = logax, where the base a is a
positive constant, are the inverse functions of the exponential
functions. Figure 21 shows the graphs of four logarithmic
functions with various bases.
Figure 21
71 72
71 72
8/30/2023
73 74
73 74
Transformations of Functions
By applying certain transformations to the graph of a given
function we can obtain the graphs of certain related
functions.
75 76
8/30/2023
77 78
79 80
8/30/2023
Figure 3
81 82
81 82
Solution:
The graph of the square root function , is shown in
Figure 4(a).
Figure 4
83 84
8/30/2023
Transformations of Functions
Another transformation of some interest is taking the
absolute value of a function. If y = |f(x)|, then according to
the definition of absolute value, y = f(x) when f(x) ≥ 0 and
y = –f(x) when f(x) < 0.
Combinations of Functions
This tells us how to get the graph of y = |f(x)| from the graph
(函數組合)
of y = f(x): The part of the graph that lies above the x-axis
remains the same; the part that lies below the x-axis is
reflected about the x-axis.
85 86
85 86
87 88
8/30/2023
89 90
91 92
8/30/2023
(f g h)(x) = f(g(h(x)))
93 94
93 94
Sketch the graph of the function y = 3 – 2x and determine Then we shift the graph of y = –2x upward 3 units to obtain
its domain and range. the graph of y = 3 – 2x in Figure 5(c).
Solution:
First we reflect the graph of y = 2x in Figure 5(a) about the
x-axis to get the graph of y = –2x in Figure 5(b).
(c) y = 3 – 2x
Figure 5
95 96
8/30/2023
97 98
97 98
Solution 2:
From Figure 3 we see that no
horizontal line intersects the
graph of f(x) = x3 more than once. This definition says that if f maps x into y, then f –1 maps y
back into x. (If f were not one-to-one, then f –1 would not be
Therefore, by the Horizontal f(x) = x3 is one-to-one. uniquely defined.)
Line Test, f is one-to-one. Figure 3
99 100
99 100
8/30/2023
Caution
Do not mistake the –1 in f –1 for an exponent. Thus
Figure 5
101 102
101 102
If f(1) = 5, f(3) = 7, and f(8) = –10, find f –1(7), f –1(5), and The diagram in Figure 6 makes it clear how f –1 reverses the
f –1(–10). effect of f in this case.
Solution:
From the definition of f –1 we have
103 104
103 104
8/30/2023
Figure 7
105 106
105 106
107 108
107 108
8/30/2023
Figure 9
Figure 8 109 110
109 110
Logarithmic Functions
If b > 0 and b ≠ 1, the exponential function f(x) = bx is either
increasing or decreasing and so it is one-to-one by the
Horizontal Line Test. It therefore has an inverse function
f –1, which is called the logarithmic function with base b
and is denoted by logb.
Logarithmic Functions
If we use the formulation of an inverse function given by ,
f –1(x) = y f(y) = x
then we have
111 112
111 112
8/30/2023
113 114
Figure 12
115 116
115 116
8/30/2023
Example 6
Use the laws of logarithms to evaluate log2 80 – log2 5.
Solution:
Using Law 2, we have
=4
because 24 = 16.
117 118
117 118
Figure 17
119 120
8/30/2023
f –1(x) = y f(y) = x
we have
121 122
121 122
Evaluate (a) sin–1 and (b) tan(arcsin ). (b) Let = arcsin , so sin = .
Figure 19
123 124
123 124
8/30/2023
y = sin x, x
y = sin–1 x = arcsin x
Figure 18
Figure 20
125 126
125 126
y = cos –1 x = arccos x
y = cos x, 0 x
Figure 22
Figure 21 127 128
127 128
8/30/2023
y = tan x,
129 130