ArticleslgStudy

mathematics

Gauss composition law

Gauss composition law is a mathematics 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 Gauss composition law rather than just read about it. In short: In mathematics, in number theory, Gauss composition law is a rule, invented by Carl Friedrich Gauss, for performing a binary operation on integral binary quadratic forms (IBQFs). Gauss presented this rule in his Disquisitiones Arithmeticae, a textbook on number theory published in 1801, in Articles 234–244.

Gauss composition law — main illustration
Gauss composition law — illustration

Key takeaways

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

Reference excerpt

In mathematics, in number theory, Gauss composition law is a rule, invented by Carl Friedrich Gauss, for performing a binary operation on integral binary quadratic forms (IBQFs). Gauss presented this rule in his Disquisitiones Arithmeticae, a textbook on number theory published in 1801, in Articles 234–244. Gauss composition law is one of the deepest results in the theory of IBQFs and Gauss's formulation of the law and the proofs its properties as given by Gauss are generally considered highly complicated and very difficult. Several later mathematicians have simplified the formulation of the composition law and have presented it in a format suitable for numerical computations. The concept has also found generalisations in several directions.

Integral binary quadratic forms An expression of the form Q(x,y)=αx2+βxy+γy2, where α,β,γ,x,y are all integers, is called an integral binary quadratic form (IBQF). The form Q(x,y) is called a primitive IBQF if α,β,γ are relatively prime. The quantity Δ=β2−4αγ is called the discriminant of the IBQF Q(x,y). An integer Δ is the discriminant of some IBQF if and only if Δ≡0,1(mod4). Δ is called a fundamental discriminant if and only if one of the following statements holds

Δ≡1(mod4) and is square-free, Δ=4m where m=2 or 3(mod4) and m is square-free. If Δ<0 and α>0 then Q(x,y) is said to be positive definite; if Δ<0 and α<0 then Q(x,y) is said to be negative definite; if Δ>0 then Q(x,y) is said to be indefinite.

Equivalence of IBQFs Two IBQFs g(x,y) and h(x,y) are said to be equivalent (or, properly equivalent) if there exist integers α, β, γ, δ such that

αδ−βγ=1 and g(αx+βy,γx+δy)=h(x,y). The notation g(x,y)∼h(x,y) is used to denote the fact that the two forms are equivalent. The relation "∼" is an equivalence relation in the set of all IBQFs. The equivalence class to which the IBQF g(x,y) belongs is denoted by [g(x,y)]. Two IBQFs g(x,y) and h(x,y) are said to be improperly equivalent if

αδ−βγ=−1 and g(αx+βy,γx+δy)=h(x,y). The relation in the set of IBQFs of being improperly equivalent is also an equivalence relation. It can be easily seen that equivalent IBQFs (properly or improperly) have the same discriminant.

Gauss's formulation of the composition law

Historical context The following identity, called Brahmagupta identity, was known to the Indian mathematician Brahmagupta (598–668) who used it to calculate successively better fractional approximations to square roots of positive integers:

(x2+Dy2)(u2+Dv2)=(xu+Dyv)2+D(xv−yu)2 Writing f(x,y)=x2+Dy2 this identity can be put in the form

f(x,y)f(u,v)=f(X,Y) where X=xu+Dyv,Y=xv−yu. Gauss's composition law of IBQFs generalises this identity to an identity of the form g(x,y)h(u,v)=F(X,Y) where g(x,y),h(x,y),F(X,Y) are all IBQFs and X,Y are linear combinations of the products xu,xv,yu,yv.

The composition law of IBQFs Consider the following IBQFs:

g(x,y)=ax2+bxy+cy2 h(x,y)=dx2+exy+fy2 F(x,y)=Ax2+Bxy+Cy2 If it is possible to find integers p,q,r,s and p′,q′,r′,s′ such that the following six numbers

pq′−qp′,pr′−rp′,ps′−sp′,qr′−rq′,qs′−sq′,rs′−sr′ have no common divisors other than ±1, and such that if we let

X=pxu+qxv+ryu+syv Y=p′xu+q′xv+r′yu+s′yv the following relation is identically satisfied

g(x,y)h(u,v)=F(X,Y), then the form F(x,y) is said to be a composite of the forms g(x,y) and h(x,y). It may be noted that the composite of two IBQFs, if it exists, is not unique.

Example Consider the following binary quadratic forms:

g(x,y)=2x2+3xy−10y2 h(x,y)=5x2+3xy−4y2 F(x,y)=10x2+3xy−2y2 Let

[p,q,r,s]=[1,0,0,2],[p′,q′,r′,s′]=[0,2,5,3] We have

pq′−qp′=2,pr′−rp′=5,ps′−sp′=3,qr′−rq′=0,qs′−sq′=4,rs′−sr′=10. These six numbers have no common divisors other than ±1. Let

X=pxu+qxv+ryu+syv=xu+2yv, Y=p′xu+q′xv+r′yu+s′yv=2xv+5yu+3yv. Then it can be verified that

g(x,y)h(u,v)=F(X,Y). Hence F(x,y) is a composite of g(x,y) and h(x,y).

An algorithm to find the composite of two IBQFs The following algorithm can be used to compute the composite of two IBQFs.

Algorithm Given the following IBQFs having the same discriminant Δ:

f1(x,y)=a1x2+b1xy+c1y2 f2(x,y)=a2x2+b2xy+c2y2 Δ=b12−4a1c1=b22−4a2c2 Compute β=b1+b22 Compute n=gcd⁡(a1,a2,β) Compute t,u,v such that a1t+a2u+βv=n Compute A=a1a2n2 Compute B=a1b2t+a2b1u+v(b1b2+Δ)/2n Compute C=B2−Δ4A Compute F(x,y)=Ax2+Bxy+Cy2 Compute X=nx1x2+(b2−B)n2a2x1y2+(b1−B)n2a1y1x2+[b1b2+Δ−B(b1+b2)]n4a1a2y1y2 Y=a1nx1y2+a2ny1x2+b1+b22ny1y2 Then F(X,Y)=f1(x1,y1)f2(x2,y2) so that F(x,y) is a composite of f1(x,y) and f2(x,y).

Properties of the composition law

Existence of the composite The composite of two IBQFs exists if and only if they have the same discriminant.

Equivalent forms and the composition law Let g(x,y),h(x,y),g′(x,y),h′(x,y) be IBQFs and let there be the following equivalences:

g(x,y)∼g′(x,y) h(x,y)∼h′(x,y) If F(x,y) is a composite of g(x,y) and h(x,y), and F′(x,y) is a composite of g′(x,y) and h′(x,y), then

F(x,y)∼F′(x,y).

A binary operation Let D be a fixed integer and consider set SD of all possible primitive IBQFs of discriminant D. Let GD be the set of equivalence classes in this set under the equivalence relation "∼". Let [g(x,y)] and [h(x,y)] be two elements of GD. Let F(x,y) be a composite of the IBQFs g(x,y) and h(x,y) in SD. Then the following equation

[g(x,y)]∘[h(x,y)]=[F(x,y)] defines a well-defined binary operation "∘" in GD.

The group GD The set GD is a finite abelian group under the binary operation ∘. The identity element in the group GD={[x2−(D/4)y2]if D≡0(mod4),[x2+xy+((1−D)/4)y2]if D≡1(mod4). The inverse of [ax2+bxy+cy2] in GD is [ax2−bxy+cy2].

Modern approach to the composition law The following sketch of the modern approach to the composition law of IBQFs is based on a monograph by Duncan A. Buell. The book may be consulted for further details and for proofs of all the statements made hereunder.

Quadratic algebraic numbers and integers Let ℤ be the set of integers. Hereafter, in this section, elements of ℤ will be referred as rational integers to distinguish them from algebraic integers to be defined below. A complex number α is called a quadratic algebraic number if it satisfies an equation of the form

ax2+bx+c=0 where a,b,c∈ℤ. α is called a quadratic algebraic integer if it satisfies an equation of the form

x2+bx+c=0 where b,c∈ℤ The quadratic algebraic numbers are numbers of the form

α=−b+ed2a where a,b,d,e∈ℤ and d has no square factors other than 1. The integer d is called the radicand of the algebraic integer α. The norm of the quadratic algebraic number α is defined as

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Gauss composition law

Start with the simplest possible case. Write down what Gauss composition law claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, 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 Gauss composition law 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 Gauss composition law 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 Gauss composition law

In research
Gauss composition law appears in mathematics 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 Gauss composition law 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
Gauss composition law is common in secondary-school and first-year university syllabi. It links to neighbouring topics Carl Friedrich Gauss, Number theory, Quadratic forms, so understanding it makes those chapters shorter.
In everyday life
Look for Gauss composition law 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 “Gauss composition law” →

How to study Gauss composition law in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gauss composition law 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 Gauss composition law out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gauss composition law in simple terms?

In mathematics, in number theory, Gauss composition law is a rule, invented by Carl Friedrich Gauss, for performing a binary operation on integral binary quadratic forms (IBQFs). Gauss presented this rule in his Disquisitiones Arithmeticae, a textbook on number theory published in 1801, in Articles…

Why does Gauss composition law matter?

Because it connects several mathematics 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 Gauss composition law?

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 Gauss composition law.

Tags

  • Carl Friedrich Gauss
  • Number theory
  • Quadratic forms

Keep exploring