Applications of Piecewise Defined Functions
Applications of Piecewise Defined Functions
$2 eachThe
helpful. 1 to
for inequality 𝑥 ≠ 3each
$1.75 for 101 to by an open
is represented circle
$1.25 at 𝑥
each for= 3.
100 cupcakes 250 cupcakes 251 to ? cupcakes
1
16-week Lesson 26 (8-week Lesson 21) Applications of Piecewise Defined Functions
𝑎
𝐶 (𝑥 ) = {𝑏
𝑐 2
16-week Lesson 26 (8-week Lesson 21) Applications of Piecewise Defined Functions
Keep in mind that every one of these story problems will have at least one
threshold where we change from one piece to another. Once you exceed a
threshold you must break inputs into separate parts, just like cupcake
example above. In Examples 1 and 2, the thresholds were 100 cupcakes
and 250 cupcakes, because there were price changes for each of those
quantities. the domain using these two inequalities, a number line might be
helpful. The inequality 𝑥 ≠ 3 is represented by an open circle at 𝑥 = 3.
2𝑥 1.75𝑥 + 25 1.25𝑥 + 150
3
16-week Lesson 26 (8-week Lesson 21) Applications of Piecewise Defined Functions
Example 3: A rental home on Airbnb rents for $100 a night for the first
three nights, $90 a night for the next three nights, and $80 a night for each
remaining night. The total cost 𝑇 is a function of the number of nights 𝑥
that a guest stays. Write the piecewise-defined function 𝑇.
$100 a night for $90 a night for each of $80 a night for
helpful. The inequality
each of the first 𝑥 ≠ 3 is represented
the next 3 nights by an open circle
each the𝑥 = 3.
of at
3 nights remaining nights
𝟏𝟎𝟎𝒙 𝐢𝐟 𝒙≤𝟑
𝑻(𝒙) = {
100(3) + 90(𝑥 − 3)
90𝑥 + 30
𝟏𝟎𝟎𝒙 𝐢𝐟 𝒙≤𝟑
𝑻(𝒙) = {𝟗𝟎𝒙 + 𝟑𝟎 𝐢𝐟 𝟒 ≤ 𝒙 ≤ 𝟔
Cost of the first 3 nights + Cost of the next 3 nights + Cost of the remaining nights
5
16-week Lesson 26 (8-week Lesson 21) Applications of Piecewise Defined Functions
6
16-week Lesson 26 (8-week Lesson 21) Applications of Piecewise Defined Functions
𝟎. 𝟑𝒙 − 𝟑𝟎, 𝟎𝟎𝟎
Piece 4: 𝑥 > $300,000
𝟎. 𝟒𝒙 − 𝟔𝟎, 𝟎𝟎𝟎
𝑎
𝑏
𝑇(𝑥 ) = {
𝑐
𝑑
7
16-week Lesson 26 (8-week Lesson 21) Applications of Piecewise Defined Functions
a. How much federal income tax would someone with an annual income
of $150,000 pay?
b. How much federal income tax would someone with an annual income
of $225,000 pay?
Since $225,000 falls within the third interval (200,000 < 𝑥 ≤ 300,000), I
need to use the third piece of the function to determine the tax:
0.3(225,000) − 30,000
67,500 − 30,000
𝟑𝟕, 𝟓𝟎𝟎
Someone with an income of $225,000 would owe $37,500 in taxes.
c. How much federal income tax would someone with an annual income
of $1,000,000 pay?
Since $1,000,000 is part of the last interval (𝑥 > 300,000), I need to use
the last piece of the function to determine the tax:
0.4(1,000,000) − 60,000
400,000 − 60,000
𝟑𝟒𝟎, 𝟎𝟎𝟎
Someone with an income of $1,000,000 would owe $340,000 in taxes.
8
16-week Lesson 26 (8-week Lesson 21) Applications of Piecewise Defined Functions
(hint: don’t forget about the base salary of $35,000 when finding each
piece of the function)
𝑎
𝑆(𝑥 ) = {𝑏
𝑐
9
16-week Lesson 26 (8-week Lesson 21) Applications of Piecewise Defined Functions
Answers to Examples:
1a. $235
1b. $525
2𝑥 if 𝑥 ≤ 100
2. 𝐶 (𝑥 ) = {1.75𝑥 + 25 if 101 ≤ 𝑥 ≤ 250 ;
1.25𝑥 + 150 if 𝑥 ≥ 251
2a. $340
2b. $712.50
100𝑥 if 𝑥 ≤ 3
3. 𝑇(𝑥 ) = { 90𝑥 + 30 if 4 ≤ 𝑥 ≤ 6 ;
80𝑥 + 90 if 𝑥 ≥ 6
0.1𝑥 if 𝑥 ≤ 100,000
0.2𝑥 − 10,000 if 100,000 < 𝑥 ≤ 200,000
4. 𝑇(𝑥 ) = { ;
0.3𝑥 − 30,000 if 200,000 < 𝑥 ≤ 300,000
0.4𝑥 − 60,000 if 𝑥 > 300,000
4a. $20,000
4b. $37,500
4c. $340,000
10