Quadratic Residues: Explanation & Modulo Odd Prime Number

  • Thread starter Thread starter moriheru
  • Start date Start date
  • Tags Tags
    Quadratic
AI Thread Summary
Every integer is a quadratic residue modulo 2, as both 0 and 1 yield solutions to the congruence x^2 ≡ a (mod 2). For an odd prime number p, there are (p + 1)/2 quadratic residues and (p - 1)/2 nonresidues, indicating the distribution of integers that can be expressed as squares modulo p. For example, with p = 7, the quadratic residues are 0, 1, 2, and 4, while the nonresidues are 3, 5, and 6. The discussion highlights the importance of understanding the nature of quadratic residues and provides a reference to a proof for further clarification. This foundational concept is crucial in number theory and has implications in various mathematical applications.
moriheru
Messages
273
Reaction score
17
This may be a bit vague but can anyone explain this sentence to me
http://en.wikipedia.org/wiki/Quadratic_residue:"Modulo 2, every integer is a quadratic residue.

Modulo an odd prime number p there are (p + 1)/2 residues (including 0) and (p − 1)/2 nonresidues."

If this is to vague I apologize.
 
Mathematics news on Phys.org
As in the link above, an integer a is a quadratic residue modulo p if it's congruent to a square mod p. In other words, the congruence x^2 \equiv a \text{ }\left( \text{mod } p \right) has a solution. Some like to add that a needs to be invertible, since 0 is trivially a quadratic residue. The first line says that every integer a satisfies the congruence x^2 \equiv a \text{ }\left( \text{mod } 2 \right). This isn't surprising: if a is 0 or 1 modulo 2, there will always be a solution (just take x to be 0 or 1 respectively).

The second line is saying that the congruence x^2 \equiv a \text{ }\left( \text{mod } p \right) for p ≠ 2 has \frac{p+1}{2} integer values of a for which that congruence holds, and \frac{p-1}{2} integer values of a for which it doesn't.

For example, take p = 7. The squares mod 7 are 0, 1, 2, 4, so the quadratic residues mod 7 are 0, 1, 2 and 4. The quadratic non-residues are 3, 5 and 6, because you can't find an integer that squares to give 3, 5 or 6, modulo 7.
 
  • Like
Likes moriheru
Thanks but how does one get to the p/2-1/2?
 
There is a nice proof on the first page of this document -- see Proposition 1.2.
 
  • Like
Likes moriheru
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top