A function describes dependence: choose an allowed input, and the function determines exactly one output. Formulas are one way to express that rule, but tables, graphs, algorithms, and verbal descriptions can define functions too.
Three ways to see the same idea
Consider . As a machine, it accepts a number and squares it. As a map, it connects every real number to the real number . As a graph, it is the set of all ordered pairs .
These views emphasize different strengths. The machine view highlights a procedure. The map view highlights domain and codomain. The graph shows the relationship geometrically.
Domain is part of the rule
The expression does not define a real-valued function at . Likewise, has no real value for negative . A formula without a domain leaves the function incomplete.
This matters when two formulas look identical but describe different objects. A population model might use only for , even though the formula itself accepts negative values.
Composition builds complicated behavior
If converts time to temperature and converts temperature to resistance, then
converts time directly to resistance. Composition is how simple dependencies become models, algorithms, and chains of physical causes.
Functions prepare the ground for calculus
Limits ask how a function behaves near an input. Derivatives measure how its output changes locally. Integrals accumulate its values across an interval. Calculus is therefore not a collection of operations on formulas; it is a study of changing relationships.
Test the definition
The relation does not define as a function of on : most inputs have outputs . Restricting to the upper semicircle creates a function.
Check your understanding
Why is squaring not invertible on all real numbers?