Back to all Math AI SL topics
Topic 2.2Math AI SL SL64 flashcards

Functions, domains, ranges, and graphs

Practice Flashcards

Flip cards to reveal answers
Card 1 of 642.2.1
2.2.1
Question

What is a function?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All Flashcards in Topic 2.2

Below are all 64 flashcards for this topic. Sign up free to track your progress and get personalized review schedules.

2.2.116 cards

Card 1definition
Question

What is a function?

Answer

A function is a rule that assigns exactly one output to each input. Every input (x-value) maps to one and only one output (y-value). Example: f maps every temperature in °C to a temperature in °F — one input, one output.

Card 2concept
Question

A mapping shows: 1 → 5, 2 → 7, 3 → 5. Is this a function? What about 1 → 5, 1 → 9, 2 → 7?

Answer

First mapping (1→5, 2→7, 3→5): YES, this is a function. Two inputs (1 and 3) share the same output — that is allowed. Second mapping (1→5, 1→9): NOT a function. Input 1 maps to two different outputs — that breaks the rule.

Card 3concept
Question

Give a real-world example of a function and explain why it qualifies.

Answer

Example: "Country → Capital city." Each country has exactly one capital — every input (country) maps to exactly one output (capital). Non-example: "Person → Friend" — a person can have many friends, so one input maps to many outputs.

Card 4concept
Question

Exam trap: Can two different inputs map to the same output in a function?

Answer

Yes — this is perfectly fine and does NOT stop something from being a function. What is NOT allowed: one input mapping to two different outputs. Example: f(2) = 5 and f(3) = 5 is fine. But f(2) = 5 and f(2) = 9 means it is not a function.

Card 5definition
Question

What does the notation f(x) mean?

Answer

f(x) is the output of the function f when the input is x. Read it as "f of x." f is the name of the function. x is the input. f(x) is the corresponding output. Example: if f(x) = 2x + 1, then f(3) = 7.

Card 6formula
Question

Rewrite y = 4x − 3 using function notation.

Answer

f(x) = 4x − 3. Replace y with f(x). The name "f" is conventional but any letter works (g, h, p, etc.). Both y = 4x − 3 and f(x) = 4x − 3 describe the same rule.

Card 7concept
Question

g(x) = x² + 1. What does g(t) mean? What does g(a + 1) mean?

Answer

g(t): apply the same rule but with t as the input → g(t) = t² + 1. g(a + 1): replace every x with (a + 1) → g(a + 1) = (a + 1)² + 1. The letter inside the bracket is always the input — substitute it everywhere x appears.

Card 8concept
Question

Exam trap: A student writes "f(x) means f multiplied by x." What is the error?

Answer

f(x) is not multiplication — the parentheses here mean "function of," not "times." f(x) = 4x + 2 does not mean f × x = 4x + 2. f is the function name; f(x) is the output value when the input is x.

Card 9concept
Question

How do you evaluate f(a) given a function f(x)?

Answer

Substitute a for every x in the function rule, then simplify. Example: f(x) = 3x + 5. Find f(4). Replace x with 4: f(4) = 3(4) + 5 = 12 + 5 = 17.

Card 10formula
Question

f(x) = 2x − 7. Find f(3) and f(0).

Answer

f(3) = 2(3) − 7 = 6 − 7 = −1. f(0) = 2(0) − 7 = 0 − 7 = −7. f(0) gives the y-intercept of the function.

Card 11formula
Question

h(x) = x² − 4x + 1. Find h(−2).

Answer

Replace x with −2: h(−2) = (−2)² − 4(−2) + 1 = 4 + 8 + 1 = 13. Key: (−2)² = 4 (positive). −4(−2) = +8 (negative times negative = positive).

Card 12concept
Question

Exam trap: f(x) = x² + 3. A student evaluates f(−4) = −4² + 3 = −16 + 3 = −13. What is wrong?

Answer

The error is in −4². When substituting a negative number, use brackets: (−4)² = +16. Without brackets: −4² = −16 (squaring only 4, then negating — wrong). Correct: f(−4) = (−4)² + 3 = 16 + 3 = 19.

Card 13definition
Question

What is the vertical line test and what does it tell you?

Answer

The vertical line test: draw (or imagine) any vertical line through a graph. If every vertical line crosses the graph at most once → the graph represents a function. If any vertical line crosses the graph more than once → it is NOT a function (one x has two y-values).

Card 14concept
Question

Does a full circle (e.g. x² + y² = 9) represent a function? Explain using the vertical line test.

Answer

No — a vertical line through the centre of the circle crosses it twice (two y-values for one x). Since one input (x) gives two outputs (y), the circle fails the vertical line test and is not a function.

Card 15concept
Question

Does the graph of y = |x| (V-shape) represent a function? Why?

Answer

Yes — every vertical line crosses the V-shape exactly once. Although the V looks like two lines meeting at a point, each x-value still gives exactly one y-value. y = |x| passes the vertical line test and is a function.

Card 16concept
Question

Exam trap: A student says "the vertical line test checks if every y-value is produced by only one x." Is this correct?

Answer

No — this describes a one-to-one function (injective), not just any function. The vertical line test only checks if each x gives at most one y. It is fine for two different x-values to produce the same y (many-to-one is still a function).

2.2.216 cards

Card 17definition
Question

What is the domain of a function?

Answer

The domain is the set of all valid input values (x-values) for which the function is defined. Example: f(x) = √x has domain x ≥ 0 because you cannot take the square root of a negative number.

Card 18concept
Question

What two things most commonly restrict the natural domain of a function?

Answer

1. Division by zero — values of x that make the denominator = 0 must be excluded. Example: f(x) = 1/(x − 3) → x ≠ 3. 2. Square root of a negative — the expression inside √ must be ≥ 0. Example: f(x) = √(x + 4) → x ≥ −4.

Card 19formula
Question

State the natural domain of f(x) = √(x − 5). Show your reasoning.

Answer

The expression inside √ must be ≥ 0: x − 5 ≥ 0 → x ≥ 5. Domain: x ≥ 5 (or [5, ∞) in interval notation). At x = 5: f(5) = √0 = 0 ✓. At x = 4: f(4) = √(−1) — undefined ✗.

Card 20concept
Question

Exam trap: f(x) = 1/(x² − 9). A student says the domain excludes x = 9. What is the mistake?

Answer

The denominator is x² − 9 = (x − 3)(x + 3). This equals zero when x = 3 or x = −3. The domain excludes x = 3 and x = −3, not x = 9. Always set the denominator equal to 0 and solve — do not guess.

Card 21definition
Question

What is the range of a function?

Answer

The range is the set of all possible output values (y-values) that the function can produce. Example: f(x) = x² has range y ≥ 0 because squaring any real number gives a non-negative result.

Card 22concept
Question

Why is the range of f(x) = x² equal to y ≥ 0? Why not all real numbers?

Answer

Squaring any real number always gives a non-negative result: (−3)² = 9, 0² = 0. The output can never be negative. So no matter what x you input, f(x) ≥ 0. The minimum value is 0 (at x = 0); the function grows without limit as x → ±∞.

Card 23formula
Question

State the range of g(x) = x² + 3 for all real x.

Answer

Since x² ≥ 0, we have x² + 3 ≥ 3. Range: g(x) ≥ 3 (or [3, ∞)). The minimum value is 3, reached at x = 0: g(0) = 0 + 3 = 3.

Card 24concept
Question

Exam trap: A student gives the range of f(x) = √x as "all real numbers." Why is this wrong?

Answer

The square root function only outputs non-negative values: √x ≥ 0 for all x ≥ 0. Correct range: f(x) ≥ 0 (or [0, ∞)). The function cannot produce negative outputs — √9 = 3, not ±3.

Card 25concept
Question

How do you read the domain of a function from its graph?

Answer

Look at the graph horizontally — the domain is the set of x-values covered by the graph. Find the leftmost and rightmost x-values. Filled circle (●) = endpoint included. Open circle (○) = endpoint not included.

Card 26concept
Question

How do you read the range of a function from its graph?

Answer

Look at the graph vertically — the range is the set of y-values covered by the graph. Find the lowest and highest y-values reached by the graph. A filled dot means that y-value is included; an open dot means it is excluded.

Card 27formula
Question

A graph runs from x = −2 to x = 6 (both endpoints included) and the y-values go from −3 to 8 (both included). State the domain and range.

Answer

Domain: −2 ≤ x ≤ 6. Range: −3 ≤ y ≤ 8 (or −3 ≤ f(x) ≤ 8). IB also accepts interval notation: domain [−2, 6], range [−3, 8].

Card 28concept
Question

Exam trap: A student is asked for the domain of a graph and reads off the y-values instead of x-values. What rule helps avoid this?

Answer

Domain → x-axis (horizontal). Range → y-axis (vertical). Memory trick: "D for domain, D for direction left-right (x-axis)." Domain = span of x-values; range = span of y-values.

Card 29definition
Question

What is a restricted domain and when does it occur in real-world problems?

Answer

A restricted domain limits the valid inputs to a practical range — not all mathematical values make sense. Examples: • Time t: must be t ≥ 0 (time cannot be negative). • Number of items n: must be a positive integer (you cannot buy half an item). • Distance d: must be d ≥ 0.

Card 30concept
Question

A pool drains at 80 L/min. The model is V(t) = 1200 − 80t. State an appropriate domain and explain.

Answer

Domain: 0 ≤ t ≤ 15. t ≥ 0: time cannot be negative. t ≤ 15: V(15) = 1200 − 80(15) = 0 — the pool is empty; the model stops being valid.

Card 31concept
Question

A function is defined only for x ∈ [2, 10]. A student substitutes x = 11. Is this valid?

Answer

No — x = 11 is outside the domain [2, 10]. The function is not defined for x = 11; the output is meaningless in this context. Always check inputs are within the stated domain before calculating.

Card 32concept
Question

Exam trap: A model gives profit P(n) = 5n − 200, where n is the number of units sold. A student treats the domain as all real numbers. What is wrong?

Answer

n must be a non-negative integer (you cannot sell −3.7 units). A more appropriate domain is n ∈ {0, 1, 2, 3, ...} or n ≥ 0 with n ∈ ℤ. IB context questions often award a mark for recognising this restriction.

2.2.316 cards

Card 33definition
Question

What is a composite function?

Answer

A composite function applies one function to the output of another. f(g(x)): first apply g to x, then apply f to the result. Notation: (f ∘ g)(x) = f(g(x)) — read "f of g of x."

Card 34formula
Question

What does the notation (f ∘ g)(x) mean? Which function is applied first?

Answer

(f ∘ g)(x) = f(g(x)). g is applied first (the inner function), then f is applied to the result (the outer function). Think of it like nested brackets — work from the inside out.

Card 35formula
Question

f(x) = x + 2, g(x) = 3x. Write f(g(x)) step by step.

Answer

Step 1: g(x) = 3x (the inner function). Step 2: f(g(x)) = f(3x) = (3x) + 2 = 3x + 2. Substitute g(x) = 3x wherever x appears in f.

Card 36concept
Question

Exam trap: A student writes f(g(x)) = f(x) × g(x). What is the error?

Answer

Composition (f ∘ g) is not multiplication. f(g(x)) means "substitute g(x) into f" — apply one function to the output of the other. f(x) × g(x) means multiply the two outputs — a completely different operation.

Card 37concept
Question

What are the two steps for evaluating f(g(a)) at a specific value a?

Answer

Step 1: Calculate the inner function first — find g(a). Step 2: Substitute that result into f — find f(g(a)). Always work inside out: inner function first, outer function second.

Card 38formula
Question

f(x) = 2x + 1, g(x) = x². Find f(g(3)).

Answer

Step 1: g(3) = 3² = 9. Step 2: f(g(3)) = f(9) = 2(9) + 1 = 19.

Card 39formula
Question

f(x) = x − 4, g(x) = 3x + 2. Find g(f(5)).

Answer

Step 1: f(5) = 5 − 4 = 1. Step 2: g(f(5)) = g(1) = 3(1) + 2 = 5. Note: this asks for g(f(5)), so f is applied first, then g.

Card 40concept
Question

Exam trap: A student evaluates f(g(4)) by computing f(4) first, then applying g. What is the error?

Answer

They applied the functions in the wrong order. For f(g(4)): compute the inner function g(4) first, then substitute into f. The function written on the right (inside the bracket) is always applied first.

Card 41concept
Question

How do you write f(g(x)) as an algebraic expression?

Answer

Step 1: Write out g(x). Step 2: Substitute g(x) into f — replace every x in f(x) with the expression g(x). Step 3: Simplify if possible.

Card 42formula
Question

f(x) = 2x + 3, g(x) = x². Find f(g(x)) as a simplified expression.

Answer

g(x) = x². f(g(x)) = f(x²) = 2(x²) + 3 = 2x² + 3.

Card 43formula
Question

f(x) = x − 1, g(x) = 3x. Find g(f(x)) and simplify.

Answer

f(x) = x − 1. g(f(x)) = g(x − 1) = 3(x − 1) = 3x − 3.

Card 44concept
Question

Exam trap: f(x) = (x + 1)². A student writes f(g(x)) = (g(x))² + 1 without checking. What should they have done?

Answer

They applied the wrong rule. f(x) = (x + 1)² means: take the input, add 1, then square. f(g(x)) = (g(x) + 1)² — substitute g(x) for x throughout. Always replace every x in f with the full expression g(x), including inside brackets.

Card 45concept
Question

Is f(g(x)) always equal to g(f(x))? Give a counterexample.

Answer

No — in general f(g(x)) ≠ g(f(x)). Counterexample: f(x) = x + 1, g(x) = x². f(g(x)) = x² + 1. g(f(x)) = (x + 1)² = x² + 2x + 1. These are different.

Card 46formula
Question

f(x) = x², g(x) = x + 3. Calculate f(g(2)) and g(f(2)). Compare the results.

Answer

f(g(2)): g(2) = 5, then f(5) = 25. g(f(2)): f(2) = 4, then g(4) = 7. f(g(2)) = 25 ≠ g(f(2)) = 7. The order of composition matters.

Card 47concept
Question

If f(g(x)) = x and g(f(x)) = x for all x, what special relationship do f and g have?

Answer

f and g are inverse functions of each other: g = f⁻¹ (and f = g⁻¹). Each function "undoes" the other. Example: f(x) = 2x + 1 and g(x) = (x − 1)/2 satisfy f(g(x)) = x and g(f(x)) = x.

Card 48concept
Question

Exam trap: A question asks for g(f(x)) and a student computes f(g(x)) instead. How can they check which order is correct?

Answer

Read carefully: g(f(x)) means "f is inside g" — apply f first, then g. Memory check: the function closest to x (written on the right) is always applied first. In g(f(x)): f is closer to x → f goes first → then g.

2.2.416 cards

Card 49definition
Question

What does the inverse function f⁻¹ do?

Answer

f⁻¹ undoes the effect of f — it reverses the mapping. If f maps a → b, then f⁻¹ maps b → a. Together: f⁻¹(f(x)) = x and f(f⁻¹(x)) = x.

Card 50formula
Question

State the two key properties that define f⁻¹ as the inverse of f.

Answer

f(f⁻¹(x)) = x (applying f after f⁻¹ gives back x). f⁻¹(f(x)) = x (applying f⁻¹ after f gives back x). Both compositions return the original input — they cancel each other out.

Card 51formula
Question

f(3) = 8 and f(5) = 12. Write down f⁻¹(8) and f⁻¹(12).

Answer

f⁻¹ reverses the mapping: f⁻¹(8) = 3 and f⁻¹(12) = 5. No formula needed — just swap the input and output of f.

Card 52concept
Question

Exam trap: A student writes f⁻¹(x) = 1/f(x). What is the error?

Answer

f⁻¹(x) is the inverse function, not the reciprocal. 1/f(x) means "1 divided by the output of f" — a completely different thing. The −1 in f⁻¹ is function notation for "inverse," not an exponent.

Card 53concept
Question

Describe the algebraic steps to find f⁻¹(x).

Answer

1. Write y = f(x). 2. Swap x and y (write x = f(y)). 3. Rearrange to make y the subject. 4. Replace y with f⁻¹(x).

Card 54formula
Question

Find f⁻¹(x) for f(x) = 4x − 7.

Answer

y = 4x − 7. Swap: x = 4y − 7. Rearrange: x + 7 = 4y → y = (x + 7)/4. f⁻¹(x) = (x + 7)/4.

Card 55formula
Question

Find f⁻¹(x) for f(x) = (2x + 1)/3.

Answer

y = (2x + 1)/3. Swap: x = (2y + 1)/3. Rearrange: 3x = 2y + 1 → 2y = 3x − 1 → y = (3x − 1)/2. f⁻¹(x) = (3x − 1)/2.

Card 56concept
Question

Exam trap: A student finds f⁻¹(x) by rearranging y = f(x) for x without swapping x and y first. What is the consequence?

Answer

They will get x = (expression in y), not y = (expression in x). The swap is essential — it converts the input-output relationship. Without swapping, the result is not expressed as f⁻¹(x).

Card 57concept
Question

Why might we need to restrict the domain of f(x) before an inverse exists?

Answer

An inverse only exists if f is one-to-one (each output comes from exactly one input). Example: f(x) = x² over all ℝ is not one-to-one — f(3) = f(−3) = 9, so the inverse would give two outputs. Restricting to x ≥ 0 makes it one-to-one: f⁻¹(x) = √x.

Card 58formula
Question

f(x) = x² with domain x ≥ 0. Find f⁻¹(x) and state its domain.

Answer

y = x². Swap: x = y². Rearrange: y = √x (take positive root since original domain x ≥ 0). f⁻¹(x) = √x, domain x ≥ 0.

Card 59formula
Question

Complete the sentence: The domain of f⁻¹ equals the ______ of f. The range of f⁻¹ equals the ______ of f.

Answer

The domain of f⁻¹ equals the range of f. The range of f⁻¹ equals the domain of f. The inverse swaps domain and range — inputs become outputs and vice versa.

Card 60concept
Question

Exam trap: A student finds f⁻¹(x) = √x for f(x) = x² but does not state the domain. Why is this incomplete?

Answer

Without a domain restriction, f(x) = x² is not one-to-one — the inverse is not unique. The full answer must be: f⁻¹(x) = √x for x ≥ 0. IB questions typically award a separate mark for correctly stating the domain of f⁻¹.

Card 61definition
Question

How are the graphs of f and f⁻¹ geometrically related?

Answer

The graph of f⁻¹ is the reflection of the graph of f in the line y = x. Every point (a, b) on f maps to the point (b, a) on f⁻¹ — x and y coordinates are swapped.

Card 62formula
Question

The graph of f passes through (2, 7) and (−1, 4). Write down two points on the graph of f⁻¹.

Answer

(7, 2) and (4, −1). The inverse swaps x and y — every (a, b) on f becomes (b, a) on f⁻¹.

Card 63concept
Question

What is special about any point where the graphs of f and f⁻¹ intersect?

Answer

At any intersection point, f(x) = f⁻¹(x). These points also lie on the line y = x (since they satisfy f(x) = x at the intersection in the most common case). Note: f and f⁻¹ can intersect off the line y = x too, but they always cross y = x when they intersect.

Card 64concept
Question

Exam trap: A student sketches f⁻¹ by reflecting f over the x-axis. What is the correct reflection?

Answer

The correct reflection is over the line y = x, not the x-axis. Reflecting over the x-axis would flip the graph vertically — that gives −f(x), not f⁻¹(x). The line y = x is the mirror that swaps x and y coordinates.

Want smart review reminders?

Sign up free to track your progress. Our spaced repetition algorithm will tell you exactly which cards to review and when.

Start Free