Unit 1 Piecewise Fall 15
Unit 1 Piecewise Fall 15
Objective 2.02 Use piece-wise defined functions to model and solve problems; justify results.
a) Solve using tables, graphs and algebraic properties.
b) Interpret the constants, coefficients, and bases in context of the problem.
2 Domains of functions
Tuesday, without looking at the graph
August 25 Evaluating Functions
3 Finish domains
Wednesday, Intro to parent functions and
August 26 transformations
4 Transformations
Thursday,
August 27
5 Intro to Piecewise functions QUIZ (Days 1-3)
Friday, August
28
6 Applications of piecewise
Monday, functions
August 31
7 Step Functions and QUIZ (Transformations of
Tuesday, Applications of piecewise functions)
September 1 functions continued
8 Review
Wednesday,
September 2
9 Test Test
Thursday, Math XL Due
September 3
1
Function Notes
Function:
Domain:
Increasing:
Decreasing:
Range:
Interval Notation:
Parenthesis, brackets or a combination of both.
Union “U”:
The Vertical Line Test:
Examples: Determine if the graph is a function. If it is, state the domain and range.
1. 2. 3.
4. 5.
2
Graphing Functions:
Asymptotes:
Vertical:
Horizontal:
Open Circle:
Closed Circle:
2. 4.
Sketch the graph of the following functions. Find the domain, range, and the interval of
increase/decrease.
1. 2. 3.
3
Function Classwork Continued
Directions: a)Determine if the graph is a function, b) Find the domain and range of the
graph, c) Identify where the graph is increasing/decreasing/constant
1. Function?______ 2. Function?_________
Domain:__________ Domain:___________
Range: ___________ Range:____________
Inc:_______________ Inc:_______________
Dec:______________ Dec: ______________
Con:______________ Con:_______________
3. Function?______ 4. Function?_________
Domain:__________ Domain:___________
Range: ___________ Range:____________
Inc:_______________
Dec:______________
Con:______________
5. Function?______ 6. Function?_________
Domain:__________ Domain:___________
Range: ___________ Range:____________
Inc:_______________ Inc:_______________
Dec:______________ Dec: ______________
Con:______________ Con:_______________
7. Function?______ 8. Function?_________
Domain:__________ Domain:___________
Range: ___________ Range:____________
Inc:_______________
Dec: ______________
Con:_______________
Examples
1) 2) 3)
5
Domain without Graphs Practice
Practice
Find the domain of the functions
1. 8. f ( x )
x
x3
2.
9.
3.
10.
4.
11.
2
5. y (c)
c 3c
2
12.
w4
6. q( w)
w2 1
13.
7. t (v) v 2 2v 8
14.
6
Evaluating Functions
Remember, a variable is just a place holder. So to evaluate a function f at a number, you
substitute the number for the placeholder.
(b) (d)
(b)
(c)
(d)
1. 5.
2. 6.
3. 7.
4.
7
Notes: Intro to Parent Functions
I. Functions
Graph each of the following functions. Use the table to help you come up with quality graphs! Label at
least 5 points on your graph.
1. 3. 5.
2. 4. 6.
These are called _______________ functions or ___________ functions. There are sever other types but we
will use these for our examples.
We will investigate how we can _______________ the ________________ function to get a new graph.
A transformation is a ___________ in a graph from the parent function
_____________ transformation ____________ the graph, but doesn’t stretch or shrink the shape.
8
Transformation Discovery
Part 1: Graph the following on your calculator and write down the relationship between the toolkit graph
and its transformation. What do you do to the original to get the “new” graph?
a) b) c) d)
e) In one complete sentence, predict what the graph of will look like.
f) In one complete sentence, predict what the graph of will look like.
Part 2: Graph the following on your calculator and write down the relationship between the toolkit graph
and its transformation. What do you do to the original to get the “new” graph?
a) b) c) d)
e) In one complete sentence, predict what the graph of will look like.
f) In one complete sentence, predict what the graph of will look like.
Part 3: Graph the following on your calculator and write down the relationship between the toolkit graph
and its transformation. What do you do to the original to get the “new” graph? Specifically, look at the 3
original points compared to those 3 “new” points.
Original #1: (0,0); (1, 1); (2, 4) Original #2: (0,0); (-1, 1); (2, 2)
a) b) c) d)
9
e) The points (0,0), (1,1) and (4,2) are on the graph of . What corresponding points do you think
will be on the graph of ?
Part 4: Look at the graph of and specifically the points (1,1), (4, 2) and (9, 3).
a) Graph . Fill in the blanks in these ordered pairs: (____, 1); (____, 2); (____, 3)
b) Now graph . Fill in the blanks in these ordered pairs: (____, 1); (____, 2); (____, 3)
c) Now graph . Fill in the blanks in these ordered pairs: (____, 1); (____, 2); (____, 3)
Part 5: Look at the graph of Describe the difference between it and the graph of .
a) Compare and . Describe the difference. What happened to the original to get the new
graph?
Part 6: Put it all together! Without using your calculator, describe the transformations of the graphs.
Without graphing, how will the following functions be changed from the parent graph?
a) c)
b) d)
b) Now, using your calculator graph . What happened to the graph? Were you correct?
10
Transformation Rules
Horizontal Transformations: Reflections
F(x+c) ____________________________ -F(X) _________________________
F(x-c) ____________________________ F(-x) ___________________________
Vertical Transformations Stretch/Shrink
F(x) + C ____________________________ a*F(x) ____________________________
F(x) – C ____________________________ 1/a*F(x) ____________________________
F(a*x) ____________________________
F(1/a*x) ____________________________
Transformations of Functions Practice
1. Given the function f(x) = x2, write the function whose graph of f(x) is:
A. shifted 6 units to the left
B. reflected about the y-axis
C. reflected about the x-axis
D. shifted 5 units up
E. vertically stretched by a factor of 4
F. horizontally stretched (compressed) by a factor of 1/3
2. Given the function , write the function whose graph of f(x) is:
A. shifted 6 units to the left
B. reflected about the y-axis
C. reflected about the x-axis
D. shifted 5 units up
E. vertically stretched by a factor of 4
F. horizontally stretched (compressed) by a factor of 1/3
3. Write a function that is obtained after the following transformations are applied to y = |x|.
A. shift 2 units up, reflect about the x-axis then about the y-axis.
B. reflect over the x-axis, shift 3 units left and 2 units up.
A. Graph f(x – 3)
B. Graph f(-x)
C. Graph –f(x)
11
Transformation of Functions Practice 2
Draw the parent graph first using a dotted (- - -)line. Then sketch the final graph using a solid (-----) line.
Describe each transformation and identify the domain and range of the final graph.
12
Quiz Review
State the domain and range, where the graph is increasing, decreasing and constant in interval notation.
1. 1 2.
3. 4.
5.
8.
6.
9.
7.
10.
11. If , find:
a) f(-2) b) f(3) c) f(0) d) f(a)
13
Introduction to Piecewise
Piecewise Functions:
Continuous: Discontinuous:
14
Graphing Piecewise Functions
Both of the following notations can be used to describe a piecewise function over the function’s domain:
3. Complete the following table of values for the piecewise function over the given domain.
x f(x)
-5
-3
0
1
1.7
1.9
2
2.2
4
6
7. Are all the endpoints solid dots or open dots or some of each? Why?
8. Were all these x values necessary to graph this piecewise function, or could this have been
graphed using less points?
9. Which x values were “critical” to include in order to sketch the graph of this piecewise function?
15
10. Can you generalize which x-values are essential to input into your table to make a hand sketched
graph of a piecewise linear function?
x 3 ,8 x 1
11. Now graph this piecewise function: f(x) =
10 2 x ,1 x 7
by completing a table of values for the piecewise function over the given domain.
x f(x)
12. Why did you choose the x values you placed into the table?
16. Are all the endpoints filled circles or open circles or some of each? Why?
17. Was it necessary to evaluate both pieces of the function for the x-value 1? Why or why not?
18. Which x values were “critical” to include in order to graph this piecewise function? Explain.
16
Lesson 2: Writing piecewise functions given a graph.
19. Can you identify the equations of the lines that contain each segment?
b. Middle equation=
c. Right equation=
b. Middle domain=
c. Right domain=
21. Now, put the domain together with the equations to write the piecewise function for the graph.
f (x)
17
1. Graph 2 x 1, if x 1
f x
3x 1, if x 1
x 2 1 x 0
2. Graph f x 2x 1 0x 5
3 x 5
18
Day 5 Classwork
Part I. Carefully graph each of the following. Identify whether or not he graph is a function. Then, evaluate
the graph at any specified domain value. You may use your calculators to help you graph, but you must sketch
it carefully on the grid!
x 5
x 2
1. f x 2
x 2x 3
x 2
Function? Yes or No
f 3
f 4
f 2
2x 1
x 1
2. f x 2
x 3
x 1
Function? Yes or No
f 2
f 6
f 1
2x 1 x 2
3. f x
5x 4 x 2
Function? Yes or No
f 4
f 8
f 2
19
x 2 1 x 0
4. f x 2x 1 0x 5
3 x 5
Function? Yes or No
f 2
f 0
f 5
x x 0
2
5. f x 2
x 4 x 0
Function? Yes or No
f 4
f 0
f 3
5 x 3
6. f x
2x 3 x 3
Function? Yes or No
f 4
f 0
f 3
20
Day 6 Quiz Review
1.
2.
3.
21
Day 6 Notes
Applications of Piecewise Functions
1. A long distance telephone charges 99 cents for any call up to 20 minutes in length and 7 cents for each
additional minute. Use bracket notation to write a formula for the cost, C, of a call as a function of its
length time, t, in minutes. Graph the function. How much does it cost to talk for 10 minutes? 25 minutes?
2. Suppose a carpet store sells carpet for $10 per square yard for the 100 sq yards purchased, and then
lowers the price to $7 per square yard after the first 100 yards have been purchased. Find a function, C =
f(x), that gives the cost of purchasing any number of square yards of carpet between 0 and 200 square
yards. How much does it cost for 50 square yards? 150 square yards?
3. A company charges $200 a month to organize a company’s payroll for up to 20 employees and an
additional $100 a month for each 20 employees over 20. Find a function, P = f(x), that gives the payroll
amount for 100 employees in one month. Graph the function.
22
Day 6 Classwork
1. You are a buyer for a grocery store and you are asked to purchase potatoes for the grocery store.
The distributor of potatoes tells you that if you buy up to 50 bushels of potatoes, you will pay $40
per bushel; and for each bushel you purchase above 50 bushels, you will pay $30 per bushel.
a. How much will your grocery store pay in total if you decide to purchase 40 bushels? 60
bushels? 100 bushels?
b. Write a function which has as its input values (x-values) the number of bushels of potatoes
purchased and outputs the total amount of money that your grocery store will pay for the
potatoes.
2. A certain country taxes the first $20,000 of an individual’s income at a rate of 15%, and all income
over $20,000 is taxed at 20%.
a. Al makes $16,000. Betty makes $36,000. How much is each taxed?
b. Write a piecewise function T that specifies the total tax on an income of x dollars.
3. A museum charges $40 for a group of 10 or fewer people. A group of more than 10 people must, in
addition to the $40, pay $2 per person for the number of people above 10. For example, a group of 12
pays $44 and a group of 15 pays $50. The maximum group size is 50.
a. Find a function, C = f(x), that represents the cost as a function of the number of people going to
the museum.
b. How much would the museum charge for a group of 8? Group with 35 people?
23
Investigation: Step Functions
A step function is a piecewise constant function. In other words, each piece is a function whose values do
not vary and are thus constant. This is sometimes called a staircase function.
1. Sketch the graph of the function below. What values of x will make this function true? In other
words, where is this function defined, or what is its domain? Why is the range not all real
numbers? What do you notice that is different from the first two functions. Graph on your
calculator to check your work.
1, 0 x 1
3, 1 x 3
f (x) =
5, 3 x5
7 5 x7
2. Every avid ebayer knows that shipping is an important consideration when listing an item for
auction. For infrequent selling, there is not much money to be gained or lost on the transaction,
but for the diehard, inaccurate shipping costs can lead to stacked losses over time. Knowing the
postal rate scale and what to charge for a given item is paramount. The cost C (in dollars) of
sending priority mail, depending on the weight (in ounces) of a package up to five pounds is given
by the function below
13.65, 0 x 15
17.00, 15 x 30
C(x) = 20.25, 30 x 55
23.50, 55 x 70
26.25, 70 x 80
24
3. Given the graph of this step function, find a piecewise constant function that matches the graph.
4. Extention:
a. Given the graph of this function, write the piecewise function f(x) that matches the graph.
c. Describe the end behavior of f(x) using infinity notation and/or words.
25
More Applications of Piecewise
1. An air conditioning salesperson receives a base salary of $2850 per month plus a commission. The
commission is 2% of the sales up to and including $25,000 for the month and 5% of the sales over
$25,000 for the month.
a. Write a piecewise function that relates the salesperson total monthly income based off or
his/her sales for the month.
b. Determine the salesperson’s monthly income if his/her sales were $43,000 for the month.
2. Texting Plans: Texting from T-mobile costs $.15 per text with no plan. In
addition, they offer three other texting plans, shown to the right, that
include a certain number of texts with additional texts over costing $.15
per text. Decide which plans are linear piecewise functions and which are
not piecewise (circle your answer).
3. Write the function rules for each where x is the number of texts and f(x) is
the total monthly cost.
a. No plan b. 400 text plan c. 1000 text plan d. Unlimited text plan
4. A parking garage in Manhattan charges in this way: For each hour or part of an hour, the garage
charges $10 per hour, with a daily maximum of $50 per day.
a. How much will a customer pay if he/she parks for 2 hours? 3.5 hours? 4 hours?
b. Write a piecewise function that has as its input the number of hours parked and outputs
the total price paid by the customer.
5. 2. The charge for a taxi ride is $1.50 for the first 1/8 of a mile, and $0.25 for each additional 1/8 of a
mile (rounded to the nearest 1/8 mile).
a) Make a table showing the cost of a trip as a function of its length. Your table should start at 0 and
go up to one mile in 1/8 mile intervals.
b) Find a function, C = f(x), that represents the cost of the trip as a function of its length.
26
Day 8: Functions Review
5. The graph of a function f is known. Then the graph of y = f(x-2) may be found by ____________________.
6. The graph of a function is known. Then the graph of y=f(-x) may be obtained by a reflection about the
____-axis.
7. True or False:
______ a) The graph of y = -f(x) is the reflection about the x-axis of the graph of y = f(x).
______ b) To obtain the graph of y = f(x + 2) – 3, shift the graph of y = f(x) horizontally to the right 2
units and vertically down 3 units.
8. Find the function that is finally graphed after the following transformations are applied to the graph of
y x.
a) 1. Shift up 2 units. b) 1. Reflect about the x-axis c) 1. Reflect about the y-axis.
2. Reflect about the x-axis. 2. Shift up 2 units. 2. Vertically stretch by 3.
3. Shift left 3 units. 3. Shift down 2 units.
4. Shift right 4 units.
9. USE GRAPH PAPER. Draw the parent graph and then show each transformation.. State the domain
and range of the function.
1
a) f(x) = x3 4 b) f(x) = ( x 4)2 c) f(x) = x
2
10. State the domain in interval notation. Then graph (on graph paper). Then use the graph to state the
range.
x, -4 x 0
3x, -2 x 1 x 2 , -2 x 2
a) f(x) = b) f(x) = 1, x 0 c) f(x) =
x 1, x 1 3x, x 0 2 x 1, x 2
domain:_______________ domain:_________________ domain:____________________
27
f (a h) f (a)
11. Find , where h 0 , for the following two functions.
h
a) f(x) = 2x + 3 b) f(x) = x 2 2
x 2 2 x, if x 1
12. Evaluate the piecewise function for f(-2), f(1), and f(4). f ( x)
3x 1, if x 1
13. The domestic postage rate for first class letters weighing 12 oz or less is 33 cents for a letter weighing
1 oz or less and 22 cents for each additional ounce (or part of an ounce). Express the postage P as a
function of the weight x of a letter, with 0 < x 12.
14. The cost to attend a play at the theater is $120 for a group of up to ten students. For each student over
ten, the cost is $12 for each additional student.
a. Write a piecewise function to show the cost to attend the play.
15. Using the graph below, identify the domain, range, intervals of increasing, decreasing and/or
constant. Then evaluate at the given values.
a) Domain: ________________________
b) Range: __________________________
c) Increasing: _____________________
d) Decreasing: _____________________
e) Constant: ________________________
f) f(-4) = ______________
g) f(0) = ______________
h) f(2) = ______________