Skip to main content
← Back to Blog
MathematicsStage 5

Functions and Graphs: The Language of Mathematical Relationships

MMathyard Team·1 April 2026·2 min read

A function is a rule that assigns exactly one output to each input. The domain is the set of valid inputs, and the range is the set of possible outputs. Function notation f(x) = … makes it clear you're evaluating the function at the value x. Functions can be represented as equations, tables of values, graphs, or mappings. The vertical line test on a graph determines whether a relation is a function — if any vertical line crosses the graph more than once, it's not a function. Composite functions, inverse functions, and transformations (shifting, stretching, reflecting) of functions are all tools for understanding how functions relate to each other.

From Leibniz to Dirichlet

Gottfried Wilhelm Leibniz coined the word 'function' in 1692 to describe a quantity related to a curve on a graph. Leonhard Euler introduced the notation f(x) in 1734 — still the standard notation today — and showed that trigonometric and exponential functions could be expressed as infinite series. Johann Dirichlet gave the modern, rigorous definition in 1837: a function is any rule assigning exactly one value of y to each value of x. This abstract definition freed the concept from geometric curves and opened the door to modern analysis. The idea of a function as an abstract input-output machine, rather than a formula, is now foundational to all of mathematics.

Functions underpin all of quantitative science

Every physical law is a function: Newton's second law (F = ma) is a function of mass and acceleration. Every computer program is built from functions — modular blocks of code that take inputs and return outputs. Machine learning models are composite functions trained on data. A cost function in economics maps quantity produced to total cost. Financial pricing models are functions of interest rates, time to maturity, and volatility. The shapes of natural structures — snail shells (logarithmic spirals), coastlines (fractal functions), heartbeat patterns (approximately periodic functions) — are all described by functions. The concept is not just a mathematical tool; it's the primary framework through which the quantitative world is understood.


Share this article

FacebookShare
M

Mathyard Team

The Mathyard team builds tools to help students and teachers get more out of maths practice.