A translation is described by a vector [katex] (a, \\, b), [/katex] where [katex] a [/katex] represents the horizontal shift (positive for right, negative for left) and [katex] b [/katex] represents the vertical shift (positive for up, negative for down).