Defining a Function

LESSON 1 OF 27See the unit map ↗

Identify a function by the uniqueness of each input’s output.

The bigger question: What does a function tell us—and what can it hide?

On this page

Idea

A function assigns exactly one output to each input in its domain. Think of the input as a question and the output as its unambiguous answer. Different inputs may share an output; one input cannot have two outputs.

Visual guide

VISUAL GUIDEEach input gets exactly one output

Squaring on three inputs

Two different inputs may share an output. This is still a function because each input has one outgoing arrow. A rule with two different outputs for a single input would fail the definition.−10101
Two different inputs may share an output. This is still a function because each input has one outgoing arrow. A rule with two different outputs for a single input would fail the definition.

Method

The notation f:A→Bf:A\to B specifies the domain AA and codomain BB. The rule f(x)f(x) tells how to assign outputs. The actual outputs form the range, which is a subset of BB.

Worked example

Let f:R→Rf:\mathbb R\to\mathbb R have rule f(x)=x2f(x)=x^2. Then f(−3)=9f(-3)=9 and f(3)=9f(3)=9. These equal outputs do not violate the function definition: each input still has only one square. The equation y2=xy^2=x describes a relation with two possible yy values for positive xx, unless a branch is selected.

PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

Which assignment fails to define a function?

Hint 1 · Find a starting point

A function’s rule assigns one output to each allowed input.

Hint 2 · Take the next step

Repeating an output is allowed; competing outputs for one input are not.

Show the reasoning

Answer: The same input 2 has outputs 3 and 5.

Input 2 cannot simultaneously be assigned two different outputs.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Common mistake

f(x)f(x) is the output, not multiplication of ff by xx. The input symbol is a placeholder: f(t)=t2f(t)=t^2 describes the same rule.

Check your understanding

Does {(1,2),(2,2),(1,3)}\{(1,2),(2,2),(1,3)\} define a function of the first coordinate?

Show answer

No. Input 11 has outputs 22 and 33.

MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →