\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
Consider the following calculation program:
  1. Choose a number.
  2. Multiply the chosen number by itself.
  3. Subtract \(1\) from the result obtained.
Let \(x\) be the number chosen initially. Determine the function \(f\) that corresponds to the result obtained with this program.
\(f(x)=\)