Lesson 1-3: Piecewise-Defined
Functions
Lesson 1-3: Piecewise-Defined
Functions
Lesson Objectives
1
Create and graph piecewise-defined functions, including absolute value and step
functions.
2
Create and use piecewise-defined functions to model and analyze real-world data.
Lesson Objectives
1
Create and graph piecewise-defined functions, including absolute value and step
functions.
2
3
Create and use piecewise-defined functions to model and analyze real-world data.
Key Vocabulary
absolute value function
ceiling function
floor function
disjoint
piecewise-defined function
subintervals
step function
Activate Your Mind
Utility Company Billing
A utility company bills differently according to usage. There is a base fee of $30 per month. The first 500 kilowatt hours (kWh) in a month are
billed at the rate of $0.10 per kWh. Then up to 1000 kWh is billed at the rate of $0.15 per kWh. Any usage above 1000 kWh is billed at the rate of
$0.20 per kWh.
Consider these questions about the utility billing scenario:
Question A
Question B
What would a vertical translation correspond to in this scenario?
What would a vertical stretch or compression correspond to in
this scenario?
Question C
Write C(x), the cost for x kWh.
Concept 1: Piecewise-Defined Functions
A piecewise-defined function is a function that has different definitions over different non
overlapping intervals.
Two points, (−2, 4) and (3, −9) are exhibited on the graph. Since −2 < 0, f(−2) = (−2)² = 4, and since 3
>0, f(3) = − (3)² = − 9.
Concept 1: Piecewise-Defined Functions
A more general piecewise-defined function is of the following form:
1. Domain
2. Disjoint Intervals
The domain of f is the union of the intervals: I1 ∪ I2 ∪ …∪
The intervals must be disjoint (no overlap).
In. These are called subintervals on which f is defined.
Every x in the domain belongs to exactly one interval, so
the function is well-defined.
Concept 1: Example 1
Consider the function:
.
Identify Subintervals and Expressions
I1 = (-3, 1] with g1(x)=3
I2 = (1, 4) with g2(x)=8/x
I3 = (4, ∞) with g3(x)= 2x
Determine the Domain
.
.
The domain is the union of intervals:(-3, 1] U (1, 4) U (4,∞)
Simplified: (-3, 4) U (4, ∞). Note x=4 is excluded.
Concept 1: Example 1
.
.
.
Analyze Graph Features
●
●
●
(-3, 1]: Horizontal line y=3. Open circle at (-3, 3). closed at (1, 3)
(1, 4): Curve y=8/x. Open circle at (1, 8) and (4, 2)
(4, ∞): Line y=2x. Open circle at (4, 8)
Concept 1: Example 2
A parking garage charges a flat fee of $2 plus $5/hour for the first 2 hours, and $3 for each additional hour.
Write the cost function C(t).
1
First Interval (0 ≤ t ≤ 2)
Flat fee $2 plus $5 per hour: C(t) = 2 + 5t.
At t=2, cost is 2+5(2)=12.
2
.
Second Interval (t > 2)
Rate is $3/hour. Passes through (2, 12) with slope m=3..
Point-slope: y-12=3(t-2) → y=3
3
Combine into Piecewise Function
Define C(t) using the expressions for each interval.
Solution: C(t) =
{
2 + 5t, if 0 ≤ t ≤ 2
6 + 3t, if t > 2
.
Concept 1: Give It a Go!
Q1
Q2
A company pays employees $15/hour for the
Explain how the requirement that the intervals in
first 40 hours and $22.50/hour for overtime.
the general form of a piecewise-defined function
Write the piecewise function for weekly pay
be disjoint relates to the vertical line test.
based on the number of hours an employee
works.
Concept 2: The Absolute Value Function,
Step Functions
The Absolute Value Function
The absolute value of a real number x gives its distance from 0.
f(x) = |x| =
{
The absolute value function is f(x) = |x|. Its graph,
shown, is V-shaped, has its vertex at the origin, and it
is symmetric about the y-axis.
x, if x ≥ 0
-x, if x < 0
Concept 2: Example 1
Graph the function f(x) = -|x - 2| + 3.
1
Identify Parent Function
The parent function is the absolute value function y = |x| , which has a V-shape with vertex at (0, 0).
2
Identify Transformations
• x - 2: Translate right 2 units.
• Negative sign: Reflect about the x-axis (opens downward).
• + 3: Translate up 3 units.
3
.
Concept 2: Example 2
Step Functions
A Step function is a piecewise-defined function that is constant on each subinterval.
Floor Function
f(x) = ⌊x⌋
Greatest integer less than or equal to x.
The floor function f(x) = ⌊x⌋ gives the greatest integer less than or equal to x. Describe its graph.
Concept 2: Example 3
Step Functions
A Step function is a piecewise-defined function that is constant on each subinterval.
Ceiling Function
f(x) = ⌈x⌉
Smallest integer greater than or equal to x.
The ceiling function (x) = ⌈x⌉ gives the smallest integer greater than or equal to x. Describe its graph.
Concept 2: Example 4
A shipping company charges $5 to ship packages weighing up to 2 pounds, $10 for packages weighing more
than 2 pounds and up to 4 pounds, and $15 for packages weighing more than 4 pounds. Write and graph the
cost function.
.
Define Variables
Let x be the weight in pounds of a package and C(x) the cost in dollars of shipping the packages.
The cost function is graphed below.
{
5, if 0 < x ≤ 2
Solution: C(x) =
10, if 2 < x ≤ 4
15, if x > 4
Concept 2: Give It a Go!
Q1
Q2
Graph the function g(x) = |x + 1| - 4.
A staircase has steps that are 8 inches high and
Identify the vertex and the axis of symmetry.
10 inches deep.
Write a step function h(x) that gives the height of
the staircase above the floor at a horizontal
distance x inches from the base.
Activate Your Mind—Revisited
Recap: Base $30. Rates: $0.10 (0-500), $0.15 (500-1000), $0.20 (>1000).
1
Interval 1: 0 ≤ x ≤ 500
Cost is base fee plus usage:
2
C(x) = 30 + 0.10x.
Interval 2: 500 < x ≤ 1000
Pay $80 for first 500, plus $0.15 for excess over 500.
C(x) = 80 + 0.15(x - 500) = 0.15x + 5 .
3
Interval 3: x > 1000
Pay $155 for first 1000, plus $0.20 for excess over 1000.
C(x) = 155 + 0.20(x - 1000) = 0.20x - 45 .
Solution:
C(x) =
{
0.10x + 30, if 0 ≤ x ≤ 500
0.15x + 5, if 500 < x ≤ 1000
0.20x - 45, if 1000 < x
Guided Practice
Practice 1
Graph the piecewise-defined function:
1/(x-3), if x < 2
x, if 2 ≤ x < 5
f(x) =
√(x-4), if x ≥ 5
{
• Identify the subintervals of the domain.
• Graph each piece.
Practice 2
A chemical factory produces 2 gallons per hour from
9:00 am to 5:00 pm. At noon, 20 gallons arrive. Write a
function f(x) for the amount in tanks x hours after 9:00
am. Then graph it.
• Identify the linear function for the subinterval 0 ≤ x < 3.
• What is f(3) before the additional shipment?
• Identify the linear function for the subinterval 3 ≤ x ≤ 8.
• Write the piecewise-defined function.
• Graph the function.
Closure and Review
Concept 1: Piecewise-Defined Functions
Concept 2: Absolute Value & Step Functions
Functions defined by different rules over disjoint subintervals. The
The absolute value function measures distance from zero. Step
domain is the union of these intervals. Graphs may have breaks or
functions (like floor and ceiling) are constant on subintervals,
jumps.
creating a staircase graph.
Time to Reflect
Using your notebook, write three things you learned in this lesson and one question you still have about the
material.
Sneak Peek
In the next Lesson we will explore arithmetic sequences and series, recognize patterns in sequences, calculate
the terms of an arithmetic sequences, and understand how to find the sum of an arithmetic series.
Copyright © OBELAS, Inc. All Rights Reserved.