2

How can one calculate $f(3)$ when $f(f(x))=x^2-5x+9$

I tried this: $f(f(3))=3$

I'm stuck here.

Tommi
  • 1,425
user233658
  • 1,254

3 Answers3

6

$f(f(f(x))) = f(x^2 - 5x +9) = f(x)^2 - 5 f(x) + 9$.

set $x = 3$, then $f(3) = f(3)^2 - 5 f(3) + 9$. then $f(3) = 3$

Yimin
  • 3,311
  • 17
  • 32
4

Since $f(f(3))=3^2-5\cdot 3+9=3$, we have $$f(3)=f(f(f(3)))=(f(3))^2-5f(3)+9,$$ i.e. $$(f(3)-3)^2=0.$$ So, $f(3)=3$.

mathlove
  • 139,939
4

If $f(3) = y$, then $f(y) = f(f(3)) = 3$, and $f(f(y)) = f(3) = y$.
But $0 = f(f(y)) - y = y^2 - 6 y + 9 = (y - 3)^2$, so $y = 3$.

Robert Israel
  • 448,999