Domain and Range of Piecewise Function
Domain and Range of a piecewise function can be calculated using the domain and range of the individual pieces and taking the union of that range and domains.
Example: Find the Range and Domain of function f(x) which is defined as follows:
5 \end{cases}} " title="Rendered by QuickLaTeX.com" height="111" width="277" style="vertical-align: 7px;">
Solution:
As the function is defined for all the real numbers, so its domain is R if is defined for some portion of R then that portion becomes its domain.
Now for Range of function, for x<2, f(x) = x, thus range for this part is x<2
For 2 ≤ x ≤ 5, f(x) = 2, thus its range is 2 as it is a constant function for this interval.
For x > 5, f(x) = x2, f(5) = 25 and x2 is continuous and increasing function for x > 0, thus range is x>25.
Now, the union of all the ranges is {x<2} U {2} U {x>25} = (-∞, 2] U (25, ∞)
Piecewise Function
Piecewise Function is a function that behaves differently for two types of input. As we know a function is a mathematical object which associates each input with exactly one output. For example: If a function takes on any input and gives the output as 3. It can be represented mathematically as f(x) = 3. But in the case of the Piecewise function, it is defined by individual expressions for each interval.
A piecewise function is defined across different intervals, each with its own specific function rule. A well-known example of such a function is the absolute value. Other examples of piecewise functions include the Heaviside step function, the rectangle function, and the triangle function, each characterized by distinct behaviors over their respective intervals.
In this article, we will study about piecewise function, how to graph a piecewise function, and how to evaluate it.
Table of Content
- What is Piecewise Function?
- Piecewise Function Definition
- Domain and Range of Piecewise Function
- Piecewise Function Graph
- Piecewise Function Examples
- Modulus Function
- Greatest Integer Function or Floor Function
- Least Integer Function or Ceiling Function
- Unit Step Function
- Signum Function
- Evaluating Piecewise Functions
- Piecewise Continuous Function
- Piecewise Continuous Function Graph
- Piecewise Function Worksheet