← All articles

Transformations · Geometry

Dilating a Triangle When the Center Isn't the Origin

Shift, scale, shift back — the three-step trick for any center.

When the center is some point (a,b)(a,b), you can't just multiply coordinates. Instead: measure how far each point is from the center, scale that distance, then add it back to the center.

(x,y)→(k(x−a)+a, k(y−b)+b)(x,y)\to\big(k(x-a)+a,\ k(y-b)+b\big)

Playground — click the graph to move the center

A'B'C'ABC

Center: (-2, -1)

x′=2(2−(−2))+(−2)=6y′=2(1−(−1))+(−1)=3 ⇒A′\begin{aligned}x'&=2(2-(-2))+(-2)=6\\ y'&=2(1-(-1))+(-1)=3\end{aligned}\ \Rightarrow A'
x′=2(4−(−2))+(−2)=10y′=2(1−(−1))+(−1)=3 ⇒B′\begin{aligned}x'&=2(4-(-2))+(-2)=10\\ y'&=2(1-(-1))+(-1)=3\end{aligned}\ \Rightarrow B'
x′=2(2−(−2))+(−2)=6y′=2(3−(−1))+(−1)=7 ⇒C′\begin{aligned}x'&=2(2-(-2))+(-2)=6\\ y'&=2(3-(-1))+(-1)=7\end{aligned}\ \Rightarrow C'

Worked example

Center (1, 1), k = 2

Dilate A(2,3)A(2,3), B(4,1)B(4,1), C(3,−1)C(3,-1) by k=2k=2 with center (1,1)(1,1).

  1. 1
    Subtract the center from each vertex (the 'distance vector'):
    A:(1,2)B:(3,0)C:(2,−2)A:(1,2)\quad B:(3,0)\quad C:(2,-2)

Worked example

Shrinking: center (-2, 4), k = 1/2

Dilate P(6,0)P(6,0) by k=12k=\tfrac12 with center (−2,4)(-2,4).

  1. 1
    Distance vector:
    (6−(−2), 0−4)=(8,−4)(6-(-2),\ 0-4)=(8,-4)

Try it yourself

Dilate (5,7)(5,7) by k=3k=3 with center (2,3)(2,3). What is the new y-coordinate?