SlideShare a Scribd company logo
MATH 1324 – Business College Algebra
3.2 Graphs of Functions
Chapter 3 Functions and Graphs
Concepts and Objectives
The objectives for this section are
• Connect functions to their graphs
• Graph piecewise-defined functions
• Graph absolute value functions
• Graph greatest-integer functions
• Interpret graphs
• Use the vertical line test to determine a function
Graphs of Functions
• The graph of a function f is defined to be the graph of the
equation y = f(x).
• It consists of all points (x, f(x)) – that is, every point whose
first coordinate is an input number from the domain of f
and whose second coordinate is the corresponding output
number from the function.
Graphs of Functions (cont.)
• For the most part, we use f (x) and y interchangeably to
denote a function of x, but there are some subtle
differences.
• y is the output variable, while f (x) is the rule that
produces the output variable.
• An equation with two variables, x and y, may not be a
function at all.
Example: is a circle, but not a function
2 2
4
x y
+ =
Graphs of Functions (cont.)
• Example: The graph of the function g(x) = .5x – 3 is the
graph of the equation y = .5x – 3.
This equation is in slope-intercept
form, which means we can plot
the y-intercept (0, –3), and then
count the slope (up 1, over 2) to
find the second point (2, –2).
We could also have found the
x-intercept at (6, 0).
Graphs of Piecewise Functions
• Example: Graph the following function:
The graph of f consists of:
the part of the line y = x +1 where x  2 and
the part of the line y = –2x + 7 where x > 2.
( )
1 if 2
2 7 if 2
x x
f x
x x
+ 

= 
− + 

Graphs of Piecewise Functions
• Example: Graph the following:
• For the first equation, plot the y-
intercept and count the slope to
find the second point.
( )
1 if 2
2 7 if 2
x x
f x
x x
+ 

= 
− + 

Graphs of Piecewise Functions
• Example: Graph the following:
• For the first equation, plot the y-
intercept and count the slope to
find the second point.
• Now, draw a line through the two
points, extending it until you
reach x = 2. End your line with a
closed circle.
( )
1 if 2
2 7 if 2
x x
f x
x x
+ 

= 
− + 

Graphs of Piecewise Functions
• Example: Graph the following:
• If we evaluate the second
equation at x = 2, we get (2, 3),
which is the same point on our
first equation (this doesn’t
always happen).
• Use the slope (–2) to find the
second point.
( )
1 if 2
2 7 if 2
x x
f x
x x
+ 

= 
− + 

Graphs of Piecewise Functions
• Example: Graph the following:
• Draw the line through the two
points to complete the graph.
( )
1 if 2
2 7 if 2
x x
f x
x x
+ 

= 
− + 

Graphs of Piecewise Functions
• Example: Graph the following:
• We can also use technology to graph the function. I
prefer using Desmos. You control the interval being
graphed by using braces:
( )
1 if 2
2 7 if 2
x x
f x
x x
+ 

= 
− + 

Graphs of Piecewise Functions
• Example: Graph the following:
• Using Desmos, we list the two parts.
( )
2 if 3
8 if 3
x x
f x
x x
− 

= 
− + 

Graphs of Piecewise Functions
• Example: Graph the following:
• Unlike the last problem, the two lines do not intersect.
This means we have to indicate which line actually
includes x = 3. To do this, we use open and closed
circles.
• For the first equation, 3 – 2 = 1, so (3, 1) is closed.
• For the second, –(3) + 8 = 5, so (3, 5) is open.
( )
2 if 3
8 if 3
x x
f x
x x
− 

= 
− + 

Graphs of Piecewise Functions
• Example: Graph the following:
( )
2 if 3
8 if 3
x x
f x
x x
− 

= 
− + 

Use the setup wheel to
change the color and
type of circle.
Graphs of Piecewise Functions
• Example: Graph the following:
( )
2 if 3
8 if 3
x x
f x
x x
− 

= 
− + 

Graphs of Piecewise Functions
• Example: Graph the following:
( )
2 if 3
8 if 3
x x
f x
x x
− 

= 
− + 

Graphs of Piecewise Functions
• Example: Graph the following:
• Click “Done” to finish
( )
2 if 3
8 if 3
x x
f x
x x
− 

= 
− + 

Absolute-Value Function
• The absolute-value function is an example of a piecewise
function. It’s defined as
and looks like this:
( )
if 0
if 0
x x
f x x
x x


= = 
− 

Writing Piecewise Functions
• Example: The Birmingham Water Works charges its
residential customers with a ⅝-inch water line a basic
service charge of $25 per month. The first 15 hundred
cubic feet (CCF) of water cost $2 per CCF. To encourage
water conservation, excessive water usages is charged at
a higher rate of $4 per CCF above 15.
a) How much would a customer who used 10 CCF of
water pay?
Writing Piecewise Functions
• Example: The Birmingham Water Works charges its
residential customers with a ⅝-inch water line a basic
service charge of $25 per month. The first 15 hundred
cubic feet (CCF) of water cost $2 per CCF. To encourage
water conservation, excessive water usages is charged at
a higher rate of $4 per CCF above 15.
a) How much would a customer who used 10 CCF of
water pay?
25 + 2(10) = $45
Writing Piecewise Functions
• Example: The Birmingham Water Works charges its
residential customers with a ⅝-inch water line a basic
service charge of $25 per month. The first 15 hundred
cubic feet (CCF) of water cost $2 per CCF. To encourage
water conservation, excessive water usages is charged at
a higher rate of $4 per CCF above 15.
b) How much would a customer who used 20 CCF of
water pay?
Writing Piecewise Functions
• Example: The Birmingham Water Works charges its
residential customers with a ⅝-inch water line a basic
service charge of $25 per month. The first 15 hundred
cubic feet (CCF) of water cost $2 per CCF. To encourage
water conservation, excessive water usages is charged at
a higher rate of $4 per CCF above 15.
b) How much would a customer who used 20 CCF of
water pay?
25 + 2(15) + 4(5) = $75
Writing Piecewise Functions
• Example: The Birmingham Water Works charges its
residential customers with a ⅝-inch water line a basic
service charge of $25 per month. The first 15 hundred
cubic feet (CCF) of water cost $2 per CCF. To encourage
water conservation, excessive water usages is charged at
a higher rate of $4 per CCF above 15.
c) Find a rule for the function f(x) that gives the amount
of the water bill when x CCF of water are used.
Writing Piecewise Functions
• Example: The Birmingham Water Works charges its
residential customers with a ⅝-inch water line a basic
service charge of $25 per month. The first 15 hundred
cubic feet (CCF) of water cost $2 per CCF. To encourage
water conservation, excessive water usages is charged at
a higher rate of $4 per CCF above 15.
c) Find a rule for the function f(x) that gives the amount
of the water bill when x CCF of water are used.
For the higher rate, notice that 25 + 2(15) = 55.
Writing Piecewise Functions
• Example: The Birmingham Water Works charges its
residential customers with a ⅝-inch water line a basic
service charge of $25 per month. The first 15 hundred
cubic feet (CCF) of water cost $2 per CCF. To encourage
water conservation, excessive water usages is charged at
a higher rate of $4 per CCF above 15.
c) Find a rule for the function f(x) that gives the amount
of the water bill when x CCF of water are used.
( )
( )
25 2 if 0 15
55 4 15 if 15
x x
f x
x x
+  


= 
+ − 


Writing Piecewise Functions
d) Graph the function.
Greatest-Integer Function
• The greatest-integer function, usually written
is defined by saying that [x] denotes the largest integer
that is less than or equal to x.
• Be careful with negatives! Notice that –3 is less than –2.6!
( ) ,
f x x
=  
 
[8] 8
[7.45] 7
[] 3
[-1] -1
[-2.6] -3
Greatest-Integer Function
• Here’s another way to look at it:
• Here’s how the graph looks:
x –2  x  –1 –1  x  0 0  x  1 1  x  2
[x] –2 –1 0 1
The graph should
demonstrate why
this is an example of
a step function.
Step Functions
• Example: To mail a letter to Canada in 2016, the U.S. Post
Office charged $1.20 for the first ounce, an additional
$0.47 for an additional two ounces, and then an additional
$0.49 up to a maximum weight of 3.5 ounces. If L(x)
represents the cost of sending a letter weighing x ounces,
graph L(x) for x in the interval (0, 3.5].
Step Functions
• Example: To mail a letter to Canada in 2016, the U.S. Post
Office charged $1.20 for the first ounce, an additional
$0.47 for an additional two ounces, and then an additional
$0.49 up to a maximum weight of 3.5 ounces. If L(x)
represents the cost of sending a letter weighing x ounces,
graph L(x) for x in the interval (0, 3.5].
• Let’s figure out our steps:
0 1: $1.20
1 3: $1.20 $0.47 $1.67
3 3.5: $1.67 $0.49 $2.16
x
x
x
 
  + =
  + =
Step Functions
• This would give us a function that looked like:
• And a graph of
( )
1.2 if 0 1
1.67 if 1 3
2.16 if 3 3.5
x
L x x
x
 


=  

  

Reading and Interpreting Graphs
• Graphs are often used in business and the social sciences
to present data (recall the NASDAQ graph from last class).
It is just as important to know how to read such graphs as
it is to construct them.
Reading and Interpreting Graphs
• Example: The graph below shows the median sales prices
(in thousands of dollars) of new privately owned, one-
family houses by region of the United States (Northeast,
Midwest, South, and West) for the years 2008 to 2015.
a) How do prices in the
West compare with
those in the Midwest?
Reading and Interpreting Graphs
a) How do prices in the West compare with those in the
Midwest?
The houses in the West started out about $100,000 higher than
those in the Midwest. In both regions, prices declined initially,
but they rebounded. By
2012, the gap between the
two regions had shrunk to
less than $50,000, but
then widened again to
about $75,000 by 2015.
Reading and Interpreting Graphs
b) Which region typically had the highest prices?
Reading and Interpreting Graphs
a) Which region typically had the highest prices?
The Northeast had the highest median sales price for all years
shown.
Reading and Interpreting Graphs
• Example: The average price f(x) of a barrel of crude oil (in
dollars) in year x is shown for the years 2005 to 2015, with
projected prices shown through the year 2025.
Reading and Interpreting Graphs
a) Estimate the price of crude in 2015 and 2025.
Reading and Interpreting Graphs
a) Estimate the price of crude in 2015 and 2025.
2015: $50/barrel 2025: $80/barrel
Reading and Interpreting Graphs
b) During what period did oil prices drop below $40 per
barrel?
Reading and Interpreting Graphs
b) During what period did oil prices drop below $40 per
barrel?
2016
Vertical Line Test
• No vertical line intersects the graph of a function y = f(x) at
more than one point.
• Notice the difference:
Not a function Function
By Next Class
• 3.2 Graphs of Functions in MyMathLab
• Quiz 3.2 in Canvas
• Notes on Section 3.3

More Related Content

PDF
3.1 Functions
DOCX
Chapter 5
PPTX
Unit-1 Basic Concept of Algorithm.pptx
PPTX
Deatiled Functions and Piecewise ppt..pptx
PDF
Chapter 1 asdawdawdawdwadawdaw sf sdaipkiof 0iuase f9iu80awehf úoaeh
PPTX
Equations Complex Numbers Quadratic Expressions Inequalities Absolute Value E...
PPTX
439_Applied_Mathematics_for_Civil_Engineering_LECTURE_1 Function.pptx
PPTX
General Mathematics Slides - Function.pptx
3.1 Functions
Chapter 5
Unit-1 Basic Concept of Algorithm.pptx
Deatiled Functions and Piecewise ppt..pptx
Chapter 1 asdawdawdawdwadawdaw sf sdaipkiof 0iuase f9iu80awehf úoaeh
Equations Complex Numbers Quadratic Expressions Inequalities Absolute Value E...
439_Applied_Mathematics_for_Civil_Engineering_LECTURE_1 Function.pptx
General Mathematics Slides - Function.pptx

Similar to 3.2 Graphs of Functions (20)

PDF
Problemas resueltos de funciones lineales ccesa007
PPT
barnfm10e_ppt_1_4.ppt
PPTX
Greatest integer
PPT
Algebra 1, 5 3
PPT
MATLAB-Introd.ppt
PPTX
IGCSE_Functions.pptx fffffffffffffffffffffffffffffffffffffffffffffffffffffff...
PPT
logarithmic, exponential, trigonometric functions and their graphs.ppt
DOCX
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
PPT
2.7 Piecewise Functions
PPTX
Form 4 Add Maths Chapter 6 Linear Law
PPTX
Calculus Lecture 1
PPTX
MATLABgraphPlotting.pptx
PPT
lecture 23
PPTX
Introduction to MATLAB Programming for Engineers
PPSX
QR 1 Lesson Notes 8 - Motivation for Modelling with Linear Functions PP Show
PPTX
Lesson_Presentation_Graphing_Special_Functions.pptx
PPTX
Basic Calculus_Derivative of a Function_PPT.pptx
PDF
Lp (2)
PPT
Simultaneous Equations Practical Construction
Problemas resueltos de funciones lineales ccesa007
barnfm10e_ppt_1_4.ppt
Greatest integer
Algebra 1, 5 3
MATLAB-Introd.ppt
IGCSE_Functions.pptx fffffffffffffffffffffffffffffffffffffffffffffffffffffff...
logarithmic, exponential, trigonometric functions and their graphs.ppt
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
2.7 Piecewise Functions
Form 4 Add Maths Chapter 6 Linear Law
Calculus Lecture 1
MATLABgraphPlotting.pptx
lecture 23
Introduction to MATLAB Programming for Engineers
QR 1 Lesson Notes 8 - Motivation for Modelling with Linear Functions PP Show
Lesson_Presentation_Graphing_Special_Functions.pptx
Basic Calculus_Derivative of a Function_PPT.pptx
Lp (2)
Simultaneous Equations Practical Construction
Ad

More from smiller5 (20)

PDF
T7.3 The Unit Circle and Angles Presentation
PDF
T7.2 Right Triangle Trigonometry Presentation
PDF
1.3 Factoring Quadratics (Presentation).pdf
PPTX
1.3 Factoring Polynomial and Quadratic Expressions
PDF
Trigonometry 7.1 Angles (Degrees and Radians)
PDF
6.7 Exponential and Logarithmic Models
PDF
4.5 Special Segments in Triangles
PDF
1.4 Conditional Statements
PDF
1.3 Distance and Midpoint Formulas
PDF
1.5 Quadratic Equations.pdf
PDF
3.2 Graphs of Functions
PDF
2.5 Transformations of Functions
PDF
2.2 More on Functions and Their Graphs
PDF
1.6 Other Types of Equations
PDF
1.5 Quadratic Equations (Review)
PDF
2.1 Basics of Functions and Their Graphs
PDF
9.6 Binomial Theorem
PDF
13.3 Venn Diagrams & Two-Way Tables
PDF
13.2 Independent & Dependent Events
PDF
9.5 Counting Principles
T7.3 The Unit Circle and Angles Presentation
T7.2 Right Triangle Trigonometry Presentation
1.3 Factoring Quadratics (Presentation).pdf
1.3 Factoring Polynomial and Quadratic Expressions
Trigonometry 7.1 Angles (Degrees and Radians)
6.7 Exponential and Logarithmic Models
4.5 Special Segments in Triangles
1.4 Conditional Statements
1.3 Distance and Midpoint Formulas
1.5 Quadratic Equations.pdf
3.2 Graphs of Functions
2.5 Transformations of Functions
2.2 More on Functions and Their Graphs
1.6 Other Types of Equations
1.5 Quadratic Equations (Review)
2.1 Basics of Functions and Their Graphs
9.6 Binomial Theorem
13.3 Venn Diagrams & Two-Way Tables
13.2 Independent & Dependent Events
9.5 Counting Principles
Ad

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Cell Structure & Organelles in detailed.
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Insiders guide to clinical Medicine.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
VCE English Exam - Section C Student Revision Booklet
Supply Chain Operations Speaking Notes -ICLT Program
Cell Structure & Organelles in detailed.
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Insiders guide to clinical Medicine.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
RMMM.pdf make it easy to upload and study
Abdominal Access Techniques with Prof. Dr. R K Mishra
Microbial diseases, their pathogenesis and prophylaxis
Sports Quiz easy sports quiz sports quiz
Final Presentation General Medicine 03-08-2024.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
Basic Mud Logging Guide for educational purpose
Anesthesia in Laparoscopic Surgery in India
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx

3.2 Graphs of Functions

  • 1. MATH 1324 – Business College Algebra 3.2 Graphs of Functions Chapter 3 Functions and Graphs
  • 2. Concepts and Objectives The objectives for this section are • Connect functions to their graphs • Graph piecewise-defined functions • Graph absolute value functions • Graph greatest-integer functions • Interpret graphs • Use the vertical line test to determine a function
  • 3. Graphs of Functions • The graph of a function f is defined to be the graph of the equation y = f(x). • It consists of all points (x, f(x)) – that is, every point whose first coordinate is an input number from the domain of f and whose second coordinate is the corresponding output number from the function.
  • 4. Graphs of Functions (cont.) • For the most part, we use f (x) and y interchangeably to denote a function of x, but there are some subtle differences. • y is the output variable, while f (x) is the rule that produces the output variable. • An equation with two variables, x and y, may not be a function at all. Example: is a circle, but not a function 2 2 4 x y + =
  • 5. Graphs of Functions (cont.) • Example: The graph of the function g(x) = .5x – 3 is the graph of the equation y = .5x – 3. This equation is in slope-intercept form, which means we can plot the y-intercept (0, –3), and then count the slope (up 1, over 2) to find the second point (2, –2). We could also have found the x-intercept at (6, 0).
  • 6. Graphs of Piecewise Functions • Example: Graph the following function: The graph of f consists of: the part of the line y = x +1 where x  2 and the part of the line y = –2x + 7 where x > 2. ( ) 1 if 2 2 7 if 2 x x f x x x +   =  − +  
  • 7. Graphs of Piecewise Functions • Example: Graph the following: • For the first equation, plot the y- intercept and count the slope to find the second point. ( ) 1 if 2 2 7 if 2 x x f x x x +   =  − +  
  • 8. Graphs of Piecewise Functions • Example: Graph the following: • For the first equation, plot the y- intercept and count the slope to find the second point. • Now, draw a line through the two points, extending it until you reach x = 2. End your line with a closed circle. ( ) 1 if 2 2 7 if 2 x x f x x x +   =  − +  
  • 9. Graphs of Piecewise Functions • Example: Graph the following: • If we evaluate the second equation at x = 2, we get (2, 3), which is the same point on our first equation (this doesn’t always happen). • Use the slope (–2) to find the second point. ( ) 1 if 2 2 7 if 2 x x f x x x +   =  − +  
  • 10. Graphs of Piecewise Functions • Example: Graph the following: • Draw the line through the two points to complete the graph. ( ) 1 if 2 2 7 if 2 x x f x x x +   =  − +  
  • 11. Graphs of Piecewise Functions • Example: Graph the following: • We can also use technology to graph the function. I prefer using Desmos. You control the interval being graphed by using braces: ( ) 1 if 2 2 7 if 2 x x f x x x +   =  − +  
  • 12. Graphs of Piecewise Functions • Example: Graph the following: • Using Desmos, we list the two parts. ( ) 2 if 3 8 if 3 x x f x x x −   =  − +  
  • 13. Graphs of Piecewise Functions • Example: Graph the following: • Unlike the last problem, the two lines do not intersect. This means we have to indicate which line actually includes x = 3. To do this, we use open and closed circles. • For the first equation, 3 – 2 = 1, so (3, 1) is closed. • For the second, –(3) + 8 = 5, so (3, 5) is open. ( ) 2 if 3 8 if 3 x x f x x x −   =  − +  
  • 14. Graphs of Piecewise Functions • Example: Graph the following: ( ) 2 if 3 8 if 3 x x f x x x −   =  − +   Use the setup wheel to change the color and type of circle.
  • 15. Graphs of Piecewise Functions • Example: Graph the following: ( ) 2 if 3 8 if 3 x x f x x x −   =  − +  
  • 16. Graphs of Piecewise Functions • Example: Graph the following: ( ) 2 if 3 8 if 3 x x f x x x −   =  − +  
  • 17. Graphs of Piecewise Functions • Example: Graph the following: • Click “Done” to finish ( ) 2 if 3 8 if 3 x x f x x x −   =  − +  
  • 18. Absolute-Value Function • The absolute-value function is an example of a piecewise function. It’s defined as and looks like this: ( ) if 0 if 0 x x f x x x x   = =  −  
  • 19. Writing Piecewise Functions • Example: The Birmingham Water Works charges its residential customers with a ⅝-inch water line a basic service charge of $25 per month. The first 15 hundred cubic feet (CCF) of water cost $2 per CCF. To encourage water conservation, excessive water usages is charged at a higher rate of $4 per CCF above 15. a) How much would a customer who used 10 CCF of water pay?
  • 20. Writing Piecewise Functions • Example: The Birmingham Water Works charges its residential customers with a ⅝-inch water line a basic service charge of $25 per month. The first 15 hundred cubic feet (CCF) of water cost $2 per CCF. To encourage water conservation, excessive water usages is charged at a higher rate of $4 per CCF above 15. a) How much would a customer who used 10 CCF of water pay? 25 + 2(10) = $45
  • 21. Writing Piecewise Functions • Example: The Birmingham Water Works charges its residential customers with a ⅝-inch water line a basic service charge of $25 per month. The first 15 hundred cubic feet (CCF) of water cost $2 per CCF. To encourage water conservation, excessive water usages is charged at a higher rate of $4 per CCF above 15. b) How much would a customer who used 20 CCF of water pay?
  • 22. Writing Piecewise Functions • Example: The Birmingham Water Works charges its residential customers with a ⅝-inch water line a basic service charge of $25 per month. The first 15 hundred cubic feet (CCF) of water cost $2 per CCF. To encourage water conservation, excessive water usages is charged at a higher rate of $4 per CCF above 15. b) How much would a customer who used 20 CCF of water pay? 25 + 2(15) + 4(5) = $75
  • 23. Writing Piecewise Functions • Example: The Birmingham Water Works charges its residential customers with a ⅝-inch water line a basic service charge of $25 per month. The first 15 hundred cubic feet (CCF) of water cost $2 per CCF. To encourage water conservation, excessive water usages is charged at a higher rate of $4 per CCF above 15. c) Find a rule for the function f(x) that gives the amount of the water bill when x CCF of water are used.
  • 24. Writing Piecewise Functions • Example: The Birmingham Water Works charges its residential customers with a ⅝-inch water line a basic service charge of $25 per month. The first 15 hundred cubic feet (CCF) of water cost $2 per CCF. To encourage water conservation, excessive water usages is charged at a higher rate of $4 per CCF above 15. c) Find a rule for the function f(x) that gives the amount of the water bill when x CCF of water are used. For the higher rate, notice that 25 + 2(15) = 55.
  • 25. Writing Piecewise Functions • Example: The Birmingham Water Works charges its residential customers with a ⅝-inch water line a basic service charge of $25 per month. The first 15 hundred cubic feet (CCF) of water cost $2 per CCF. To encourage water conservation, excessive water usages is charged at a higher rate of $4 per CCF above 15. c) Find a rule for the function f(x) that gives the amount of the water bill when x CCF of water are used. ( ) ( ) 25 2 if 0 15 55 4 15 if 15 x x f x x x +     =  + −   
  • 26. Writing Piecewise Functions d) Graph the function.
  • 27. Greatest-Integer Function • The greatest-integer function, usually written is defined by saying that [x] denotes the largest integer that is less than or equal to x. • Be careful with negatives! Notice that –3 is less than –2.6! ( ) , f x x =     [8] 8 [7.45] 7 [] 3 [-1] -1 [-2.6] -3
  • 28. Greatest-Integer Function • Here’s another way to look at it: • Here’s how the graph looks: x –2  x  –1 –1  x  0 0  x  1 1  x  2 [x] –2 –1 0 1 The graph should demonstrate why this is an example of a step function.
  • 29. Step Functions • Example: To mail a letter to Canada in 2016, the U.S. Post Office charged $1.20 for the first ounce, an additional $0.47 for an additional two ounces, and then an additional $0.49 up to a maximum weight of 3.5 ounces. If L(x) represents the cost of sending a letter weighing x ounces, graph L(x) for x in the interval (0, 3.5].
  • 30. Step Functions • Example: To mail a letter to Canada in 2016, the U.S. Post Office charged $1.20 for the first ounce, an additional $0.47 for an additional two ounces, and then an additional $0.49 up to a maximum weight of 3.5 ounces. If L(x) represents the cost of sending a letter weighing x ounces, graph L(x) for x in the interval (0, 3.5]. • Let’s figure out our steps: 0 1: $1.20 1 3: $1.20 $0.47 $1.67 3 3.5: $1.67 $0.49 $2.16 x x x     + =   + =
  • 31. Step Functions • This would give us a function that looked like: • And a graph of ( ) 1.2 if 0 1 1.67 if 1 3 2.16 if 3 3.5 x L x x x     =       
  • 32. Reading and Interpreting Graphs • Graphs are often used in business and the social sciences to present data (recall the NASDAQ graph from last class). It is just as important to know how to read such graphs as it is to construct them.
  • 33. Reading and Interpreting Graphs • Example: The graph below shows the median sales prices (in thousands of dollars) of new privately owned, one- family houses by region of the United States (Northeast, Midwest, South, and West) for the years 2008 to 2015. a) How do prices in the West compare with those in the Midwest?
  • 34. Reading and Interpreting Graphs a) How do prices in the West compare with those in the Midwest? The houses in the West started out about $100,000 higher than those in the Midwest. In both regions, prices declined initially, but they rebounded. By 2012, the gap between the two regions had shrunk to less than $50,000, but then widened again to about $75,000 by 2015.
  • 35. Reading and Interpreting Graphs b) Which region typically had the highest prices?
  • 36. Reading and Interpreting Graphs a) Which region typically had the highest prices? The Northeast had the highest median sales price for all years shown.
  • 37. Reading and Interpreting Graphs • Example: The average price f(x) of a barrel of crude oil (in dollars) in year x is shown for the years 2005 to 2015, with projected prices shown through the year 2025.
  • 38. Reading and Interpreting Graphs a) Estimate the price of crude in 2015 and 2025.
  • 39. Reading and Interpreting Graphs a) Estimate the price of crude in 2015 and 2025. 2015: $50/barrel 2025: $80/barrel
  • 40. Reading and Interpreting Graphs b) During what period did oil prices drop below $40 per barrel?
  • 41. Reading and Interpreting Graphs b) During what period did oil prices drop below $40 per barrel? 2016
  • 42. Vertical Line Test • No vertical line intersects the graph of a function y = f(x) at more than one point. • Notice the difference: Not a function Function
  • 43. By Next Class • 3.2 Graphs of Functions in MyMathLab • Quiz 3.2 in Canvas • Notes on Section 3.3