Need Help?

Get in touch with us

bannerAd

Piecewise Functions

Sep 16, 2022
link

Key Concepts

  • Understand Piecewise-defined functions.
  • Graph a Piecewise-defined function.
  • Analyze the graph of a Piecewise-defined function.
  • Apply a Piecewise-defined function.

Piecewise Function

1. Understand Piecewise-Defined Functions 

How is f(x) = 2|x| related to a linear function?  

Inspect the graph of the function f(x) = 2|x|. The graph has two pieces that meet at the vertex. Each piece is a part of a line.  

Find the rule for each piece of the function.  

When x ≥0, the rule is f(x) = 2x.  

When x < 0, the rule is f(x) = -2x.   

parallel
Piecewise Function

You can write this function in terms of its pieces, each defined for a given domain.  

 write this function
fx=2x

The function is a piecewise-defined function. A piecewise-defined function has different rules for different intervals of its domain.  

The function f(x) = 2|x| has two pieces over two intervals of the domain. For each interval, the piece is a linear function.  

2. Graph Piecewise-Defined Function 

  1. What is the graph of: 
Graph Piecewise-Defined Function 

Graph each piece of the function for the given domain.  

Graph Piecewise-Defined Function  graph
  1. Over what part of the domain is the function increasing? Decreasing? 

The functionis increasing when x ≤ 2 and decreasing when x > 2.  

parallel

3. Analyse the Graph of a Piecewise-Defined Function 

Cheyenne’s mother is reviewing the monthly water bills from the summer. Each monthly bill includes a graph like the one shown, which reflects the different rates charged for water based on usage.  

Several relatives visited Cheyenne’s family in July and their water bill is more than doubled. Assuming that the water consumption did not double that month, what is the possible explanation for the increase?  

 Cheyenne’s family

The graph shows three tiers of pricing for water consumption: from 0 to 5000 gal, from 5001 to 10,000 gal, and more than 10,000 gal.  

The large increase in bill probably resulted from the usage increasing across one boundary of the domain, from Tier 1 to Tier 2, or Tier 2 to Tier 3.  

At the Tier 1- Tier 2 boundary 5,000 gal of usage results in a bill of $5 while using slightly more water results in a bill of at least $10.  

4. Apply a Piecewise-Defined Function  

A gym owner wants to purchase custom wristbands for marketing promotion. She thinks she will need about 75 bands. Her assistant insists that ordering over 100 wristbands will be less expensive than ordering 75. How can the assistant convince the gym owner?  

Cost of custom wristband order

Formulate:  

Write a rule to represent each price point.  

Let x = number of wristbands 

Let f(x) = total cost  

Formulate:  

Write a piecewise-defined function to represent the situation.  

 piecewise-defined function to represent the situation. 

Compute:  

Evaluate the function for f(75) and f(101).  

f(75) = 75 + 10 = 85  

f(101) = 0.5(101) = 50.5  

The cost for 75 wristbands is $85 and the cost for 101 wristbands is $50.5.  

Compute

Interpret:  

The gym owner will spend less if she orders more than 100 wristbands.  

Questions  

Question 1 

Express f(x) = -3|x| as a piecewise-defined function.   

Solution: 

question 1

Here is the graph of f(x) = -3|x|. 

If x ≥ 0, f(x) = -3x  

If x < 0, f(x) = 3x.   

Here is the graph

Question 2 

Graph the following function:  

question 2

Solution:  

solution

x = -2, f(x) = -4  

x = -1, f(x) = -3  

x = 0, f(x) = -2  

x = 1, f(x) = -1  

x = 2, f(x) = -1  

x = 3, f(x) = -3  

x = 4, f(x) = -5  

Question 3 

In the example explained in section 1.4, what is the difference in cost between one order of 200 wristbands, two orders of 100 wristbands each, and four orders of 50 wristbands each? 

Solution:  

Solution:  question 3

x = 200  

f(x) = 0.5x = 0.5 × 200 = 100  

1 order of 200 wristbands costs $100.  

x = 100  

f(x) = x + 10 = 100 + 10 = $110  

2 orders of 100 wristbands cost $220.  

x = 50 

f(x) = 2x + 20 = 2 × 50 + 20 = $120  

4 orders of 50 wristbands cost $480.  

Key Concepts Covered  

Key Concepts Covered  

Exercise

Express the following functions as piecewise-defined functions:

  1. f(x) = 0.6|x|
  2. f(x) = (1/7) |x|
  3. f(x) = Ix – 100I
  4. f(x) = 3|x|
  5. f(x) = 2 |x-1000|
  6. f(x) = (1/3) |x-100|
  7. f(x) = 4.5|x|
  8. f(x) = 0.5|x+10|
  9. f(x) = 10|x|
  10. f(x) = 9|x+100|

Comments:

Related topics

Composite Figures – Area and Volume

A composite figure is made up of simple geometric shapes. It is a 2-dimensional figure of basic two-dimensional shapes such as squares, triangles, rectangles, circles, etc. There are various shapes whose areas are different from one another. Everything has an area they occupy, from the laptop to your book. To understand the dynamics of composite […]

Read More >>
special right triangles_01

Special Right Triangles: Types, Formulas, with Solved Examples.

Learn all about special right triangles- their types, formulas, and examples explained in detail for a better understanding. What are the shortcut ratios for the side lengths of special right triangles 30 60 90 and 45 45 90? How are these ratios related to the Pythagorean theorem?  Right Angle Triangles A triangle with a ninety-degree […]

Read More >>
simplify algebraic expressions

Ways to Simplify Algebraic Expressions

Simplify algebraic expressions in Mathematics is a collection of various numeric expressions that multiple philosophers and historians have brought down. Talking of algebra, this branch of mathematics deals with the oldest concepts of mathematical sciences, geometry, and number theory. It is one of the earliest branches in the history of mathematics. The study of mathematical […]

Read More >>
solve right triangles

How to Solve Right Triangles?

In this article, we’ll learn about how to Solve Right Triangles. But first, learn about the Triangles.  Triangles are made up of three line segments. These three segments meet to form three angles. The lengths of the sides and sizes of the angles are related to one another. If you know the size (length) of […]

Read More >>

Other topics