Share on Facebook Share on Twitter Email
Answers.com

Pell's equation

 
Sci-Tech Dictionary: Pell equation
(′pel i′kwā·zhən)

(mathematics) The diophantine equation x2 - Dy2 = 1, with D a positive integer that is not a perfect square.


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
Wikipedia: Pell's equation
Top

Pell's equation is any Diophantine equation of the form

x^2-ny^2=1\,

where n is a nonsquare integer and x and y are integers. Trivially, x = 1 and y = 0 always solve this equation. Lagrange proved that for any natural number n that is not a perfect square there are x and y > 0 that satisfy Pell's equation. Moreover, infinitely many such solutions of this equation exist. These solutions yield good rational approximations of the form x/y  to the square root of n.

The name of this equation arose from Leonhard Euler's mistakenly attributing its study to John Pell. Euler was aware of the work of Lord Brouncker, the first European mathematician to find a general solution of the equation, but apparently confused Brouncker with Pell. This equation was first studied extensively in ancient India, starting with Brahmagupta, who developed the chakravala method to solve Pell's equation and other quadratic indeterminate equations in his Brahma Sphuta Siddhanta in 628, about a thousand years before Pell's time. His Brahma Sphuta Siddhanta was translated into Arabic in 773 and was subsequently translated into Latin in 1126. Bhaskara II in the 12th century and Narayana in the 14th century both found general solutions to Pell's equation and other quadratic indeterminate equations. Solutions to specific examples of the Pell equation, such as the Pell numbers arising from the equation with n = 2, had been known for much longer, since the time of Pythagoras in Greece and to a similar date in India.

For a more detailed discussion of much of the material here, see Lenstra (2002) and Barbeau (2003).

Contents

History

Pell's equations were studied as early as 400 BC in India and Greece. They were mainly interested in the equation

 x^2 - 2y^2=1 \,

because of its connection to the square root of two. Indeed, if x and y are integers satisfying this equation, then x / y is an approximation of √2. For example, Baudhayana discovered that x = 17, y = 12 and x = 577, y = 408 are two solutions to the Pell equation, and give very close approximations to the square root of two.

Later, Archimedes used a similar equation to approximate the square root of 3, and found 1351/780.

Around AD 250, Diophantus created a different form of the Pell equation

 a^2 x^2+c=y^2. \,

He solved this equation for a = 1, and c = −1, 1, and 12, and also solved for a = 3 and c = 9.

Brahmagupta created a general way to solve Pell's equation known as the chakravala method. Alkarkhi worked on similar problems to Diophantus, and Bhāskara I created a way to create new solutions to Pell equations from one solution. E. Strachey published the work of Bhāskara I into English in 1813.

The general theory of Pell's equation, based on continued fractions and algebraic manipulations with numbers of the form P+Q\sqrt{a}, was developed by Lagrange in 1766–1769.[1]

Solution technique

Let \tfrac{h_i}{k_i} denote the sequence of convergents to the continued fraction for \scriptstyle\sqrt{n}. Then the pair (x1,y1) solving Pell's equation and minimizing x satisfies x1 = hi and y1 = ki for some i. This pair is called the fundamental solution. Thus, the fundamental solution may be found by performing the continued fraction expansion and testing each successive convergent until a solution to Pell's equation is found.

Once the fundamental solution is found, all remaining solutions may be calculated algebraically as

x_i + y_i\sqrt n = (x_1 + y_1\sqrt n)^i.

Equivalently, we may calculate subsequent solutions via the recurrence relations

\displaystyle x_{i+1} = x_1 x_i + n y_1 y_i,
\displaystyle y_{i+1} = x_1 y_i + y_1 x_i.

An alternative method to solving, once finding the first non-trivial solution, one could take the original equation x2ny2 = 1 and factor the left hand side as a difference of squares, yielding (x + y\sqrt n)(x - y\sqrt n) = 1. Once in this form, one can simply raise each side of the equation to the ith power, and recombining the factored form to a single difference statement. The solution will be of the form (xsolution)i + n * (ysolution)i = 1.

Example

As an example, consider the instance of Pell's equation for n = 7; that is,

\displaystyle x^2 - 7 y^2 = 1.

The sequence of convergents for the square root of seven are

h / k (Convergent) h2 −7k2 (Pell-type approximation)
2 / 1 −3
3 / 1 +2
5 / 2 −3
8 / 3 +1

Therefore, the fundamental solution is formed by the pair (8, 3). Applying the recurrence formula to this solution generates the infinite sequence of solutions

(8, 3); (127, 48); (2024, 765); (32257, 12192); (514088, 194307); (8193151; 3096720); (130576328, 49353213); ...

Connection to algebraic number theory

Pell's equation is closely related to the theory of algebraic numbers, as the formula

x^2 - n y^2 = (x + y\sqrt n)(x - y\sqrt n)

is the norm for the ring \mathbb{Z}[\sqrt{n}] and for the closely related quadratic field \mathbb{Q}[\sqrt{n}]. Thus, a pair of integers (x,y) solves Pell's equation if and only if x + y \sqrt{n} is a unit with norm 1 in \mathbb{Z}[\sqrt{n}]. Dirichlet's unit theorem, that all units of \mathbb{Z}[\sqrt{n}] can be expressed as powers of a single fundamental unit (and multiplication by a sign), is an algebraic restatement of the fact that all solutions to the Pell equation can be generated from the fundamental solution. The fundamental unit can in general be found by solving a Pell-like equation but it does not always correspond directly to the fundamental solution of Pell's equation itself.

Connection to Chebyshev polynomials

Demeyer (2007) mentions a connection between Pell's equation and the Chebyshev polynomials: If Ti (x) and Ui (x) are the Chebyshev polynomials of the first and second kind, respectively, then these polynomials satisfy a form of Pell's equation in any polynomial ring R[x], with n = x2 − 1:

T_i^2 - (x^2-1) U_{i-1}^2 = 1. \,

Thus, these polynomials can be generated by the standard technique for Pell equations of taking powers of a fundamental solution:

T_i + U_{i-1} \sqrt{x^2-1} = (x + \sqrt{x^2-1})^i. \,

It may further be observed that, if (xi,yi) are the solutions to any integer Pell equation, then xi = Ti (x1) and yi = y1Ui − 1(x1) (Barbeau, chapter 3).

Pell's equation and continued fractions

A general development of solutions of Pell's equation in terms of continued fractions can be presented, as the solutions x and y are approximates to the square root of n and thus are a special case of continued fraction approximations for quadratic irrationals.

The relationship to the continued fractions implies that the solutions to Pell's equation form a semigroup subset of the modular group. Thus, for example, if p and q satisfy Pell's equation, then

\begin{pmatrix} p & q \\ nq & p \end{pmatrix}

is a matrix of unit determinant. Products of such matrices take exactly the same form, and thus all such products yield solutions to Pell's equation. This can be understood in part to arise from the fact that successive convergents of a continued fraction share the same property: If pk−1/qk−1 and pk/qk are two successive convergents of a continued fraction, then the matrix

\begin{pmatrix} p_{k-1} & p_{k} \\ q_{k-1} & q_{k} \end{pmatrix}

has determinant (−1)k.

Størmer's theorem applies Pell equations to find pairs of consecutive smooth numbers. As part of this theory, Størmer also investigated divisibility relations among solutions to Pell's equation; in particular, he showed that each solution other than the fundamental solution has a prime factor that does not divide n.

As Lenstra (2002) describes, Pell's equation can also be used to solve Archimedes' cattle problem.

The negative Pell equation

The negative Pell equation is given by

 x^2 - ny^2 = -1 \, (eq.1)

It has also been extensively studied; it can be solved by the same method of using continued fractions and will have solutions when the period of the continued fraction has odd length. However we do not know which roots have odd period lengths so we do not know when the negative Pell equation is soluble. But we can eliminate certain n since a necessary but not sufficient condition for solvability is that n is not divisible by a prime of form 4m+3. Thus, for example, x2-3py2 = -1 is never solvable, but x2-5py2 = -1 may be, such as when p = 1 or 13, though not when p = 41.

Cremona & Odoni (1989) demonstrate that the proportion of square-free n for which the negative Pell equation is soluble is at least 40%. If it does have a solution, then it can be shown that its fundamental solution leads to the fundamental one for the positive case by squaring both sides of eq.1,

 (x^2 - ny^2)^2 = (-1)^2 \,

to get,

 (x^2 + ny^2)^2 - n(2xy)^2 = 1 \,

Or, since ny2 = x2+1 from eq.1, then,

 (2x^2 + 1)^2 - n(2xy)^2 = 1 \,

showing that fundamental solutions to the positive case are bigger than those for the negative case.

Transformations

I. The related equation,

 u^2 - dv^2 = \pm 2 \, (eq.2)

can be used to find solutions to the positive Pell equation for certain d. Legendre proved that all primes of form d = 4m+3 solve one case of eq.2, with the form 8m+3 solving the negative, and 8m+7 for the positive. Their fundamental solution then leads to the one for x2-dy2 = 1. This can be shown by squaring both sides of eq.2,

 (u^2 - dv^2)^2 = (\pm 2)^2 \,

to get,

 (u^2 + dv^2)^2 - d(2uv)^2 = 4 \,

Since  dv^2 = u^2 \mp 2 from eq.2, then,

 (2u^2 \mp 2)^2 - d(2uv)^2 = 4 \,

or simply,

 (u^2 \mp 1)^2 - d(uv)^2 = 1 \,

showing that fundamental solutions to eq.2 are smaller than eq.1. For example, u2-3v2 = -2 is {u,v} = {1,1}, so x2-3y2 = 1 has {x,y} = {2,1}. On the other hand, u2-7v2 = 2 is {u,v} = {3,1}, so x2-7y2 = 1 has {x,y} = {8,3}.

II. Another related equation,

 u^2 - dv^2 = \pm 4 \, (eq.3)

can also be used to find solutions to Pell equations for certain d, this time for the positive and negative case. For the following transformations[2], if fundamental {u,v} are both odd, then it leads to fundamental {x,y}.

1. If u2-dv2 = -4, and {x,y} = {(u2+3)u/2, (u2+1)v/2}, then x2-dy2 = -1.

Ex. Let d = 13, then {u,v} = {3, 1} and {x,y} = {18, 5}.

2. If u2-dv2 = 4, and {x,y} = {(u2-3)u/2, (u2-1)v/2}, then x2-dy2 = 1.

Ex. Let d = 13, then {u,v} = {11, 3} and {x,y} = {649, 180}.

3. If u2-dv2 = -4, and {x,y} = {(u4+4u2+1)(u2+2)/2, (u2+3)(u2+1)uv/2}, then x2-dy2 = 1.

Ex. Let d = 61, then {u,v} = {39, 5} and {x,y} = {1766319049, 226153980}.

Especially for the last transformation, it can be seen how solutions to {u,v} are much smaller than {x,y}, since the latter are sextic and quintic polynomials in terms of u.

Notes

  1. ^ Solution d'un Probleme d'Arithmetique, in Oeuvres, t.1, 671–732
  2. ^ A Collection Of Identities: Pell Equations

References

External links


Best of the Web: Pell's equation
Top

Some good "Pell's equation" pages on the web:


Math
mathworld.wolfram.com
 
 
 
Learn More
Year 1657 (in Science & Technology)
Brahmagupta's problem
Pell (disambiguation)

Were can you get a leather womens pelle pelle coat? Read answer...
Do federal pell grants have to be repaid? Read answer...
What can you use a federal pell grant for? Read answer...

Help us answer these
When do you get the pell grant?
What is a pell grand?
Who is bob pelle?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Pell's equation" Read more