The question is shown below:
Suppose $S=\{0,1,2,3,4,5,6,7,8,9,10\}$ and that the function $f:S\rightarrow S$ is given by:
$f(x)=6x^2+3x+8$ (mod 11)
Let $T=\{0,5\}$.
Find $f^{-1}\left(T\right)$.
Alright,
so my initial approach with this question was to find the inverse function,
$f^{-1}(x)=\dfrac{\pm\sqrt{24x-183}-3}{12}$, but $f^{-1}x\in S\geq0$
thus,
$f^{-1}(x)=\dfrac{\sqrt{24x-183}-3}{12}$
and then just churn out congruent values of $x=0,5$ in modulo 11 until I find a suitable value for $f^{-1}(x)$ within $S$, but it seems a bit tedious. Anyways, I repeated this churning process until I received the values of $\{2,3,6,10\}$.
Can anyone suggest a faster approach and please advise me if my approach is logically sound.
Many thanks :)