Skip to main contentSkip to solution

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.

Solution

✅ Correct Option: 1

Let's solve this by checking when f(x)=f(f(x))f(x) = f(f(x)) works for different values of xx.


Our piecewise function is:

  • f(x)=2x−rf(x) = 2x - r when x≥rx \geq r
  • f(x)=1f(x) = 1 when x<rx < r

When x=rx = r:

f(r)=2r−r=rf(r) = 2r - r = r (since r≥rr \geq r, we use the first piece)

f(f(r))=f(r)=rf(f(r)) = f(r) = r

So f(r)=f(f(r))f(r) = f(f(r))


When x<rx < r:

f(x)=1f(x) = 1 (using the second piece)

Now we need f(f(x))=f(1)f(f(x)) = f(1)

We need to determine whether 1≥r1 \geq r or 1<r1 < r:

If 1<r1 < r: f(1)=1f(1) = 1

So f(f(x))=f(1)=1=f(x)f(f(x)) = f(1) = 1 = f(x)

If 1≥r1 \geq r: f(1)=2(1)−r=2−rf(1) = 2(1) - r = 2 - r

So f(f(x))=2−rf(f(x)) = 2 - r, but f(x)=1f(x) = 1

For this to work: 1=2−r1 = 2 - r, which gives r=1r = 1


When x>rx > r:

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

Since x>rx > r, we have 2x−r>2r−r=r2x - r > 2r - r = r

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

For f(x)=f(f(x))f(x) = f(f(x)): 2x−r=4x−3r2x - r = 4x - 3r

Solving: 2r=2x2r = 2x, so x=rx = r

But this contradicts our assumption that x>rx > r!


The equation f(x)=f(f(x))f(x) = f(f(x)) holds when:

  • x=rx = r (always works)
  • x<rx < r (works when r≥1r \geq 1)
  • x>rx > r (never works)

Therefore, the equation f(x)=f(f(x))f(x) = f(f(x)) holds for all real values of xx where x≤rx \leq r and r≥1r \geq 1.

Keyboard Shortcuts

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