# Thread: Linear Algebra in Cryptography

1. ## Linear Algebra in Cryptography

So... each letter from A to Z corresponds to a number 0 to 25. Now I want to find the pairs (x,y) such that in $\displaystyle \mathbb{Z}_{26}$,

$\displaystyle \begin{bmatrix} 8 & 3\\ 1 & 7 \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} x\\ y \end{bmatrix}$

And we are only told that for (A, A), which corresponds to (0,0), this holds.

So, how do I find all pairs x, y such that they are unchanged by the multipication? Going through all possible combinations of x and y is a real daunting task. Is there an easy way for finding all the pairs?

P.S. In $\displaystyle \mathbb{Z}_{26}$,

$\displaystyle K^{-1} = \begin{bmatrix} 7 & 23\\ 25 & 8 \end{bmatrix}$.

2. You need to solve $\displaystyle Av=v$, that is, $\displaystyle (A-I)v = 0$ in $\displaystyle \mathbb{Z}_{26}$. Do you know how to do this?

3. Originally Posted by Defunkt
You need to solve $\displaystyle Av=v$, that is, $\displaystyle (A-I)v = 0$ in $\displaystyle \mathbb{Z}_{26}$. Do you know how to do this?
No, I'm not quite sure how to solve this. Could you please explain a bit more? I just got the two equations

$\displaystyle (K-I)v= \left( \begin{bmatrix} 8 & 3\\ 1 & 7 \end{bmatrix} - \begin{bmatrix} 1 & 0\\ 0 & 1 \end{bmatrix} \right) \begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} 7x+3y\\ x+6y \end{bmatrix} =0$

But don't know how solving the homogeneous system shows the list of elements that are mapped to themselves? How should I continue?