Follow your curiosity

What discovery has been shared with you?

Start with one fact. Explore it, go deeper, then follow whichever branch catches your imagination.

Choose subjects for a surprise

Exploring any topic

Begin your discovery

Your next discovery is one click away.

Choose one or more subjects above, or leave Any Topic selected and let curiosity decide.

Mathematics

Mathematical Functions

Quick fact

The concept of a function was only formalized in the 17th century, but it now underpins everything from predicting the weather to designing video games.

Why this is interesting

You know how a vending machine always gives you the same snack when you press the same button? That's surprisingly similar to one of the most powerful ideas in all of mathematics. What makes this 'machine' so special?

Read the full explanation

Understanding Mathematical Functions

Imagine you have a machine that takes a number and does something to it — say, doubles it and adds 3. If you put in 2, you get 7. If you put in 5, you get 13. This machine is a function: for every input, there is exactly one output. Mathematicians write this as f(x) = 2x + 3, where f is the function's name, x is the input, and the expression tells you what to do. The set of all possible inputs is called the domain; the set of all outputs is the range. A function is like a rule that links each element of the domain to a unique element of the range. This idea lets us describe relationships clearly, such as distance traveled over time (distance = speed × time) or the area of a circle (A = πr²).

A deeper explanation

At its heart, a function is a special kind of relation — a pairing between two sets. The crucial property is that each input has exactly one output. This might seem simple, but it's what makes functions predictable and useful. For example, if a relation failed this rule (like a circle on a graph, where a single x-value can have two y-values), it wouldn't be a function. The vertical line test on a graph checks this: if any vertical line crosses the graph more than once, it's not a function. Functions matter because they model cause-and-effect and dependency in science, economics, and engineering. They allow us to compute outputs for any input, analyze trends, and even reverse the process (inverse functions). Deeper concepts like continuity, limits, and derivatives all build on the simple idea of a function: a reliable machine that transforms an input into an output.

Keep FACTREE close

Internet access is required. Updates arrive when you reopen or reload the app. You may need to sign in again in the installed app.