Concept of functions: domain, range, graphs
IB Mathematics Applications and Interpretation HLΒ· 25 min read
1. Definition of a Functionβ βββββ± 10 min
Function
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.
Determine if (a circle of radius 3 centered at the origin) is a function using the vertical line test.
- 1
Rearrange the equation to solve for :
- 2
- 3
For any between and , there are two distinct values of for the same input .
- 4
When we draw any vertical line in this interval, it crosses the circle twice, which violates the function definition.
- 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
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.
Find the domain and range of . State your answer in interval notation.
- 1
First find domain: the expression under the square root must be non-negative:
- 2
- 3
Write domain in interval notation, including the endpoint because gives , which is valid:
- 4
Domain =
- 5
Find range: the principal square root function only outputs non-negative values. As decreases, increases from 0 to infinity:
- 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.
For , find the x-intercepts, y-intercept, and state the range of the function.
- 1
Find x-intercepts where :
- 2
- 3
X-intercepts are at and .
- 4
Find y-intercept where :
- 5
- 6
Y-intercept is at .
- 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
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.
