aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Stay in the loop

Study tips, product updates, and early access to new features.

aimnova.

AI-powered IB study platform with personalised plans, instant feedback, and examiner-style marking.

IB Subjects
  • All IB Subjects
  • IB Diploma
  • IB ESS
  • IB Economics
  • IB Business Management
  • IB Math AI
  • IB Math AA
Question Banks
  • ESS Question Bank
  • Economics Question Bank
  • Business Management Question Bank
  • Math AI Question Bank
  • Math AA Question Bank
Predicted Topics 2026
  • ESS Predictions 2026
  • Economics Predictions 2026
  • Business Management Predictions 2026
  • Math AI Predictions 2026
  • Math AA Predictions 2026

Study Resources

  • Free Study Notes
  • Mock Exams
  • Revision Guide
  • Flashcards
  • Exam Skills
  • Command Terms
  • Past Paper Feedback
  • Grade Calculator
  • Exam Timetable 2026

Company

  • Features
  • Pricing
  • About Us
  • Blog
  • Contact
  • Terms
  • Privacy
  • Cookies

© 2026 Aimnova. All rights reserved.

Made with 💜 for IB students worldwide

v0.1.894
NotesMath AI HLTopic 2.2What is a function?
Back to Math AI HL Topics
2.2.13 min read

What is a function?

IB Mathematics: Applications and Interpretation • Unit 2

Smart study tools

Turn reading into results

Move beyond passive notes. Answer real exam questions, get AI feedback, and build the skills that earn top marks.

Get Started Free

Contents

  • What is a function?
  • Function notation: f(x)
  • Evaluating functions
  • Recognising functions: the vertical line test
The big idea: A function is a rule where every input gives exactly one output.

Same input → same answer, every time.

Not two answers. Not random answers. Just one.

Example: the rule f(x) = 2x + 1 means “double the input, then add 1”.

Put in 3 → 2(3) + 1 = 7

So f(3) = 7.

Real-world anchor: Think of a vending machine.

Press B4 → you should ALWAYS get the same snack.

Same button → same result.

That is a function.

If pressing B4 sometimes gave chips, sometimes chocolate, and sometimes a drink, it would NOT be a function because one input would give multiple outputs.
function
A rule where every input has exactly one output.
input (x)
The value you put into the function.
output f(x)
The answer the function gives.
RelationIs it a function?Why?
x → x + 2Yes ✓Every x gives exactly one answer.
x → ±√xNo ✗x = 4 gives two answers: +2 and −2.
y = x²Yes ✓Each x gives one y-value.
x² + y² = 9No ✗x = 0 gives y = 3 or y = −3.
IB exam tip: Always explain WHY.

✅ “No, because x = 4 gives two outputs (+2 and −2), so one input gives more than one output.”

❌ “No.”
The big idea: f(x) is read "f of x". It means: the output of function f when the input is x.

The letter f is just a name — you can also see g(x), h(x), or P(t) in IB questions. They all work the same way.
the name of the function
the input (goes inside the bracket)
the rule — what happens to x

Reading function notation

If f(x) = 3x − 5, find f(4).

Step by step

  1. The input is 4. Replace every x with 4.
  2. Simplify.

Final answer

f(4) = 7

Worked example — bike rental cost

A bike rental shop charges C(d) = 45d + 25 dollars for a rental of d days.

Find C(4) and say what your answer means.

Step by step

  1. Step 1 — Re-read the question in plain words.

    d is the number of days. C(d) is the total cost in dollars.

    So C(4) is really asking: "how much will the shop charge me for a 4-day rental?"

    To answer it, put 4 wherever you see d in the formula.
  2. Step 2 — Put 4 in place of d.
  3. Step 3 — Multiply first (× before +). 45 × 4 = 180.
  4. Step 4 — Add.
  5. Step 5 — Answer the original question.

    The shop will charge $205 for a 4-day rental.

Final answer

C(4) = 205. A 4-day rental costs $205.

Critical trap: f(2) does NOT mean f × 2.

f(2) means "the output when x = 2". It is a substitution, not a multiplication.

If f(x) = 3x − 5, then f(2) = 3(2) − 5 = 1, not 5 × 2 = 10.
Always write the function value line: Write f(4) = 3(4) − 5 before simplifying.

IB awards a mark for the correct substitution line — even if your arithmetic goes wrong after that.

Never wonder what to study next

Get a personalized daily plan based on your exam date, progress, and weak areas. We'll tell you exactly what to review each day.

Try Free Study Plan7-day free trial • No card required
The big idea: To evaluate a function at a value: replace every x in the rule with that value.

Then simplify the result. Always bracket negative numbers when substituting.

Evaluating a quadratic

Find f(−3) when f(x) = x² + 2x − 1.

Step by step

  1. Replace every x with (−3). Use brackets.
  2. Calculate each term.
  3. Simplify.

Final answer

f(−3) = 2

Bracket negative inputs every time: −3² ≠ (−3)²

−3² = −9 (the square only applies to 3)

(−3)² = 9 (the square applies to negative 3)

Always write brackets around negative numbers before squaring.

Worked example — soup cooling

Mira poured a bowl of soup and let it cool.

The soup's temperature, S, in °C, t minutes later is modelled by:

S(t) = 60e^(−0.05t) + 22

where t ≥ 0.

Find the soup's temperature 12 minutes after it was poured.

Step by step

  1. Step 1 — Re-read the question in plain words.

    t is the time in minutes after the soup was poured. S(t) is the soup's temperature in °C.

    So S(12) is really asking: "how hot is the soup 12 minutes after Mira poured it?"

    To answer it, put 12 wherever you see t in the formula.
  2. Step 2 — Substitute t = 12.
  3. Step 3 — Tidy the exponent first. −0.05 × 12 = −0.6.
  4. Step 4 — Type into your GDC and round to 3 significant figures (IB's default precision).
  5. Step 5 — Answer the original question.

    About 12 minutes after pouring, the soup is approximately 54.9 °C.

Final answer

S(12) ≈ 54.9 °C — the soup is about 54.9 °C twelve minutes after pouring.

The same procedure works for any function type: Linear, exponential, rational, log, sinusoidal — they all use the same idea: substitute → simplify → interpret.

For example, if h(t) = 20/(2t + 5), then h(0.5) = 20/(2(0.5) + 5) = 20/6 ≈ 3.33.

Worked example — function defined by a table

A function f is given by the following table:

| x | 0 | 1 | 2 | 3 | 4 | |---|---|---|---|---|---| | f(x) | 5 | 2 | 4 | 1 | 3 |

(a) Find f(2). (b) Solve f(x) = 4.

Step by step

  1. Part (a) — Find f(2).

    Look up x = 2 in the top row, then read the value below: f(2) = 4.
  2. Part (b) — Solve f(x) = 4.

    Read the table backwards: find the column where f(x) = 4.

    The bottom row shows 4 under x = 2. So x = 2.
  3. Sense-check.

    We found f(2) = 4 in part (a) — so solving f(x) = 4 gives x = 2. The two answers match because they ask the same relationship from opposite directions.

Final answer

(a) f(2) = 4. (b) x = 2.

Show the substitution step: Always write the line where you substitute before simplifying.

IB gives credit for showing f(3) = 2(3) − 3 even if the final simplification is wrong.
The big idea: Imagine holding a ruler upright and slowly sliding it across a graph from left to right.

If the ruler ever touches the graph in two places at the same time → the graph is NOT a function.

If the ruler always touches the graph in exactly one place (or skips it entirely) → the graph IS a function.

This is called the vertical line test.

Why does this work?

A function must give one output per input.

Each position of the ruler is one x-value (one input).

If the ruler hits two points, that x-value produces two outputs — which breaks the rule.

[Diagram: math-vertical-line-test] - Available in full study mode

GraphVertical line hits…Is it a function?
Straight line y = 2x + 1One point — every time✅ Function
Parabola y = x²One point — every time✅ Function
Horizontal line y = 4One point — every time✅ Function
Circle x² + y² = 9Two points (top and bottom)❌ Not a function
Sideways parabola x = y²Two points (above and below)❌ Not a function
Vertical line x = 3Infinite points❌ Not a function
Exam answer template: If it IS a function: "Yes — every vertical line crosses the graph at most once, so each x-value gives exactly one y-value."

If it is NOT a function: "No — a vertical line at x = [value] crosses the graph at two points, so that x-value gives two different y-values."

❌ Never just write "Yes" or "No" alone — IB always awards a mark for the justification.
Restricted graph? Test only what is drawn: If IB shows only part of a curve (e.g. only the right half of a circle), apply the test only to the part that is drawn — not the full curve.

Example: the right half of x² + y² = 9 is a function, because no vertical line hits it twice.

IB Exam Questions on What is a function?

Practice with IB-style questions filtered to Topic 2.2.1. Get instant AI feedback on every answer.

Practice Topic 2.2.1 QuestionsBrowse All Math AI HL Topics

How What is a function? Appears in IB Exams

Examiners use specific command terms when asking about this topic. Here's what to expect:

Define

Give the precise meaning of key terms related to What is a function?.

AO1
Describe

Give a detailed account of processes or features in What is a function?.

AO2
Explain

Give reasons WHY — cause and effect within What is a function?.

AO3
Evaluate

Weigh strengths AND limitations of approaches in What is a function?.

AO3
Discuss

Present arguments FOR and AGAINST with a balanced conclusion.

AO3

See the full IB Command Terms guide →

Related Math AI HL Topics

Continue learning with these related topics from the same unit:

2.1.1Gradient and y-intercept
2.1.2Writing the equation of a straight line
2.1.3Parallel and perpendicular lines
2.1.4Linear models in context
View all Math AI HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Math AI HL

Previous
2.1.4Linear models in context
Next
Domain and range2.2.2

4 questions to test your understanding

Reading is just the start. Students who tested themselves scored 82% on average — try IB-style questions with AI feedback.

Start Free TrialView All Math AI HL Topics