Mathematics
Mathematics
Problem
The function is defined by State, with brief reasoning, whether is one–one.Intuitive explanation
The key is to check whether different inputs can produce the same output—that's what one-to-one means. Notice that is made of two linear pieces with opposite slopes: the left piece increases () while the right piece decreases (). Find the maximum and minimum values each piece can achieve, then see if their ranges overlap. If they don't, no output is repeated, and is one-to-one.
Intuitive explanation
The key is to check whether different inputs can produce the same output—that's what one-to-one means. Notice that is made of two linear pieces with opposite slopes: the left piece increases () while the right piece decreases (). Find the maximum and minimum values each piece can achieve, then see if their ranges overlap. If they don't, no output is repeated, and is one-to-one.