VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

What a Function Really Is

Three students study around open books and worksheets in a shared classroom.

A function is one of the most important organising ideas in Mathematics because it connects numbers, algebra, graphs, tables, formulas and real-world relationships. Yet many students first meet functions as notation and never build the underlying picture.

This guide develops functions as a rule for assigning exactly one output to each permitted input. It explains what that sentence really means, why one input cannot produce two different outputs in the same function, how functions appear in tables and graphs, and why function thinking becomes a bridge into later algebra and Additional Mathematics.

One-sentence answer

A function is a relationship that assigns each allowed input exactly one output.

Input, rule, output

Consider the rule “multiply by 2 and add 3”. If the input is 4, the output is 11. If the input is -1, the output is 1.

x → 2x + 3

The same rule acts on every permitted input. The function is not the answer 11. The function is the relationship that turns an input into an output.

Function notation

Instead of repeatedly writing “the output when the input is x”, Mathematics writes:

f(x) = 2x + 3

Then:

f(4) = 2(4) + 3 = 11

The symbol f is the name of the function. The expression f(4) means “the output of function f when the input is 4”.

Why one input must have one output

Suppose a rule says that input 3 sometimes produces 7 and sometimes produces 12, with no additional information deciding which. That is not a well-defined function of that input alone.

Different inputs may produce the same output. That is allowed. For example, f(x)=x² gives f(2)=4 and f(-2)=4. The restriction is the other direction: one input cannot be assigned two different outputs by the same function.

Functions in tables

xf(x)=2x+3
-11
03
15
27
39

The table shows selected input-output pairs. The formula describes the relationship for every permitted input, not just the values listed.

Functions in graphs

A graph of y=f(x) displays input-output pairs as points. The horizontal coordinate is the input x; the vertical coordinate is the output y.

A useful graphical test is the vertical line test. If a vertical line crosses a graph more than once, then one x-value is paired with more than one y-value, so the graph does not represent y as a function of x.

Worked example 1: evaluate a function

Let f(x)=3x-5. Find f(6).

f(6)=3(6)-5=18-5=13

The answer is 13.

Worked example 2: find an input from an output

Let f(x)=4x+1. Find x when f(x)=21.

4x+1=21
4x=20
x=5

This reverses the input-output question using algebra.

Worked example 3: same output, different inputs

Let g(x)=x². Find two inputs that give output 9.

x²=9
x=3 or x=-3

This does not break the function rule. Each input still has exactly one output. It shows that a function can be many-to-one.

Functions as models

If a taxi fare is modelled by C(d)=4+0.80d, where d is distance travelled, the function encodes a relationship: each permitted distance produces a cost according to the model.

The formula is useful because it can generate many outputs, be graphed, compared with another pricing rule, or solved backwards for distance from cost.

Functions are not only formulas

A function can be described by a formula, table, graph, mapping diagram, algorithm or verbal rule. These are different representations of the same underlying assignment idea.

Strong function thinking means moving between representations without losing the relationship.

Diagnostic table

Observed mistakeLikely issueRepair
Treats f(x) as f × xNotation meaningRead f(x) aloud as “f of x”
Thinks two inputs cannot share an outputDirection of function ruleUse x² with inputs ±2
Only works from formulasRepresentation dependencyTranslate among table, graph and rule
Substitutes incorrectly into bracketsAlgebra executionWrite the substituted expression before simplifying

A tutor’s teaching sequence

  1. Begin with an input-output rule in words.
  2. Build a short table.
  3. Introduce f(x) notation only after the relationship is clear.
  4. Plot the corresponding points.
  5. Reverse a few outputs to recover inputs.
  6. Change representation and test whether the learner preserves the same function.

Practice

  1. For f(x)=5x-2, find f(3).
  2. For g(x)=x²+1, find g(-4).
  3. If h(x)=3x+7 and h(x)=25, find x.
  4. Can two different inputs in a function produce the same output?
  5. Why does a graph failing the vertical line test not represent y as a function of x?

Answers

1. 13. 2. 17. 3. 6. 4. Yes. 5. Because at least one input x would have more than one output y.

Connected routes

Continue to Input, Output and Function Machines as Early Function Thinking, Domain, Range and Restrictions, and Composite and Inverse Thinking Before Additional Mathematics. Return to the Mathematics Learning Hub for the wider Secondary Mathematics route.