A function is one-to-one if for every distinct input there is a distinct output. In other words, if , then .
Let's assume for .
1. Set up the equation:
.
2. Analyze the equation:
- This equation has two cases.
- Case 1: . Solving this gives .
- Case 2: . Expanding this gives