<?xml version="1.0" encoding="UTF-8"?>

<record version="28" id="5894">
 <title>formal congruence</title>
 <name>PolynomialCongruence</name>
 <created>2004-06-06 08:24:21</created>
 <modified>2009-05-26 19:59:43</modified>
 <type>Definition</type>
<parent id="101">congruence</parent>
 <creator id="2872" name="pahio"/>
 <author id="2872" name="pahio"/>
 <classification>
	<category scheme="msc" code="11A07"/>
	<category scheme="msc" code="11C08"/>
 </classification>
 <defines>
	<concept>formally congruent</concept>
	<concept>identical congruence</concept>
 </defines>
 <synonyms>
	<synonym concept="formal congruence" alias="polynomial congruence"/>
 </synonyms>
 <related>
	<object name="CongruenceRelationOnAnAlgebraicSystem"/>
	<object name="APolynomialOfDegreeNOverAFieldHasAtMostNRoots"/>
	<object name="IdealDecompositionInDedekindDomain"/>
	<object name="ExampleOfGcd"/>
	<object name="FermatsLittleTheorem"/>
	<object name="WilsonsTheorem"/>
	<object name="FreshmansDream"/>
	<object name="UsingPrimitiveRootsAndIndexToSolveCongruences"/>
	<object name="SufficientConditionOfPolynomialCongruence"/>
 </related>
 <keywords>
	<term>congruence</term>
	<term>congruent</term>
 </keywords>
 <preamble>% this is the default PlanetMath preamble.  as your knowledge
% of TeX increases, you will probably want to edit this, but
% it should be fine as is for beginners.

% almost certainly you want these
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}

% used for TeXing text within eps files
%\usepackage{psfrag}
% need this for including graphics (\includegraphics)
%\usepackage{graphicx}
% for neatly defining theorems and propositions
%\usepackage{amsthm}
% making logically defined graphics
%\usepackage{xypic}

% there are many more packages, add them here as you need them

% define commands here</preamble>
 <content>Let $m$ be a positive integer.\, Two polynomials \,$f(X_1,\,X_2,\,\ldots,\,X_n)$\, and\, $g(X_1,\,X_2,\,\ldots,\,X_n)$\, with integer coefficients are said to be \emph{formally congruent} modulo $m$, denoted
\begin{align}
f(X_1,\,X_2,\,\ldots,\,X_n) \;\underline{\equiv}\;g(X_1,\,X_2,\,\ldots,\,X_n) \pmod{m},
\end{align}
iff all coefficients of the difference polynomial\, $f\!-\!g$\, are divisible by $m$.\\

\textbf{Remark 1.}\, The formal congruence of polynomials is an equivalence relation in the set\, 
$\mathbb{Z}[X_1,\,X_2,\,\ldots,\,X_n]$.\\

\textbf{Remark 2.}\, The formal congruence (1) implies that all integers substituted for the variables satisfy it, in other words, one can speak of an \emph{identical congruence}.\, However, there are identical congruences that are not formal congruences; e.g.
$$X^{p} \;\equiv\; X \pmod{p}$$
where $p$ is a positive prime.\\

\textbf{Examples}
\begin{enumerate}

 \item $(X\!+\!Y)^p \;\underline{\equiv}\; X^p\!+\!Y^p \pmod{p}$\, when $p$ is a positive prime number.\, This result is easily proved with the binomial theorem (cp. the freshman's dream) and may be by induction generalized to
   $$(X_1\!+\!X_2\!+\ldots+\!X_n)^p \;\underline{\equiv}\; X_1^p\!+\!X_2^p\!+\ldots+\!X_n^p \pmod{p}.$$
If one substitutes in this formal congruence 1 for all $X_1$, $X_2$, \ldots, $X_n$, one obtains the congruence
           $$n^p \;\equiv\; n \pmod p;$$
\PMlinkescapetext{similar} substitution of $-1$ shows that the last congruence is valid also for negative integers $n$.\, If it is supposed that $p$ is not factor of $n$, we have got the Fermat's little theorem.

 \item Let $p$ be a positive prime number.\, It is possible that the $n^\mathrm{th}$ degree congruence
   $$P(x) \;:=\; a_0x^n\!+\!a_1x^{n-1}\!+\ldots+\!a_n \;\equiv\; 0 \pmod{p},$$
where\, $a_i \in \mathbb{Z} \,\, \forall i$\, and\, $p \nmid a_0$,\, has $n$ modulo $p$ incongruent roots\, $x = x_1,\,x_2,\,\ldots,\,x_n$.\, We then have the formal congruence
  $$P(x) \;\underline{\equiv}\; a_0(x\!-\!x_1)(x\!-\!x_2)\cdots(x\!-\!x_n) \pmod{p}.$$
Especially, we have
  $$x^{p-1}\!-\!1 \;\underline{\equiv}\; (x\!-\!1)(x\!-\!2)\cdots(x\!-\!p\!+\!1) \pmod{p},$$
because Fermat's little theorem guarantees the roots\, $x = 1,\,2,\,\ldots,\,p\!-\!1$\, for the congruence\, 
$x^{p-1}\!-\!1 \equiv 0 \pmod{p}$.\, If the value\, $x = 0$\, is substituted in the previous formal congruence, it gives
  $$-1 \equiv (-1)^{p-1}(p\!-\!1)! \pmod{p}$$
or 
  $$(p\!-\!1)! \;\equiv\; -1 \pmod{p},$$
which is half of Wilson's theorem.\, The reverse part of this theorem follows from the last congruence so that if $p$ were not prime, then the number $-1$ would be divisible by any proper divisor of $p$.
\end{enumerate}</content>
</record>
