Allday Education

Dilations of Linear Functions

A dilation stretches or squashes a graph instead of sliding it. For a function ff, the dilation is g(x)=af(x)g(x) = a \cdot f(x): every output of ff gets multiplied by the number aa. Points far from the xx-axis move farther; points on the xx-axis stay put.

For a line, multiplying every output changes the steepness. That gives you a three-part rule worth memorizing: aa bigger than 11 makes the line steeper, aa between 00 and 11 makes it flatter, and a negative aa also flips the line over the xx-axis.

What multiplying the output does

Take f(x)=xf(x) = x and dilate it by a=2a = 2 to get g(x)=2xg(x) = 2x. The point (1,1)(1, 1) on ff becomes (1,2)(1, 2) on gg, and (3,3)(3, 3) becomes (3,6)(3, 6) — every yy-value doubles while the xx-values stay where they were. The slope doubles from 11 to 22, so the line is steeper.

The graph below shows f(x)=xf(x) = x in blue and g(x)=2xg(x) = 2x in red. Both pass through the origin, because multiplying an output of 00 still gives 00.

-3-2-1123-3-2-1123xy

Reading the effect from aa

Compare a|a| to 11. If a>1|a| > 1, outputs grow and the line gets steeper — a vertical stretch. If 0<a<10 < |a| < 1, outputs shrink toward the xx-axis and the line gets flatter — a vertical compression.

The sign of aa is a separate piece of information. A negative aa reflects the graph over the xx-axis: a rising line becomes a falling one. So g(x)=12f(x)g(x) = -\dfrac{1}{2}f(x) does two things at once — it compresses the line to half as steep and flips it over the xx-axis.

Finding aa from a graph

Pick an xx-value where you can read both graphs cleanly, then divide: a=g(x)f(x)a = \dfrac{g(x)}{f(x)}. If ff passes through (1,1)(1, 1) and gg passes through (1,3)(1, 3), then a=3a = 3. For lines through the origin, comparing slopes works just as well — aa is the ratio of the new slope to the old one.

The table below lists f(x)=xf(x) = x and g(x)=2xg(x) = 2x together. Dividing any gg-output by the matching ff-output gives a=2a = 2 every time — that constant ratio is the dilation factor.

xxf(x) = xg(x) = 2x
2-22-24-4
1-11-12-2
111122
222244
333366

Worked examples

Example 1: a vertical stretch

Let f(x)=xf(x) = x. Find g(x)=2f(x)g(x) = 2f(x) and describe the graph.

Multiply the function by 22g(x)=2xg(x) = 2 \cdot x
Simplifyg(x)=2xg(x) = 2x
The slope went from 11 to 22, so the line is steeper

Answer: g(x)=2xg(x) = 2x — steeper than ff.

Example 2: a compression with a flip

Let f(x)=xf(x) = x. Find g(x)=12f(x)g(x) = -\dfrac{1}{2}f(x) and describe the graph.

Multiply the function by 12-\dfrac{1}{2}g(x)=12xg(x) = -\dfrac{1}{2}x
a=12<1|a| = \dfrac{1}{2} < 1, so the line is flatter
a<0a < 0, so the line is also reflected over the xx-axis

Answer: g(x)=12xg(x) = -\dfrac{1}{2}x — flatter and flipped.

Example 3: find aa from two lines

The graphs of f(x)=xf(x) = x and g(x)=af(x)g(x) = a \cdot f(x) both pass through the origin. gg passes through (1,3)(1, 3). Find aa.

Evaluate both functions at x=1x = 1f(1)=1,g(1)=3f(1) = 1,\quad g(1) = 3
Divide the outputsa=g(1)f(1)=31a = \dfrac{g(1)}{f(1)} = \dfrac{3}{1}
Simplifya=3a = 3

Answer: a=3a = 3

Try one yourself

Common questions

How is a dilation different from a translation?

A translation slides the graph without changing its steepness — the lines stay parallel. A dilation multiplies the outputs, which changes the steepness. If the new line isn't parallel to the old one, you're looking at a dilation.

Why doesn't the line move at the origin?

A point on the xx-axis has output 00, and a0=0a \cdot 0 = 0 for any aa. So any point where the graph crosses the xx-axis stays fixed under a dilation.

What does a negative aa do?

It reflects the graph over the xx-axis and applies the stretch or compression from a|a|. For example, a=3a = -3 makes the line three times as steep and flips rising to falling.

Does g(x)=4f(x)g(x) = 4f(x) change the yy-intercept?

It multiplies it by 44. If ff crosses the yy-axis at 22, then gg crosses at 88. Only an intercept of 00 stays put — which is why dilations of f(x)=xf(x) = x keep passing through the origin.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1