Mathematics
Functions (Mathematics)
Quick fact
The concept of a function was formalized in the 19th century, but functions themselves have been used implicitly for thousands of years, from ancient Babylonian tables to Galileo's law of falling bodies.
Why this is interesting
You’ve seen a vending machine: you press a button (input) and get a snack (output). Functions work the same way — but with numbers. What if I told you this simple idea unlocks most of modern mathematics?
Read the full explanation
Understanding Functions (Mathematics)
A function is a rule that assigns each input exactly one output. Imagine a machine: you feed it a number, it applies a rule (like 'double it and add 1'), and produces an output. The set of all possible inputs is called the domain; the set of all possible outputs is the range. We write this as f(x) = something, where x is the input and f(x) is the output. For example, f(x) = 2x + 1 means if you input 3, the output is 7. Not every relationship is a function — a function must give a single, unique output for each input. This simple idea is the foundation for describing patterns, from population growth to the trajectory of a rocket.
A deeper explanation
Why are functions so powerful? They capture the idea of dependence: one quantity depends on another. The 'rule' can be an algebraic expression, a table, a graph, or even a verbal description. The critical mechanism is the uniqueness of output — this allows predictability and mathematical analysis. Functions are the core of calculus (derivatives measure how fast a function changes), and they appear everywhere in science: physics laws are functions of time and space, economic models are functions of supply and demand. Even computer programs can be seen as functions. Understanding functions gives you a universal language to think about how things are connected, making them indispensable for any advanced study in mathematics, science, or engineering.