Modulus functions
Understanding the modulus function
Numbers can be positive or negative (or zero). We sometimes will like to convert our numbers into positive numbers (non-negative to be exact). The modulus function, denoted by does that.
For example and
This is sometimes also called the absolute value function.
Modulus as a piecewise function
The modulus function can be defined as a piecewise function:
Example
For example, consider the function
If then is negative so the function can be rewritten as
On the other hand, if then is non-negative so the function can be rewritten as
Finding inverses of modulus functions
Question:
Find and
Solution:
When then is negative so
When then is non-negative so