Domain and Range (AA SL)

The domain of a function is every input value it's allowed to take; the range is every output value it can actually produce. Most domain problems come down to spotting what would break the function - a zero denominator, a negative under a root, a non-positive log argument - while range problems usually mean picturing the shape of the graph. It's part of the broader Composite & Inverse Functions topic.

14 questions on this sub-topic.

Practise domain and range → Try exam-style questions

Domain, range, and inverses

Covered under IB syllabus reference SL2.2. These two facts aren't formula-booklet entries - they're definitions you're expected to know and apply, especially once inverse functions are involved.

Domain of an inverse

\(\text{Domain of } f^{-1} = \text{Range of } f\)

Not in the booklet - prior knowledge. Swapping input and output when you invert a function swaps their domain and range too.

Swap and rearrange

Write \(y=f(x)\), swap \(x\) and \(y\), then rearrange to make \(y\) the subject again - that's \(f^{-1}(x)\).

Useful whenever a question asks for the domain of an inverse before you've even found the inverse itself.

Need the full syllabus wording? See Composite & Inverse Functions, including the GDC guidance there for checking domains graphically.

Worked examples

1
Medium
No calc
[3 marks]

State the domain of \(f(x)=\ln(x-3)\).

Worked solution

The argument of a logarithm must be positive: \(x-3>0.\) M1 R1
So the domain is \(x>3.\) A1

M1 Set argument \(>0\) R1 Reason A1 \(x>3\)
2
Hard
No calc
[4 marks]

Let \(f(x)=\ln x\) (\(x>0\)) and \(g(x)=x^2-4\).

(a) Find \((f\circ g)(x)\).
(b) State the domain of \(f\circ g\).

Worked solution

(a) \((f\circ g)(x)=\ln(x^2-4).\) A1

(b) Need \(x^2-4>0.\) M1
Factorise: \((x-2)(x+2)>0.\) A1
So \(x<-2\) or \(x>2.\) A1

A1 Bare composite \(\ln(x^2-4)\) M1 Set \(x^2-4>0\) A1 Factorised \((x-2)(x+2)>0\) A1 Domain \(x<-2\) or \(x>2\)
3
Easy
No calc
[4 marks]

Consider \(f(x) = \sqrt{x - 4}\).

(a) State the domain of \(f\).

(b) State the range of \(f\).

Worked solution

(a) The expression under a square root must be non-negative: \(x-4\ge0\Rightarrow x\ge4.\) Domain: \(x\ge4.\) M1A1

(b) A square-root output is never negative and starts at 0 (at \(x\) R1
\(=4\)). Range: \(f(x)\ge0.\) A1

M1 Set radicand \(\ge0\), A1 \(x\ge4\) R1 Root non-negative A1 \(f(x)\ge0\)

Common mistakes

Ready to practise properly?

14 domain-and-range questions, marked instantly like the real exam.

Quick answers

How do you find the domain of a function?

Look for values of \(x\) that would break the function - a zero denominator, a negative number under a square root, or a non-positive argument inside a log - and exclude them from the domain.

What is the domain of an inverse function?

The domain of \(f^{-1}\) is the range of \(f\), and the range of \(f^{-1}\) is the domain of \(f\) - the two swap places when you invert a function.

← Back to Analysis & Approaches SL topics