IB Maths AA HL Topic 2 โ€” Functions Paper 1 & 2 ~7 min read

Stretches of Graphs

A stretch resizes a graph along one axis without rotating or flipping it. There are two kinds: vertical (y = af(x)) and horizontal (y = f(x/a)). The vertical one behaves how you’d expect; the horizontal one has a sneaky reciprocal in the scale factor that catches almost everyone the first time.

๐Ÿ“˜ What you need to know

Vertical stretch โ€” y = af(x)

Multiply every y-value by a Every point (p, q) on y = f(x) maps to (p, aq) on y = af(x)
Changes
y-coordinates ร—a
horizontal asymptote y = k โ†’ y = ak
vertical world is scaled
Stays the same
x-coordinates
vertical asymptotes
x-intercepts
anything with y = 0 doesn’t move

Horizontal stretch โ€” y = f(x/a)

Multiply every x-value by a Every point (p, q) on y = f(x) maps to (ap, q) on y = f(x/a)

๐Ÿค” Why divide x by a for a horizontal stretch of factor a?

The new graph at x = ap should give the same y-value as the old graph at x = p. So we need f((ap)/a) = f(p). The “รทa” inside the bracket undoes the stretch to get back to the original input.

Changes
x-coordinates ร—a
vertical asymptote x = k โ†’ x = ak
horizontal world is scaled
Stays the same
y-coordinates
horizontal asymptotes
y-intercept
anything with x = 0 doesn’t move

The reciprocal trap โ€” y = f(ax)

If you see y = f(ax) instead of f(x/a), that’s a horizontal stretch of scale factor 1/a. So y = f(3x) compresses the graph horizontally by factor 3 (SF = 1/3); y = f(x/3) stretches the graph by factor 3.

Quick rule: whatever number is multiplying x inside the bracket, the scale factor is its reciprocal. f(2x) โ†’ SF 1/2; f(x/5) โ†’ SF 5; f(x/4) โ†’ SF 4. Always reciprocal.
Vertical vs horizontal stretch of the same parabola
x y O y = f(x) y = 2f(x) y = f(x/2) vertical stretch: same x-intercepts horizontal stretch: same y-intercept

๐Ÿงญ Recipe โ€” stretching a graph

  1. Identify the type: number outside f โ†’ vertical stretch; coefficient or division of x inside f โ†’ horizontal stretch.
  2. Read off the scale factor. For af(x), SF = a. For f(x/a), SF = a. For f(ax), SF = 1/a.
  3. Apply to each labelled point: multiply y-coords by SF for vertical, x-coords by SF for horizontal.
  4. Scale the matching asymptotes: HAs scale under vertical stretch; VAs scale under horizontal stretch.
  5. Sketch the new graph with the same overall shape, just scaled. Label the transformed features.

Worked examples

WE 1

Find the equation after a vertical stretch

The graph of f(x) = 2x2 โˆ’ x + 5 is stretched vertically with scale factor 3. Find the equation of the new graph.

Vertical stretch SF 3 โ†’ multiply f(x) by 3 y = 3f(x) = 3(2xยฒ โˆ’ x + 5) y = 6xยฒ โˆ’ 3x + 15 y = 6xยฒ โˆ’ 3x + 15 every term gets multiplied โ€” including the constant
WE 2

Stretch the key points of a graph

The graph of y = f(x) has a maximum at P(โˆ’4, 6) and a minimum at Q(2, โˆ’3). State the new coordinates after:
(a) a vertical stretch with scale factor 5   (b) a horizontal stretch with scale factor 3

(a) vertical stretch SF 5: multiply y-coords by 5 P(โˆ’4, 6) โ†’ (โˆ’4, 30) Q(2, โˆ’3) โ†’ (2, โˆ’15) (a) max (โˆ’4, 30); min (2, โˆ’15) (b) horizontal stretch SF 3: multiply x-coords by 3 P(โˆ’4, 6) โ†’ (โˆ’12, 6) Q(2, โˆ’3) โ†’ (6, โˆ’3) (b) max (โˆ’12, 6); min (6, โˆ’3) vertical stretch leaves x-coords alone; horizontal stretch leaves y-coords alone
WE 3

Describe the transformation โ€” the reciprocal trap

The graph of y = f(x) is transformed to give y = f(4x). Describe the transformation fully.

x is multiplied by 4 inside the bracket that’s the form y = f(ax) with a = 4 Apply the reciprocal rule SF = 1/a = 1/4 horizontal stretch with scale factor 1/4 (parallel to the x-axis) SF less than 1 means the graph gets squashed toward the y-axis โ€” every x-coordinate is divided by 4
WE 4

Vertical stretch of a rational function

The graph of y = 1x + 3 is stretched vertically with scale factor 2.
(a) Find the equation of the new graph. (b) State its asymptotes.

(a) Multiply the entire function by 2 y = 2(1/x + 3) = 2/x + 6 (a) y = 2/x + 6 (b) Asymptotes โ€” HA scales, VA stays original VA: x = 0 โ†’ unchanged original HA: y = 3 โ†’ scaled by 2 โ†’ y = 6 (b) VA: x = 0; HA: y = 6 vertical stretch only touches y-values โ€” including the y-value of the horizontal asymptote
WE 5

Horizontal stretch of a rational function

The graph of y = 2x โˆ’ 6 is stretched horizontally with scale factor 2.
(a) Find the equation of the new graph. (b) State its vertical asymptote.

(a) Replace x with x/2 y = 2/((x/2) โˆ’ 6) simplify denominator: (x/2) โˆ’ 6 = (x โˆ’ 12)/2 y = 2 รท (x โˆ’ 12)/2 = 4/(x โˆ’ 12) (a) y = 4/(x โˆ’ 12) (b) VA scales by 2 original VA: x = 6 โ†’ scaled by 2 โ†’ x = 12 (b) VA: x = 12 double-check: setting denominator to zero in the new equation gives x = 12, matching the scaled VA
WE 6

Find an unknown scale factor

The graph of y = f(x) passes through the point (5, 12). After a vertical stretch with scale factor a, this point maps to (5, 30). Find the value of a.

Vertical stretch SF a multiplies the y-coordinate by a 12 ร— a = 30 a = 30/12 = 5/2 a = 5/2 x-coordinate didn’t change โ€” confirms it’s a vertical stretch and not a horizontal one

๐Ÿ’ก Top tips

โš  Common mistakes

Three transformations down, one to go. The next note covers composite transformations โ€” when two or more of these get applied together. The order matters: get it wrong and a graph that should be 4 units up ends up 8 units up. The rules sound technical, but they boil down to a single observation about which side of the bracket each operation lives on.

Need help with Stretches of Graphs?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session โ†’