3.3: Congruencias lineales
- Page ID
- 114971
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)Debido a que las congruencias son análogas a las ecuaciones, es natural preguntar por soluciones de ecuaciones lineales. En esta sección, vamos a discutir congruencias lineales de una variable y sus soluciones. Comenzamos definiendo congruencias lineales.
Una congruencia de la forma\(ax\equiv b(mod\ m)\) donde\(x\) es un entero desconocido se llama congruencia lineal en una variable.
Es importante saber que si\(x_0\) es una solución para una congruencia lineal, entonces todos los enteros\(x_i\) tales que\(x_i\equiv x_0 (mod \ m)\) son soluciones de la congruencia lineal. Observe también que\(ax\equiv b (mod\ m)\) es equivalente a una ecuación Diofantina lineal es decir, existe\(y\) tal que\(ax-my=b\). Ahora probamos teoremas sobre las soluciones de congruencias lineales.
Dejar\(a,b\) y\(m\) ser enteros tales que\(m>0\) y dejar\(c=(a,m)\). Si\(c\) no divide\(b\), entonces la congruencia no\(ax\equiv b(mod \ m)\) tiene soluciones. Si\(c\mid b\), entonces\[ax\equiv b(mod \ m)\] tiene exactamente\(c\) incongruentes soluciones modulo\(m\).
Como mencionamos anteriormente,\(ax\equiv b(mod \ m)\) es equivalente a\(ax-my=b\). Por el Teorema 19 sobre ecuaciones diofantinas, sabemos que si\(c\) no divide\(b\), entonces la ecuación, no\(ax-my=b\) tiene soluciones. Observe también que si\(c\mid b\), entonces hay infinitamente muchas soluciones cuya variable\(x\) viene dada por\[x=x_0+(m/c)t\] Así los valores anteriores de\(x\) son soluciones de la congruencia\(ax\equiv b(mod \ m)\). Ahora tenemos que determinar el número de soluciones incongruentes que tenemos. Supongamos que dos soluciones son congruentes, es decir\[x_0+(m/c)t_1\equiv x_0+(m/c)t_2(mod \ m).\] Así obtenemos\[(m/c)t_1\equiv (m/c)t_2(mod \ m).\] Ahora notamos eso\((m,m/c)=m/c\) y\[t_1\equiv t_2(mod \ c).\] así obtenemos un conjunto de soluciones incongruentes dadas por\(x=x_0+(m/c)t\), donde\(t\) se toma modulo\(c\).
Observe que si\(c=(a,m)=1\), entonces hay una solución única módulo m para la ecuación\(ax\equiv b(mod \ m)\).
Encontremos todas las soluciones de la congruencia\(3x\equiv 12 (mod \ 6)\). Observe que\((3,6)=3\) y\(3\mid 12\). Así hay tres soluciones incongruentes módulo\(6\). Utilizamos el algoritmo euclidiano para encontrar la solución de la ecuación\(3x-6y=12\) como se describe en el capítulo 2. Como resultado, obtenemos\(x_0=6\). Así las tres soluciones incongruentes están dadas por\(x_1=6(mod \ 6)\),\(x_1=6+2=2(mod \ 6)\) y\(x_2=6+4=4(mod \ 6)\).
Como mencionamos anteriormente en la observación 2, la congruencia\(ax\equiv b(mod \ m)\) tiene una solución única si\((a,m)=1\). Esto nos permitirá hablar de inversos modulares.
Una solución para la congruencia\(ax\equiv 1 (mod\ m)\) para\((a,m)=1\) se llama el inverso modular de\(a\) módulo m. Denotamos tal solución por\(\bar{a}\).
El inverso modular de 7 módulo 48 es 7. Observe que una solución para\(7x\equiv 1(mod \ 48)\) es\(x\equiv 7 (mod \ 48)\).
Ejercicios
- Encuentra todas las soluciones de\(3x\equiv 6(mod \ 9)\).
- Encuentra todas las soluciones de\(3x\equiv 2(mod \ 7)\).
- Encuentra un módulo inverso 13 de 2 y de 11.
- Mostrar que si\(\bar{a}\) es la inversa de\(a\) módulo\(m\) y\(\bar{b}\) es la inversa de\(b\) módulo\(m\), entonces\(\bar{a}\bar{b}\) es la inversa de\(ab\) módulo\(m\).