Accedmychevron_right11thchevron_rightmathchevron_rightMatrices And Determinantschevron_rightExercise 4.3

Solution

Given:

A=[101211012]A=\begin{bmatrix}1&0&1\\2&-1&1\\0&1&2\end{bmatrix}

Message: KEEP IT UP.

Using A1,,Z26A\to 1,\dots,Z\to 26 and space as 2727:

K=11, E=5, E=5, P=16, space=27, I=9, T=20, space=27, U=21, P=16K=11,\ E=5,\ E=5,\ P=16,\ \text{space}=27,\ I=9,\ T=20,\ \text{space}=27,\ U=21,\ P=16

Arrange the message into blocks of 3 (column vectors). If needed, pad with space 2727:

P=[111620165272727592127]P= \begin{bmatrix} 11&16&20&16\\ 5&27&27&27\\ 5&9&21&27 \end{bmatrix}

Encode by:

C=APC=AP

Compute:

C=[101211012][111620165272727592127]=[162541432214343215456981]C= \begin{bmatrix}1&0&1\\2&-1&1\\0&1&2\end{bmatrix} \begin{bmatrix} 11&16&20&16\\ 5&27&27&27\\ 5&9&21&27 \end{bmatrix} = \begin{bmatrix} 16&25&41&43\\ 22&14&34&32\\ 15&45&69&81 \end{bmatrix} Encoded message =[162541432214343215456981]\boxed{\text{Encoded message }=\begin{bmatrix}16&25&41&43\\22&14&34&32\\15&45&69&81\end{bmatrix}}