The Modulus Function Basics
You'll recognise the modulus function by its vertical bar notation |x|, and it's also called the absolute value function. Think of it as a mathematical rule that always produces positive outputs - it's like having a bouncer that won't let negative numbers through!
The key rule is beautifully simple: if what's inside the bars is positive or zero, you just remove the bars. For example, |3| = 3 stays as 3. However, if what's inside is negative, you flip it to positive - so |-2| = 2.
When working with modulus equations like y = |2x - 1|, you need to consider two cases. First, when ≥ 0, the function equals 2x - 1. Second, when < 0, the function equals -, which simplifies to -2x + 1.
Quick tip: The modulus function creates a "V" shape when graphed because negative values "bounce back" to become positive - this visual helps you understand why it's sometimes called the "bounce back" function.


