ArticleslgStudy

science

Binary quadratic form

Binary quadratic form is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Binary quadratic form rather than just read about it. In short: In mathematics, an integral binary quadratic form, also called simply a binary quadratic form, is a quadratic homogeneous polynomial in two variables x and y: q(x,y)=ax2+bxy+cy2, where a, b, c are integer valued coefficients. More general binary quadratic forms can be defined.

Key takeaways

  • Binary quadratic form belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Binary quadratic form to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Binary quadratic form from memory before moving on to harder problems.

Reference excerpt

In mathematics, an integral binary quadratic form, also called simply a binary quadratic form, is a quadratic homogeneous polynomial in two variables x and y:

q(x,y)=ax2+bxy+cy2, where a, b, c are integer valued coefficients. More general binary quadratic forms can be defined. Historically, the integral form was driving force behind the development of algebraic number theory. Since the late nineteenth century, binary quadratic forms have given up their preeminence in algebraic number theory to quadratic fields and more general number fields, but advances specific to binary quadratic forms still occur on occasion. Pierre Fermat stated that if p is an odd prime then the equation p=x2+y2 has a solution iff p≡1(mod4), and he made similar statements about the equations p=x2+2y2, p=x2+3y2, p=x2−2y2 and p=x2−3y2. In addition, x2+y2,x2+2y2,x2−3y2 and so on are quadratic forms, and the theory of quadratic forms gives a unified way of looking at and proving these theorems. Another instance of quadratic forms is Pell's equation x2−ny2=1. Binary quadratic forms are closely related to ideals in quadratic fields. This allows the class number of a quadratic field to be calculated by counting the number of reduced binary quadratic forms of a given discriminant. The classical theta function of 2 variables is ∑(m,n)∈ℤ2qm2+n2, if f(x,y) is a positive definite quadratic form then ∑(m,n)∈ℤ2qf(m,n) is a theta function.

Equivalence Two forms f and g are called equivalent if there exist integers α,β,γ, and δ such that the following conditions hold:

f(αx+βy,γx+δy)=g(x,y),αδ−βγ=1. For example, with f=x2+4xy+2y2 and α=−3, β=2, γ=1, and δ=−1, we find that f is equivalent to g=(−3x+2y)2+4(−3x+2y)(x−y)+2(x−y)2, which simplifies to −x2+4xy−2y2. The above equivalence conditions define an equivalence relation on the set of integral quadratic forms. It follows that the quadratic forms are partitioned into equivalence classes, called classes of quadratic forms. A class invariant can mean either a function defined on equivalence classes of forms or a property shared by all forms in the same class. Lagrange used a different notion of equivalence, in which the second condition is replaced by αδ−βγ=±1. Since Gauss it has been recognized that this definition is inferior to that given above. If there is a need to distinguish, sometimes forms are called properly equivalent using the definition above and improperly equivalent if they are equivalent in Lagrange's sense. In matrix terminology, which is used occasionally below, when

(αβγδ) has integer entries and determinant 1, the map f(x,y)↦f(αx+βy,γx+δy) is a (right) group action of SL2(ℤ) on the set of binary quadratic forms. The equivalence relation above then arises from the general theory of group actions. If f=ax2+bxy+cy2, then important invariants include

The discriminant Δ=b2−4ac. The content, equal to the greatest common divisor of a, b, and c. Terminology has arisen for classifying classes and their forms in terms of their invariants. A form of discriminant Δ is definite if Δ<0, degenerate if Δ is a perfect square, and indefinite otherwise. A form is primitive if its content is 1, that is, if its coefficients are coprime. If a form's discriminant is a fundamental discriminant, then the form is primitive. Discriminants satisfy Δ≡0,1(mod4).

Automorphisms If f is a quadratic form, a matrix

(αβγδ) in SL2(ℤ) is an automorphism of f if f(αx+βy,γx+δy)=f(x,y). For example, the matrix

(3−4−23) is an automorphism of the form f=x2−2y2. The automorphisms of a form are a subgroup of SL2(ℤ). When f is definite, the group is finite, and when f is indefinite, it is infinite and cyclic.

Representation A binary quadratic form q(x,y) represents an integer n if it is possible to find integers x and y satisfying the equation n=q(x,y). Such an equation is a representation of n by q.

Examples Diophantus considered whether, for an odd integer n, it is possible to find integers x and y for which n=x2+y2. When n=65, we have

65=12+82,65=42+72, so we find pairs (x,y)=(1,8) and (4,7) that do the trick. We obtain more pairs that work by switching the values of x and y and/or by changing the sign of one or both of x and y. In all, there are sixteen different solution pairs. On the other hand, when n=3, the equation

3=x2+y2 does not have integer solutions. To see why, we note that x2≥4 unless x=−1,0 or 1. Thus, x2+y2 will exceed 3 unless (x,y) is one of the nine pairs with x and y each equal to −1,0 or 1. We can check these nine pairs directly to see that none of them satisfies 3=x2+y2, so the equation does not have integer solutions. A similar argument shows that for each n, the equation n=x2+y2 can have only a finite number of solutions since x2+y2 will exceed n unless the absolute values |x| and |y| are both less than n. There are only a finite number of pairs satisfying this constraint. Another ancient problem involving quadratic forms asks us to solve Pell's equation. For instance, we may seek integers x and y so that 1=x2−2y2. Changing signs of x and y in a solution gives another solution, so it is enough to seek just solutions in positive integers. One solution is (x,y)=(3,2), that is, there is an equality 1=32−2⋅22. If (x,y) is any solution to 1=x2−2y2, then (3x+4y,2x+3y) is another such pair. For instance, from the pair (3,2), we compute

(3⋅3+4⋅2,2⋅3+3⋅2)=(17,12), and we can check that this satisfies 1=172−2⋅122. Iterating this process, we find further pairs (x,y) with 1=x2−2y2:

(3⋅17+4⋅12,2⋅17+3⋅12)=(99,70),(3⋅99+4⋅70,2⋅99+3⋅70)=(577,408),⋮ These values will keep growing in size, so we see there are infinitely many ways to represent 1 by the form x2−2y2. This recursive description was discussed in Theon of Smyrna's commentary on Euclid's Elements.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Binary quadratic form

Start with the simplest possible case. Write down what Binary quadratic form claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Binary quadratic form before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Binary quadratic form ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Binary quadratic form

In research
Binary quadratic form appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Binary quadratic form in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Binary quadratic form is common in secondary-school and first-year university syllabi. It links to neighbouring topics Quadratic forms, so understanding it makes those chapters shorter.
In everyday life
Look for Binary quadratic form outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Binary quadratic form” →

How to study Binary quadratic form in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Binary quadratic form means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Binary quadratic form out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Binary quadratic form in simple terms?

In mathematics, an integral binary quadratic form, also called simply a binary quadratic form, is a quadratic homogeneous polynomial in two variables x and y: q(x,y)=ax2+bxy+cy2, where a, b, c are integer valued coefficients. More general binary quadratic forms can be defined.

Why does Binary quadratic form matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Binary quadratic form?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Binary quadratic form.

Tags

  • Quadratic forms

Keep exploring