Library Functions
Additional Mathematics

Functions

Revise Functions for Additional Mathematics — revision notes and instant AI marking. Free to start.

📖 Revision notes · preview
Cambridge IGCSE · Additional Maths

Functions

A function is just a reliable machine: put a number in, get exactly one number out — and once you understand that one idea, inverses, domains, ranges, and composite functions all just become different questions about the same machine.

Summary — What This Chapter Covers

  • Mappings vs functions — a function is a mapping where every input gives exactly one output (one-one or many-one only).
  • Function notation — f(x), f: x ↦ ..., and how to evaluate f(3), f(a), f(x+3) by substitution.
  • Domain — the set of allowed inputs. Range — the set of resulting outputs. The range depends entirely on the domain.
  • The modulus function |x| — makes any input positive (the "absolute value").
  • Inverse functions f⁻¹(x) — undoes what f did. Found by swapping x and y, then rearranging. Only exists if f is one-one.
  • Graphs of inverses — always a reflection of y = f(x) in the line y = x.
  • Composite functions fg(x) — apply g first, then f to the result. Order matters: fg(x) ≠ gf(x) generally.
  • Domain/range of composites — g's range must fit inside f's domain, or fg(x) simply doesn't exist.

1. Language of Functions

1What is a Mapping? What is a Function?

Think of a mapping as an arrow diagram: it takes values from one set (the inputs) and connects them to values in another set (the outputs). That's it — any rule that connects inputs to outputs is a mapping.

A mapping can behave in different ways:

One-to-one — every single input goes to its own unique output (nobody shares).
Many-to-one — several different inputs are allowed to land on the output (like x² sending both 3 and −3 to 9).
One-to-many and many-to-many — these exist too, but there's a problem with them...

The Key Idea
A function is a mapping where every input produces exactly one output — no exceptions. If just one input could give you two different outputs, it fails to be a function. That's why only one-to-one and many-to-one mappings count as functions — "one-to-many" breaks the rule immediately.

Why does this matter? Because a function needs to be predictable. If you tell a function "put in 5," it needs to give you back one definite answer every single time — not "well, it could be 12 or it could be −3." That reliability is the entire point of a function.

2Function Notation

Functions are usually named with letters like f, g, h. You'll see two main styles of notation, and they mean exactly the same thing:

Notation
f(x) = x² − 3x + 2  is the same as  f : x ↦ x² − 3x + 2
Read as "f of x equals..." or "the function f maps x to...". The little arrow ↦ (not a regular equals arrow) specifically means "maps to."

How a function actually works: whatever sits inside the brackets replaces every x on the right-hand side. If you see f(3), every x becomes a 3. If you see f(a), every x becomes an a. If you see f(x + 3), every x becomes (x + 3) — brackets and all, which is the part that trips people up (see the example below).

Worked Example

Given f(x) = 3x² − 2x + 1, find (a) f(7), and (b) f(x + 3).

(a) Substitute x = 7 into every x:
f(7) = 3(7)² − 2(7) + 1 = 3(49) − 14 + 1 = 147 − 14 + 1
f(7) = 134
(b) Replace every x with the whole bracket (x + 3):
f(x+3) = 3(x+3)² − 2(x+3) + 1
Expand (x+3)² = x² + 6x + 9 first, then distribute the 3 and the −2:
= 3(x² + 6x + 9) − 2x − 6 + 1 = 3x² + 18x + 27 − 2x − 6 + 1
f(x+3) = 3x² + 16x + 22
Common Mistake
When substituting an expression like (x + 3), students often forget to square the whole bracket — writing x² + 9 instead of (x+3)² = x² + 6x + 9. Always expand brackets carefully, term by term, before simplifying.
Practice Question
A function is defined as g(x) = 2x² + x − 5. Find g(4) and g(2a).

3Domain and Range

These two words confuse people mainly because they sound similar, so let's nail the difference with a simple picture: the domain is the "in" door, the range is the "out" door.

Definitions
Domain = the set of allowed inputs  ·  Range = the set of resulting outputs
If a domain isn't stated, assume it's the largest possible set of values that actually work (e.g. for f(x) = √x, that means x ≥ 0, since you can't square-root a negative number).

The important connection: the range is entirely the domain. Change what you're allowed to put in, and you change what comes out. This is best seen visually — imagine f(x) = x²:

• If the domain is all real x, then squaring negative and positive numbers both give positive results, so the range is f(x) ≥ 0.
• If you the domain to just x ≥ 0, the mapping becomes one-to-one instead of many-to-one (this trick is often used deliberately, because one-to-one functions are the only ones with proper inverses — more on that soon).

Worked Example

f(x) = (x − 3)² for all values of x. (a) State the range. (b) If the domain changes to x > 5, find the new range.

(a) Any squared value is always ≥ 0, no matter what's inside the brackets, so:
f(x) ≥ 0
(b) Now the smallest allowed input is "just above 5." Substitute the boundary value x = 5 into f to find the boundary of the range: f(5) = (5−3)² = 4. Since x is strictly greater than 5 (not equal), the range is also strict:
f(x) > 4
Handy Technique
To find a range from a domain, imagine (or actually sketch) the graph of the function. The domain restricts which -values you're allowed to look at; the range is simply whatever -values appear on the curve within that window. Graphing turns an abstract algebra question into a "just read it off the picture" question.
Practice Question
h(x) = 5 − 2x², with domain x ≥ 1. Find the range of h(x).

4The Modulus Function

The modulus function, written with vertical bars like |x|, simply strips away any negative sign — it makes any input positive (or leaves it at zero). It's often called the absolute value, because it just measures "how far from zero," ignoring direction.

Rule
|7| = 7  and  |−7| = 7
If f(x) ≥ 0, then |f(x)| = f(x) (nothing changes — it's already positive).
If f(x) < 0, then |f(x)| = −f(x) (the negative sign gets flipped away).

Think of the vertical bars like a pair of brackets that "clean up" whatever's inside — anything that comes out negative gets its sign flipped positive on the way out.

Also in the full note
  • 2. Inverse Functions
  • 3. Composite Functions
  • What to Memorise
  • Concepts Checklist
  • Exam Tips & Common Mistakes
  • 1What Is an Inverse Function?
  • 2Finding an Inverse Function — The Method
  • 3The Cancelling Property
What's inside
📖 Revision notes ✦ AI flashcards ✓ Instant AI marking

Read the full Functions notes free

That's the preview — create a free account to read the rest, plus flashcards and practice questions with instant AI marking. No credit card.

Unlock the full notes free →