Function

Functions
definition

Also known as: mapping, transformation

Grade 9-12

View on concept map

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

f(x) = x^2 Input 3, output 9. Input -3, output 9. Never two different outputs for one input.

Formula

y = f(x)

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

f\colon X \to Y is a function \iff \forall x \in X,\; \exists!\, y \in Y: (x, y) \in f

🚧 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

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.

What is the Function formula?

y = f(x)

When do you use Function?

Try the vertical line test: draw vertical lines across the graph and check if any line hits the curve more than once.

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 β†’
πŸ’¬

Watch how others think about this

See a teacher and students work through common confusions β€” step by step.