Piecewise-defined functions
分段函数
How do piecewise functions work?
A piecewise function uses a different rule on each interval; evaluate by deciding which piece the input falls in; and graph each piece while watching the endpoints.
Sign in to read the whole lesson, with 1 interactive aid, 6 exercises
Sign in / Sign upMastery goals
- Can evaluate a piecewise-defined function at given inputs
- Can sketch the graph of a piecewise-defined function
- Can write a piecewise formula for a function given by a graph or description
Draw the graph of . By the meaning of absolute value,
so the graph is made of two rays:
A function like , which is given by different formulas on different ranges of the variable, is called a piecewise function. Many real problems can be described by piecewise functions, such as taxi fares or income-tax amounts.
Example 6
Given the functions , , :
(1) draw the graphs of and in the same coordinate system;
(2) for every let be the greater of and , written . For example, at , . Represent by a graph and by a formula.
Solution: (1) The graphs of and in the same coordinate system:
(2) From the values of the two functions in the figure and the definition of we get the graph of (the bold part below):
From we get , so or . Combining with the graph, the formula for is
Can you find the formula for in another way?
Related points
All points in this topicCite this page: Piecewise-defined functions · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000322