- Home
- /
- Math
- /
- Advanced Functions
- /
- Function
A function is a rule that assigns to each input in the domain exactly one output in the codomain — every input maps to precisely one output, never two. Functions are the central objects of mathematics—they describe relationships.
This concept is covered in depth in our complete guide to functions and graphs, with worked examples, practice problems, and common mistakes.
Definition
A function is a rule that assigns to each input in the domain exactly one output in the codomain — every input maps to precisely one output, never two.
💡 Intuition
A machine: put something in, get exactly one thing out. Same input always gives same output.
🎯 Core Idea
One input \to one output. The vertical line test checks this on a graph.
Example
Formula
Notation
f(x) denotes the output of function f at input x. Also written f\colon X \to Y.
🌟 Why It Matters
Functions are the central objects of mathematics—they describe relationships.
💭 Hint When Stuck
Try the vertical line test: draw vertical lines across the graph and check if any line hits the curve more than once.
Formal View
Related Concepts
🚧 Common Stuck Point
A circle is not a function (fails vertical line test)—one x gives two y values.
⚠️ Common Mistakes
- Thinking every equation is a function — x^2 + y^2 = 1 (a circle) is NOT a function because one x gives two y values
- Confusing 'undefined' with 'zero' — f(x) = \frac{1}{x} at x = 0 is undefined, not f(0) = 0
- Believing a function must have a formula — functions can be defined by tables, graphs, or verbal rules
Go Deeper
Frequently Asked Questions
What is Function in Math?
A function is a rule that assigns to each input in the domain exactly one output in the codomain — every input maps to precisely one output, never two.
Why is Function important?
Functions are the central objects of mathematics—they describe relationships.
What do students usually get wrong about Function?
A circle is not a function (fails vertical line test)—one x gives two y values.
Next Steps
Cross-Subject Connections
How Function Connects to Other Ideas
Once you have a solid grasp of function, you can move on to domain, range and function notation.
Want the Full Guide?
This concept is explained step by step in our complete guide:
Functions and Graphs: Complete Foundations for Algebra and Calculus →