Function notation terminology

I can remember to read this text, and being puzzled with the exact same question. From what I've learned from my teacher, you're right, writing down something as "the function $f(x)$..." is sloppy notation. However, many books/people will use it this way.

If you're are very precise, $f(x)$ is not a function or an map. I don't know of a standard way to refer to $f(x)$, but here is some usage I found on the internet:

  • The output of a function $f$ corresponding to an input $x$ is denoted by $f(x)$.
  • Some would call "$f(x)=x^2$" the rule of the function $f$.
  • For each argument $x$, the corresponding unique $y$ in the codomain is called the function value at $x$ or the image of $x$ under $f$. It is written as $f(x)$.
  • If there is some relation specifying $f(x)$ in terms of $x$, then $f(x)$ is known as a dependent variable (and $x$ is an independent variable).

A correct way to notate your function $f$ is: $$f:\Bbb{R}\to\Bbb{R}:x\mapsto f(x)=x^2$$

Note that $f(x)\in\Bbb{R}$ and $f\not\in\Bbb{R}$. But the function $f$ is an element of the set of continuous functions, and $f(x)$ isn't.

In some areas of math it is very important to notate a function/map specifying it's domain, codomain and function rule. However in for example calculus/physics, you'll see that many times only the function rule $f(x)$ is specified, as the reader is supposed to understand domain/codmain from the context.

You can also check those questions:

  • In written mathematics, is $f(x)$a function or a number?
  • What is the difference between writing f and f(x)?