066Mathematics · Coordinate geometry

Sequential coordinate transformations

Sequential coordinate transformations

Sequential coordinate transformations · (x,y) after each step; final (x,y)

  • 149 bytes
  • COMP mode
01

Worked examples

Example 1

Point P(−1,2) is translated 4 units right, rotated 90° anticlockwise about the origin, then reflected in x=1. Which option is its final image?

  1. A.(−4,3)
  2. B.(4,3)
  3. C.(3,4)
  4. D.(4,−3)
Answer
B — (4,3).
Standard solution (without a calculator)
  1. Translate: Add (4,0) to P(−1,2), obtaining P′=(3,2).
  2. Rotate: A 90° anticlockwise turn maps (x,y) to (−y,x), so P″=(−2,3).
  3. Reflect: Across x=1, replace x by 2(1)−x; P‴=(2−(−2),3)=(4,3).
  4. Choose the image: The three transformations give (−1,2)→(3,2)→(−2,3)→(4,3), which is option B.
Do it on the calculator

Example 2

Point Q(2,5) is rotated 180° about the origin, then reflected in y=−1. Which option is its final image?

  1. A.(−2,3)
  2. B.(−2,−3)
  3. C.(2,3)
  4. D.(2,−7)
Answer
A — (−2,3).
Standard solution (without a calculator)
  1. Rotate: A 180° turn negates both coordinates, so Q′=(−2,−5).
  2. Reflect: Across y=−1, keep x and replace y by 2(−1)−y=−2−(−5)=3. Thus Q″=(−2,3).
  3. Finish after two steps: At the next B? prompt enter 0; the program repeats (−2,3) as the final point.
  4. Select the result: The final image (−2,3) is option A.
Do it on the calculator

Example 3

Rotate P(5,1) by 90° anticlockwise about C(2,−1). Give a three-step translation–rotation–translation construction and the exact image after each step.

Answer
Intermediate images (3,2), (−2,3); final Q=(0,2).
Standard solution (without a calculator)
  1. Move the centre to the origin: Translate by (−2,1), so P−C=(5−2,1−(−1))=(3,2).
  2. Rotate the translated point: A 90° anticlockwise turn gives (3,2)→(−2,3).
  3. Move back: Translate by C=(2,−1), giving (−2+2,3−1)=(0,2).
  4. Conclude: The final image is Q=C+R₉₀(P−C)=(0,2); the three displayed pairs are (3,2),(−2,3),(0,2).
Do it on the calculator
02

When to use it

A translation, rotation or reflection changes the current point before the next operation. The order matters: apply each rule to the preceding image, not to the original point.

Enter a starting point and operations

  • Enter X?=starting x and Y?=starting y. For each step, B? is 1 for translation, 2 for rotation about the origin, 3 for reflection in x=p, or 4 for reflection in y=p.
  • For B=1, enter C?=horizontal shift Δx and A?=vertical shift Δy, including zeros. For B=2, enter C?=angle θ in degrees, positive anticlockwise. For B=3 or 4, enter C?=the mirror-line constant p.

Read each image

  • Each completed step displays x then y. Press EXE between results; the final point is displayed once more after the operations.
  • To use only one or two operations, enter B?=0 at the next operation prompt. After three operations, the program finishes without another selection.

Question types

  • Original HKDSE Mathematics Compulsory Part practice: find a composite image, reverse a transformation, or rotate about a non-origin centre by translating to and from the origin.

Before you start

  • Use COMP / Deg / Norm 1 and an empty P1 with at least 149 bytes; P1–P4 share 680 bytes. X,Y,B,C,A,D,M and Ans may be overwritten; save stored values first.
  • Only operation codes 0–4 are accepted; 0 ends the sequence before the next step and asks for no parameter. An invalid code deliberately raises Math ERROR.
  • Rotations use degrees about the origin. A rotation about (h,k) needs three steps: translate by (−h,−k), rotate, then translate by (h,k). Reversing the order changes the image in general.
  • Reflection code 3 is in the vertical line x=p; code 4 is in the horizontal line y=p. For the x-axis choose code 4,p=0; for the y-axis choose code 3,p=0.
  • Enter each required value explicitly, including a zero shift. Blank EXE can retain a value from a prior run; the program does not solve for missing operation parameters.
  • The LCD rounds to about ten significant digits. Extreme coordinates, cancellation and trigonometric rounding near special angles may affect accuracy; retain exact coordinates and give a written reason where required.

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.

Checking access…

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.