| Study Guides
IB Mathematics: Analysis & Approaches HL · IB Math: Analysis & Approaches HL · Functions · 18 min read · Updated 2026-05-06

Functions — IB Math AA HL AA HL Study Guide

For: IB Math AA HL candidates sitting IB Math: Analysis & Approaches HL.

Covers: domain, range, composite and inverse functions, core function types (quadratic, rational, exponential, log), graph transformations, algebraic and graphical inequality solving, and polynomial functions with the factor theorem.

You should already know: IGCSE / pre-DP math, comfort with proof and algebra.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the IB Math AA HL style for educational use. They are not reproductions of past IBO papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official IBO mark schemes for grading conventions.


1. What Are Functions?

A function is a well-defined relation that maps every input value from a set called the domain to exactly one output value in a set called the codomain, with the range being the set of all actual outputs produced by valid inputs. Functions are written with notation like , , or , where the variable in brackets is the input. Also called mappings or transformations, functions make up ~20% of marks across Papers 1, 2, and 3 of the AA HL exam, and act as the foundation for calculus, complex numbers, and statistical modeling later in the syllabus.

2. Domain, range, composite, inverse functions

Every function is defined by its domain (valid inputs) and range (attainable outputs) before any operation is applied.

  • Domain rules: You cannot divide by 0, take the even root of a negative number, or take the logarithm of a non-positive value. For , domain requires , so .
  • Range calculation: Identify local maxima/minima and end behavior of the function. For the same , , so the range is .

Composite functions

The composite function applies first, then . Order matters: is almost never equal to . The domain of is all in the domain of where is in the domain of . For example, if and , has domain , while has domain .

Inverse functions

An inverse function exists only if is bijective (one-to-one, i.e., no two inputs map to the same output, and surjective, i.e., range equals codomain). The inverse swaps the domain and range of the original function, and satisfies . To find the inverse:

  1. Replace with
  2. Swap and
  3. Rearrange to solve for , then replace with

Worked example: For , swap , so . The graph of is a reflection of over the line .

3. Quadratic, rational, exponential, log functions

These four function types appear in 80% of function-focused exam questions:

  • Quadratic functions: Form , . The vertex (turning point) is at , and the discriminant tells you the number of real roots: gives 2 distinct real roots, gives 1 repeated root, gives no real roots. Completed square form explicitly shows the vertex at and axis of symmetry .
  • Rational functions: Form where and are polynomials, . Vertical asymptotes occur at roots of where . Horizontal asymptotes exist if : if , asymptote at ; if equal, asymptote at .
  • Exponential functions: Form , , . If , the function shows exponential growth; if , it shows exponential decay. All exponential functions pass through and have a horizontal asymptote at .
  • Logarithmic functions: is the inverse of . It has domain , range all real numbers, passes through , and has a vertical asymptote at . The natural logarithm , where is the exponential constant.

Worked example: For , the domain is , vertical asymptote at , and x-intercept at .

4. Transformations of graphs — reflection, stretch, translation

Graph transformations follow a fixed order: stretches and reflections first, then translations. All transformations modify either the input or the entire output :

Transformation Effect on graph
Vertical shift up by units
Horizontal shift left by units
Reflection over the -axis
Reflection over the -axis
, Vertical stretch by scale factor
, Horizontal stretch by scale factor

Exam trap: Horizontal transformations are counterintuitive: shifts the graph right by units, not left. Always rewrite transformations to isolate inside the function to avoid errors. Worked example: To transform to , rewrite as : reflect over the -axis, stretch horizontally by factor , then shift right by 2 units.

5. Solving inequalities graphically and algebraically

Examiners accept both methods, but you must show full working to earn full marks:

  • Algebraic method: Rearrange the inequality to have 0 on one side, factor the expression, identify critical points (roots of the numerator and denominator), then test the sign of the expression in intervals around each critical point. Flip the inequality sign if you multiply or divide both sides by a negative number.
  • Graphical method: Plot both sides of the inequality, find intersection points, then identify regions where one graph lies above or below the other. Exclude endpoints if the inequality is strict ( or ), and include them if it is non-strict ( or ).

Worked example: Solve

  1. Rearrange:
  2. Critical points: (denominator root, undefined) and (numerator root)
  3. Test intervals: (positive, invalid), (negative, valid), (positive, invalid)
  4. Solution: (include , exclude )

6. Polynomial functions and the factor theorem

A polynomial of degree has the form , where and all exponents are non-negative integers. The factor theorem states that for any polynomial , is a linear factor of if and only if . This extends to factors of the form : is a factor if and only if .

Worked example: Show is a factor of , then factor completely.

  1. Calculate , so is a factor.
  2. Use synthetic division to divide by : the quotient is .
  3. Factor the quadratic:
  4. Final factorization: , with roots at .

Exam tip: For higher-degree polynomials, always test integer factors of the constant term first, as these are the most common roots set by examiners.

7. Common Pitfalls (and how to avoid them)

  • Wrong move: Forgetting to restrict the domain of a non-injective function before calculating its inverse, leading to a relation that is not a function. Why: Students assume all functions have inverses, but only strictly increasing/decreasing functions do. Correct move: Restrict the original function’s domain to an interval where it is one-to-one before solving for the inverse, and explicitly state the inverse’s domain (equal to the original function’s range).
  • Wrong move: Applying translations before stretches/reflections, leading to incorrect transformed graphs. Why: Students treat horizontal and vertical transformations as interchangeable. Correct move: Follow BODMAS order for modifications to : resolve coefficients and negatives first, then apply horizontal shifts.
  • Wrong move: Cross-multiplying denominators when solving rational inequalities, without checking if the denominator is positive or negative. Why: Students treat inequalities like equations. Correct move: Always rearrange rational inequalities to have 0 on one side, so you only need to test sign changes at critical points.
  • Wrong move: Using to test if is a factor of a polynomial. Why: Students misremember the sign for non-monic linear factors. Correct move: Set to get , then test if to confirm the factor.
  • Wrong move: Including asymptote values in the range of a function. Why: Students plug in edge inputs without checking if outputs are attainable. Correct move: Evaluate the limit of the function as to confirm which end values are excluded from the range.

8. Practice Questions (IB Math AA HL Style)

Question 1

Let , and , . (a) Find the domain and range of . (b) Find , stating its domain and range. (c) Solve .

Solution

(a) . The expression for all real , so domain is . The range is , so range . (b) Let . Swap , square both sides: . The domain of is the range of : . The range of is the domain of : . So , . (c) . Verify: , valid.


Question 2

(a) Describe the sequence of transformations mapping to . (b) Solve algebraically, giving your answer in exact form.

Solution

(a) Rewrite the transformed function: . The sequence is:

  1. Reflect over the -axis (for )
  2. Stretch horizontally by scale factor (for coefficient 2 of )
  3. Stretch vertically by scale factor 2
  4. Translate 1.5 units right and 5 units down. (b) Rearrange the inequality: Take natural log of both sides: Rearrange: Multiply by -1, flip inequality: Solution:

Question 3

The polynomial has a factor and leaves a remainder of 12 when divided by . (a) Find the values of and . (b) Find all real roots of , giving exact values where appropriate.

Solution

(a) By the factor theorem: (Equation 1) By the remainder theorem: (Equation 2) Add Equation 1 and 2: . Substitute into Equation 2: . (b) . We know is a factor, so use synthetic division to get the quadratic quotient: . The discriminant of the quadratic is , so it has no real roots. The only real root is .

9. Quick Reference Cheatsheet

Rule/Formula Notes
Domain restrictions Denominators , even radicands , log arguments
Composite function , domain = ${x
Inverse function Exists only for bijective functions, , graph reflected over
Quadratic discriminant , determines number of real roots
Graph transformations Stretches/reflections first, then translations; horizontal shifts are counterintuitive
Inequality solving Flip sign when multiplying/dividing by negative; never cross-multiply rational inequalities
Factor Theorem is a factor of iff

10. What's Next

Functions are the foundational building block for almost all remaining AA HL topics: you will apply the properties covered here to differentiate and integrate all core function types in the calculus unit, use polynomial functions for binomial theorem and complex number applications, and use exponential and log functions for real-world modeling in Paper 3 investigations. A strong grasp of graph transformations will also directly help you sketch derivative and integral graphs, a common 3-4 mark question on Paper 1.

To reinforce your understanding, work through official IBO past paper questions focused on functions, prioritizing multi-part 5-7 mark questions that combine subtopics like function composition, graph transformations, and inequality solving. If you get stuck on any question, or need clarification on any rule covered in this guide, you can ask Ollie, our AI tutor, for personalized explanations and extra practice problems at any time.

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →