CAT 2020 Slot 2 Quant Q9
- Quantitative Aptitude
- Algebra › Modulus
- Medium
- Multiple choice
- CAT_2020_SLOT2_QA_Q09
Question 9
In how many ways can a pair of integers (x,a) be chosen such that x2−2∣x∣+∣a−2∣=0?
- AAnswer A in PrepSoc practice
- BAnswer B in PrepSoc practice
- CAnswer C in PrepSoc practice
- DAnswer D in PrepSoc practice
Answer this questionOr tap an option. Opens in practice mode, free, no sign-in.
Show answer and solution
Answer: (C)
7
Solution
-
Notice that x2=∣x∣2. Complete the square: (∣x∣−1)2+∣a−2∣=1.
-
Since both terms are non-negative integers summing to 1, one is 1 and the other is 0.
-
Scenario A (0 + 1): ∣x∣=1→x=±1 (2 roots). ∣a−2∣=1→a=1,3 (2 roots). Total = 2×2=4 pairs.
-
Scenario B (1 + 0): ∣x∣−1=±1→∣x∣=2,0→x∈{2,−2,0} (3 roots). ∣a−2∣=0→a=2 (1 root). Total = 3×1=3 pairs.
-
Total pairs = 4+3=7.
Detailed explanation
-
Concept: Perfect Squares and Absolute Values
-
Given equation: x2−2∣x∣+∣a−2∣=0.
-
Since x2=∣x∣2, rewrite as: ∣x∣2−2∣x∣+1−1+∣a−2∣=0.
-
Complete the square: (∣x∣−1)2+∣a−2∣=1.
-
Since (∣x∣−1)2≥0 and ∣a−2∣≥0 are both integers, their sum can only be 1 in two cases:
-
Case 1: (∣x∣−1)2=0 and ∣a−2∣=1.
-
∣x∣−1=0⟹x=±1 (2 values).
-
∣a−2∣=1⟹a−2=±1⟹a=3,1 (2 values).
-
Pairs: (1,3),(1,1),(−1,3),(−1,1)→4 pairs.
-
Case 2: (∣x∣−1)2=1 and ∣a−2∣=0.
-
∣x∣−1=±1⟹∣x∣=2 or 0⟹x∈{2,−2,0} (3 values).
-
∣a−2∣=0⟹a=2 (1 value).
-
Pairs: (2,2),(−2,2),(0,2)→3 pairs.
-
Total integer pairs (x,a)=4+3=7.
Practise similar questions
Practice 1 CAT_2020_SLOT2_QA_Q09_SQ01
In how many ways can a pair of integers (x,a) be chosen such that x2−4∣x∣+∣a−3∣=0?
- A
- B
- C
- D
Show answer and solution
Answer: (C)
15
Solution
-
Note that x2=∣x∣2. Complete the square: (∣x∣−2)2+∣a−3∣=4.
-
Both terms are non-negative integers summing to 4, with the first term being a perfect square ∈{0,1,4}.
-
Case (∣x∣−2)2=0: ∣x∣=2⟹x=±2 (2 values); ∣a−3∣=4⟹a=7,−1 (2 values). Total = 2×2=4.
-
Case (∣x∣−2)2=1: ∣x∣=1,3⟹x=±1,±3 (4 values); ∣a−3∣=3⟹a=6,0 (2 values). Total = 4×2=8.
-
Case (∣x∣−2)2=4: ∣x∣=0,4⟹x=0,±4 (3 values); ∣a−3∣=0⟹a=3 (1 value). Total = 3×1=3.
-
Total integer pairs =4+8+3=15, matching Option 3.
Practice 2 CAT_2020_SLOT2_QA_Q09_SQ02
In how many ways can a pair of integers (x,y) be chosen such that x2−2∣x∣+∣y−5∣=1?
- A
- B
- C
- D
Show answer and solution
Answer: (B)
10
Solution
-
Rewrite x2=∣x∣2 and complete the square: (∣x∣−1)2+∣y−5∣=2.
-
The perfect square (∣x∣−1)2 can only be 0 or 1.
-
If (∣x∣−1)2=0: ∣x∣=1⟹x=±1 (2 values), and ∣y−5∣=2⟹y=3,7 (2 values). Gives 2×2=4 pairs.
-
If (∣x∣−1)2=1: ∣x∣=0,2⟹x=0,±2 (3 values), and ∣y−5∣=1⟹y=4,6 (2 values). Gives 3×2=6 pairs.
-
Total pairs =4+6=10, matching Option 2.
Modulus questions from other CAT papers
- CAT 2025 Slot 2 Quant Q20
The set of all real values of x for which (x^2 - x + 9 + x) 0 , is
- CAT 2024 Slot 2 Quant Q14
If x and y are real numbers such that x + x + y = 15 and x + y - y = 20 , then (x - y) equals
- CAT 2024 Slot 3 Quant Q2
The number of distinct integer solutions (x, y) of the equation x + y + x - y = 2 , is
- CAT 2024 Slot 3 Quant Q13
The number of distinct real values of x, satisfying the equation. max x, 2 - min x, 2 = x + 2 - x − 2 , is
- CAT 2023 Slot 1 Quant Q5
The number of integer solutions of equation 2 x (x^2+1 )=5 x^2 is