Understanding Piecewise Functions
A piecewise function is a function that is defined by several different equations on certain intervals of its domain. Each "piece" of the function applies to a specific part of the domain.
Mathematical Definition
A piecewise function can be written in the form:
where are intervals that form a partition of the function's domain.
Characteristics of piecewise functions:
- Consists of several different equations
- Each equation applies to a specific interval
- Can be continuous or discontinuous
- Intervals do not overlap
Types of Piecewise Functions
Linear Piecewise Functions
A linear piecewise function is a function where each piece is a linear function.
The function above can be written as:
Quadratic Piecewise Functions
Piecewise functions can also contain quadratic pieces or combinations of linear and quadratic functions.
Continuity of Piecewise Functions
Continuous Piecewise Functions
A piecewise function is said to be continuous if there are no "jumps" at the connection points between pieces.
Condition for continuity at point :
Example of a continuous piecewise function:
For continuity at :
Discontinuous Piecewise Functions
Discontinuous piecewise functions have "jumps" or "holes" at certain points.
Modeling with Piecewise Functions
Progressive Rates
Many real-world situations can be modeled with piecewise functions, such as progressive tax rates or tiered parking fees.
Example: Electricity Rates
An electricity company applies tiered rates:
- :
- :
- :
The mathematical model:
Electricity cost table:
| Usage (kWh) | |||||
|---|---|---|---|---|---|
| Cost (Rp) |
Staged Speed
Example: Multi-Modal Journey
Someone takes a journey with:
- Walking: for
- Cycling: for
- Driving: for
Distance function with respect to time:
Determining Piecewise Function Equations
To determine piecewise function equations from graphs or situations:
- Identify the intervals of the domain
- Determine the equation for each interval
- Check continuity at connection points
- Write in piecewise notation
Example:
From a graph showing:
- Line with slope from to
- Horizontal line from to
- Line with slope from to
Solution steps:
- Interval :
- Passes through with slope
- Equation:
-
Interval :
- Horizontal line
- Equation:
-
Interval :
- Passes through with slope
- Equation:
Piecewise function:
Practice Problems
-
Determine the values of , , and for the function:
-
An online taxi company applies the following rates:
- Base fare: (for the first )
-
Km :
- Above :
Create a piecewise function model for the total cost!
-
Determine whether the following function is continuous at :
-
Sketch the graph of the function:
-
A worker is paid with the following system:
- First :
- Overtime (th hour onwards):
If the maximum work is , create a daily wage function!
Answer Key
-
Calculating function values:
For : since , use
For : since , use
For : since , use
-
Taxi fare model:
Let be the distance in km, then:
Or simplified:
-
Checking continuity:
At :
Since , the function is continuous at .
-
Sketch of graph :
Graph of FunctionPiecewise function with three parts: decreasing linear, quadratic, and constant -
Daily wage function:
Let be the working hours, then:
Or simplified: