• Nakafa

    Nakafa

    Learn free and with quality.
Subject
    • Grade 10
    • Grade 11
    • Grade 12
Exercises
Holy
  • Quran
Articles
  • Politics
  • Community
  • About

Command Palette

Search for a command to run...

Geometric Transformation

Translation Matrix

Matrix Operation for Translation

Translation or shifting a point (x,y)(x,y)(x,y) by a vector (ab)\begin{pmatrix} a \\ b \end{pmatrix}(ab​) results in the image (x+a,y+b)(x+a, y+b)(x+a,y+b).

This operation can be written in the form of vector addition (column matrix):

(x′y′)=(xy)+(ab)=(x+ay+b)\begin{pmatrix} x' \\ y' \end{pmatrix} = \begin{pmatrix} x \\ y \end{pmatrix} + \begin{pmatrix} a \\ b \end{pmatrix} = \begin{pmatrix} x+a \\ y+b \end{pmatrix}(x′y′​)=(xy​)+(ab​)=(x+ay+b​)

This is different from transformations like rotation or reflection across an axis/line, which can be represented by 2×22 \times 22×2 matrix multiplication. Pure translation is a vector addition operation.

However, if we want to combine translation with other linear transformations using matrix multiplication, we often use homogeneous coordinates. With homogeneous coordinates, a point (x,y)(x,y)(x,y) is represented as (xy1)\begin{pmatrix} x \\ y \\ 1 \end{pmatrix}​xy1​​, and the transformation matrix becomes 3×33 \times 33×3. For translation by (ab)\begin{pmatrix} a \\ b \end{pmatrix}(ab​), the matrix is:

T(a,b)=(10a01b001)T_{(a,b)} = \begin{pmatrix} 1 & 0 & a \\ 0 & 1 & b \\ 0 & 0 & 1 \end{pmatrix}T(a,b)​=​100​010​ab1​​

Thus:

(x′y′1)=(10a01b001)(xy1)=(x+ay+b1)\begin{pmatrix} x' \\ y' \\ 1 \end{pmatrix} = \begin{pmatrix} 1 & 0 & a \\ 0 & 1 & b \\ 0 & 0 & 1 \end{pmatrix} \begin{pmatrix} x \\ y \\ 1 \end{pmatrix} = \begin{pmatrix} x+a \\ y+b \\ 1 \end{pmatrix}​x′y′1​​=​100​010​ab1​​​xy1​​=​x+ay+b1​​

Matrix Operation

The matrix operation associated with translation by vector (ab)\begin{pmatrix} a \\ b \end{pmatrix}(ab​) for point (x,y)(x,y)(x,y) is:

(x′y′)=(xy)+(ab)\begin{pmatrix} x' \\ y' \end{pmatrix} = \begin{pmatrix} x \\ y \end{pmatrix} + \begin{pmatrix} a \\ b \end{pmatrix}(x′y′​)=(xy​)+(ab​)

Finding the Image of a Point with Matrix Operation

Determine the image of point (−2,3)(-2,3)(−2,3) translated by the vector (−34)\begin{pmatrix} -3 \\ 4 \end{pmatrix}(−34​) using matrix operation.

Alternative Solution:

Based on the matrix operation, the image can be determined by:

(x′y′)=(−23)+(−34)=(−2+(−3)3+4)=(−57)\begin{pmatrix} x' \\ y' \end{pmatrix} = \begin{pmatrix} -2 \\ 3 \end{pmatrix} + \begin{pmatrix} -3 \\ 4 \end{pmatrix} = \begin{pmatrix} -2 + (-3) \\ 3 + 4 \end{pmatrix} = \begin{pmatrix} -5 \\ 7 \end{pmatrix}(x′y′​)=(−23​)+(−34​)=(−2+(−3)3+4​)=(−57​)

Its image is (−5,7)(-5,7)(−5,7).

Translation of Point P(−2,3)P(-2,3)P(−2,3) by Vector (−34)\begin{pmatrix} -3 \\ 4 \end{pmatrix}(−34​)
Visualization of translating point P(−2,3)P(-2,3)P(−2,3) to P′(−5,7)P'(-5,7)P′(−5,7) by a translation vector.

Exercises

  1. Determine the image of point (4,−5)(4,-5)(4,−5) translated by the vector (−54)\begin{pmatrix} -5 \\ 4 \end{pmatrix}(−54​) using matrix operation.
  2. A triangle KLMKLMKLM has vertices K(1,0)K(1,0)K(1,0), L(4,2)L(4,2)L(4,2), and M(2,5)M(2,5)M(2,5). This triangle is translated by vector T=(−21)T = \begin{pmatrix} -2 \\ 1 \end{pmatrix}T=(−21​). Determine the coordinates of the image triangle K′L′M′K'L'M'K′L′M′.

Key Answers

  1. Point (4,−5)(4,-5)(4,−5), translation vector (−54)\begin{pmatrix} -5 \\ 4 \end{pmatrix}(−54​).

    (x′y′)=(4−5)+(−54)=(4−5−5+4)=(−1−1)\begin{pmatrix} x' \\ y' \end{pmatrix} = \begin{pmatrix} 4 \\ -5 \end{pmatrix} + \begin{pmatrix} -5 \\ 4 \end{pmatrix} = \begin{pmatrix} 4-5 \\ -5+4 \end{pmatrix} = \begin{pmatrix} -1 \\ -1 \end{pmatrix}(x′y′​)=(4−5​)+(−54​)=(4−5−5+4​)=(−1−1​)

    Image: (−1,−1)(-1,-1)(−1,−1).

  2. Translation vector T=(−21)T = \begin{pmatrix} -2 \\ 1 \end{pmatrix}T=(−21​).

    • For K(1,0)K(1,0)K(1,0): (xK′yK′)=(10)+(−21)=(−11)\begin{pmatrix} x'_K \\ y'_K \end{pmatrix} = \begin{pmatrix} 1 \\ 0 \end{pmatrix} + \begin{pmatrix} -2 \\ 1 \end{pmatrix} = \begin{pmatrix} -1 \\ 1 \end{pmatrix}(xK′​yK′​​)=(10​)+(−21​)=(−11​). So K′(−1,1)K'(-1,1)K′(−1,1).
    • For L(4,2)L(4,2)L(4,2): (xL′yL′)=(42)+(−21)=(23)\begin{pmatrix} x'_L \\ y'_L \end{pmatrix} = \begin{pmatrix} 4 \\ 2 \end{pmatrix} + \begin{pmatrix} -2 \\ 1 \end{pmatrix} = \begin{pmatrix} 2 \\ 3 \end{pmatrix}(xL′​yL′​​)=(42​)+(−21​)=(23​). So L′(2,3)L'(2,3)L′(2,3).
    • For M(2,5)M(2,5)M(2,5): (xM′yM′)=(25)+(−21)=(06)\begin{pmatrix} x'_M \\ y'_M \end{pmatrix} = \begin{pmatrix} 2 \\ 5 \end{pmatrix} + \begin{pmatrix} -2 \\ 1 \end{pmatrix} = \begin{pmatrix} 0 \\ 6 \end{pmatrix}(xM′​yM′​​)=(25​)+(−21​)=(06​). So M′(0,6)M'(0,6)M′(0,6).

    Image coordinates: K′(−1,1)K'(-1,1)K′(−1,1), L′(2,3)L'(2,3)L′(2,3), M′(0,6)M'(0,6)M′(0,6).

Previous

Reflection Matrix over Arbitrary Point

Next

Rotation Matrix

  • Translation MatrixLearn translation matrix operations and homogeneous coordinates: apply vector addition and 3x3 matrices for geometric transformations with examples.
On this page
  • Matrix Operation for Translation
    • Matrix Operation
  • Finding the Image of a Point with Matrix Operation
  • Exercises
    • Key Answers
  • Comments
  • Report
  • Source code