Processing math: 100%
Skip to main content

Section 7.3 Congruences as Solutions to Congruences

We need to start applying these ideas more. In Section 7.1 we explored the number of solutions to x2βˆ’1≑0 (mod n) for arbitrary n. It should be clear we expect at least two solutions once we move past the trivial case n=2, but why are there sometimes more?

Could we ever get a comprehensible answer to that question? Online, try the following interact to see if you find any patterns.

Since x2βˆ’1 is a polynomial, our knowledge of Fact 7.2.2 suggests we should try to answer this by looking at different prime power moduli first, then multiply the answers.

The key idea we will use is this. For a prime p,

p∣x2βˆ’1=(xβˆ’1)(x+1) implies x≑±1 (mod p).

More generally, pe∣(xβˆ’1)(x+1) implies p divides xβˆ’1 or x+1. So we should just look at various pe.

If p is odd (and hence greater than two), the two possibilities p∣xβˆ’1 and p∣x+1 are mutually exclusive, so all the factors of p in pe divide the same factor of x2βˆ’1. So pe∣(x+1) or pe∣(xβˆ’1) are the only possibilities (x≑[Β±1]) and there are two solutions.

However, if p=2 then 2∣xβˆ’1 and 2∣x+1 is definitely possible, so there could be more than two solutions. We examine three cases.

  • We know that Β±1 are still the only solutions modulo 22 and 21. In the latter case +1β‰‘βˆ’1, so then there is actually only one solution.

  • However, modulo 23 it's possible that 2∣(x+1) and 22∣(xβˆ’1), or vice versa, so that 22Β±1=3,5 are also solutions to the congruence.

  • When the modulus is a higher power of 2 this sort of thing can happen, too. For instance, one could have 2∣(x+1) and 24∣(xβˆ’1). However, it's not possible that 22∣(x+1) and 23∣(xβˆ’1) because numbers two apart can't both be divisible by four. So the only other possibility is that 2∣(x+1) and 2eβˆ’1∣(xβˆ’1), or vice versa, which is a total of four solutions.

That means we get a very intriguing answer.

What does this have to do with the title of this section? Let's recast the result.

This is only the first of many such results.