Math 2.0

statement theorem

Law of quadratic reciprocity

Statement

Let pp and qq be distinct odd primes. Then (pq)(qp)=(−1)p−12⋅q−12,\left(\frac{p}{q}\right) \left(\frac{q}{p}\right) = (-1)^{\frac{p-1}{2} \cdot \frac{q-1}{2}}, where the symbols are Legendre symbols.

Remarks

So (pq)=(qp)\left(\frac{p}{q}\right) = \left(\frac{q}{p}\right) unless p≡q≡3(mod4)p \equiv q \equiv 3 \pmod 4. In that case (pq)=−(qp)\left(\frac{p}{q}\right) = -\left(\frac{q}{p}\right). For example, (73)=(13)=1\left(\frac{7}{3}\right) = \left(\frac{1}{3}\right) = 1, and 3≡7≡3(mod4)3 \equiv 7 \equiv 3 \pmod 4. So (37)=−1\left(\frac{3}{7}\right) = -1. With the first supplement, the second supplement and multiplicativity, the law computes every Legendre symbol.

History

Euler and Legendre conjectured the law. Gauss first proved it in 1796, and he published proofs in his Disquisitiones Arithmeticae of 1801. Gauss called it the fundamental theorem.

Explanations

L1 human

The law connects two questions: is pp a square modulo qq, and is qq a square modulo pp? The answers are the same, except when both primes leave remainder 33 on division by 44. Then the answers are opposite. This lets you swap and reduce the numbers, as in the Euclidean algorithm.

What this node needs for W2
  • edge about out: the concepts that the statement is about (0 of 1)
  • edge proves in: at least one proof node (0 of 1)
  • edge instance_of or illustrates in: one example that shows the statement at work (0 of 1)
  • explanation L2 (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What this needs

To read this node, read these 10 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Divisibility definition
  2. Congruence modulo n definition
  3. Prime number definition
  4. Quadratic residue definition
  5. Fermat's little theorem statement
  6. Legendre symbol definition
  7. Second supplement to quadratic reciprocity statement
  8. Euler's criterion statement
  9. First supplement to quadratic reciprocity statement
  10. Law of quadratic reciprocity statement

What depends on this

1 node uses this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Quadratic_reciprocity, Statement of the theorem
  2. Web https://en.wikipedia.org/wiki/Quadratic_reciprocity, History and alternative statements