IB HL

Functions

Download PDF

How to Use This Guide

Functions is Topic 2 of the IB Math AA HL syllabus and is one of the highest-yield topics for Paper 1 (non-calculator). The concepts here underpin all of calculus, statistics, and algebra — you cannot afford gaps. This guide covers subtopics 2.1–2.5 in syllabus order plus the AHL extension: language of functions, composite and inverse functions, transformations, rational functions, the modulus function, and polynomial division with the factor and remainder theorems. Every section includes worked examples drawn from past IB papers, exam alert boxes flagging the Paper 1 traps that cost marks most often, and MCQ practice at the end of each section. Use the jump links below to navigate directly to the section you need.

Jump links: Language of Functions (2.1) · Composite & Inverse (2.2) · Transformations (2.3) · Rational Functions (2.4) · Modulus & Inequalities (2.5) · Polynomial Division & Theorems (2.6 AHL) · MCQ Practice

Formula booklet reminder: The booklet provides the general forms of transformations, but not the rules for determining domains of composites or restrictions for invertibility. You must know those cold. The booklet also does not give you asymptote rules — degree comparison and long division are your tools.


Section 1: Language of Functions (2.1)

A function is a rule that assigns to each element of a set (the domain) exactly one element of another set (the codomain). The set of all output values actually produced is called the range (or image). Note: the range is a subset of the codomain, but they are not necessarily equal.

f:XYf: X \to Y

where XX is the domain, YY is the codomain, and the range is {f(x):xX}Y\{f(x) : x \in X\} \subseteq Y.

1.1 Key Vocabulary

TermDefinitionNotation
DomainSet of permitted input valuesdom(f)\text{dom}(f) or XX
CodomainSet within which outputs must fallYY
Range / ImageSet of actual output values producedrange(f)\text{range}(f)
Image of a pointThe specific output for a given inputf(a)f(a)
Pre-imageInput(s) that map to a given outputf1({b})f^{-1}(\{b\})

Arrow diagram notation: In an arrow diagram, each arrow begins at a domain element and ends at the corresponding codomain element. A mapping is a function if and only if every domain element has exactly one outgoing arrow.

1.2 Types of Function

One-to-one (injective): Every element of the range is the image of exactly one domain element. No two different inputs produce the same output. Equivalently: f(a)=f(b)a=bf(a) = f(b) \Rightarrow a = b.

Many-to-one: At least one output value is the image of more than one input. Example: f(x)=x2f(x) = x^2 maps both x=2x = 2 and x=2x = -2 to 44.

Onto (surjective): The range equals the codomain — every element of the codomain is the image of at least one domain element.

Bijective: Both injective and surjective. Only bijective functions have a well-defined inverse over their full domain.

Horizontal line test: A function is one-to-one if and only if every horizontal line intersects its graph at most once. This test is Paper 1-ready — you can apply it from a sketch in under five seconds.

A common mark-losing error: confusing range and codomain. If f:RRf: \mathbb{R} \to \mathbb{R} is defined by f(x)=x2f(x) = x^2, the codomain is R\mathbb{R}, but the range is [0,)[0, \infty). The IB mark scheme treats these as distinct — write “range” when you mean the set of actual outputs.

1.3 Finding the Domain and Range

Natural domain: the largest subset of R\mathbb{R} for which f(x)f(x) is defined. Restrictions arise from:

  • Square roots: the expression under the radical must be 0\geq 0.
  • Denominators: the denominator must be 0\neq 0.
  • Logarithms: the argument must be >0> 0.

Finding domain and range

Find the domain and range of f(x)=4x2f(x) = \sqrt{4 - x^2}.

Domain: Require 4x204 - x^2 \geq 0, i.e. x24x^2 \leq 4, so 2x2-2 \leq x \leq 2.

Domain: [2,2]\text{Domain: } [-2,\, 2]

Range: The expression 4x2\sqrt{4 - x^2} is the upper half of a circle of radius 22. The maximum occurs at x=0x = 0 (giving 4=2\sqrt{4} = 2) and the minimum is 00 at x=±2x = \pm 2.

Range: [0,2]\text{Range: } [0,\, 2]

Quick Recall — Section 1

Try to answer without scrolling up:

  1. What is the difference between range and codomain?
  2. State the horizontal line test.
  3. What restrictions on the domain arise from a square root?
Reveal answers
  1. The codomain is the declared target set; the range is the set of outputs actually produced. Range \subseteq codomain, but they need not be equal.
  2. A function is one-to-one if and only if every horizontal line intersects its graph at most once.
  3. The expression under the radical must be 0\geq 0.

Section 2: Composite and Inverse Functions (2.2)

2.1 Composite Functions

The composite function fgf \circ g (read “f composed with g”) is defined by:

(fg)(x)=f(g(x))(f \circ g)(x) = f(g(x))

Think of gg as the inner function (applied first) and ff as the outer function (applied second). Order matters: fggff \circ g \neq g \circ f in general.

Domain of fgf \circ g: The domain is the set of all xx in dom(g)\text{dom}(g) such that g(x)dom(f)g(x) \in \text{dom}(f).

dom(fg)={xdom(g):g(x)dom(f)}\text{dom}(f \circ g) = \{x \in \text{dom}(g) : g(x) \in \text{dom}(f)\}

Finding a composite and its domain

Let f(x)=xf(x) = \sqrt{x} (domain x0x \geq 0) and g(x)=3x2g(x) = 3 - x^2 (domain R\mathbb{R}). Find (fg)(x)(f \circ g)(x) and its domain.

Step 1: (fg)(x)=f(g(x))=3x2(f \circ g)(x) = f(g(x)) = \sqrt{3 - x^2}

Step 2: Domain requires 3x203 - x^2 \geq 0, so x23x^2 \leq 3, giving 3x3-\sqrt{3} \leq x \leq \sqrt{3}.

dom(fg)=[3,3]\text{dom}(f \circ g) = [-\sqrt{3},\, \sqrt{3}]

On Paper 1, the most common composite-function trap is applying the functions in the wrong order. The notation (fg)(x)=f(g(x))(f \circ g)(x) = f(g(x)) means gg acts first. Write out both functions separately before composing — one mis-step and every subsequent mark is lost.

2.2 Inverse Functions

If ff is one-to-one (injective), then the inverse function f1f^{-1} is defined so that:

f1(f(x))=xfor all xdom(f)f^{-1}(f(x)) = x \quad \text{for all } x \in \text{dom}(f) f(f1(x))=xfor all xdom(f1)f(f^{-1}(x)) = x \quad \text{for all } x \in \text{dom}(f^{-1})

Geometrically, the graph of f1f^{-1} is the reflection of the graph of ff in the line y=xy = x.

Key relationships:

  • dom(f1)=range(f)\text{dom}(f^{-1}) = \text{range}(f)
  • range(f1)=dom(f)\text{range}(f^{-1}) = \text{dom}(f)

Algorithm for finding f1(x)f^{-1}(x):

  1. Write y=f(x)y = f(x).
  2. Rearrange to express xx in terms of yy.
  3. Swap xx and yy (replace every yy with xx and every xx with yy).
  4. The result is y=f1(x)y = f^{-1}(x).
  5. State the domain of f1f^{-1} (which equals the range of ff).

Finding an inverse function

Find f1(x)f^{-1}(x) for f(x)=2x+1x3f(x) = \dfrac{2x + 1}{x - 3}, x3x \neq 3.

Step 1: Let y=2x+1x3y = \dfrac{2x+1}{x-3}.

Step 2: Rearrange for xx:

y(x3)=2x+1y(x - 3) = 2x + 1 xy3y=2x+1xy - 3y = 2x + 1 xy2x=3y+1xy - 2x = 3y + 1 x(y2)=3y+1x(y - 2) = 3y + 1 x=3y+1y2x = \frac{3y + 1}{y - 2}

Step 3: Swap xyx \leftrightarrow y:

f1(x)=3x+1x2,x2f^{-1}(x) = \frac{3x + 1}{x - 2}, \quad x \neq 2

Verification: f(f1(x))=f ⁣(3x+1x2)=23x+1x2+13x+1x23=6x+2+x2x23x+13x+6x2=7x7=xf(f^{-1}(x)) = f\!\left(\dfrac{3x+1}{x-2}\right) = \dfrac{2 \cdot \frac{3x+1}{x-2} + 1}{\frac{3x+1}{x-2} - 3} = \dfrac{\frac{6x+2+x-2}{x-2}}{\frac{3x+1-3x+6}{x-2}} = \dfrac{7x}{7} = x

2.3 Restricting the Domain for Invertibility

A function that is not one-to-one does not have an inverse over its full domain. You can, however, restrict the domain to a maximal interval on which the function is one-to-one, then find the inverse on that restricted domain.

Restricting domain of f(x)=x2f(x) = x^2

Find a restricted domain and the inverse of f(x)=x2f(x) = x^2.

f(x)=x2f(x) = x^2 is many-to-one over R\mathbb{R} (fails horizontal line test), so it has no inverse on R\mathbb{R}.

Restriction: dom(f)=[0,)\text{dom}(f) = [0, \infty) makes ff one-to-one.

Inverse: y=x2x=yy = x^2 \Rightarrow x = \sqrt{y} (taking the positive root because x0x \geq 0).

f1(x)=x,x0f^{-1}(x) = \sqrt{x}, \quad x \geq 0

When a question asks “state the largest domain for which ff has an inverse,” look for the largest interval containing the given point on which the function is monotone (strictly increasing or strictly decreasing). For a parabola with vertex at x=ax = a, the two standard choices are xax \geq a and xax \leq a.

Quick Recall — Section 2

Try to answer without scrolling up:

  1. What is dom(fg)\text{dom}(f \circ g) in terms of the individual domains?
  2. State the two properties f1f^{-1} must satisfy.
  3. What does “restrict the domain” mean for a non-injective function, and why is it necessary?
Reveal answers
  1. dom(fg)={xdom(g):g(x)dom(f)}\text{dom}(f \circ g) = \{x \in \text{dom}(g) : g(x) \in \text{dom}(f)\}.
  2. f1(f(x))=xf^{-1}(f(x)) = x for all xdom(f)x \in \text{dom}(f), and f(f1(x))=xf(f^{-1}(x)) = x for all xdom(f1)x \in \text{dom}(f^{-1}).
  3. Choosing a sub-interval of the domain on which the function is one-to-one, so that an inverse exists on that interval.

Section 3: Transformations of Functions (2.3)

A transformation maps a parent function y=f(x)y = f(x) to a new function by shifting, reflecting, or stretching its graph. The IB AA HL syllabus requires you to identify and apply six transformation types fluently.

3.1 Transformation Summary Table

TransformationFunction formEffect on graph
Horizontal translation right by aaf(xa)f(x - a)Every point moves aa units right
Horizontal translation left by aaf(x+a)f(x + a)Every point moves aa units left
Vertical translation up by bbf(x)+bf(x) + bEvery point moves bb units up
Vertical translation down by bbf(x)bf(x) - bEvery point moves bb units down
Reflection in the yy-axisf(x)f(-x)xx-coordinates change sign
Reflection in the xx-axisf(x)-f(x)yy-coordinates change sign
Vertical stretch by factor aaaf(x)a\,f(x)yy-coordinates multiplied by aa
Horizontal stretch by factor 1b\frac{1}{b}f(bx)f(bx)xx-coordinates divided by bb

Inside vs outside the function:

  • Changes inside the brackets (to xx) affect horizontal behaviour — and they do the opposite of what you expect: f(x3)f(x - 3) moves right, not left.
  • Changes outside the brackets (to the whole expression) affect vertical behaviour — and they do exactly what you expect: f(x)+3f(x) + 3 moves up by 33.

This asymmetry is the single most-tested transformation concept on IB Paper 1.

3.2 Combining Transformations

When multiple transformations are combined, apply them in the correct order:

  1. Horizontal stretch/compression (changes to xx inside brackets)
  2. Horizontal translation
  3. Vertical stretch/compression
  4. Vertical translation

For y=af(b(xh))+ky = a\,f(b(x - h)) + k:

  • b>1|b| > 1: horizontal compression (narrowing)
  • 0<b<10 < |b| < 1: horizontal stretch (widening)
  • a>1|a| > 1: vertical stretch (tallening)
  • 0<a<10 < |a| < 1: vertical compression (flattening)
  • hh: horizontal shift right by hh (left if h<0h < 0)
  • kk: vertical shift up by kk (down if k<0k < 0)

Describing a combined transformation

Describe the transformations that map y=x2y = x^2 onto y=3(x2)2+1y = 3(x - 2)^2 + 1.

Reading from the form y=af(b(xh))+ky = a\,f(b(x-h)) + k with f(x)=x2f(x) = x^2, a=3a = 3, b=1b = 1, h=2h = 2, k=1k = 1:

  1. Vertical stretch by factor 33 (every yy-value multiplied by 33).
  2. Translation by (21)\begin{pmatrix} 2 \\ 1 \end{pmatrix} (2 units right, 1 unit up).

Note: vertical stretch before translation, or the translation remains correct regardless of order here since b=1b = 1.

Translation vectors are frequently asked on Paper 1. Write translation as a column vector: (21)\begin{pmatrix} 2 \\ 1 \end{pmatrix} means 2 right, 1 up. The IB mark scheme awards the mark only for the correct vector form — “shift right 2 and up 1” in words may not receive full credit if vector form is specifically requested.

3.3 Transformation Diagram

The diagram below shows how the transformations y=x2y=(x2)2y=(x2)2+1y = x^2 \to y = (x-2)^2 \to y = (x-2)^2 + 1 shift the parabola.

xy-4-3-2-112341234-1(0, 0)(2, 0)(2, 1)y = x²y = (x − 2)²y = (x − 2)² + 1Transformations of y = x²

The parabola y=x2y = x^2 (grey dashed) is shifted 2 units right to give y=(x2)2y = (x-2)^2 (navy dashed), then 1 unit up to give y=(x2)2+1y = (x-2)^2 + 1 (solid navy). Vertex moves from (0,0)(0,0) to (2,0)(2,0) to (2,1)(2,1).

3.4 Invariant Points

A point is invariant under a transformation if it maps to itself. For reflections in the xx-axis, invariant points satisfy f(x)=0f(x) = 0 (points on the xx-axis). For reflections in the line y=xy = x (which corresponds to finding f1f^{-1}), invariant points satisfy f(x)=xf(x) = x.

Finding invariant points under y=f1(x)y = f^{-1}(x) means solving f(x)=xf(x) = x, not f1(x)=f(x)f^{-1}(x) = f(x). These are the same equation rearranged, but students often confuse them and solve the wrong equation.

Quick Recall — Section 3

Try to answer without scrolling up:

  1. Does f(x3)f(x - 3) shift the graph left or right? By how much?
  2. Write the combined transformation y=af(b(xh))+ky = a\,f(b(x-h)) + k — which parameter controls horizontal stretch?
  3. How do you find invariant points under the reflection in y=xy = x?
Reveal answers
  1. Right, by 3 units. Changes inside the brackets act in the opposite direction to their sign.
  2. Parameter bb: the graph is stretched horizontally by factor 1b\frac{1}{b} (compressed if b>1|b| > 1, stretched if 0<b<10 < |b| < 1).
  3. Solve f(x)=xf(x) = x.

Section 4: Rational Functions (2.4)

A rational function has the form f(x)=p(x)q(x)f(x) = \dfrac{p(x)}{q(x)} where pp and qq are polynomials and q(x)≢0q(x) \not\equiv 0. The key features are asymptotes and holes.

4.1 Vertical Asymptotes

A vertical asymptote at x=ax = a occurs where the denominator is zero and the numerator is non-zero. The function grows without bound as xax \to a.

Finding vertical asymptotes:

  1. Factor the denominator fully.
  2. Find zeros of the denominator.
  3. Check whether the numerator is also zero at those points.
    • If numerator 0\neq 0: vertical asymptote at x=ax = a.
    • If numerator =0= 0: there is a hole (removable discontinuity) at x=ax = a, not an asymptote.

4.2 Horizontal Asymptotes

A horizontal asymptote at y=Ly = L occurs when f(x)Lf(x) \to L as x±x \to \pm\infty.

Let degp=m\deg p = m and degq=n\deg q = n:

y={0m<nleading coeff of pleading coeff of qm=nno horizontal asymptotem>ny = \begin{cases} 0 & m < n \\[4pt] \dfrac{\text{leading coeff of } p}{\text{leading coeff of } q} & m = n \\[8pt] \text{no horizontal asymptote} & m > n \end{cases}

When m>nm > n, divide pp by qq using polynomial long division to find an oblique (slant) asymptote of the form y=ax+by = ax + b.

Asymptote rules in one sentence: “Bottom zero gives vertical; top and bottom same degree gives a horizontal fraction; top one degree higher gives oblique via long division.”

4.3 Oblique Asymptotes HL

When degp=degq+1\deg p = \deg q + 1, divide to obtain:

f(x)=ax+b+r(x)q(x)f(x) = ax + b + \frac{r(x)}{q(x)}

where rr is the remainder. As x±x \to \pm\infty, the remainder term 0\to 0, so y=ax+by = ax + b is the oblique asymptote.

Oblique asymptote by long division

Find the oblique asymptote of f(x)=x2+3x2x+1f(x) = \dfrac{x^2 + 3x - 2}{x + 1}.

Perform long division of x2+3x2x^2 + 3x - 2 by x+1x + 1:

x2+3x2=(x+1)(x+2)4x^2 + 3x - 2 = (x + 1)(x + 2) - 4

Therefore:

f(x)=x+24x+1f(x) = x + 2 - \frac{4}{x+1}

As x±x \to \pm\infty, 4x+10\dfrac{4}{x+1} \to 0, so the oblique asymptote is y=x+2y = x + 2.

4.4 Sketching Rational Functions

Systematic approach for f(x)=p(x)q(x)f(x) = \dfrac{p(x)}{q(x)}:

  1. Find all vertical asymptotes (zeros of qq where p0p \neq 0).
  2. Find all holes (zeros of qq where p=0p = 0 too — cancel the common factor first).
  3. Find the horizontal or oblique asymptote using degree comparison / long division.
  4. Find xx-intercepts: set p(x)=0p(x) = 0 (after cancellation).
  5. Find yy-intercept: compute f(0)f(0).
  6. Determine sign of ff in each interval between vertical asymptotes using a sign table.
  7. Sketch, ensuring the curve approaches each asymptote from the correct side.

Sketching f(x)=x+1x2f(x) = \dfrac{x+1}{x-2}

Step 1 — Vertical asymptote: x2=0x=2x - 2 = 0 \Rightarrow x = 2. Numerator at x=2x=2: 303 \neq 0. Vertical asymptote: x=2x = 2.

Step 2 — Holes: No common factors. No holes.

Step 3 — Horizontal asymptote: Both numerator and denominator degree 11; leading coefficients both 11. Horizontal asymptote: y=1y = 1.

Step 4 — xx-intercept: x+1=0x=1x + 1 = 0 \Rightarrow x = -1. Point: (1,0)(-1, 0).

Step 5 — yy-intercept: f(0)=12=12f(0) = \dfrac{1}{-2} = -\dfrac{1}{2}. Point: (0,12)\left(0, -\dfrac{1}{2}\right).

Step 6 — Sign table:

IntervalSign of x+1x+1Sign of x2x-2Sign of ff
x<1x < -1--++
1<x<2-1 < x < 2++--
x>2x > 2++++++

4.5 Rational Function Diagram

xy-3-2-11234123-1-2-3x = 2y = 1(-1, 0)(0, -½)Rational function y = (x+1)/(x−2)

Graph of y=x+1x2y = \dfrac{x+1}{x-2}. Vertical asymptote (red dashed) at x=2x = 2; horizontal asymptote (orange dashed) at y=1y = 1. The curve crosses the xx-axis at (1,0)(-1, 0) and the yy-axis at (0,12)(0, -\tfrac{1}{2}).

On Paper 1 sketching questions, you must label all asymptotes with their equations and mark all intercepts with coordinates. A sketch without labelled asymptotes will lose the asymptote marks even if the curve shape is correct. Write x=ax = a on vertical asymptotes and y=by = b on horizontal asymptotes.

Quick Recall — Section 4

Try to answer without scrolling up:

  1. How do you find vertical asymptotes of a rational function?
  2. State the horizontal asymptote rule when degp=degq\deg p = \deg q.
  3. When does a rational function have an oblique asymptote, and how do you find it?
Reveal answers
  1. Set the denominator equal to zero. Check the numerator at each root — if the numerator is non-zero there, it is a vertical asymptote; if the numerator is also zero, it is a removable hole.
  2. y=leading coefficient of numeratorleading coefficient of denominatory = \dfrac{\text{leading coefficient of numerator}}{\text{leading coefficient of denominator}}.
  3. When the degree of the numerator is exactly one more than the degree of the denominator. Find it by polynomial long division; the quotient (excluding the remainder term) is the oblique asymptote.

Section 5: Modulus Function and Inequalities (2.5)

The modulus function (absolute value) is defined as:

x={xx0xx<0|x| = \begin{cases} x & x \geq 0 \\ -x & x < 0 \end{cases}

Geometrically, x|x| is the distance of xx from the origin on the number line.

5.1 Solving Equations Involving Modulus

Basic form f(x)=k|f(x)| = k (where k>0k > 0):

f(x)=k    f(x)=korf(x)=k|f(x)| = k \implies f(x) = k \quad \text{or} \quad f(x) = -k

Always check both solutions by substituting back into the original equation, especially when the original problem places restrictions on the domain.

Solving 2x3=5|2x - 3| = 5

Case 1: 2x3=52x=8x=42x - 3 = 5 \Rightarrow 2x = 8 \Rightarrow x = 4

Case 2: 2x3=52x=2x=12x - 3 = -5 \Rightarrow 2x = -2 \Rightarrow x = -1

Both solutions are valid. Answer: x=4x = 4 or x=1x = -1.

Solving x1=2x+3|x - 1| = |2x + 3|

When both sides are moduli, square both sides (valid since both sides are 0\geq 0):

(x1)2=(2x+3)2(x-1)^2 = (2x+3)^2 x22x+1=4x2+12x+9x^2 - 2x + 1 = 4x^2 + 12x + 9 3x2+14x+8=03x^2 + 14x + 8 = 0 (3x+2)(x+4)=0(3x + 2)(x + 4) = 0 x=23orx=4x = -\tfrac{2}{3} \quad \text{or} \quad x = -4

Verify: 231=53|{-\frac{2}{3}}-1| = \frac{5}{3} and 2(23)+3=53|2(-\frac{2}{3})+3| = \frac{5}{3} ✓. 41=5|-4-1| = 5 and 2(4)+3=5|2(-4)+3| = 5 ✓.

5.2 Modulus Inequalities

Form f(x)<k|f(x)| < k (strict; k>0k > 0):

f(x)<k    k<f(x)<k|f(x)| < k \iff -k < f(x) < k

Form f(x)>k|f(x)| > k (strict; k>0k > 0):

f(x)>k    f(x)>korf(x)<k|f(x)| > k \iff f(x) > k \quad \text{or} \quad f(x) < -k

Inequality direction rule: f(x)<k|f(x)| < k gives a bounded (finite) interval — it is an “and” condition. f(x)>k|f(x)| > k gives an unbounded region — it is an “or” condition (two separate intervals). Confusing these two directions is the most common modulus error on Paper 1.

Solving 3x69|3x - 6| \leq 9

93x69-9 \leq 3x - 6 \leq 9 33x15-3 \leq 3x \leq 15 1x5-1 \leq x \leq 5

Answer: x[1,5]x \in [-1, 5].

Solving x+2>4|x + 2| > 4

Branch 1: x+2>4x>2x + 2 > 4 \Rightarrow x > 2

Branch 2: x+2<4x<6x + 2 < -4 \Rightarrow x < -6

Answer: x(,6)(2,)x \in (-\infty, -6) \cup (2, \infty).

5.3 Graphs of f(x)|f(x)| and f(x)f(|x|)

These two operations produce different graphs and are a common source of confusion.

y=f(x)y = |f(x)|: Take the graph of y=f(x)y = f(x), then reflect all parts below the xx-axis upward. Parts above the axis remain unchanged.

y=f(x)y = f(|x|): Take the right half of y=f(x)y = f(x) (for x0x \geq 0) and reflect it in the yy-axis to produce the left half. The original left half of the graph is discarded.

A reliable way to remember the difference: f(x)|f(x)| affects the output (reflects yy-values), so it looks like folding the graph up at the xx-axis. f(x)f(|x|) affects the input (replaces xx with x|x|), so the function receives non-negative inputs only, creating a symmetric graph about the yy-axis.

Paper 1 graph-sketching questions frequently ask you to sketch y=f(x)y = |f(x)| given the graph of ff. The two most common errors are: (1) reflecting the correct part of the graph the wrong way (should reflect the portion below the xx-axis upward, not downward), and (2) leaving a corner point unlabelled at the xx-axis where the reflection occurs.

Quick Recall — Section 5

Try to answer without scrolling up:

  1. Write the solution set for f(x)<k|f(x)| < k.
  2. Write the solution set for f(x)>k|f(x)| > k.
  3. Describe the graph of y=f(x)y = f(|x|) in terms of the graph of y=f(x)y = f(x).
Reveal answers
  1. k<f(x)<k-k < f(x) < k, a single bounded interval.
  2. f(x)>kf(x) > k or f(x)<kf(x) < -k, two unbounded intervals.
  3. Take the right half of the graph of y=f(x)y = f(x) (x0x \geq 0) and reflect it in the yy-axis. The left half of the original graph is replaced.

Section 6: Polynomial Division, Factor & Remainder Theorems HL

This section covers AHL content for Topic 2. The factor and remainder theorems give you a systematic toolkit for factorising and evaluating polynomials — skills that appear in Paper 1 (factor theorem, quick remainder evaluation) and Paper 2 (full long division to find quotients).

6.1 Polynomial Long Division

When you divide a polynomial p(x)p(x) by a divisor d(x)d(x), you obtain a quotient q(x)q(x) and a remainder r(x)r(x), where the degree of r(x)r(x) is strictly less than the degree of d(x)d(x):

p(x)=d(x)q(x)+r(x)p(x) = d(x) \cdot q(x) + r(x)

For a linear divisor (xa)(x - a), the remainder rr is a constant.

Method — long division by (xa)(x - a):

  1. Write the dividend in descending powers, inserting 00 coefficients for any missing terms.
  2. Divide the leading term of the current dividend by the leading term of the divisor. Write the result above the line as the next term of the quotient.
  3. Multiply the divisor by that term and subtract.
  4. Bring down the next term and repeat until the degree of the remainder is less than the degree of the divisor.

Polynomial long division

Divide p(x)=x36x2+11x6p(x) = x^3 - 6x^2 + 11x - 6 by (x1)(x - 1).

Set up the division: x36x2+11x6x^3 - 6x^2 + 11x - 6 divided by (x1)(x - 1).

Step 1: Divide the leading term: x3÷x=x2x^3 \div x = x^2. Multiply: x2(x1)=x3x2x^2(x - 1) = x^3 - x^2. Subtract:

(x36x2+11x6)(x3x2)=5x2+11x6(x^3 - 6x^2 + 11x - 6) - (x^3 - x^2) = -5x^2 + 11x - 6

Step 2: Divide: 5x2÷x=5x-5x^2 \div x = -5x. Multiply: 5x(x1)=5x2+5x-5x(x - 1) = -5x^2 + 5x. Subtract:

(5x2+11x6)(5x2+5x)=6x6(-5x^2 + 11x - 6) - (-5x^2 + 5x) = 6x - 6

Step 3: Divide: 6x÷x=66x \div x = 6. Multiply: 6(x1)=6x66(x - 1) = 6x - 6. Subtract:

(6x6)(6x6)=0(6x - 6) - (6x - 6) = 0

Result:

x36x2+11x6=(x1)(x25x+6)+0x^3 - 6x^2 + 11x - 6 = (x - 1)(x^2 - 5x + 6) + 0

The remainder is 00, confirming that (x1)(x - 1) is a factor. The quotient x25x+6=(x2)(x3)x^2 - 5x + 6 = (x-2)(x-3), so p(x)=(x1)(x2)(x3)p(x) = (x-1)(x-2)(x-3).

6.2 The Factor Theorem

Factor Theorem: (xa)(x - a) is a factor of polynomial p(x)p(x) if and only if p(a)=0p(a) = 0.

Equivalently: if p(a)0p(a) \neq 0, then (xa)(x - a) is not a factor of p(x)p(x).

The factor theorem gives you a fast way to test whether a linear expression divides evenly into a polynomial, without performing long division. Once one factor is confirmed, long division (or synthetic division) yields the remaining quotient.

Rational Root Theorem (useful for finding candidates): If p(x)=anxn++a0p(x) = a_n x^n + \cdots + a_0 has integer coefficients, any rational root has the form ±factor of a0factor of an\pm \dfrac{\text{factor of } a_0}{\text{factor of } a_n}.

Finding all factors using the Factor Theorem

Factorise p(x)=x33x24x+12p(x) = x^3 - 3x^2 - 4x + 12 completely.

Step 1 — Test rational root candidates. By the rational root theorem, candidates are ±1,±2,±3,±6\pm 1, \pm 2, \pm 3, \pm 6.

p(1)=134+12=60p(1) = 1 - 3 - 4 + 12 = 6 \neq 0 p(1)=13+4+12=120p(-1) = -1 - 3 + 4 + 12 = 12 \neq 0 p(2)=8128+12=0p(2) = 8 - 12 - 8 + 12 = 0 \checkmark

So (x2)(x - 2) is a factor.

Step 2 — Divide out the known factor. Divide p(x)p(x) by (x2)(x - 2):

x33x24x+12=(x2)(x2x6)x^3 - 3x^2 - 4x + 12 = (x - 2)(x^2 - x - 6)

Verify: (x2)(x2x6)(x-2)(x^2 - x - 6). Expand: x3x26x2x2+2x+12=x33x24x+12x^3 - x^2 - 6x - 2x^2 + 2x + 12 = x^3 - 3x^2 - 4x + 12. Correct.

Step 3 — Factorise the quadratic.

x2x6=(x3)(x+2)x^2 - x - 6 = (x - 3)(x + 2)

Result:

p(x)=(x2)(x3)(x+2)p(x) = (x - 2)(x - 3)(x + 2)

In Paper 1, if you are asked to show that (xa)(x - a) is a factor, use the Factor Theorem by computing p(a)=0p(a) = 0. A single line of substitution earns the method mark and the conclusion mark. Full polynomial long division is usually needed in Paper 2 or when the question asks you to find the remaining quotient after establishing a factor.

6.3 The Remainder Theorem

Remainder Theorem: When p(x)p(x) is divided by (xa)(x - a), the remainder equals p(a)p(a).

More generally, when p(x)p(x) is divided by (ax+b)(ax + b), the remainder equals p ⁣(ba)p\!\left(-\dfrac{b}{a}\right).

The remainder theorem lets you find the remainder of a polynomial division without performing the full algorithm — just evaluate the polynomial at the appropriate value.

Applying the Remainder Theorem

Find the remainder when p(x)=2x3x2+3x5p(x) = 2x^3 - x^2 + 3x - 5 is divided by (x+2)(x + 2).

The divisor is (x+2)=(x(2))(x + 2) = (x - (-2)), so a=2a = -2. Evaluate:

p(2)=2(2)3(2)2+3(2)5p(-2) = 2(-2)^3 - (-2)^2 + 3(-2) - 5 =2(8)4+(6)5= 2(-8) - 4 + (-6) - 5 =16465= -16 - 4 - 6 - 5 =31= -31

The remainder is 31-31. No long division required.

The remainder theorem is a Paper 1 time-saver. If the question asks only for the remainder (not the full quotient), substitute x=ax = a directly. Only perform long division when the quotient itself is needed.

6.4 Combining the Theorems — Solving Cubic Equations

The standard strategy for solving a cubic p(x)=0p(x) = 0:

  1. Find one root by testing ±1,±2,\pm 1, \pm 2, \ldots (rational root candidates) using the factor theorem.
  2. Extract the linear factor (xa)(x - a), then divide p(x)p(x) by (xa)(x - a) to obtain a quadratic quotient.
  3. Solve the quadratic by factorisation, completing the square, or the quadratic formula.

If p(a)=0p(a) = 0, then (xa)(x - a) divides p(x)p(x) exactly, and the quotient has degree one lower than p(x)p(x).

Solving a cubic equation completely

Solve x32x25x+6=0x^3 - 2x^2 - 5x + 6 = 0.

Let p(x)=x32x25x+6p(x) = x^3 - 2x^2 - 5x + 6. Test rational root candidates ±1,±2,±3,±6\pm 1, \pm 2, \pm 3, \pm 6:

p(1)=125+6=0p(1) = 1 - 2 - 5 + 6 = 0 \checkmark

So (x1)(x - 1) is a factor. Divide p(x)p(x) by (x1)(x - 1):

x32x25x+6=(x1)(x2x6)x^3 - 2x^2 - 5x + 6 = (x - 1)(x^2 - x - 6)

Factorise the quadratic:

x2x6=(x3)(x+2)x^2 - x - 6 = (x - 3)(x + 2)

Therefore:

p(x)=(x1)(x3)(x+2)p(x) = (x - 1)(x - 3)(x + 2)

Solutions: x=1x = 1, x=3x = 3, x=2x = -2.

Check: p(3)=271815+6=0p(3) = 27 - 18 - 15 + 6 = 0 and p(2)=88+10+6=0p(-2) = -8 - 8 + 10 + 6 = 0. Confirmed.

Quick Recall — Section 6

Try to answer without scrolling up:

  1. State the Factor Theorem.
  2. State the Remainder Theorem.
  3. When dividing p(x)p(x) by (2x3)(2x - 3), what value do you substitute to find the remainder using the Remainder Theorem?
Reveal answers
  1. (xa)(x - a) is a factor of p(x)p(x) if and only if p(a)=0p(a) = 0.
  2. When p(x)p(x) is divided by (xa)(x - a), the remainder equals p(a)p(a).
  3. Set 2x3=02x - 3 = 0, so x=32x = \dfrac{3}{2}. The remainder is p ⁣(32)p\!\left(\dfrac{3}{2}\right).

MCQ Practice

These questions are styled after IB AA HL Paper 1. Work each one before revealing the answer.


Section 1 MCQs — Language of Functions

Q1. The function f:RRf: \mathbb{R} \to \mathbb{R} is defined by f(x)=x24f(x) = x^2 - 4. Which of the following statements is correct?

A. ff is one-to-one and its range equals its codomain.

B. ff is many-to-one and its range equals its codomain.

C. ff is one-to-one and its range is [4,)[-4, \infty).

D. ff is many-to-one and its range is [4,)[-4, \infty).

Reveal answer and explanation

Answer: D

f(x)=x24f(x) = x^2 - 4 is many-to-one because, for example, f(2)=f(2)=0f(2) = f(-2) = 0. The minimum value of x2x^2 is 00 (at x=0x = 0), so the minimum of ff is 4-4. The range is [4,)[-4, \infty), which is a proper subset of the codomain R\mathbb{R}. Options A and C are wrong because ff is not one-to-one. Option B is wrong because the range does not equal R\mathbb{R}.


Q2. The natural domain of g(x)=ln(2x6)g(x) = \ln(2x - 6) is:

A. x>0x > 0

B. x>3x > 3

C. x3x \geq 3

D. xRx \in \mathbb{R}

Reveal answer and explanation

Answer: B

For the logarithm to be defined, the argument must be strictly positive: 2x6>0x>32x - 6 > 0 \Rightarrow x > 3. The domain is the open interval (3,)(3, \infty), which matches option B. Note the strict inequality — x=3x = 3 gives ln(0)\ln(0), which is undefined, so C is wrong.


Section 2 MCQs — Composite and Inverse Functions

Q3. Let f(x)=2x+1f(x) = 2x + 1 and g(x)=x23g(x) = x^2 - 3. Find (gf)(x)(g \circ f)(x).

A. 2x252x^2 - 5

B. 4x2+4x24x^2 + 4x - 2

C. 4x2+4x+134x^2 + 4x + 1 - 3, simplified to 4x2+4x24x^2 + 4x - 2

D. 2x252x^2 - 5 (same as A)

Reveal answer and explanation

Answer: B (equivalently C)

(gf)(x)=g(f(x))=g(2x+1)=(2x+1)23=4x2+4x+13=4x2+4x2(g \circ f)(x) = g(f(x)) = g(2x+1) = (2x+1)^2 - 3 = 4x^2 + 4x + 1 - 3 = 4x^2 + 4x - 2.

Note that A is wrong — a common error is to compute f(g(x))=2(x23)+1=2x25f(g(x)) = 2(x^2-3)+1 = 2x^2-5 instead of g(f(x))g(f(x)). Always apply the inner function first.


Q4. The function f(x)=3x2x+1f(x) = \dfrac{3x - 2}{x + 1}, x1x \neq -1. Find f1(2)f^{-1}(2).

A. x=4x = 4

B. x=4x = -4

C. x=4x = 4 (confirmed)

D. x=12x = \dfrac{1}{2}

Reveal answer and explanation

Answer: A

Method 1 (direct): f1(2)f^{-1}(2) asks “which xx satisfies f(x)=2f(x) = 2?” Set 3x2x+1=2\dfrac{3x-2}{x+1} = 2, so 3x2=2x+23x - 2 = 2x + 2, giving x=4x = 4.

Method 2 (full inverse): Let y=3x2x+1y = \dfrac{3x-2}{x+1}. Then y(x+1)=3x2y(x+1) = 3x-2, so yx+y=3x2yx + y = 3x - 2, giving x(y3)=2yx(y-3) = -2 - y, so x=2yy3=2+y3yx = \dfrac{-2-y}{y-3} = \dfrac{2+y}{3-y}. Thus f1(x)=x+23xf^{-1}(x) = \dfrac{x+2}{3-x} and f1(2)=41=4f^{-1}(2) = \dfrac{4}{1} = 4.


Section 3 MCQs — Transformations

Q5. The graph of y=f(x)y = f(x) is translated by (32)\begin{pmatrix} -3 \\ 2 \end{pmatrix}. The equation of the resulting graph is:

A. y=f(x3)+2y = f(x - 3) + 2

B. y=f(x+3)2y = f(x + 3) - 2

C. y=f(x+3)+2y = f(x + 3) + 2

D. y=f(x3)2y = f(x - 3) - 2

Reveal answer and explanation

Answer: C

A translation of (32)\begin{pmatrix} -3 \\ 2 \end{pmatrix} means 3 units left and 2 units up. Moving left by 3 means replacing xx with x+3x + 3 inside the function. Moving up by 2 means adding 2 outside. Result: y=f(x+3)+2y = f(x + 3) + 2. The trap here is option A: x3x - 3 inside the brackets means a rightward shift, not leftward.


Q6. The point (4,6)(4, -6) lies on the graph of y=f(x)y = f(x). What point lies on the graph of y=f(2x)y = -f(2x)?

A. (2,6)(2, 6)

B. (4,6)(-4, 6)

C. (2,6)(2, -6)

D. (8,6)(8, 6)

Reveal answer and explanation

Answer: A

If (4,6)(4, -6) is on y=f(x)y = f(x), then f(4)=6f(4) = -6.

Under y=f(2x)y = -f(2x): the horizontal compression by factor 12\frac{1}{2} maps x=4x = 4 to x=2x = 2; the reflection f-f negates the yy-value, so f(22)=f(4)=(6)=6-f(2 \cdot 2) = -f(4) = -(-6) = 6.

The image point is (2,6)(2, 6).


Section 4 MCQs — Rational Functions

Q7. The function h(x)=x21x2x2h(x) = \dfrac{x^2 - 1}{x^2 - x - 2}. Which of the following correctly describes its behaviour?

A. One vertical asymptote at x=2x = 2 and a hole at x=1x = -1.

B. Vertical asymptotes at x=2x = 2 and x=1x = -1.

C. One vertical asymptote at x=1x = -1 and a hole at x=2x = 2.

D. No vertical asymptotes; a hole at x=1x = 1.

Reveal answer and explanation

Answer: A

Factor: numerator =(x1)(x+1)= (x-1)(x+1); denominator =(x2)(x+1)= (x-2)(x+1).

Cancel the common factor (x+1)(x+1): the simplified form is x1x2\dfrac{x-1}{x-2}, valid for x1x \neq -1.

At x=1x = -1: both numerator and denominator were zero — hole (removable discontinuity) at x=1x = -1.

At x=2x = 2: denominator =0= 0, numerator 0\neq 0vertical asymptote at x=2x = 2.


Q8. As xx \to \infty, the function f(x)=3x22x+16x2+x5f(x) = \dfrac{3x^2 - 2x + 1}{6x^2 + x - 5} approaches:

A. 33

B. 12\dfrac{1}{2}

C. \infty

D. 00

Reveal answer and explanation

Answer: B

Both numerator and denominator have degree 22. The horizontal asymptote is the ratio of leading coefficients: 36=12\dfrac{3}{6} = \dfrac{1}{2}.

Option A is wrong (confusing the leading coefficient ratio with just the numerator coefficient). Option C is wrong because the degrees are equal. Option D would only apply if the numerator’s degree were smaller.


Section 5 MCQs — Modulus and Inequalities

Q9. Solve 52x<3|5 - 2x| < 3.

A. x<1x < 1 or x>4x > 4

B. 1<x<41 < x < 4

C. x<4x < -4 or x>1x > 1

D. 4<x<1-4 < x < 1

Reveal answer and explanation

Answer: B

52x<3|5 - 2x| < 3 gives 3<52x<3-3 < 5 - 2x < 3.

Subtract 5: 8<2x<2-8 < -2x < -2.

Divide by 2-2 and reverse both inequality signs: 4>x>14 > x > 1, i.e. 1<x<41 < x < 4.

The trap is forgetting to reverse the inequalities when dividing by a negative number.


Q10. Which of the following is the graph of y=x24y = |x^2 - 4|?

A. The parabola y=x24y = x^2 - 4 with the portion between x=2x = -2 and x=2x = 2 reflected above the xx-axis.

B. The parabola y=x24y = x^2 - 4 with the portions outside [2,2][-2, 2] reflected above the xx-axis.

C. A parabola with vertex at (0,4)(0, 4) opening downward.

D. The graph of y=x24y = x^2 - 4 unchanged.

Reveal answer and explanation

Answer: A

y=x24y = x^2 - 4 is negative between its roots x=2x = -2 and x=2x = 2 (since the parabola dips below the xx-axis there). Applying |\cdot| reflects that negative portion upward. Outside [2,2][-2, 2], the parabola is already non-negative, so it is unchanged. The result is a “W-shape” with the dip between 2-2 and 22 folded upward, touching the xx-axis at x=±2x = \pm 2.


Section 6 MCQs — Polynomial Division, Factor & Remainder Theorems

Q11. Find the remainder when p(x)=x3+2x23x+4p(x) = x^3 + 2x^2 - 3x + 4 is divided by (x+1)(x + 1).

A. 00

B. 44

C. 88

D. 4-4

Reveal answer and explanation

Answer: C

By the Remainder Theorem, the remainder equals p(1)p(-1):

p(1)=(1)3+2(1)23(1)+4=1+2+3+4=8p(-1) = (-1)^3 + 2(-1)^2 - 3(-1) + 4 = -1 + 2 + 3 + 4 = 8

Option A would mean (x+1)(x + 1) is a factor — but p(1)=80p(-1) = 8 \neq 0, so it is not. Option D is a sign error from mishandling 3(1)-3(-1).


Q12. If (x2)(x - 2) is a factor of p(x)=x3kx2+3x2p(x) = x^3 - kx^2 + 3x - 2, find the value of kk.

A. k=1k = 1

B. k=2k = 2

C. k=3k = 3

D. k=4k = 4

Reveal answer and explanation

Answer: C

By the Factor Theorem, (x2)(x - 2) is a factor if and only if p(2)=0p(2) = 0:

p(2)=(2)3k(2)2+3(2)2=84k+62=124kp(2) = (2)^3 - k(2)^2 + 3(2) - 2 = 8 - 4k + 6 - 2 = 12 - 4k

Set equal to zero: 124k=0k=312 - 4k = 0 \Rightarrow k = 3.

A common error is substituting x=2x = -2 instead of x=2x = 2 (confusing the factor (x2)(x - 2) with the root x=2x = -2). Always set the factor equal to zero to find the substitution value.


Final exam strategy for Topic 2: In the 45 minutes you have for each Paper 1 section, rational function sketches and transformation questions together are worth roughly 15–20 marks. Always start with asymptotes and intercepts before drawing any curve. For modulus inequalities, write out both branches explicitly — never try to do them mentally. For composite and inverse functions, write the definitions out step-by-step; the mark scheme allocates method marks at each line.

IB Formula Booklet — Complex Numbers

Modulus & Polar Form

GIVENz = r(cosθ + i sinθ) = r cis θ
GIVENz = re (Euler form)
MEMORISE|z| = √(a² + b²)
MEMORISEarg(z) — sketch point, use quadrant formula

Polar Multiplication & Division

GIVENz&sub1;z&sub2; = r&sub1;r&sub2; cis(θ&sub1; + θ&sub2;)
GIVENz&sub1;/z&sub2; = (r&sub1;/r&sub2;) cis(θ&sub1; − θ&sub2;)

De Moivre's Theorem

GIVEN(r cis θ)n = rn cis(nθ)
MEMORISEz + 1/z = 2cosθ (when |z|=1)
MEMORISEz − 1/z = 2i sinθ (when |z|=1)

nth Roots

GIVENw1/n = r1/n cis((θ + 2πk)/n), k=0..n-1
MEMORISESum of nth roots of unity = 0
MEMORISE1 + ω + ω² = 0 (cube roots)

Conjugate & Arithmetic

MEMORISEz* = a − bi
MEMORISEz · z* = |z|² (always real)
MEMORISEz + z* = 2Re(z)
MEMORISEz − z* = 2i Im(z)

Loci

MEMORISE|z − a| = r → Circle, centre a, radius r
MEMORISE|z − a| = |z − b| → Perpendicular bisector
MEMORISEarg(z − a) = θ → Ray from a

Vieta's Formulas

MEMORISEz² + az + b = 0: sum = −a, product = b
MEMORISEConjugate root theorem: real coeff → roots come in conjugate pairs