CAT 2022 Slot 3 Quant Q9

  • Quantitative Aptitude
  • Algebra › Functions
  • Hard
  • Multiple choice
  • CAT_2022_SLOT3_QA_Q09

Question 9

Let r be a real number and f(x)={2x−rif x≥r1if x<rf(x) = \begin{cases} 2x-r & \text{if } x \ge r \\ 1 & \text{if } x < r \end{cases}. Then, the equation f(x)=f(f(x))f(x) = f(f(x)) holds for all real values of x where.

  1. A

    x≤rx \le r

    Answer A in PrepSoc practice
  2. B

    x≥rx \ge r

    Answer B in PrepSoc practice
  3. C

    x≠rx \ne r

    Answer C in PrepSoc practice
  4. D

    x>rx > r

    Answer D in PrepSoc practice

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

Show answer and solution

Answer: (A)

x≤rx \le r

Solution

  • For x>rx > r, f(x)=2x−r>rf(x) = 2x - r > r. Then f(f(x))=2(2x−r)−r=4x−3rf(f(x)) = 2(2x - r) - r = 4x - 3r.

  • Equating them: 2x−r=4x−3r  ⟹  x=r2x - r = 4x - 3r \implies x = r, which contradicts x>rx > r.

  • Thus, the equation fails for all x>rx > r.

  • By elimination, it can only hold for x≤rx \le r.

Detailed explanation

Concept: Piecewise Functions and Composite Functions

  1. Let's analyze the condition f(x)=f(f(x))f(x) = f(f(x)) for different ranges of xx.

  2. Case 1: x≥rx \ge r

f(x)=2x−rf(x) = 2x - r.

Then, f(f(x))=f(2x−r)f(f(x)) = f(2x - r).

Since x≥rx \ge r, 2x−r≥r2x - r \ge r. Thus, we use the first branch of the function:

f(2x−r)=2(2x−r)−r=4x−3rf(2x - r) = 2(2x - r) - r = 4x - 3r.

For f(x)=f(f(x))f(x) = f(f(x)), we need 2x−r=4x−3r  ⟹  2x=2r  ⟹  x=r2x - r = 4x - 3r \implies 2x = 2r \implies x = r.

This means for x>rx > r, the equation never holds.

  1. Case 2: x<rx < r

f(x)=1f(x) = 1.

Then, f(f(x))=f(1)f(f(x)) = f(1).

For f(x)=f(f(x))f(x) = f(f(x)) to hold, we need 1=f(1)1 = f(1).

If r>1r > 1, 1<r1 < r, so f(1)=1f(1) = 1. The equation holds.

If r=1r = 1, f(1)=2(1)−1=1f(1) = 2(1) - 1 = 1. The equation holds.

Thus, assuming r≥1r \ge 1, the equation holds for all x<rx < r.

  1. Combining the cases, the equation f(x)=f(f(x))f(x) = f(f(x)) holds exactly when x=rx = r and x<rx < r (assuming r≥1r \ge 1).

  2. Therefore, the equation holds for all x≤rx \le r.

Practise similar questions

Practice 1 CAT_2022_SLOT3_QA_Q09_SQ01

Let kk be a real number such that k≥3k \ge 3, and let f(x)={3x−2kif x≥k3if x<kf(x) = \begin{cases} 3x - 2k & \text{if } x \ge k \\ 3 & \text{if } x < k \end{cases}. Then, the equation f(x)=f(f(x))f(x) = f(f(x)) holds for all real values of xx where

  1. A

    x≥kx \ge k

  2. B

    x≤kx \le k

  3. C

    x<kx < k

  4. D

    x>kx > k

Show answer and solution

Answer: (B)

x≤kx \le k

Solution

  • For x>kx > k: f(x)=3x−2k>kf(x) = 3x - 2k > k, so f(f(x))=3(3x−2k)−2k=9x−8kf(f(x)) = 3(3x - 2k) - 2k = 9x - 8k.

  • Setting 3x−2k=9x−8k  ⟹  6x=6k  ⟹  x=k3x - 2k = 9x - 8k \implies 6x = 6k \implies x = k, contradicting x>kx > k.

  • For x<kx < k: f(x)=3f(x) = 3. Since k≥3k \ge 3, f(3)=3f(3) = 3, meaning f(f(x))=f(3)=3=f(x)f(f(x)) = f(3) = 3 = f(x) always holds.

  • At x=kx = k: f(k)=kf(k) = k and f(f(k))=f(k)=kf(f(k)) = f(k) = k, which also holds.

  • Combining gives all x≤kx \le k.

Practice 2 CAT_2022_SLOT3_QA_Q09_SQ02

Let cc be a real number such that c≤2c \le 2, and let g(x)={2if x>c2x−cif x≤cg(x) = \begin{cases} 2 & \text{if } x > c \\ 2x - c & \text{if } x \le c \end{cases}. Then, the equation g(x)=g(g(x))g(x) = g(g(x)) holds for all real values of xx where

  1. A

    x≤cx \le c

  2. B

    x<cx < c

  3. C

    x≥cx \ge c

  4. D

    x>cx > c

Show answer and solution

Answer: (C)

x≥cx \ge c

Solution

  • For x<cx < c: g(x)=2x−c<cg(x) = 2x - c < c, so g(g(x))=2(2x−c)−c=4x−3cg(g(x)) = 2(2x - c) - c = 4x - 3c.

  • Setting 2x−c=4x−3c  ⟹  2x=2c  ⟹  x=c2x - c = 4x - 3c \implies 2x = 2c \implies x = c, which contradicts x<cx < c.

  • For x>cx > c: g(x)=2g(x) = 2. Since c≤2c \le 2, g(2)=2g(2) = 2, so g(g(x))=g(2)=2=g(x)g(g(x)) = g(2) = 2 = g(x) holds identically.

  • At x=cx = c: g(c)=cg(c) = c and g(g(c))=cg(g(c)) = c, which holds.

  • Combining gives all x≥cx \ge c.

Functions questions from other CAT papers

  1. CAT 2025 Slot 1 Quant Q3
    Let 3 x 6 and [x^2] = [x]^2 , where [x] is the greatest integer not exceeding x . If set S represents all…
  2. CAT 2025 Slot 2 Quant Q21
    Let f(x) = x(2x-1) and g(x) = x(x-1) . Then, the domain of the function h(x) = f(g(x)) + g(f(x)) is all real…
  3. CAT 2025 Slot 3 Quant Q3
    For real values of x , the range of the function f(x)=2x-3/2x^2+4x-6 is
  4. CAT 2024 Slot 1 Quant Q12
    Consider two sets A = \2, 3, 5, 7, 11, 13\ and B = \1, 8, 27\ . Let f be a function from A to B such that…
  5. CAT 2024 Slot 2 Quant Q9
    A function f maps the set of natural numbers to whole numbers, such that f (xy) = f (x) f (y) + f (x) + f…

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

Practise in PrepSoc