You are on page 1of 4

# Punto 1

## \textrm{Punto 1}\\\textrm{A. Seleccionar la matriz mxn, n=2, M=2 con determinante

1}\\C=\begin{bmatrix}{2}&{5}\\{1}&{3}\end{bmatrix}\\\textrm{B. Separar en matrices mx1,
m=2, las letras que corresponden al enunciado a codificar}\\EL\rightarrow{}P1=\begin{bmatrix}
{4}\\{11}\end{bmatrix}\\HO\rightarrow{}P2=\begin{bmatrix}{7}\\
{15}\end{bmatrix}\\MB\rightarrow{}P3=\begin{bmatrix}{12}\\
{1}\end{bmatrix}\\RE\rightarrow{}P4=\begin{bmatrix}{18}\\
{4}\end{bmatrix}\\SA\rightarrow{}P5=\begin{bmatrix}{19}\\
{0}\end{bmatrix}\\BI\rightarrow{}P6=\begin{bmatrix}{1}\\
{8}\end{bmatrix}\\OX\rightarrow{}P7=\begin{bmatrix}{15}\\{24}\end{bmatrix}\\\textrm{C.
Multiplicar por la matriz clave C}\\CP1=\begin{bmatrix}{2}&{5}\\
{1}&{3}\end{bmatrix}\begin{bmatrix}{4}\\{11}\end{bmatrix}=\begin{bmatrix}{8+55}\\
{4+33}\end{bmatrix}=\begin{bmatrix}{63}\\{37}\end{bmatrix}\rightarrow{Modulo
27}\rightarrow{\begin{bmatrix}{8}\\{10}\end{bmatrix}}\\CP2=\begin{bmatrix}{2}&{5}\\
{1}&{3}\end{bmatrix}\begin{bmatrix}{7}\\{15}\end{bmatrix}=\begin{bmatrix}{14+75}\\
{7+45}\end{bmatrix}=\begin{bmatrix}{89}\\{52}\end{bmatrix}\rightarrow{Modulo
27}\rightarrow{\begin{bmatrix}{8}\\{25}\end{bmatrix}}\\CP3=\begin{bmatrix}{2}&{5}\\
{1}&{3}\end{bmatrix}\begin{bmatrix}{12}\\{1}\end{bmatrix}=\begin{bmatrix}{24+60}\\
{12+3}\end{bmatrix}=\begin{bmatrix}{84}\\{15}\end{bmatrix}\rightarrow{Modulo
27}\rightarrow{\begin{bmatrix}{3}\\{15}\end{bmatrix}}\\CP4=\begin{bmatrix}{2}&{5}\\
{1}&{3}\end{bmatrix}\begin{bmatrix}{18}\\{4}\end{bmatrix}=\begin{bmatrix}{36+20}\\
{18+12}\end{bmatrix}=\begin{bmatrix}{56}\\{30}\end{bmatrix}\rightarrow{Modulo
27}\rightarrow{\begin{bmatrix}{2}\\{3}\end{bmatrix}}\\CP5=\begin{bmatrix}{2}&{5}\\
{1}&{3}\end{bmatrix}\begin{bmatrix}{19}\\{0}\end{bmatrix}=\begin{bmatrix}{38+0}\\
{19+0}\end{bmatrix}=\begin{bmatrix}{38}\\{19}\end{bmatrix}\rightarrow{Modulo
27}\rightarrow{\begin{bmatrix}{11}\\{19}\end{bmatrix}}\\CP6=\begin{bmatrix}{2}&{5}\\
{1}&{3}\end{bmatrix}\begin{bmatrix}{1}\\{8}\end{bmatrix}=\begin{bmatrix}{2+40}\\
{1+24}\end{bmatrix}=\begin{bmatrix}{42}\\{25}\end{bmatrix}\rightarrow{Modulo
27}\rightarrow{\begin{bmatrix}{15}\\{25}\end{bmatrix}}\\CP7=\begin{bmatrix}{2}&{5}\\
{1}&{3}\end{bmatrix}\begin{bmatrix}{15}\\{24}\end{bmatrix}=\begin{bmatrix}{30+120}\\
{15+45}\end{bmatrix}=\begin{bmatrix}{150}\\{60}\end{bmatrix}\rightarrow{Modulo
27}\rightarrow{\begin{bmatrix}{15}\\{6}\end{bmatrix}}\\\textrm{Por tanto el codigo

Punto 2
\textrm{Punto 2}\\\textrm{A. Separar en matrices mx1, m=3, las letras que corresponden al
{1}\end{bmatrix}\\UCY\rightarrow{}P2=\begin{bmatrix}{21}\\{2}\\
{25}\end{bmatrix}\\PNT\rightarrow{}P3=\begin{bmatrix}{16}\\{13}\\
{20}\end{bmatrix}\\XYU\rightarrow{}P4=\begin{bmatrix}{24}\\{25}\\
{21}\end{bmatrix}\\IGS\rightarrow{}P5=\begin{bmatrix}{8}\\{6}\\
{19}\end{bmatrix}\\WVN\rightarrow{}P6=\begin{bmatrix}{23}\\{22}\\
{13}\end{bmatrix}\\RES\rightarrow{}P7=\begin{bmatrix}{18}\\{4}\\
{19}\end{bmatrix}\\OSV\rightarrow{}P8=\begin{bmatrix}{15}\\{19}\\
{22}\end{bmatrix}\\BEF\rightarrow{}P9=\begin{bmatrix}{1}\\{4}\\
{5}\end{bmatrix}\\\textrm{B. Se halla la matriz inversa de la clave C^-1 utilizando el metodo de
Gauss-Jordan y una matriz identidad de mxn,m=3 y n=3}\\C^-1=\begin{bmatrix}{1}&{3}&{4}\\{-2}&{7}&{-10}\\{5}&{-19}&{29}\end{bmatrix}\begin{bmatrix}{1}&{0}&{0}\\
{0}&{1}&{0}\\{0}&{0}&{1}\end{bmatrix}R1x2\rightarrow{R2}\begin{bmatrix}{1}&{3}&{4}\\{0}&{1}&{-2}\\{5}&{-19}&{29}\end{bmatrix}\begin{bmatrix}{1}&{0}&{0}\\
{2}&{1}&{0}\\{0}&{0}&{1}\end{bmatrix}R1x-5\rightarrow{R3}\begin{bmatrix}{1}&{3}&{4}\\{0}&{1}&{-2}\\{0}&{-4}&{9}\end{bmatrix}\begin{bmatrix}{1}&{0}&{0}\\
{2}&{1}&{0}\\{-5}&{0}&{1}\end{bmatrix}\\R2x4\rightarrow{R3}\begin{bmatrix}{1}&{3}&{4}\\{0}&{1}&{-2}\\{0}&{0}&{1}\end{bmatrix}\begin{bmatrix}{1}&{0}&{0}\\
{2}&{1}&{0}\\{3}&{4}&{1}\end{bmatrix}R3x2\rightarrow{R2}\begin{bmatrix}{1}&{3}&{4}\\{0}&{1}&{0}\\{0}&{0}&{1}\end{bmatrix}\begin{bmatrix}{1}&{0}&{0}\\
{8}&{9}&{2}\\{3}&{4}&{1}\end{bmatrix}R3x-4\rightarrow{R1}\begin{bmatrix}{1}&{3}&{0}\\{0}&{1}&{0}\\{0}&{0}&{1}\end{bmatrix}\begin{bmatrix}{-11}&{-16}&{-4}\\
{8}&{9}&{2}\\{3}&{4}&{1}\end{bmatrix}\\R2x3\rightarrow{R1}\begin{bmatrix}
{1}&{0}&{0}\\{0}&{1}&{0}\\{0}&{0}&{1}\end{bmatrix}\begin{bmatrix}{13}&{11}&{2}\\
{8}&{9}&{2}\\{3}&{4}&{1}\end{bmatrix}\\C^-1=\begin{bmatrix}{13}&{11}&{2}\\
{8}&{9}&{2}\\{3}&{4}&{1}\end{bmatrix}\\\textrm{C. Multiplicar la matriz inversa por cada
una de las matrices resultantes del ordenamiento de los caracteres.}\\C^1P1=\begin{bmatrix}
{13}&{11}&{2}\\{8}&{9}&{2}\\{3}&{4}&{1}\end{bmatrix}\begin{bmatrix}{11}\\{5}\\
{1}\end{bmatrix}=\begin{bmatrix}{143+55+2}\\{88+45+2}\\
{33+20+1}\end{bmatrix}=\begin{bmatrix}{200}\\{135}\\{54}\end{bmatrix}\textrm{Modulo
27}\rightarrow{\begin{bmatrix}{11}\\{0}\\
{0}\end{bmatrix}}\rightarrow{LAA}\\C^1P2=\begin{bmatrix}{13}&{11}&{2}\\
{8}&{9}&{2}\\{3}&{4}&{1}\end{bmatrix}\begin{bmatrix}{21}\\{2}\\
{25}\end{bmatrix}=\begin{bmatrix}{273+22+50}\\{168+18+50}\\
{63+8+25}\end{bmatrix}=\begin{bmatrix}{345}\\{236}\\{96}\end{bmatrix}\textrm{Modulo
27}\rightarrow{\begin{bmatrix}{21}\\{20}\\
{15}\end{bmatrix}}\rightarrow{UTO}\\C^1P3=\begin{bmatrix}{13}&{11}&{2}\\
{8}&{9}&{2}\\{3}&{4}&{1}\end{bmatrix}\begin{bmatrix}{16}\\{13}\\
{20}\end{bmatrix}=\begin{bmatrix}{208+143+40}\\{128+117+40}\\
{48+52+20}\end{bmatrix}=\begin{bmatrix}{391}\\{285}\\
{120}\end{bmatrix}\textrm{Modulo 27}\rightarrow{\begin{bmatrix}{13}\\{15}\\
{12}\end{bmatrix}}\rightarrow{NOM}\\C^1P4=\begin{bmatrix}{13}&{11}&{2}\\
{8}&{9}&{2}\\{3}&{4}&{1}\end{bmatrix}\begin{bmatrix}{24}\\{25}\\
{21}\end{bmatrix}=\begin{bmatrix}{312+275+42}\\{192+225+42}\\
{72+100+21}\end{bmatrix}=\begin{bmatrix}{629}\\{459}\\
{19.}\end{bmatrix}\textrm{Modulo 27}\rightarrow{\begin{bmatrix}{8}\\{0}\\
{4}\end{bmatrix}}\rightarrow{IAE}\\C^1P5=\begin{bmatrix}{13}&{11}&{2}\\{8}&{9}&{2}\\
{3}&{4}&{1}\end{bmatrix}\begin{bmatrix}{8}\\{6}\\{19}\end{bmatrix}=\begin{bmatrix}
{104+66+38}\\{64+54+38}\\{24+24+19}\end{bmatrix}=\begin{bmatrix}{208}\\{156}\\
{67}\end{bmatrix}\textrm{Modulo 27}\rightarrow{\begin{bmatrix}{19}\\{21}\\
{13}\end{bmatrix}}\rightarrow{SUN}\\C^1P6=\begin{bmatrix}{13}&{11}&{2}\\
{8}&{9}&{2}\\{3}&{4}&{1}\end{bmatrix}\begin{bmatrix}{23}\\{22}\\
{13}\end{bmatrix}=\begin{bmatrix}{299+242+26}\\{184+198+26}\\
{69+88+13}\end{bmatrix}=\begin{bmatrix}{567}\\{408}\\

{170}\end{bmatrix}\textrm{Modulo 27}\rightarrow{\begin{bmatrix}{0}\\{3}\\