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

  • IB Diploma
  • All IB Subjects
  • IB ESS
  • IB Business Management
  • Grade Calculator
  • Exam Timetable 2026
  • ESS Predictions
  • BM Predictions
  • IB Economics Predictions 2026

Study Resources

  • Free Study Notes
  • Revision Guide
  • Flashcards
  • ESS Question Bank
  • BM Question Bank
  • Mock Exams
  • Past Paper Feedback
  • Exam Skills
  • Command Terms

Company

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

© 2026 Aimnova. All rights reserved.

Made with 💜 for IB students worldwide

v0.1.512
NotesMath AI SLTopic 2.2What is a function?
Back to Math AI SL 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. Every input gives exactly one answer.__LINEBREAK__What matters is that there is always one answer. Not two. Not zero. One.

Example: the rule f(x) = 2x + 1 says "double the input, then add 1".__LINEBREAK__Put in 3 → double it → 6 → add 1 → 7.__LINEBREAK__So f(3) = 7. The output is 7.

Real-world anchor: A currency converter is a function. Type in 10 USD → you get one answer: €9.20. Not sometimes €9 and sometimes €10. Always one answer for the same input.__LINEBREAK__A lottery number is NOT a function of your ticket — the same ticket could "give" different numbers on different days.
function
A rule where every input has exactly one output. Same input → same output, every time.
input (x)
The value you put into the function. Also called the argument.
output f(x)
The value the rule produces for that input. Also called the image or function value.
RelationIs it a function?Why?
x → x + 2Yes ✓Every x gives exactly one answer.
x → ±√xNo ✗x = 4 gives two answers: +2 and −2. One input, two outputs.
y = x²Yes ✓Each x gives exactly one y-value.
x² + y² = 9 (a circle)No ✗x = 0 gives y = 3 or y = −3. Two outputs for one input.
IB exam: "Is this a function? Justify.": Always give a reason — the mark is for the justification, not just the yes/no.__LINEBREAK___✅ Full answer: "No, because when x = 4 there are two possible outputs (+2 and −2), so each input does not give exactly one output."__LINEBREAK___❌ Bare answer: "No." — likely no mark.
The big idea: f(x) is read "f of x". It means: the output of function f when the input is x.__LINEBREAK__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

Two functions at once

Given f(x) = x + 2 and g(x) = x², find f(5) and g(3).

Step by step

  1. Find f(5): replace x with 5 in f.
  2. Find g(3): replace x with 3 in g.

Final answer

f(5) = 7 and g(3) = 9. Always work on each function separately.

Critical trap: f(2) does NOT mean f × 2.__LINEBREAK__f(2) means "the output when x = 2". It is a substitution, not a multiplication.__LINEBREAK__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.__LINEBREAK__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.__LINEBREAK__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)²__LINEBREAK___−3² = −9 (the square only applies to 3)__LINEBREAK__−3² = 9 (the square applies to negative 3)__LINEBREAK__Always write brackets around negative numbers before squaring.

Evaluating with an expression as input

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

Step by step

  1. Replace every x with (a + 1). Use brackets.
  2. Expand the bracket.
  3. Simplify.

Final answer

f(a + 1) = 2a − 1. This is an expression, not a number.

Show the substitution step: Always write the line where you substitute before simplifying.__LINEBREAK__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.__LINEBREAK__If the ruler ever touches the graph in two places at the same time → the graph is NOT a function.__LINEBREAK__If the ruler always touches the graph in exactly one place (or skips it entirely) → the graph IS a function.__LINEBREAK__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."__LINEBREAK___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."__LINEBREAK___❌ 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.__LINEBREAK__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 SL 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 SL 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 SL topics

Improve your exam technique

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

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

2 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 SL Topics