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)(x, a) be chosen such that x2−2∣x∣+∣a−2∣=0x^2 - 2 | x | + | a - 2 | = 0?

  1. A

    55

    Answer A in PrepSoc practice
  2. B

    44

    Answer B in PrepSoc practice
  3. C

    77

    Answer C in PrepSoc practice
  4. D

    66

    Answer D in PrepSoc practice

Answer this questionOr tap an option. Opens in practice mode, free, no sign-in.

Show answer and solution

Answer: (C)

77

Solution

  • Notice that x2=∣x∣2x^2 = |x|^2. Complete the square: (∣x∣−1)2+∣a−2∣=1(|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|x|=1 \rightarrow x = \pm 1 (2 roots). ∣a−2∣=1→a=1,3|a-2|=1 \rightarrow a = 1, 3 (2 roots). Total = 2×2=42 \times 2 = 4 pairs.

  • Scenario B (1 + 0): ∣x∣−1=±1→∣x∣=2,0→x∈{2,−2,0}|x|-1 = \pm 1 \rightarrow |x| = 2, 0 \rightarrow x \in \{2, -2, 0\} (3 roots). ∣a−2∣=0→a=2|a-2|=0 \rightarrow a = 2 (1 root). Total = 3×1=33 \times 1 = 3 pairs.

  • Total pairs = 4+3=74 + 3 = 7.

Detailed explanation

  • Concept: Perfect Squares and Absolute Values

  • Given equation: x2−2∣x∣+∣a−2∣=0x^2 - 2|x| + |a-2| = 0.

  • Since x2=∣x∣2x^2 = |x|^2, rewrite as: ∣x∣2−2∣x∣+1−1+∣a−2∣=0|x|^2 - 2|x| + 1 - 1 + |a-2| = 0.

  • Complete the square: (∣x∣−1)2+∣a−2∣=1(|x| - 1)^2 + |a-2| = 1.

  • Since (∣x∣−1)2≥0(|x| - 1)^2 \ge 0 and ∣a−2∣≥0|a-2| \ge 0 are both integers, their sum can only be 11 in two cases:

  • Case 1: (∣x∣−1)2=0(|x| - 1)^2 = 0 and ∣a−2∣=1|a-2| = 1.

    • ∣x∣−1=0  ⟹  x=±1|x| - 1 = 0 \implies x = \pm 1 (2 values).

    • ∣a−2∣=1  ⟹  a−2=±1  ⟹  a=3,1|a-2| = 1 \implies a-2 = \pm 1 \implies a = 3, 1 (2 values).

    • Pairs: (1,3),(1,1),(−1,3),(−1,1)→4(1, 3), (1, 1), (-1, 3), (-1, 1) \rightarrow 4 pairs.

  • Case 2: (∣x∣−1)2=1(|x| - 1)^2 = 1 and ∣a−2∣=0|a-2| = 0.

    • ∣x∣−1=±1  ⟹  ∣x∣=2|x| - 1 = \pm 1 \implies |x| = 2 or 0  ⟹  x∈{2,−2,0}0 \implies x \in \{2, -2, 0\} (3 values).

    • ∣a−2∣=0  ⟹  a=2|a-2| = 0 \implies a = 2 (1 value).

    • Pairs: (2,2),(−2,2),(0,2)→3(2, 2), (-2, 2), (0, 2) \rightarrow 3 pairs.

  • Total integer pairs (x,a)=4+3=7(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)(x, a) be chosen such that x2−4∣x∣+∣a−3∣=0x^2 - 4 \vert x \vert + \vert a - 3 \vert = 0?

  1. A

    1212

  2. B

    1414

  3. C

    1515

  4. D

    1616

Show answer and solution

Answer: (C)

1515

Solution

  • Note that x2=∣x∣2x^2 = \vert x\vert^2. Complete the square: (∣x∣−2)2+∣a−3∣=4(\vert x\vert - 2)^2 + \vert a - 3\vert = 4.

  • Both terms are non-negative integers summing to 44, with the first term being a perfect square ∈{0,1,4}\in \{0, 1, 4\}.

  • Case (∣x∣−2)2=0(\vert x\vert - 2)^2 = 0: ∣x∣=2  ⟹  x=±2\vert x\vert = 2 \implies x = \pm 2 (2 values); ∣a−3∣=4  ⟹  a=7,−1\vert a - 3\vert = 4 \implies a = 7, -1 (2 values). Total = 2×2=42 \times 2 = 4.

  • Case (∣x∣−2)2=1(\vert x\vert - 2)^2 = 1: ∣x∣=1,3  ⟹  x=±1,±3\vert x\vert = 1, 3 \implies x = \pm 1, \pm 3 (4 values); ∣a−3∣=3  ⟹  a=6,0\vert a - 3\vert = 3 \implies a = 6, 0 (2 values). Total = 4×2=84 \times 2 = 8.

  • Case (∣x∣−2)2=4(\vert x\vert - 2)^2 = 4: ∣x∣=0,4  ⟹  x=0,±4\vert x\vert = 0, 4 \implies x = 0, \pm 4 (3 values); ∣a−3∣=0  ⟹  a=3\vert a - 3\vert = 0 \implies a = 3 (1 value). Total = 3×1=33 \times 1 = 3.

  • Total integer pairs =4+8+3=15= 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)(x, y) be chosen such that x2−2∣x∣+∣y−5∣=1x^2 - 2 \vert x \vert + \vert y - 5 \vert = 1?

  1. A

    88

  2. B

    1010

  3. C

    1212

  4. D

    1414

Show answer and solution

Answer: (B)

1010

Solution

  • Rewrite x2=∣x∣2x^2 = \vert x\vert^2 and complete the square: (∣x∣−1)2+∣y−5∣=2(\vert x\vert - 1)^2 + \vert y - 5\vert = 2.

  • The perfect square (∣x∣−1)2(\vert x\vert - 1)^2 can only be 00 or 11.

  • If (∣x∣−1)2=0(\vert x\vert - 1)^2 = 0: ∣x∣=1  ⟹  x=±1\vert x\vert = 1 \implies x = \pm 1 (2 values), and ∣y−5∣=2  ⟹  y=3,7\vert y - 5\vert = 2 \implies y = 3, 7 (2 values). Gives 2×2=42 \times 2 = 4 pairs.

  • If (∣x∣−1)2=1(\vert x\vert - 1)^2 = 1: ∣x∣=0,2  ⟹  x=0,±2\vert x\vert = 0, 2 \implies x = 0, \pm 2 (3 values), and ∣y−5∣=1  ⟹  y=4,6\vert y - 5\vert = 1 \implies y = 4, 6 (2 values). Gives 3×2=63 \times 2 = 6 pairs.

  • Total pairs =4+6=10= 4 + 6 = 10, matching Option 2.

Modulus questions from other CAT papers

  1. CAT 2025 Slot 2 Quant Q20
    The set of all real values of x for which (x^2 - x + 9 + x) 0 , is
  2. 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
  3. CAT 2024 Slot 3 Quant Q2
    The number of distinct integer solutions (x, y) of the equation x + y + x - y = 2 , is
  4. 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
  5. CAT 2023 Slot 1 Quant Q5
    The number of integer solutions of equation 2 x (x^2+1 )=5 x^2 is

Practise this question with timing, notes and your mistake notebook.

Practise in PrepSoc