📌 Core Concept
The equation
∣x+y∣+∣x−y∣ can be simplified using the property that
∣a∣+∣b∣=2⋅max(∣a∣,∣b∣). Therefore, the given equation becomes:
2⋅max(∣x∣,∣y∣)=2⟹max(∣x∣,∣y∣)=1🔢 Step-by-Step Solution
1
Understanding the Equation:
The equation simplifies to
max(∣x∣,∣y∣)=1.
This means both
∣x∣ and
∣y∣ are less than or equal to 1, and at least one of them is exactly 1.
x
andy$ can be -1, 0, or 1.
We need to count all pairs where at least one of
∣x∣ or
∣y∣ is 1.
For each
x,y can be -1, 0, or 1.
Solutions: (1, 1), (1, 0), (1, -1), (-1, 1), (-1, 0), (-1, -1) → 6 solutions.
When
∣y∣=1 and
∣x∣=0:
Solutions: (0, 1), (0, -1) → 2 solutions.
Adding both cases: 6 + 2 = 8 distinct solutions.
⚡ 30-Second Shortcut
Recognize that
∣x+y∣+∣x−y∣=2 simplifies to
max(∣x∣,∣y∣)=1.
Enumerate all pairs where
∣x∣ or
∣y∣ is 1, ensuring no duplicates.
🎯 Final Answer
Correct Answer: 8