One-one, onto and inverse functions

About this lesson: One-one, onto and inverse functions

In short

f is one-one (injective) when different inputs always give different outputs: f(a) = f(b) only if a = b. On a graph, every horizontal line meets it at most once.

What you'll explore

One-one: Different inputs, different outputs
f is one-one (injective) when different inputs always give different outputs: f(a) = f(b) only if a = b.
Onto: Every element of B is hit
f : A → B is onto (surjective) when its range is the whole codomain B. f : R → R, f(x) = 2x + 1 is onto: for any y, x = (y − 1)/2 works.
Inverse: Undo the function
A function that is both one-one and onto (a bijection) has an inverse f⁻¹ that undoes it: f⁻¹(f(x)) = x.
Mirror line: Inverse: a mirror in y = x
The graph of f⁻¹ is the mirror image of the graph of f in the line y = x. Move m to change f(x) = mx + 1 and watch the inverse move with it.
Check yourself: Inverse
Make x the subject, then swap.

Also in this lesson

  • One-one, onto and inverse in detail
  • Common mistakes

Key words

One-one (injective)
Different inputs always give different outputs.
Onto (surjective)
The range is the whole codomain.
Bijection
A function that is both one-one and onto.
Inverse function
The function f⁻¹ that undoes f.
Horizontal line test
A graph is one-one if every horizontal line meets it at most once.
Reflection in y = x
The move that turns the graph of f into the graph of f⁻¹.

Sources

  • NIE Sri Lanka, G.C.E. (A/L) Combined Mathematics syllabus, Grade 12 and 13, 2017 (competency level I 2.1).

An interactive lesson with a live experiment: move the sliders, press the buttons and answer quick questions. 5 short steps and a 30-question quiz. Part of the Family plan. Written and checked by Shalo Lab. Last updated 21 November 2026.

← Functions: domain, codomain and range · Types of functions: modulus, composite, odd and even →

All lessons in Unit 1 · Real numbers and functions · A/L Combined Maths

A/L Combined Maths past papers 2019–2025: analysis and 10 model papers with answers

මේ පිටුව සිංහලෙන් කියවන්න