Professional Documents
Culture Documents
1.1 Introduction
A function may be thought of as an input-output machine. Given a
particular input, there is a corresponding output. This process may be
represented by various schemes, such as a table or a mapping diagram
listing inputs and outputs (Fig. 1). Functions will usually be denoted by
single letters, the most common being[ and g. If the function g produces
the output 3 when the input is 2, we write g(2) = 3.
INPVr
O\JfPUr
1...- )
"'3
::>Lt
8 Lt
~ Lt
10 -I
IO~-'
F\C,. I
Often functions are described with formulas. If [(x) = x 2 + x then
/(3) = 9 + 3 = 12, /<a) = a 2 + a, [<a + b) = (a + b)2 + (a + b) =
a 2 + 2ab + b2 + a + b. We might refer to "the function x 2 + x" without
using a special name such as f.
For example, if [(x) = 2x - 9 then
[(3)
[(0)
=6 = -9
= -3
[(a) = 2a - 9
+ b) = 2(a + b) - 9 = 2a + 2b - 9
+ [(b) = 2a - 9 + 2b - 9 = 2a + 2b -
[(a
[(4)
/(3a) = 2(3a) - 9 = 6a - 9
3/(a) = 3(2a - 9) = 6a - 27
[(a 2) = 2a 2 - 9
(/(a2 = (2a - 9)2 = 4a 2 - 36a + 81
/(-a) = 2(-a) - 9 = -2a - 9
-/(a) = -(2a - 9) = -2a + 9.
18
2 1/Functions
erA
Fib.
MalON
= 60AP +
(1)
= 60Y36
40 PB
+ x 2 + 40(10 -
x),
os
x s 10.
P
,0
flb.3
1.1
[Q.,b]
0 - - - - - 0 ...
CCA)b)
----0
[<l,b)
Introduction' S
> <.:
[aJC>\)
(-oo)a)
FIG. it
The set of all x such that a S x S b is denoted by [a, b] and called a closed
interval (Fig. 4). With this notation, the variable x in (1) lies in the interval
[0, 10]. The set of all x such that a < x < b is denoted by (a, b) and called
an open interval. Similarly we use [a, b) for the set of x where a s x < b, (a, b]
for a < x s b, [a,oo) for x ~ a, (a,oo) for x > a, (-oo,a] for x S a, and
(-00, a) for x < a. In general, the square bracket, and the solid dot in Fig. 4,
means that the endpoint belongs to the set; a parenthesis, and the small
circle in Fig. 4, means that the endpoint does not belong to the set. The
notation (-00,00) refers to the set of all real numbers.
As another example of a function, consider the greatest integer function:
Int x is defined as the largest integer that is less than or equal to x. Equivalently, lnt x is the first integer at or to the left of x on the number line. For
example, Int 5.3 = 5, Int 5.4 = 5, Int 7 = 7, Int(-6.3) = -7. Note that
for positive inputs, Int simply chops away the decimal part. The domain of
Int is the set of all (real) numbers. (Elementary calculus uses only the real
number system and excludes nonreal complex numbers such as 3i and
4 + 2i.) The range of Int is the set of integers. Frequently, Int x is denoted
by [x], Many computers have an internal Int operation available. To illustrate one of its uses, suppose that a computer obtains a numerical result,
such as x = 2.1679843, and is instructed to keep only the first 4 digits. The
computer multiplies by 1000 to obtain 2167.9843, applies Int to get 2167,
and then divides by 1000 to obtain the desired result 2.167 or, in our
functional notation, ~ Int(1000 x).
Most work in calculus involves a few basic functions, which (amazingly)
have proved sufficient to describe a large number of physical phenomena.
As a preview, and for reference, we list these functions now, but it will
take most of the chapter to discuss them carefully. The material is important preparation for the rest of the course, since the basic functions
dominate calculus.
Examples
Constant functions
for all x,
f(x) = 2
g(x) = -11'
for all x
Power functions
Trigonometric functions
Exponential functions
Logarithm functions
X 2.7
4 1/Functions
(b) f(l)
(c) f(b 3 )
2. Let [(x)
X2
(d) g(O)
(e) g(l)
(f) g(b3 )
and g(x)
= (x
- 3)2. Find
(g) (g(b))3
(h) f(2a + b)
= Ixllx.
(a)
(b)
(c)
(d)
(e)
3. The number Xo is called a fixed point of the function f if [(xu) = Xo; i.e., a
fixed point is a number that maps to itself. Find the fixed points of the following
functions: (a) Ixllx (b) Int x (c) x 2 (d) x 2 + 4.
4. Let f(x) == 2x + 1. Does [ta 2) ever equal (f(a2?
5. If [(x) = 2x + 3 then f(f(x = f(2x + 3) = 2(2x + 3) + 3 = 4x + 9.
(a) Find [([(x if [(x) = x 3.
(b) Find Intrlnt x).
(c) If[(x) = -x + I, findf(f(x,f(f([(x), and so on, until you see the pattern.
6. A charter aircraft has 350 seats and will not fly unless at least 200 of those
seats are filled. When there are 200 passengers, a ticket costs $300, but each ticket
is reduced by S1 for every passenger over 200. Express the total amount A collected
by the charter company as a function of the number p of passengers.
1.2
Fl6.
-2
.. ~
-"
...
........--.0
--0
-I
... ~
-~
Flb.Z
y
-1.7 -'/-/.6 -A
- I -I
o o
.6 o
.1
/.~
t. tt
~
~.3
?..Cf
I
I
A
2-
F16.3
only 4 feet, while 4 units of fertilizer produces an II-foot tree, the maximum possible height according to the data.
The vertical line test Not every curve can be the graph of a function. The
curve in Fig. 4 is disqualified because one x is paired with several y's, and
a function cannot map one input to more than one output. In general, a
curve is the graph ofafunction if andonly if no vertical line ever intersects the curve
6 1/Functions
Nor A. RJNc..rION
Fl0.Lt
more than once. In other words, if a vertical line intersects the curve at all, it
does so only once.
Equations versus functions The hyperbola in Fig. 5 is the graph of the
equation xy = 1. It is also (solve for y) the graph of the function f(x) = 1[x.
The hyperbola in Fig. 6 is the graph of the equation y2 - 2x 2 = 6. It is not
the graph of a function because it fails the vertical line test. However, the
upper branch of the hyperbola is the graph of the function v'2x 2 + 6 (solve
for y and choose the positive square root since y > 0 on the upper branch),
and the lower branch is the graph of the function -v'2x 2 + 6.
Flo. S
y={6t J-~ 2.
flb.6
<:=NOT
FIb. 7
A FUN',TIoN
Continuity If the graph of f breaks at x = xu, so that you must lift the
pencil off the paper before continuing, then f is said to be discontinuous at
x = xo. If the graph doesn't break at x = xo, then f is continuous at xo.
The function -2x + 3 (Fig. 1) is continuous (everywhere). On the
other hand, Int x (Fig. 2) is discontinuous when x is an integer, and l/x
(Fig. 5) is discontinuous at x = O.
Many physical quantities are continuous functions. If It (t) is your
height at time t. then h is continuous since your height cannot jump.
One-to-one functions, non-one-to-one functions and nonfunctions A
function is not allowed to map one input to more than one output (Fig. 7).
;;
ONE-ro-ONE
~
~
But a function can map more than one input to the same output (Fig. 8),
in which case the function is said to be non-one-to-one. A one-to-one function
maps different inputs to different outputs <Fig. 9).
The function x 2 is not one-to-one because, for instance, inputs 2 and
-2 both produce the output 4. The function x 3 is one-to-one since two
different numbers always produce two different cubes.
A curve that passes the vertical linetest, andthus is thegraph of afunction, will
further be the graph of a one-to-one function if and only if no horizontal line
intersects the curve more thanonce (horizontal linetest). The function in Fig. 10
fails the horizontal line test and is not one-to-one because XI and X2 produce
the same value of y.
Flb.q
F/6./0
Constant functions If, for example, f(x) = 3 for all x, then f is called a
constant function. The graph of a constant function is a horizontal line
(Fig. 11).The constant functions are among the basic functions of calculus,
listed in the table in Section 1.1.
F/b.)1
x2
= x x
X-I
= I/x
x l12
= V;
X -1/3
1
= :Jj='"
V';
= ~ = <*)7
2.6
X
= X 261IO = \9X"26.
x7l4
8 1/Functions
Y= 1}
Y.
'/
-1
-,
-I
0
(-I)-I)
-'0
'8
FI(,.I~
FIG,13
1 is smaller than its square; otherwise x 4 lies above x 2 Figure 14 gives the
graph of y = V;, the upper half of the parabola x = y2.
FIG. lit
<
t.:~
3 4 }
>
, , '
C;
,0 "
11 I J 1,# IS 1& 17 18
FIG.IS
One of the applications of calculus (Section 3.2) will be the computation of the speed and acceleration at any instant of time, given the
position function.
Problems for Section 1.2
1. Sketch the graph. Is the function increasing? decreasing? one-to-one?
continuous? (a) 2x (b) x + Ixl (c) Ixllx (d) f(x) is the larger of x and 3
2. Let f(x) be 0 if x is an even integer, 1 if x is an odd integer, and undefined
otherwise. Sketch the graph of[.
S. Figure 16 shows the graph of a function f.
F1G. (6
10 1/Functions
(a) Find f( -1),/(0) and 1(6).
(b) Estimate x such that f(x) = 4.
(c) Find x such that I(x) < O.
than 5)
7. (a) Sketch the power functions x -~, X -2, X -1/2 on the same set of axes.
(b) Sketch the power functions x, x 5 , x", x 8 on the same set of axes.
8. A function! is said to be even if!(-x) = I(x) for all x; for example,[(7) = 3
and 1(-7) = 3,/(-4) = -2 and [(4) = -2, and so on. A function is odd if
f(-x) = -f(x) for all x; for example.j'(S) = -12 andf(-3) = 12,[(-6) = -2 and
!(6) = 2, and so on. The functions cos x and x 2 are even, sin x and x~ are odd,
2x + 3 and x 2 + X are neither.
(a) Figure 17 shows the graph of a function I(x) for x ~ O. Iff is even, complete the graph for x s O.
(b) Complete the graph in Fig. 17 iff is odd.
F1G./7
9. Find f(x) if the graph of f is the line AB where A == (1,2) and B = (2,5).
10. Let !(t) be the position of a particle on a number line at time t. Describe the
motion if
(a)
is a constant function
(b) [(t) = t - 2
>
0 for all t
FIG.I
sin 8
= -,
r
cos 8
x
r
= -,
\7
sin 8
cos 8
= L. = --.
x
x is negative and y is positive; thus sin 8 is positive, while cos 8 and tan 8
are negative. In general, Fig. 2 indicates the sign of sin 8, cos 8 and tan 8
for 8 in the various quadrants.
SIGN OF ~;~
SI6N OF"j
t
7'~N of ~
FIG.A..
Degrees versus radians An angle of 1800 is called
ally, to convert back and forth use
1T radians.
More gener-
number of radians
1T
number of degrees = 180'
(2)
Equivalently
= 180 x
(3)
number of degrees
(4)
1T
number of radians
One radian is a bit more than 57. Tables 1 and 2 list some important angles
in both radians and degrees, and the corresponding functional values.
Table 1
Table 2
Degrees
Radians
sin
cos
tan
Degrees
Radians
sin
0
900
1800
1r/2
0
1
0
-1
0
1
0
-1
0
1
0
none
0
none
0
30
45
60
1T/6
1T/4
",/3
iV2
2700
360
1T
31T/2
21T
iV3
cos
tan
~V3
1/V3
V3
iv'2
'2
fib. 3
(5)
12 1/Functions
If deg~ees are used, the formula is s = 3:0 21TT
attractive as (5).
Reference angles Trig tables list sin 8, cos 8 and tan 8 for 0 < (J < 90.
To find the functions for other angles, we use knowledge of the appropriate
signs given in Fig. 2 plus reference angles, as illustrated in the following
examples.
If 8 is a second quadrant angle, its reference angle is 180 - 8, so 150
has reference angle 30 (Fig. 4), and
Flb.Lf
sin 150 = sin 30
= i,
= -iV3,
Ff0.5
sin 210
fl(,.6
= -sin 30 = -!,
0
OPPO?IrE
(6)
F(0.7
= !V3,
= -l/V3.
8
.
opposite leg
,cos
sin 8 =
hypotenuse
leg
= adjacent
,
hypotenuse
_ opposite leg
tan 8 - ad'~acent 1
eg
Gnphs of sin s, cos s and tan s Figures 8-10 give the graphs of the
functions, with x measured in radians. The graphs show that sin x and cos x
have period 21T (that is, they repeat every 21T units), while tan x has
period 11". Furthermore, - 1 sa sin x s 1 and - 1 s cos x s 1, so that each
function has amplitude 1. On the other hand, the tangent function assumes
all values, that is, has range (-00,00). Note that sin x and cos x are defined
for all x, but tan x is not defined at x = ",/2, 3",/2,.
FJb.S
GoOS?-...
-1t
"'7r
-I
Fl6. Cf
I'?tr
,'T
I
Flb.IO
The graph of G sin(bx + c) The function sin x has period 2'7T and amplitude 1. The function 3 sin 2x has period ", and amplitude 3 (Fig. 11). In
general, a sin bx, for positive a and b, has amplitude a and period 2ft/b. For
example, 5 sin ix has period 4ft and amplitude 5.
14 1/Functions
FIG. II
The graph of a sin(bx + c) not only involves the same change of period
and amplitude as a sin bx but is also shifted. As an example, consider
sin(2x - !17'). To sketch the graph, first plot a few points to get your
bearings. For this purpose, the most convenient values of x are those which
make the angle 2x - !.". a multiple of 17'/2; the table in Fig. 12 chooses
angles 0 and 17'/4 to produce points (0,-1), (17'/4,0) on the graph. Then
continue on to make the amplitude 1 and the period 'IT as shown in Fig. 12.
-(
?,'n
0 =0
F/G.l1.
nMc:t-=--rr
nMEt~o
fIME't-::.7f
Flb./3
""1t:l1f
""Et=31r
y= -A.,i n;X.
-y=-'A
FIG. lit
Similarly, the graph of x! sin x is sandwiched between the curves
y = x! which we sketch as guides (Fig. 15). The curves, called the envelope ofx' sin x, are reflections of one another in the x-axis, Furthermore,
......
......
"-
"""
~'Jc.)
F/G.IS
y= y.?~''fI,''/o-
16 1/Functions
whenever x~ is negative (as it is to the left of the j-axis) we not only change
the amplitude but also reflect sine in the x-axis to obtain x 3 sin x. The result
in Fig. 15 shows unbounded oscillations.
In general, tosketch thegraphofI(x) sin x,first draw thecurveY = f(x) and
thecurue y = - f(x), itsreflection in thes-axis, toserve astheenvelope. Then change
the height of the sine curve so that it fits within the envelope, and in addition
reflect the sine curue in the x-axis whenever I (x) is negative.
(7)
sec x
= --,
cscx = -.-,
sin x
cos x
cot x
cos x
sm x
1
tan x
= -.- = --.
In each case, the function is defined for all values of x such that
the denominator is nonzero. For example, esc x is not defined for
x = 0, 1T, 21T,. The graphs are given in Figs. 16-18.
esc
Ui,
\
I
,
(
n :n'
-J.".-1r I
'.t
I
-1('
-:j.
11
1:
I
I
FIG.16
sec::
In
-31t ,
1:1
,
..
,
,,
-1t
(21T
I
-11"
1-
,~
-I
'T
,'A
1r
131f
\
;2.
:1(\
I
I
1
I
I
FI6.1?
In a right triangle (Fig. 7),
(8)
_ hypotenuse
_ hypotenuse
,csc 8 . I '
sec 8 - .
adjacent leg
opposite eg
_ adjacent leg
. I .
cot 8 opposite eg
FIG. 1'2>
Notation It is standard practice to write sin2x for (sin X)2, and sin x 2 to
mean sin(x2) . Similar notation holds for the other trigonometric functions.
Standard trigonometric identities
Negative angleformulas
(9)
cos( -x)
csc(-x) = -esc x,
sec( -x)
= cos X
= sec x
tan(-x) = -tanx,
cou -x)
= -cot x
Additionformulas
sin(x
(10)
cos x sin y
+ y) = cos x cos y
- sin x sin y
+ sin x sin y
cos(x
Double angleformulas
(11)
sin 2x
= 2 sin x cos x
cos 2x
= cos 2x
tan 2x
- sin 2x
=1-
2 sin 2x
2 tan x
2
- tan x
Pythagorean identities
(12)
sin 2x
1
+ cos2x
= 1
+ tan x = sec2x
2
Half-angle formulas
(13)
21
SID IX
21
cos IX
1 - cos x
2
+ cos x
2
Product formulas
.
SiD
x cos 'J =
sin(x
+ 1) + sin(x 2
y)
= 2 cos 2x
- 1
18 1/Functions
.
cos x sin y =
(14)
cos x cos y =
sin x sin y
sin{x
+ y)
COS(x
+ y) + cos(x - y)
- sin{x - y)
2
+ y)
cos(x - y) - cos(x
Factoring formulas
(15)
x + sin
. y
sin
= 2 cos ~.~
2 sin 2
.
sin x - siny
x+y.x-'W
= 2 cos - sin ~
x+y
. x+'W. 'W-x
cos Y = 2 sin ~ SIn L..--:.:.
Reductionformulas
COS(!1T - 8)
( 16)
= sin
sin(t7T - 8) = cos 8
cos(7T - 8)
= -cos
sin(1T - 8) = sin 8
Law of Sines (Fig. 19)
( 17)
(18)
(19)
= iab
sin C
c
A
F/6,
Problems for Section 1.3
1. Convert from radians to degrees.
(a) 1r/5 (b) 51r/6 (c) -fT/3
(b) -900
(c) 1000
}'1
5. Let sin x
if possible.
(a) sin( -x)
(b) cos(-y)
(c) -sin x
= a, cos y = b and
(d) -cos y
(e) sin2x
(I) sin x 2
6. In each of (a) and (b), use right triangle trigonometry to find an exact
answer, rather than tables or a calculator which will give only approximations.
(a) Find cos 8 if 8 is an acute angle and sin 8 = 2/3.
(b) Find sin 8 if 8 is acute and tan 8 = 7/4.
Ie
functions in particular.
Nor A FutJCTION
:>A
Fib.
f(x)
2
5
7
6
15
ix.
21
15
21
5
7
tx
Clearly, f-I(x) =
Note that we may also think of
as the "original"
function with inverse 3x. In general, [ and[-I are inverses o[each other.
Figure 1 shows that iff andf -I are applied successively (firstf and then
f -I , or vice versa) the result is a "circular" trip which returns to the starting
point. In other words,
20 1/Functions
(1)
f-I(f(x)) = x
and f(f-I(x = x.
,,
I
- - -
I
I
-,
' .. (
I
FJ6.~
sin-1a = b
if and only if
sin b
= a and -7T/2
:5
b -s ",/2.
The graph of sin t'x is found by reflecting sin x, -7T/2 :5 x :s; 7T/2, in the
line y = x (Fig. 5). The domain of sin -IX is [- 1, 1] and the range is
[-1T/2,1T/2].
The sin" function is also denoted by Sin" and arcsin. In computer
programming, the abbreviation ASN of arcsin is often used.
/
/
./
"
./
I'
FJG.5
Warning 1. The angles -TT/2 and 3TT/2 are coterminal angles; that is, as
rotations from the positive x-axis, they terminate in the same place. However -TT/2 and 3TT/2 are not the same angle or the same number, and
arcsin(-l) is -TT/2, not 3TT/2.
2. Although (1) states that !-I(!(X = x, sin r'(sin 200) is not 200.
This is because sin -I is not the inverse of sine unless the angle is between
-90 and 90. The sine function maps 200, along with many other angles,
such as 560, -160,340, -20, all to the same output. The sin" function
maps in reverse to the particular angle between -90 and 90. Therefore,
sin-l(sin 200) = - 20.
The inverse cosine function The cosine function, like the sine function,
has no inverse, because it is not one-to-one. By convention, we consider the
one-to-one piece between 0 and TT, and let COS-IX be the inverse of this
abbreviated cosine function (Fig. 6). Thus, COS-Ix is the angle between 0 and
TT whose cosine is x. Equivalently,
,/
,/
,/
,/
,./'
/
'"
-I
I..;.Jt
./
/"
'"
./
"
./
./
FIG.6
22 1/Functions
(3)
cos-1a
= b if and onLy if
cos b
= a and 0
~ b ~
11'.
ACN.
The inverse tangent function The tan -I function is the inverse of the
branch of the tangent function through the origin (Fig. 7). In other words,
tan -IX is the angle between -11'/2 and 7T/2 whose tangent is x. Equivalently,
/
).(1
X-
FIG.7
(4)
tan ?
The tan -1 function is also denoted Tan -1, arctan and ATN.
For example, tan- I ( - I ) = -11'/4 because -11'/4 is between -7T/2 and
7T/2 and tan( -11'/4) = -1.
tan"
iy
! tan -J ~y
= 3x
= x
(divide by 3).
<x <
7T /6, then
/-1 (x) =
3 (c) l/x
(b) Int x (d)-x
(a) x -
cos-IO
(e) sin-I(-~v'3)
sin- 10
(f) tan "]
sin- 12 ????
(g) tan- I(-I)
cos-I(-iv'3)
logarithm functions. As with the other basic functions, they have important
physical applications, such as exponential growth, discussed in Section 4.9.
Exponential functions Functions such as 2%, (!y and 7 are called
exponential functions, as opposed to power functions x 2 , x 114 and x 7 In general, an exponential function has the form b", and is said to have base b.
Negative bases create a problem. If f(x) = (-4)% then f(i) = v=4 and
f<t) = ~, which are not real. Similarly, there is no (real) f(i),f(~),f(i), ;
the domain of (-4)JC is too riddled with gaps to be useful in calculus. (The
power function X 112 also has a restricted domain, namely [0, oc), but at least
the domain is an entire interval.) Because of this difficulty, we do notconsider
X
24 1/Functions
22/3
= W = V'4,
=~,
points (2/3, V'4) and (3.1, {r2fi).
2~tl =
231/10
FIG.
The exponential function ell In algebra, the most popular base is 10, while
computer science often favors base 2. However, for reasons to be given in
Section 3.3, calculus uses base e. a particular irrational number (that is, an
infinite nonrepeating decimal) between 2.71 and 2.72; the official definition will be given in that section. Because calculus concentrates on base e,
the function ell is often referred to as the exponential function. It is sometimes written as expx; programming languages use EXP(X).
Figure 2 shows the graph of ell, along with 211 and 3x for comparison.
Note that 2 < e < 3, and correspondingly, the graph of eX lies between the
graphs of ~ and 311 We continue to assume that exponential functions
are continuous.
In practice, a value of e', such as e 2, may be approximated with tables
or a calculator. Section 8.9 will indicate one method for evaluating eX die
rectly. A rough estimate of e2 can be obtained by noting that since e is
slightly less than 3, e2 is somewhat less than 9.
tThe connecting process also provides a definition of 2- for irrational x, that is, when x
is an infinite nonrepeating decimal, such as 'Ir. For example, 'Ir = 3.14159 ... , and by connecting the points to make a continuous curve, we are defining 2- by the following sequence
of inequalities:
25. 14 < 2- < 25. 141
2 5.14 1
3 . 14 U
<
2-
<
< 2- <
2'141~
2,141YJ
FIG. A
The graph of e1C provides much information at a glance:
(1) e" is defined for all x .
(2) e" > 0; in fact, the range of e" is (0,00) .
(3) eX is increasing.
The function In x Since e" passes the horizontal line test and isone-to-one,
it has an inverse, called the natural logarithm function and denoted by In x.
It is also written log,x and called the logarithm with base e. In other words,
(4)
In a
=b
'-Q= z then In z = 2p
For example, if e
of (4), since
- q. As an important consequence
(5)
we have
(6)
In 1
=0
and In e
= 1.
"
FIG.3
26 1/Functions
(7)
(8).
(9)
(10)
In x is increasing.
Since In x and e' are inverses,
(11)
1n e'
=x
and
eIn
= x;
that is, when exp and In are applied successively to x, they "cancel each other
out." For example, In e' = 7, eln 8 = 8, In eG +b = a + b, e1n & = 6x.
e'e' = eX +"
(13)
(14)
e'Le' = e V
e- X = l/e x
(15)
(eXp = eX'J.
- '
In ab = In a + In b .
In!!:- = In a - In b
b
1
Ina
= -Ina
In a
= In 1 -
In a
=0 -
In a = -In a)
= b In a.
We assume throughout that identities and equations involving the logarithm function never involve the logarithm of a negative number or O. For
example, we might use (19) to write In x 2 = 2 In x. It is understood that x
must not be 0 or negative, so that In x 2 and In x are both defined.
Note that In x 2 means In(x2) , not (In X)2.
Example 1
(by (16
+ In 3 = In 12
(by (19
(b) In 81 = In 34 = 4 In 3
(a) In 4
(c) ! In 9 = In 9 112 = In V9 = In 3
(by (19))
(d) In e:i = 3 In e = 3
(by (19) and (6
(e) In lIe = -iln e = -1
(by (18) and (6
+ In e" = In 3 + 4x
Logarithms with other bases There are logarithm functions with bases
other than e, corresponding to exponential functions with bases other than
e: 10g2x is the inverse of 2\ logsx is the inverse of 3\ logll2x is the inverse
of (t)X, and so on. Since calculus uses the exponential function with base e,
in this book we will consider only the logarithm function with base e, that
is, In x.
The elementary functions We have now introduced all the basic functions
listed in Section 1.1. However, applications often involve not only the basic
functions, but combinations of them, such as the sum x 2 + x or the product
x 2 sin x. Still another way of combining two functions! and g is to form
the functions !(g(x and g(!(x)l, called compositions. If !(x) = sin x and
g(x) = Y; thenf(g(x = sin VX and g(f(x = "'sin x . The basic functions
plus all combinations formed l1y addition, subtraction, multiplication, division and
composuum, afinitenumber oftimes, arereferred toasthe elementary functions. For
example, sin x, 2x' + 4, sin x 2 , l/x and x cos 2x are elementary functions.
All the basic functions are continuous wherever they are defined, and
it can be shown that the elementary functions also are continuous except
where they are not defined, usually because of a zero in a denominator.
For example, e Ux is continuous except at x = 0 where it is not defined,
(x' + sin x)/(x - 1) is continuous except at x = 1 where it is not defined,
sin x 2 is continuous everywhere.
Solving equations involving e" and In x To solve the equation e' = 7,
take In on both sides and use In e' = x to get x = In 7. To solve the equation
In x = -6, take exp on both sides and use e1n x =. x to get x = e- 6
+ 5) = 8.
Solution:
=2
In(2x + 5)
2x + 5
x = !(e
=e
2
(divide by 4)
(take exp)
5)
(algebra)
First solution:
In 36x 2
=4
(In a
+ In b =
In ab)
28 1/Functions
36x 2
= e"
(take exp)
Second solution:
= e4
e ln 12xeln3x = e4
elnl2x+ln3x
(12x)(3x)
= e4
(take exp)
(ea+b = eae b)
(tina =
a)
36x 2 = e4
(as in the first solution)
o.
-e 6 , r:e7
(e) e- 1n
(b) In e4
(f) e 1+111-1
(c) e o 1n 2
(d) In V;
(g) explln x + In y)
12
/
V3
(d) In 81
(e) In i
(f) In t
(g) In 2 + In 3
(h) (In 2) (In 3)
(i) (In 2)/(ln 3)
(j) (In 2)'
(k) In 2'
(d) In In x
(e) In In In x
(f) In In In In x
+ I).
(a) If In a = In b, then a = b.
(b) If ea = eb , then a = b.
(c) If sin a = sin b, then a = b.
7. Show that exp (
~
simplifies to e e/18
4 - 2 In 3 - In 2 ) . .
3
8. Show that T = e~ln2. (In fact, some computers evaluate 2" not by finding
2 2 2, but by converting 2' to e5tn2 and evaluating that expression.)
9. Suppose a car travels on the number line so that its position at time t is e'.
Describe the car's motion during the time interval (-00, (0).
10. Solve
(a) 2e-" - 3 = 0
(k) 4 In x + In 2x = 3
(b) In(2x + 7) = -1 (I) In(5x - 3) = In 2x
(c) e" = -5
(m) In(5x + 3) = In 2x
(d) -2 < In x < 8
(n) In(x + 1) + In x = 2
(e) eh + 7 > 5
(0) e" = e(0 -In x = 4
(p) x In x = 0
x
(g) In( -x) = 4
(q) xe" + 2e = 0
Sx
lx
(h) e
= e
(r) e" In x = 0
(i) In In x = -2
25
(j) arcsin eX = 11'/6 (5) 2 + In 3x = 5
11. Show that In iV2 simplifies to -i In 2.
12. A scientist observes the temperature T and the volume V in an experiment and finds that In T always equals -I In V. Show that TV 2/S must therefore
be constant.
13. The equation 4 In x + 2(ln X)2 = 0 can be considered as a quadratic equation in the variable In x. Solve for In x, and then solve for x itself.
14. True or False? (a) If a = b, then e = e". (b) If a + b = c, then
e" + e6 = e',
15. Find the mistake in the following "proof" that 2 < 1. We know that <i)2 < i,
so In(~)2 < In i. Thus 2 In I < In i. Cancel In I to get 2 < 1.
X
+'
x-
30 1/Functions
want to multiply on both sides by x - 5 to eliminate fractions. But if
x < 5, then x - 5 is negative and multiplication by x - 5 reverses the
inequality; if x > 5, then x - 5 is positive, and the inequality is not reversed. (For equations, this type of difficulty doesn't arise.) This section
offers a straightforward method for solving inequalities of the form
f(x) > 0, f(x) < 0, or equivalently for deciding where a function is positive
and where it is negative.
In order for a function f to change from positive to negative, or vice
versa, its graph must either cross or jump over the x-axis. Therefore, a
nonzero continuous f cannot change signs; its graph must lie entirely on
one side of the x-axis. Suppose f is 0 only at x = -3 and x = 2, and is
discontinuous only at x = 5, so that within the open intervals (-00,-3),
(-3,2), (2,5) and (5,00),[ is nonzero and continuous. Then in each interval
[ cannot change signs and is either entirely positive or entirely negative.
One possibility is shown in Fig. 1. In general, we have the following method
for determining the sign of a function I, that is, for solving the inequalities
[(x) > 0, [(x) < o.
FIG.
(I)
x2
2x + 1
x-5
> 0,
x2
2x + 1
x-5
< O.
h
f .IS posinve
. . an d were
h
f
Equivalently, if f(x) = x - 2x + 1 ,deciid e were
..
x - 5
IS negative.
Solution: Step 1 The elementary function f is discontinuous only at
x = 5, where it is not defined because of a zero in the denominator.
Step 2 Solve the equation [(x) = o.
2
x2 - 2x + 1
----=0
x- 5
2x + 1 = 0
=0
(x - 1)2
X
=I
Step J
Consider the intervals (-00, 1), (1,5) and (5,00). Test one value of
interval
[(xl
(-00, I)
0
2
6
-1
-i
negative
negative
positive
(1,5)
(5,00)
25
Therefore, [(x) is positive for x > 5, and negative for x < 1 and for
1 < x < 5. Equivalently, the solution to the first inequality in (1) is x > 5,
and the solution to the second inequality is x < 1 or I < x < 5.
Note that Steps 1 and 2 locate points where the function either jumps
or touches the x-axis, These are places where f might (but doesn't have to)
change sign by crossing orjumping over the x-axis. Indeed, in this example,
f changes sign at x = 5 but not at x = 1. The graph in Fig. 2 shows what
is happening. At x = 1,f touches the x-axis but does not cross, so there is
no sign change. At x = 5, f happens to jump over the axis, so there is a
sign change.
!\
,
,;
I
,I
I
,I
F'G.~
Problems for Section 1.6
1. Decide where the function! is positive and where it is negative.
10 - 10,,2
+1
(e)
x-I
(c) x 2
eX
(d)-;
x2 +
X -
+2
%. Solve
(a)
16
x2 +
54
X5
(c)
1
X2 _
4>0
32 1/Functions
FIG.I
1
NEW
Y = (x - 7)' + 3(x - 7)2 - 1
1 = 19
1 = 199
9
12
2' + 3(22)
5' + 3(52)
OLD
x' + 3x
Y=
2
5
2' +
5' +
3(22) 3(52) -
1 = 19
1 = 199
'1.
Y~ (7..- 7) t- 3(1-.- 7) -I
TRAN'S/, Arf RI (J-If
=!(x) to
OLD
2
5
y = x 3 + 3x2
3
2
) -
2 + 3(2
53 + 3(52)
1 = 19
2/5
1 = 199
NEW
y = (5x)3 + 3(5x)2 - 1
23 + 3(22)
55 + 3(52)
1 = 19
1 = 199
Substituting x = 2/5 in the new equation produces the same calculation as x = 2 in the old equation (because each occurrence of 2/5 in the
new equation is immediately multiplied by 5). If (a, b) is in the old table then
(a/5, b) is in the new table. In general, given the graph of y = !(x) (Fig. 3a),
the graph of y = f(5x) is obtained by dividing x-coordinates by 5 so as to
contract the graph horizontally (Fig. 3b). Similarly, the graph of y = t(!x)
is found by tripling x-coordinates so as to expand the graph off horizontally
(Fig. 3c). Note that in the expansion (resp. contraction), points on the j-axis
do not move, but all other points move away from (resp. toward) the y-axis
so as to triple widths (resp. divide widths by 5).
The expansion/contraction rule says that the graph of y = sin 2x is
drawn by halving x-coordinates and contracting the graph of y = sin x
horizontally. This agrees with the standard result from trigonometry that
y = sin 2x is drawn by changing the period on the sine curve from 211' to
11', a horizontal contraction.
34 . 1/Funclions
r F(-:x-)
y;;f(};x}
~FIELT10f'l IIJ
rf1 '1- AXI ~
f'102.llDNf.I\l.- E,x-rI\N'sION
I
I
- /0
(b) 1-
/,
/0
(c)
FIG.'
Horizontal reflection Consider the following two equations and their
respective tables of values.
2
5
OLD
Y = x' + 3x 2 - I
2' + 3(22) - I
19
5' + 3W) - I = 199
NEW
x
....,2
-5
= (-x)' + 3(-X)2 - I
2' + 3(22) - I = 19
5' + 3W) - I = 119
Substituting x = -2 into the new equation results in the same calculation as x = 2 in the original. If (a, b) is in the old table then (-a, b) is in the
new table. In general, given the graph of y = f(x) (Fig. 3a), the graph of
y = [(-x) is obtained by reflecting the old graph in the j-axis (Fig. 3d) so
as to change the sign of each x-coordinate.
Vertical translation Consider the equations
y = x'
+ 3x 2
I and y = (x'
+ 3x 2
+ 10.
l)
For any fixed x, the y value for the second equation is 10more than the first
y. In general , given the graph of y = f(x), the graph of y = f(x) + 10 is
obtained by translating the original graph up by lO.t Similarly, the graph
of y
= f(x)
= f(x)
down by 4.
y = x' + 3x 2
I and
y = 2(x' + 3x 2
1).
For any fixed x, the y value for the second equation is twice the first y. In
general, given the graph of y = f( x), the graph of y = 2f(x) is obtained by
doubling the j-coordinates so as to expand the or iginal graph vertically.
Similarly, the graph of y = V(x) is found by multiplying heights by 2/3 , so
as to contract the graph of [(x) vertically.
tThe conclusion that y = [(x) + 10 is obtained by translating up by 10 may be compared
with a corresponding result for circles. provided that we rewrite the equation as (y - 10) =
[(x) . The circle x' + y' = r has center at the or igin, while x' + (y - 10)' = r' is centered at
the point (0, 10). that is, translated up by 10. Similarly, the graph of (y - 10) = [(x) is obtained
by translating y = [(x) up by 10.
Table 1 Summary
How to obtain the graph from
the original y = [(x)
Variation of y = [(x)
An operation is performed on
the variable x
y = f(-x)
y = [(2x)
Y
= f(ix)
=f(x + 2)
y = [(x - 3)
An operation is performed on
y = -[(x)
, = 2[(x)
y = i[(x)
= f(x)
+ 2
y = f(x) - 3
Reflec~
x-axis
Example 1 The graph of COS-IX is shown in Fig. 4. Six variations are given
in Figs. 5-10.
-I
Flb.4-
Warning The graph of[(x - 1) (note the minus sign) is obtained by translatingf(x) to the right (in the positive direction). The graph off(x) - 1 (note
the minus sign) is found by translating [(x) down (in the negative direction).
36 1/Functions
.,..
CIJ~
-,(X-J)
lr-I
iAANSLf\rE
c:..oS
RIGHf
!t
"
-I
~-I
i: 1T - \
TAAH~LAr('
DOWN
-I
A
-I
F16.5
FI6.6
).It'
1'"
~ VO~ -Ix.
C.OS'J...'X.
,~rAND
11"
V'RfI (,A~l'I
-,
;:
-,
FJG.g
FtG.7
-I
- cO,
",I
((.t:r!cr
V1<TJt.~(,LY
-I
FJG,~
F/G,tO
The graph of f(x) + g(x) Given the graphs of f(x) and g(x), to sketch
y = f(x) + g(x), add the heights from the separate graphs of f and g, as
shown in Fig. 11. For example, the new point D is found by adding height
AB to height AC to obtain the new height AD. On the other hand, since
point P has a negative j-coordinate, the new,.Eint R is found by subtracting
length PQ from QS to get the new height QR.
y::f(~) +'jt~)
/r q(1-.)
'y::{(-x.)
/1
\
c'.
_...---'"~....\ /
FIG.II
To sketch y = cos x + sin x, draw j = cos x and y = sin x on the same
set of axes, and then add heights (Fig. 12). For example, add height AB to
height XC to obtain the new height AD; at x = 1T, when the sine height
is 0, the corresponding point on the sum graph is point E, lying on the
cosine curve.
.....
.....
,7t
1r'
2 '
E
Fl f, ./1
Problems for Section 1.7
1. Sketch the graph and, in each case, include the graph of In x for comparison
(a) In( -x)
(b) -In x
(c) 2 In x
(d) In 2x
(e) In(x + 2)
(f) 2 + In x
38 1/Functions
~-_.~
-It
FIG.J3
(a) star ix
(b) i star x
(c) star(x - 2)
(d) star x - 2
(e) star( -x)
(f) -star x
= [sin xl
(b) y = lin
(c) y = leJrI
xl
+ (2x + 3)6 if
the curve is
y = e~1
(e) y = Inlxl
(d)
(b) x, In x,x - In x
(c) x, sin x,
+ sin x
6. The variations sin 2x, sin~x and ?'sin x were not discussed in the section.
Sketch their graphs by graphically squaring heights, cubing heights and cuberooting heights on the sine graph.
vs=-;.
(a) Findf(-4).
(b) For which values of x is f defined? With these values as the domain, find
the range of f
(c) Find f(a 2) and ([(a2.
(d) Sketch the graph off by plotting points. Then sketch the graph of[-I, if
it exists.
2. For this problem, we need the idea of the remainder in a division problem.
If 8 is divided by 3, we say that the quotient is 2 and the remainder is 2. If 26.8 is
divided by 3, the quotient is 8 and the remainder is 2.8. If 27 is divided by 3, the
quotient is 9 and the remainder is o.
If x ~ 0, let [(x) be the remainder when x is divided by 3.
(a)
(b)
(c)
(d)
4. If log2x is the inverse of 2\ sketch the graphs of IOg2X and In x on the same
set of axes.
5. Find sin- I(- iv'2 ).
6. Solve for x.
(a) y ::::
2 In(3x
+ 4) (b) y
= 4
+ e3"
8. The functions sinh x = i(e" - e-") and cosh x = i(e" + e-") are called the
hyperbolit sine and hyperbolit cosine, respectively.
(a) Sketch their graphs by first drawing ~" and
(b) Show that cosh'x - sinh'x = 1 for all x.
9. Solve the equation or inequality.
(a)
(b) In x < -8
1
(d) x _ 3
> 4x
ie-"