what is the difference between f(x) and f?
The name of the function is f; f(x) indicates applying the function to the value x and can also represent the actual value obtained by applying the function to x. In particular f(7) applies the function to 7. Why did I write f(.)? That's just a way to indicate that f is a function of just one variable.