All mock tests are FREE till 31 December — register to save your progress

Consider a triangle PQR with coordinates P(0,0), Q(2,2) and R(10,4). If this triangle is to be magnified to four times its size while keeping R(10,4) fixed, then the coordinates of the magnified triangle are:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. P(−30,−12), Q(−22,−4) and R(10,4)

Explanation

Scaling about a fixed point: P′ = R + 4(P − R). P′ = (10,4) + 4(−10,−4) = (−30,−12); Q′ = (10,4) + 4(−8,−2) = (−22,−4); R stays fixed.

More Programming Languages and Computer Graphics questions