ELI5: Explain Like I'm 5

Class number formula

Class numbers are a way to measure the complexity of a type of whole number called a quadratic integer. The class number formula is a way to calculate the class number, so you don't have to count all the quadratic integers by hand.

To understand what a quadratic integer is, let's start with regular integers. An integer is like a number on a number line that you can count with, like 1, 2, 3, etc. A quadratic integer is like a number on a different number line, called the complex plane. This number line has two parts, a real part (like the regular number line) and an imaginary part (like the regular number line but with numbers called "imaginary" because they involve the square root of -1).

A quadratic integer is a number that can be written in the form a + bi, where a and b are integers. So, for example, 3 + 2i is a quadratic integer, but 3.5 + i is not.

Now, imagine you have a quadratic equation like x^2 - 2x + 1 = 0. If you solve this equation for x, you get x = 1 (there's only one solution). But what if you try to solve the equation x^2 + 1 = 0? This equation has no solution on the regular number line, because the square of any real number is always positive. But if you introduce the imaginary unit i, you can come up with a solution: x = i or x = -i. These are the two square roots of -1.

So, when you're working with quadratic integers, you're dealing with these types of equations where the solutions involve an imaginary number. A key feature of quadratic integers is that they follow certain rules when you add, multiply, or divide them. For example, 3 + 2i and 1 - i can be added together to get 4 + i. Multiplication is a bit more tricky, but it also follows some rules that are different from regular integer multiplication.

The class number formula is a way to count the number of "classes" of quadratic integers with a certain property. The property in question is related to something called the "discriminant" of a quadratic integer, which is a number that can be calculated from the coefficients of the quadratic equation (like the x^2 + 1 = 0 example above). Without going into too much detail, the discriminant tells you whether the quadratic integer is a "good" or "bad" one.

The class number formula says that the number of classes of quadratic integers with a given discriminant can be calculated using a series of complicated equations that involve prime numbers, logarithms, and other mathy stuff. The formula is a way to save time if you're trying to count all the classes of quadratic integers, because you don't have to actually find all the quadratic integers and manually group them into classes. Instead, you can just plug in the discriminant and get the answer.

Overall, the class number formula is a way to make it easier to work with quadratic integers, which are a type of number that involves imaginary numbers and different rules for addition, multiplication, and division. By using the class number formula, you can calculate the number of classes of quadratic integers with a specific property without having to do all the math by hand, which can save a lot of time if you're dealing with large numbers.
Related topics others have asked about: