Skip to main contentSkip to solution

If x and y are real numbers such that ∣x∣+x+y=15|x| + x + y = 15 and x+∣y∣−y=20x + |y| - y = 20, then (x−y)(x - y) equals

Solution

✅ Correct Option: 3

Given:

∣x∣+x+y=15|x| + x + y = 15 ... (equation 1)

x+∣y∣−y=20x + |y| - y = 20 ... (equation 2)

Understanding Absolute Values:

Remember that absolute value removes the negative sign:

If a number is positive or zero: ∣a∣=a|a| = a

If a number is negative: ∣a∣=−a|a| = -a

Since we don't know if xx and yy are positive or negative, we need to consider all possibilities. This is because the absolute value expressions ∣x∣|x| and ∣y∣|y| behave differently depending on the sign of the variable.


Smart Observation Before Starting Cases:

From equation 1: ∣x∣+x=15−y|x| + x = 15 - y

From equation 2: ∣y∣−y=20−x|y| - y = 20 - x

Key Insight:

If x≥0x \geq 0, then ∣x∣+x=x+x=2x|x| + x = x + x = 2x

If x<0x < 0, then ∣x∣+x=(−x)+x=0|x| + x = (-x) + x = 0

If y≥0y \geq 0, then ∣y∣−y=y−y=0|y| - y = y - y = 0

If y<0y < 0, then ∣y∣−y=(−y)−y=−2y|y| - y = (-y) - y = -2y


Case 1: x≥0x \geq 0 and y≥0y \geq 0

Using our insights: ∣x∣+x=2x|x| + x = 2x and ∣y∣−y=0|y| - y = 0

Our equations become:

2x=15−y2x = 15 - y ... (A)

0=20−x0 = 20 - x

→x=20\rightarrow x = 20 ... (B)

Substituting x=20x = 20 into equation (A):

2(20)=15−y2(20) = 15 - y

40=15−y40 = 15 - y

y=−25y = -25

Check: We assumed y≥0y \geq 0, but got y=−25<0y = -25 < 0. This contradicts our assumption.

Conclusion: Case 1 is impossible.


Case 2: x≥0x \geq 0 and y<0y < 0

Using our insights: ∣x∣+x=2x|x| + x = 2x and ∣y∣−y=−2y|y| - y = -2y

Our equations become:

2x=15−y2x = 15 - y ... (A)

−2y=20−x-2y = 20 - x ... (B)

From equation (B): x=20+2yx = 20 + 2y

Substituting into equation (A):

2(20+2y)=15−y2(20 + 2y) = 15 - y

40+4y=15−y40 + 4y = 15 - y

5y=−255y = -25

y=−5y = -5

Finding xx: x=20+2(−5)=20−10=10x = 20 + 2(-5) = 20 - 10 = 10

Check: x=10≥0x = 10 \geq 0 and y=−5<0y = -5 < 0

Conclusion: Case 2 gives us a valid solution: x=10,y=−5x = 10, y = -5


Case 3: x<0x < 0 and y≥0y \geq 0

Using our insights: ∣x∣+x=0|x| + x = 0 and ∣y∣−y=0|y| - y = 0

Our equations become:

0=15−y0 = 15 - y

→y=15\rightarrow y = 15

0=20−x0 = 20 - x

→x=20\rightarrow x = 20

Check: We assumed x<0x < 0, but got x=20>0x = 20 > 0. This contradicts our assumption.

Conclusion: Case 3 is impossible.


Case 4: x<0x < 0 and y<0y < 0

Using our insights: ∣x∣+x=0|x| + x = 0 and ∣y∣−y=−2y|y| - y = -2y

Our equations become:

0=15−y0 = 15 - y

→y=15\rightarrow y = 15

−2y=20−x-2y = 20 - x

From the first equation: y=15y = 15

From the second equation: −2(15)=20−x-2(15) = 20 - x

−30=20−x-30 = 20 - x

x=50x = 50

Check: We assumed both x<0x < 0 and y<0y < 0, but got x=50>0x = 50 > 0 and y=15>0y = 15 > 0. This contradicts our assumptions.

Conclusion: Case 4 is impossible.


Final Answer:

Only Case 2 gives us a valid solution: x=10x = 10 and y=−5y = -5

Therefore: x−y=10−(−5)=10+5=15x - y = 10 - (-5) = 10 + 5 = 15

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question