1
Lecture Two
Section 2.1 – Functions and Graphs
Relations
A
relation
is any set of ordered pairs. The set of all first components of ordered pairs is called the domain of the relation and the set of second components is called the range of the relation.Definition of a Function
A
function
is a relation between two variables such that to matches each element of a first set (called domain) to an element of a second set (called range) in such way that no element in the first set is assigned to two different elements in the second set.The domain of the function is the set of all values of the independent variable for which the function is defined.
The range of the function is the set of all values taken on by the dependent variable.
Example
Determine whether each relation is a function and find the domain and the range.
a) F
(1, 2), ( 2, 4), (3, 1)
Function: Yes Domain: {-2, 1, 3}
Range: {-1, 2, 4}
b) G
(1,1), (1, 2), (1,3), (2,3)
Function: No Domain: {1, 2}
Range: {1, 2, 3}
c) H
( 4,1), ( 2,1), ( 2, 0)
Function: No Domain: {-4, -2}
Range: {0, 1}
Domain
Range
2 Example
Give the domain and range of each relation
Domain: {-1, 0, 1, 4}
Range: {-3, -1, 1, 2}
Domain:
4, 4
Range:
6, 6
3 Functions as Equations y
0.016
x20.93
x8.5
x: independent y: depend on x
Notation for Functions
( )f x read “
f
ofx
” or “f
atx
” represents the value of the function at the number x.Example
Let f x( ) x25x3 a) f( )2
( )x x2 5 3 f x
( ) ( )2 5( ) 3
f ( )2 ( )2 2 5 )(2 3
f ( )2 ^ 2 5* 2 3
3 b) f( )q
( ) ( )q 2 5( ) 3 f q q
2 5 3
q q
Example
If f x
( )
x2 2
x7
, evaluate each of the following:a) f( 5) b) f x( 4)
Solution
a) f(5)?
( ) ( )
22( ) 7
f (
5) (
5)
22(
5) 7
f
= 25 + 10 + 7 = 42
4 b) f(x4)?
( ) ( )
22( ) 7
f (
4) (
4)
22(
4) 7
f x x x (ab)2 a22ab b 2
x22(4)x422x 8 7
2 8 16 2 1
x x x
2 6 15
x x
Example
Let g x( )2x3, find g a( 1) Solution
( ) 2 3
g x x
(a 1) 2(a 1) 3
g
2a 2 3
2a 5
Example
Given: f x( ) 2 x2 x 3, find the following.
a) f(0) b) f( 7) c) f(5 )a
Solution
a) f(x0)2( )0 2(0) 3 b) f(7)2(7)2(7) 3
= 108
c) f(5a)2(5a)2(5a) 3 50a2 5a 3
5
Increasing and Decreasing Functions
A function rises from left to right (x-coordinate), the function f is said to be increasing on an open interval I (a, b) (x-coordinate)
( ) ( ) ab f a f b A function f is said to be decreasing on an open interval I
( ) ( ) ab f a f b A function f is said to be constant on an open interval I
( ) ( ) ab f a f b
Example
Determine the intervals over which the function is increasing, decreasing, or constant
Increasing: [1, 3]
Decreasing:
,1
Constant:
3,
6 Example
State the intervals on which the given function f x
( )
x33
x is increasing, decreasing, or constantIncreasing , 3 , 3,
2 2
Decreasing 3, 3
2 2
Relative Maxima (um) and Minima (um)
f(a) is a relative maximum if there exists an open interval I about a such that f(a) > f(x), for all x in I.
f(a) is a relative minimum if there exists an open interval I about a such that f(a) < f(x), for all x in I.
The relative minimum value of the function is 1 @ x = /2 The relative maximum value of the function is 1 @ x = /2
3
2
x y
3 2
1
1
/2
/2
/2
7
Determine any relative maximum or minimum of the function, determine the intervals on which the function increasing or decreasing, and then find the domain and the range.
Relative Maximum:
Relative Minimum:
Increasing:
Decreasing:
Domain:
Range:
Relative Maximum:
Relative Minimum:
Increasing:
Decreasing:
Domain:
Range:
Relative Maximum:
Relative Minimum:
Increasing:
Decreasing:
Domain:
Range:
Relative Maximum:
Relative Minimum:
Increasing:
Decreasing:
Domain:
Range:
8
Piecewise-Defined Functions
Function are sometimes described by more than one expression, we call such functions piecewise- defined functions.
Example
Graph each function
2 5 2
( ) 1 2
x if x
f x x if x
Find: f(2) 2(2) 5 1 (0) 2( )0 5 5
f
4
(4) 1 5
f
2 3 1
( ) 6 1
x if x
f x x if x
Example
20 if 0 60 ( ) 20 0.40( 60) if 60
C t
t
t t
Find C(40), C(80), and C(60) Solution
a) C(40) = 20
b) C(80) = 20 + 0.40(80 – 60) = 28 c) C(60) = 20
x y
x y
9 Example
The speed s of sound in air is a function of the temperature t, in degrees Fahrenheit, and is given by 5 2457
( ) 1087.7
2457
s t t
Where s is in feet per second. Find the speed of sound in air when the temperature is 0, 32.
Solution
s
(0) = 1087.7 5(0) 2457 2457 1087.7 / secft
5(32) 2457 (32) 1087.7
s 2457
1122.6 / secft
10
Even and Odd Functions
Given the function f x( ) then find f(x) and simplify:
If f(x) f( )x f is even, or
If f(x)
f x( ) f is odd, or Neither
Example
Decide whether each function is even, odd, or neither a) f x
( )
8
x43
x24 2
(
x) 8(
x) 3(
x)
f
4 2
8x 3x
( )
f x Function is Even
b) 3
( ) 6 9
f x x x
(
x) 6(
x)
39( )
f x6x3 9x
6x3 9x
( ) f x
Function is Odd c) f x
( )
3
x25
x(
x) 3(
x)
25( )
f x3x2 5x
Function is Neither
11
Exercise Section 2.1 – Functions and Graphs
1. Determine whether each relation is a function and find the domain and the range.
a) {(1, 2), (3, 4), (5, 6), (5, 8)}
b) {(1, 2), (3, 4), (6, 5), (8, 5)}
c) {(9, -5), (9, 5), (2, 40)}
d) {(-2, 5), (5, 7), (0, 1), (4, -2)}
e) {( -5,3), (0, 3), (6, 3)}
2. Identify the domain and the range: {(5, 12.8), (10, 16.2), (15, 18.9), (20, 20.7), (25, 21.81)}
3. Let f x( ) 3x 4, find f(0) 4. Let g x( ) x24x1, find g(x) 5. Let f x( ) 3x 4, find f a( 4)
6. Given: f(x)2|x|3x, find f(2h). 7. Given: ( ) 4
3 g x x
x
, find g x h( ) 8. Given:
( ) 2 1 g x x
x
, find g(0) and g ( 1) 9. Given that g x
2x22x3. Find g p
3
10. If f x
( )
x2 2
x7
, evaluate each of the following: f( 5), ( f x4), (f x) 11. Find
0 , 4 , 7 ,
32
216
g g g and g for g x x
x
12.
2 4
( ) 4 2
3 2
x if x
f x x if x
x if x
Find: f( 5), ( 1), (0), f f and f (3)
13.
2 3
( ) 3 1 3 2
4 2
x if x
f x x if x
x if x
Find: f( 5), ( 1), (0), f f and f (3)
14.
3
2
3 2 0
( ) 3 0 1
4 1 3
x if x
f x x if x
x x if x
Find: f( 5), ( 1), (0), f f and f (3)
12 15.
2 9 3
( ) 3
6 3
x if x
h x x
if x
Find: h(5), (0), h and h (3)
16. Graph the piecewise function defined by
1 2
1 ) 3
( x if x
x x if
f
17. Sketch the graph 3
2 1
( ) 1 1
3 1
x if x
f x x if x
x if x
18. Sketch the graph 2
3 2
( ) 2 1
4 1
x if x
f x x if x
x if x
19. Decide whether the function is even, odd, or neither f x( ) x3 2x 20. Decide whether the function is even, odd, or neither f x( )x52x3 21. Decide whether the function is even, odd, or neither f x( ).5x42x26 22. Decide whether the function is even, odd, or neither f x( ).75x2 x 4 23. Decide whether the function is even, odd, or neither f x( )x3 x 9 24. Decide whether the function is even, odd, or neither f x( )x45x8 25. Decide whether each function is even, odd, or neither f x( )x3x 26. Decide whether each function is even, odd, or neither g x( )x2x 27. Decide whether each function is even, odd, or neither h x( )2x2x4
28. Decide whether each function is even, odd, or neither f x( )2x2x41 29. Decide whether each function is even, odd, or neither 1 6 2
( ) 5 3
f x x x
30. Decide whether each function is even, odd, or neither f x( )x 1x2 31. Decide whether each function is even, odd, or neither f x( )x2 1x2 32. Decide whether each function is even, odd, or neither f x
( )
5
x76
x32
x 33. Decide whether each function is even, odd, or neither6 2
( ) 5 3 7
f x x x
13
34. Decide whether the function is even, odd, or neither f x( )x26 35. Decide whether the function is even, odd, or neither f x( )7x3x 36. Decide whether the function is even, odd, or neither h x( )x51
37. The elevation H, in meters, above sea level at which the boiling point of water is in t degrees Celsius is given by the function
( ) 1000(100 ) 580(100 )2
H t t t
At what elevation is the boiling point 99.5.
38. A hot-air balloon rises straight up from the ground at a rate of 120 ft./min. The balloon is tracked from a rangefinder on the ground at point P, which is 400 ft. from the release point Q of the balloon.
Let d = the distance from the balloon to the rangefinder and
t
– the time, in minutes, since the balloon was released. Express d as a function oft
.39. An airplane is flying at an altitude of 3700 ft. The slanted distance directly to the airport is
d
feet.Express the horizontal distance
h
as a function ofd
.40. A device used in golf to estimate the distance d, in yards, to a hole measures the size s, in inches, that the 7-ft pin appears to be in a viewfinder. Express the distance d as a function of s.
14
41. A rancher has 360 yd. of fencing with which to enclose two adjacent rectangular corrals, one for sheep and one for cattle. A river forms one side of the corrals. Suppose the width of each corral is x yards.
a) Express the total area of the two corrals as a function of x. b) Find the domain of the function.
42. A rhombus is inscribed in a rectangle that is w meters wide with a perimeter of 40 m. Each vertex of the rhombus is a midpoint of a side of the rectangle. Express the area of the rhombus as a function of the rectangle’s width.
1
Solution Section 2.1 – Functions and Graphs
Exercise
Determine whether each relation is a function and find the domain and the range.
a) {(1, 2), (3, 4), (5, 6), (5, 8)}
b) {(1, 2), (3, 4), (6, 5), (8, 5)}
c) {(9, -5), (9, 5), (2, 40)}
d) {(-2, 5), (5, 7), (0, 1), (4, -2)}
e) {( -5,3), (0, 3), (6, 3)}
Solution
a) {(1, 2), (3, 4), (5, 6), (5, 8)}
Not a function Domain: {1, 3, 5}
Range: {2, 4, 6, 8}
b) {(1, 2), (3, 4), (6, 5), (8, 5)}
Function
Domain: {1, 3, 6, 8}
Range: {2, 4, 5}
c) {(9, -5), (9, 5), (2, 40)}
It is not a function Domain = {2, 9}
Range = {-5, 5, 40}
d) {(-2, 5), (5, 7), (0, 1), (4, -2)}
It is a function
Domain = {-2, 0, 4, 5}
Range = {-2, 1, 5, 7}
e) {( -5,3), (0, 3), (6, 3)}
It is a function Domain = {-5, 0, 6}
Range = {3}
2
Exercise
Find the domain and the range of the relation: {(5, 12.8), (10, 16.2), (15, 18.9), (20, 20.7), (25, 21.81)}
Solution
Domain: {5, 10, 15, 20, 25}
Range: {12.8, 16.2, 18.9, 20.7, 21.81}
Exercise
Let f x( ) 3x 4, find f(0) Solution
(0) 3(0) 4
f
4
Exercise
Let g x( ) x24x1, find g(x) Solution
( ) ( )2 4( ) 1
g x x x
2 4 1
x x
Exercise
Let f x( ) 3x 4, find f a( 4) Solution
(a 4) 3(a 4) 4
f
3a 12 4
3a 8
Exercise
Given: f(x)2|x|3x, find f(2h). Solution
(2 ) 2 | 2 | 3(2 ) f h h h
2 | 2 h| 6 3h
3
Exercise
Given: ( ) 4
3 g x x
x
, find g x h( ) Solution
( ) 4
3 x h x h
g x h
Exercise
Given:
1 2 ) (
x x x
g
, find g(0) and g ( 1)
Solution
a) 2
0 1 0
(0) 0
g
b) 2
1 1
1 ( 1) 0
( 1)
g undefined
Exercise
Given that g x
2x22x3. Find g p
3
Solution
3
2
p 3
2 2
p 3
3g p
ab
2 a22abb2
2 2
2 p 2 p 3 3 2p 6 3
2
2 p 6p 9 2p 9
2p2 12p 18 2p 9
2p2 14p 27
Exercise
If f x
( )
x2 2
x7
, evaluate each of the following: f( 5), ( f x4), (f x) Solutiona. f(5)?
( )
22 7
f x x x
4
(
5) (
5)
22(
5) 7
f
= 25 + 10 + 7 = 42
b. f(x4)?
(
4) (
4)
22(
4) 7
f x x x (a b )2 a22ab b 2
x22(4)x422x 8 7
2 8 16 2 1
x x x
2 6 15
x x
c. f
(
x)
x 22
x 7
2 2 7
x x
Exercise
Find
0 , 4 , 7 ,
32
2 16g g g and g for g x x
x
Solution
20 0
0 6
6
0 0 1 1
g
2 '4 4
1 0 4 4
4 6 16
16
doesn t e
g xi ts
27 7
16 49 33
7
7 16
7 doesn t exist in real numb'
g er
32
3 23 2 16 2
g
3 2
9 16 4
4 16 9 4 3 2
55 4 3
2
5 55
2 3
2
3 2
2 55
3 55
3 55
55
Exercise
2 4
( ) 4 2
3 2
x if x
f x x if x
x if x
Find: f( 5), ( 1), (0), f f and f (3)
Solution
a) f( 5) 25 3 b) f( 1) ( 1)1 c) f(0)00 d) f(3)3(3)9
Exercise
2 3
( ) 3 1 3 2
4 2
x if x
f x x if x
x if x
Find: f( 5), ( 1), (0), f f and f (3)
Solution
a) f(5) 2(5)10 b) f(1)3(1)1 4 c) f( )0 3( )0 1 1 d) f( )3 4( )3 12
6
Exercise
3
2
3 2 0
( ) 3 0 1
4 1 3
x if x
f x x if x
x x if x
Find: f( 5), ( 1), (0), f f and f (3)
Solution
a) f(5) doesn t exist' b) f(1)(1)332 c) f( )0 ( )0 333 d) f( )3 4 ( )3 ( )3 2 2
Exercise
2 9 3
( ) 3
6 3
x if x
h x x
if x
Find: h(5), (0), h and h (3) Solution
a) ( )5 52 9 3
5 8
h
b) (0) 02 3
3 0
h 9
c) h(3)6
Exercise
Graph the piecewise function defined by
1 2
1 ) 3
( x if x
x x if
f Solution
x y
7
Exercise
Sketch the graph 3
2 1
( ) 1 1
3 1
x if x
f x x if x
x if x
Solution
Exercise
Sketch the graph 2
3 2
( ) 2 1
4 1
x if x
f x x if x
x if x
Solution
8
Exercise
Decide whether each function is even, odd, or neither f x( ) x3 2x Solution
( x) ( x)3 2( ) f x
3 2
x x
( )
f x The function is odd.
Exercise
Decide whether each function is even, odd, or neither f x( )x52x3 Solution
5 3
( ) ( x) 2( ) f x x
5 2 3
x x
( )
f x The function is odd.
Exercise
Decide whether each function is even, odd, or neither f x( ).5x42x26 Solution
4 2
( ) .5( ) 2( ) 6
f x x x
4 2
.5x 2x 6
( )
f x The function is even.
Exercise
Decide whether each function is even, odd, or neither f x( ).75x2 x 4 Solution
( x) .75( )2 x 4 f x
.75x2 x 4
( )
f x The function is even.
9
Exercise
Decide whether each function is even, odd, or neither f x( )x3 x 9 Solution
( x) ( x)3 ( x) 9 f
3 9
x x
The function is neither.
Exercise
Decide whether each function is even, odd, or neither f x( )x45x8 Solution
( ) ( x)4 5( ) 8 f x x
4 5 8
x x
The function is neither.
Exercise
Decide whether each function is even, odd, or neither f x( )x3x Solution
( x) ( x)3 ( ) f x
x3 x
( )
f x The function is odd.
Exercise
Decide whether each function is even, odd, or neither g x( )x2x Solution
( x) ( x)2 ( ) g x
x2 x
The function is neither.
Exercise
Decide whether each function is even, odd, or neither h x( )2x2x4 Solution
2 4
( x) 2( x) ( ) h x
10
2 4
2x x
( )
h x The function is even.
Exercise
Decide whether each function is even, odd, or neither f x( )2x2x41 Solution
2 4
( ) 2( x) ( ) 1
f x x
2 4
2x x 1
( )
f x The function is even.
Exercise
Decide whether each function is even, odd, or neither 1 6 2
( ) 5 3
f x x x Solution
6 2
1
( x) 5( x) 3( x)
f
6 2
1
5x 3x
( )
f x The function is even.
Exercise
Decide whether each function is even, odd, or neither f x( )x 1x2 Solution
( x) x 1 ( )2 f x
1 2
x x
( )
f x The function is odd.
11
Exercise
Decide whether each function is even, odd, or neither f x( )x2 1x2 Solution
2 2
( ) ( x) 1 ( x) f x
2 2
1
x x
( )
f x The function is even.
Exercise
Decide whether each function is even, odd, or neither f x
( )
5
x76
x32
x Solution7 3
(
x) 5(
x) 6( ) 2( )
f x x7 3
5x 6x 2x
7 3
(5
x6
x2 )
x
( )
f x
The function is odd.Exercise
Decide whether each function is even, odd, or neither 6 2
( ) 5 3 7
f x x x Solution
6 2
( ) 5( ) 3( ) 7
f x x x
6 2
5x 3x 7
( )
f x
The function is even.Exercise
Decide whether each function is even, odd, or neither f x( )x26 Solution
( x) ( x)2 6
f
2 6
x
( )
f x
The function is even.12
Exercise
Decide whether each function is even, odd, or neither f x( )7x3x Solution
( ) 7( )3 ( ) f x x x
7x3 x
(7x3 x)
( )
f x
The function is odd.Exercise
Decide whether each function is even, odd, or neither h x( )x51 Solution
( x) ( x)5 1
h
5 5
5
1 1
( 1)
x x
x
Neither
Exercise
The elevation H, in meters, above sea level at which the boiling point of water is in t degrees Celsius is given by the function
( ) 1000(100 ) 580(100 )2
H t t t
At what elevation is the boiling point 99.5.
Solution
99.5 99 2
( ) 1000(100 .5) 580(100 99.5)
H
645 m
13
Exercise
A hot-air balloon rises straight up from the ground at a rate of 120 ft./min. The balloon is tracked from a rangefinder on the ground at point P, which is 400 ft. from the release point Q of the balloon. Let d = the distance from the balloon to the rangefinder and
t
– the time, in minutes, since the balloon was released.Express d as a function of
t
. Solution2 2
2 (120t) 400
d
2 2 400 )
120 ( )
(t t
d
160000 14400 2
t
d
) 100 9
( 1600 2
t
d
( ) 40 9 2 100
d t t
Exercise
An airplane is flying at an altitude of 3700 ft. The slanted distance directly to the airport is
d
feet. Express the horizontal distanceh
as a function ofd
.Solution
2 2 2 (3700) h
d
2 2 2 (3700) h
d
2 2 (3700) )
(t d h
Exercise
A device used in golf to estimate the distance d, in yards, to a hole measures the size s, in inches, that the 7-ft pin appears to be in a viewfinder. Express the distance d as a function of s.
Solution in
ft s
d 7
6 s in
d in
ft6
7
ft ft yd d s
3 42 1
( ) 14 d s s
14
Exercise
A rancher has 360 yd. of fencing with which to enclose two adjacent rectangular corrals, one for sheep and one for cattle. A river forms one side of the
corrals. Suppose the width of each corral is x yards.
a) Express the total area of the two corrals as a function of x.
b) Find the domain of the function.
Solution
a) Express the total area of the two corrals as a function of x.
360 3
x l P
x l3603
) 3 360
( x
x xl
A
360 2
( ) 3
A x x x
b) Find the domain of the function.
0 ) 3 360
( x
x
0
x 3603x03x360x120 Domain: 0 < x < 120
Exercise
A rhombus is inscribed in a rectangle that is w meters wide with a perimeter of 40 m. Each vertex of the rhombus is a midpoint of a side of the rectangle. Express the area of the rhombus as a function of the rectangle’s width.
Solution
The area of the rhombus = 1
2 area of the rectangle, since each vertex of the rhombus is a midpoint of a side of the rectangle.
: Perimter
2l2w40 Divide both sides by 2 20
l w 20 l w
20
Area of the rectanglelw w w
2
1 2 20 Area of the rhombus ww
1 2
2w 10w