Study Guide

Concept of functions: domain, range, graphs

IB Mathematics Applications and Interpretation HLΒ· 25 min read

1. Definition of a Functionβ˜…β˜†β˜†β˜†β˜†β± 10 min

πŸ“˜ Definition

Function

f(x)f(x)

A relation that maps every input in the set of valid inputs to exactly one output. Multiple inputs can map to the same output, but one input can never map to multiple outputs.

Example:

f(x) = 3x - 2x = y^2x$.

To quickly check if a graph represents a function, we use the vertical line test: if any vertical line crosses the graph more than once, the relation is not a function.

πŸ“ Worked Example

Determine if (a circle of radius 3 centered at the origin) is a function using the vertical line test.

  1. 1

    Rearrange the equation to solve for :

  2. 2
    y2=9βˆ’x2β€…β€ŠβŸΉβ€…β€Šy=Β±9βˆ’x2y^2 = 9 - x^2 \implies y = \pm\sqrt{9 - x^2}
  3. 3

    For any between and , there are two distinct values of for the same input .

  4. 4

    When we draw any vertical line in this interval, it crosses the circle twice, which violates the function definition.

  5. 5

    Conclusion: The circle is not a function.

Exam tip:

Only one-to-one functions pass the horizontal line test, but all functions pass the vertical line test. Don't confuse the two in exams!

2. Domain and Rangeβ˜…β˜…β˜†β˜†β˜†β± 15 min

πŸ“˜ Definition

Domain and Range

Domain: All valid input values where the function is defined. Range: All possible output values the function produces.

Example:

Domain of is all real numbers except ; range is also all real numbers except .

The most common domain restrictions come from three rules: (1) you cannot divide by zero, (2) you cannot take the square root of a negative number, (3) you cannot take the logarithm of a non-positive number. Always check for these first when finding domain.

πŸ“ Worked Example

Find the domain and range of . State your answer in interval notation.

  1. 1

    First find domain: the expression under the square root must be non-negative:

  2. 2
    6βˆ’2xβ‰₯0β€…β€ŠβŸΉβ€…β€Š2x≀6β€…β€ŠβŸΉβ€…β€Šx≀36 - 2x \geq 0 \implies 2x \leq 6 \implies x \leq 3
  3. 3

    Write domain in interval notation, including the endpoint because gives , which is valid:

  4. 4

    Domain =

  5. 5

    Find range: the principal square root function only outputs non-negative values. As decreases, increases from 0 to infinity:

  6. 6

    Range =

3. Key Features of Function Graphsβ˜…β˜…β˜†β˜†β˜†β± 12 min

The graph of a function is the set of all points on the coordinate plane. For exams, you will be expected to identify the following key features from an equation or graph: x-intercepts (roots, where ), y-intercept (where ), turning points, horizontal/vertical asymptotes, and intervals of increase/decrease.

πŸ“ Worked Example

For , find the x-intercepts, y-intercept, and state the range of the function.

  1. 1

    Find x-intercepts where :

  2. 2
    (x+1)(xβˆ’4)=0β€…β€ŠβŸΉβ€…β€Šx=βˆ’1,x=4(x+1)(x-4) = 0 \implies x = -1, x = 4
  3. 3

    X-intercepts are at and .

  4. 4

    Find y-intercept where :

  5. 5
    f(0)=(0+1)(0βˆ’4)=βˆ’4f(0) = (0+1)(0-4) = -4
  6. 6

    Y-intercept is at .

  7. 7

    This is a quadratic with positive leading coefficient, so it opens upwards with minimum value at the vertex. The vertex is at , , so the range is:

  8. 8
    [βˆ’6.25,∞)[-6.25, \infty)

4. Common Pitfalls

Wrong move:

Writing the domain of as instead of .

Why:

Forgetting that gives an output of 0, which is perfectly valid.

Correct move:

Always include endpoints when the restriction inequality is non-strict ( or ).

Wrong move:

Claiming a relation is not a function because a horizontal line crosses it twice.

Why:

Confusing the vertical line test (for functions) with the horizontal line test (for one-to-one functions).

Correct move:

Only the vertical line test determines if a relation is a function, regardless of what horizontal lines do.

Wrong move:

Including the value that makes a denominator zero in the domain of a rational function.

Why:

Forgetting that division by zero is undefined, so the function does not exist at that point.

Correct move:

Always exclude any that makes any denominator equal to zero, regardless of other factors.

Wrong move:

Stating the range of as when the domain is given as .

Why:

Forgetting that the maximum value of a quadratic with positive leading coefficient on a closed interval occurs at one of the endpoints.

Correct move:

Check the value of the function at both endpoints of the domain interval when finding the range of a restricted quadratic.

Wrong move:

Writing the range of as , matching the form of the domain.

Why:

Confusing domain and range, and forgetting the principal square root only produces non-negative outputs.

Correct move:

Always calculate domain and range separately, don't assume they are the same.

5. Quick Reference Cheatsheet

Function Type

Common Domain Restriction

Typical Range

Linear

None

Quadratic

None

Rational

Exclude

Depends on

Square Root

Require

Logarithm

Require

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2025 Β· 1

    Find domain of composite rational function

  • 2024 Β· 2

    State range of quadratic function

  • 2023 Β· 1

    Use vertical line test to identify functions

Going deeper

What's Next

The concepts you learned here are the foundation for all function work in IB AI HL, appearing in every topic from calculus to statistical modelling. Mastering domain, range, and function definitions early will help you avoid avoidable mistakes in every exam question involving functions. Next, you will build on this knowledge to explore composite and inverse functions, then learn about specific function types used for modelling, before applying these concepts to differentiation and integration. Solid understanding here is critical for success in higher level topics.