1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
igor_vitrenko [27]
3 years ago
8

Find two positive nontrivial solutions of x^2-Ny^2=1 when N is 15, 7, or 99

Mathematics
2 answers:
Pavel [41]3 years ago
8 0

Hello,


if n=15: (4,1),(31,8),(244,63)


if n=7: (8,3),(127,48),(2024,765)


if n=99: (10,1),(199,20),(3970,399)


(Pell 's equation)


Download xls
KengaRu [80]3 years ago
3 0

The solutions to the Pell equation

... x^2 -N·y^2 = ±1

are (x, y) = (p, q) where p/q are alternate convergents‡ of the continued fraction of √N.


The continued fractions for √15 and √99 can be written as

... √15 = 3 + 1/(1 + 1/(6 + 1/(1 + 1/(6 + 1/...))))

or, more compactly, as {3, {1, 6}};

and

... √99 = 9 + 1/(1 + 1/(18 + 1/(1 + 1/(18 + 1/...))))

or, more compactly, as {9, {1, 18}}.


The compact form of the continued fraction for √7 is {2, {1, 1, 1, 4}}.


In all cases, the continued fraction terms of a square root repeat after some finite-length sequence. In the compact form, the repeating sequence is shown in curly brackets. This permits the convergents to be defined recursively.


Successive convergents of the square root are p[k]/q[k], where

... p[k] = a[k]·p[k-1] +p[k-2] . . . . where p[-1]=0, p[0]=1

... q[k] = a[k]·q[k-1] +q[k-2] . . . . where q[-1]=1, q[0]=0

and the a[k] are written in the compact form as {a[1], {a[2], a[3], ...}}


For the given numbers N, the (x, y) values that are solutions to the given equation can be defined recursively quite nicely. The same recursive equation (written here as pq[ ]) is used for both p and q (as above), but with different initial conditions for p than for q.


For N=15, we can write

... pq[k] = 8·pq[k-1] - pq[k-2] . . . . . {p[-1], p[0]} = {4, 1} . . . {q[-1], q[0]} = {-1, 0}

so {x, y} = {4, 1}, {31, 8}, {244, 63}, {1921, 496}, ...


For N=99, we can write

... pq[k] = 20·pq[k-1] - pq[k-2] . . . . . {p[-1], p[0]} = {10, 1} . . . {q[-1], q[0]} = {-1, 0}

so {x, y} = {10, 1}, {199, 20}, {3970, 399}, {79201, 7960}, ...


For N=7, we can write

... pq[k] = 16·pq[k-1] - pq[k-2] . . . . . {p[-1], p[0]} = {8, 1} . . . {q[-1], q[0]} = {-3, 0}

so {x, y} = {8, 3}, {127, 48}, {2024, 765}, {32257, 12192}, ...


_____

‡ Convergents alternate between being larger than the square root and smaller than the square root. However, when there are more than 2 values in the repeating sequence of the continued fraction, the convergents that result in a solution to the Pell equation may be farther apart than every other convergent. For N=7, every 4th convergent gives a solution.

You might be interested in
A cylinder has a volume 1200 cubic inches and radius 5 inches. What is the height of the cone to the nearest tenth inch
mihalych1998 [28]

Answer: 15.3 in

Step-by-step explanation:

First, the formula for the volume is: V=\pi r^2h

If you solve for h,

h=\frac{V}{\pi r^2}

h=\frac{1200in^3}{(3.14)(5in)^2}

h=15.3in

3 0
3 years ago
Which of the angles in the figure are supplementary to 7?
ira [324]
Number D is the correct answer I think
3 0
3 years ago
Please help me with this!!!
guajiro [1.7K]

Answer: 41

Step-by-step explanation:

9*(-2)*(-2) - 4*(-2) - 3 = 9*4 + 8 - 3 = 36 + 5 = 41

3 0
4 years ago
What is the value of the correlation coefficient r of the data set?
vova2212 [387]

The correlation coefficient r of the data set is <em>-0.28</em>

7 0
3 years ago
Find the measure of the unknown angle.
Tomtit [17]

Answer:

131° Degrees

Step-by-step explanation:

It's the same just put in different places

4 0
3 years ago
Read 2 more answers
Other questions:
  • I need help on this too<br><br> 2-5=<br><br> -1 - 5=
    15·2 answers
  • You see a£97 top but don't have enough money so u borrow£50 from ur mumsy and £50 from ur dad=100 you buy the top and get £3 cha
    10·1 answer
  • For f (x) = 3x +1 and g(x) = x^2-6, find (g/f)(x)
    8·1 answer
  • Image of math question below
    10·2 answers
  • What is the result if you divide -12x^8y^8 by 3x^4y^2
    6·1 answer
  • 2.5 x 13.7<br> 4.9 + 1.6<br> Write down your full calculator displ
    6·1 answer
  • Heeeeeeeellllllllllppppppppppppp plz i nned help
    13·1 answer
  • Which consumer uses the most water in the United States each year?
    11·2 answers
  • Marshall and Graham both lift a 50 lb. weight. Graham lifts his weight in 5 seconds. Marshall takes 7 seconds. Which of the foll
    8·1 answer
  • Find the area of this rectangle
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!