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
BRAINLIEST AND 13 points plz help ASAP
aleksandrvk [35]

Answer:

its the 1st step

Step-by-step explanation:

6 0
2 years ago
Read 2 more answers
Last week, Clay wrote 4 checks for $20 each from his checking account., withdrew another $30, and finally made a deposit of $96.
Aliun [14]
(4x20)+30=$110 taken out. if he had $96 put back in, then go $110-$96, leaving a balance of -$14, or in other words, the balance dropped $14.
6 0
3 years ago
HELP ME ASAP! Will give BRAINLIEST! Please read the question THEN answer correctly! No guessing. Check all that apply.
Vesnalui [34]
It’s the third one - I tried :)
8 0
2 years ago
Pleaseeeee helpppp please
Whitepunk [10]

Answer: I dont know i am only 9 years old i will call the internet police

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
Determine the domain of the function.<br><br> f(x)=4/x^2
harkovskaia [24]
Since x can be any value as long as the denominator equals 0 (it doesn't matter if it's positive or negative), we have to figure out when x^2=0, which is when x=0. Therefore, the domain is (-inf, 0) U (0, inf) 
3 0
2 years ago
Other questions:
  • What is the solution of the equation 6x - 3 = -51?
    12·2 answers
  • Insert the parenthesis to make the equality right:630÷7÷2⋅9⋅25=125
    9·1 answer
  • Jacob has 96 books to stack on library shelves. Each shelf can hold 9 books. How many shelves will he need to stack all the book
    9·2 answers
  • Just need help with this problem
    9·1 answer
  • Here are the lowest temperatures
    15·1 answer
  • -4x = -24 what is x?
    7·1 answer
  • Find the volume of the following square pyramid. geometry hw
    12·1 answer
  • Find EF in parallelogram CDEF.
    11·1 answer
  • 3. Sophia starts a job at a restaurant. She
    12·1 answer
  • selim is ordering concrete spheres to place as barriers in the city park. the spheres cost $2 per square foot, and selim can spe
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!