A mathematical function is like a machine. You provide an Input (x), it applies a rule or formula f(x), and produces exactly one Output (y).