Continued Fraction of $ frac7 + 2 sqrt29 + ;,sqrt2$ with coefficients in $mathbbZ[sqrt2]$

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












We can read from various sources that $mathbbQ(sqrt2)$ has class number one, and that $mathbbZ[sqrt2]$ is a Euclidean domain. However, it also has a group of units: $mathbbZ[sqrt2]^times =(1 + sqrt2)^mathbbZ$. Let's try an example:



  • $79 = (9 times 9) - 2 times (1 times 1) = (9 + sqrt2)times(9 - sqrt2)$


  • $41 = (7 times 7) - 2 times (2 times 2) = (7 + 2 sqrt2)times(7 - 2 sqrt2) $


This is just a quick way to get two relatively prime numbers in the ring of integers $mathcalO_K$. Can we get a continued fraction for the ratio of the two of them?



$$ frac7 + 2 sqrt29 + ;,sqrt2 = frac5979+
frac2579sqrt2in mathbbQ(sqrt2)$$



So now I have to qualify a bit what I mean by Eucliean algorithm. The norm $Nbig(a + b sqrt2big) = a^2 - 2b^2$. Then I guess we have



$$ y = m x + b $$



with $m in mathbbZ[sqrt2]$ and $N(b) < N(x)$. And then we iterate the Euclidean algorithm until we obtain the GCD. Hopefully that is right?




I guess we'd have to flip them:



$$ frac9 + 1 times sqrt27 + 2 times sqrt2 = frac5941 + frac941 sqrt2 approx 1 in mathbbQ(sqrt2)$$



This is a really crummy approimation. Let's try a "subtractive" Euclidean algorithm...



  • $(9 + sqrt2) - (7 + 2 sqrt2) = 2 - sqrt2 < 1 $ looks good.

  • $(9 + sqrt2) + (7 + 2 sqrt2) = 16 + 3 sqrt2$ Looks worse. $16 times 16 - 3 times 2 times 2 > 100 $.

And two other possibilities:



  • $(9 + sqrt2) - sqrt2 times(7 + 2 sqrt2) = 5 - 6 sqrt2$

  • $(9 + sqrt2) + sqrt2 times (7 + 2 sqrt2) = 13 + 8 sqrt2$

and I've started to conclude the quotient should be $m=1$. The first step could read:



$$ 9 + sqrt2 = 1 times big(7 + 2 times sqrt2big) + big( 2 - sqrt2big)$$



I have my doubts. We could have chosen another basis $mathbbZ[sqrt2] = 1 mathbbZoplus (sqrt2-1)mathbbZ$ as a $mathbbZ$-module.







share|cite|improve this question






















  • For a start, why not rationalize the denominator of $(7+2sqrt 2)/(9+sqrt 2)$ by multiplying its numerator and denominator by $9-sqrt 2;$?
    – DanielWainfleet
    Aug 28 at 15:54











  • Your concept looks correct - you should be able to just run the Euclidean algorithm to do it. (It's not immediately clear to me how you find your $m$, mind you, but I think that's only a sign that I need coffee...)
    – Steven Stadnicki
    Aug 28 at 23:28










  • @StevenStadnicki Right. what is the Euclidean algorithm here? one certainly exists. i don't think it's straightforward. just my opinion.
    – cactus314
    Aug 29 at 1:30






  • 1




    Did you look at math.stackexchange.com/questions/2524792/… (which is over in the 'related' column)? It suggests looking at an 'approximate' division of the two items, which in your case is $(9+sqrt2)/(7+2sqrt2)=59/41-(11/41)sqrt2$ as a sort of guiding principle. More generally, the set of multiples of any number in $mathbbZ[sqrt2]$ forms a lattice and it shouldn't be too hard to find the 'closest' of those multiples to your target number (though the distance in question isn't exactly 'Euclidean' in the other sense).
    – Steven Stadnicki
    Aug 29 at 5:19










  • math.SE suggests this one is related math.stackexchange.com/q/1856408/4997
    – cactus314
    Aug 29 at 13:28














up vote
1
down vote

favorite












We can read from various sources that $mathbbQ(sqrt2)$ has class number one, and that $mathbbZ[sqrt2]$ is a Euclidean domain. However, it also has a group of units: $mathbbZ[sqrt2]^times =(1 + sqrt2)^mathbbZ$. Let's try an example:



  • $79 = (9 times 9) - 2 times (1 times 1) = (9 + sqrt2)times(9 - sqrt2)$


  • $41 = (7 times 7) - 2 times (2 times 2) = (7 + 2 sqrt2)times(7 - 2 sqrt2) $


This is just a quick way to get two relatively prime numbers in the ring of integers $mathcalO_K$. Can we get a continued fraction for the ratio of the two of them?



$$ frac7 + 2 sqrt29 + ;,sqrt2 = frac5979+
frac2579sqrt2in mathbbQ(sqrt2)$$



So now I have to qualify a bit what I mean by Eucliean algorithm. The norm $Nbig(a + b sqrt2big) = a^2 - 2b^2$. Then I guess we have



$$ y = m x + b $$



with $m in mathbbZ[sqrt2]$ and $N(b) < N(x)$. And then we iterate the Euclidean algorithm until we obtain the GCD. Hopefully that is right?




I guess we'd have to flip them:



$$ frac9 + 1 times sqrt27 + 2 times sqrt2 = frac5941 + frac941 sqrt2 approx 1 in mathbbQ(sqrt2)$$



This is a really crummy approimation. Let's try a "subtractive" Euclidean algorithm...



  • $(9 + sqrt2) - (7 + 2 sqrt2) = 2 - sqrt2 < 1 $ looks good.

  • $(9 + sqrt2) + (7 + 2 sqrt2) = 16 + 3 sqrt2$ Looks worse. $16 times 16 - 3 times 2 times 2 > 100 $.

And two other possibilities:



  • $(9 + sqrt2) - sqrt2 times(7 + 2 sqrt2) = 5 - 6 sqrt2$

  • $(9 + sqrt2) + sqrt2 times (7 + 2 sqrt2) = 13 + 8 sqrt2$

and I've started to conclude the quotient should be $m=1$. The first step could read:



$$ 9 + sqrt2 = 1 times big(7 + 2 times sqrt2big) + big( 2 - sqrt2big)$$



I have my doubts. We could have chosen another basis $mathbbZ[sqrt2] = 1 mathbbZoplus (sqrt2-1)mathbbZ$ as a $mathbbZ$-module.







share|cite|improve this question






















  • For a start, why not rationalize the denominator of $(7+2sqrt 2)/(9+sqrt 2)$ by multiplying its numerator and denominator by $9-sqrt 2;$?
    – DanielWainfleet
    Aug 28 at 15:54











  • Your concept looks correct - you should be able to just run the Euclidean algorithm to do it. (It's not immediately clear to me how you find your $m$, mind you, but I think that's only a sign that I need coffee...)
    – Steven Stadnicki
    Aug 28 at 23:28










  • @StevenStadnicki Right. what is the Euclidean algorithm here? one certainly exists. i don't think it's straightforward. just my opinion.
    – cactus314
    Aug 29 at 1:30






  • 1




    Did you look at math.stackexchange.com/questions/2524792/… (which is over in the 'related' column)? It suggests looking at an 'approximate' division of the two items, which in your case is $(9+sqrt2)/(7+2sqrt2)=59/41-(11/41)sqrt2$ as a sort of guiding principle. More generally, the set of multiples of any number in $mathbbZ[sqrt2]$ forms a lattice and it shouldn't be too hard to find the 'closest' of those multiples to your target number (though the distance in question isn't exactly 'Euclidean' in the other sense).
    – Steven Stadnicki
    Aug 29 at 5:19










  • math.SE suggests this one is related math.stackexchange.com/q/1856408/4997
    – cactus314
    Aug 29 at 13:28












up vote
1
down vote

favorite









up vote
1
down vote

favorite











We can read from various sources that $mathbbQ(sqrt2)$ has class number one, and that $mathbbZ[sqrt2]$ is a Euclidean domain. However, it also has a group of units: $mathbbZ[sqrt2]^times =(1 + sqrt2)^mathbbZ$. Let's try an example:



  • $79 = (9 times 9) - 2 times (1 times 1) = (9 + sqrt2)times(9 - sqrt2)$


  • $41 = (7 times 7) - 2 times (2 times 2) = (7 + 2 sqrt2)times(7 - 2 sqrt2) $


This is just a quick way to get two relatively prime numbers in the ring of integers $mathcalO_K$. Can we get a continued fraction for the ratio of the two of them?



$$ frac7 + 2 sqrt29 + ;,sqrt2 = frac5979+
frac2579sqrt2in mathbbQ(sqrt2)$$



So now I have to qualify a bit what I mean by Eucliean algorithm. The norm $Nbig(a + b sqrt2big) = a^2 - 2b^2$. Then I guess we have



$$ y = m x + b $$



with $m in mathbbZ[sqrt2]$ and $N(b) < N(x)$. And then we iterate the Euclidean algorithm until we obtain the GCD. Hopefully that is right?




I guess we'd have to flip them:



$$ frac9 + 1 times sqrt27 + 2 times sqrt2 = frac5941 + frac941 sqrt2 approx 1 in mathbbQ(sqrt2)$$



This is a really crummy approimation. Let's try a "subtractive" Euclidean algorithm...



  • $(9 + sqrt2) - (7 + 2 sqrt2) = 2 - sqrt2 < 1 $ looks good.

  • $(9 + sqrt2) + (7 + 2 sqrt2) = 16 + 3 sqrt2$ Looks worse. $16 times 16 - 3 times 2 times 2 > 100 $.

And two other possibilities:



  • $(9 + sqrt2) - sqrt2 times(7 + 2 sqrt2) = 5 - 6 sqrt2$

  • $(9 + sqrt2) + sqrt2 times (7 + 2 sqrt2) = 13 + 8 sqrt2$

and I've started to conclude the quotient should be $m=1$. The first step could read:



$$ 9 + sqrt2 = 1 times big(7 + 2 times sqrt2big) + big( 2 - sqrt2big)$$



I have my doubts. We could have chosen another basis $mathbbZ[sqrt2] = 1 mathbbZoplus (sqrt2-1)mathbbZ$ as a $mathbbZ$-module.







share|cite|improve this question














We can read from various sources that $mathbbQ(sqrt2)$ has class number one, and that $mathbbZ[sqrt2]$ is a Euclidean domain. However, it also has a group of units: $mathbbZ[sqrt2]^times =(1 + sqrt2)^mathbbZ$. Let's try an example:



  • $79 = (9 times 9) - 2 times (1 times 1) = (9 + sqrt2)times(9 - sqrt2)$


  • $41 = (7 times 7) - 2 times (2 times 2) = (7 + 2 sqrt2)times(7 - 2 sqrt2) $


This is just a quick way to get two relatively prime numbers in the ring of integers $mathcalO_K$. Can we get a continued fraction for the ratio of the two of them?



$$ frac7 + 2 sqrt29 + ;,sqrt2 = frac5979+
frac2579sqrt2in mathbbQ(sqrt2)$$



So now I have to qualify a bit what I mean by Eucliean algorithm. The norm $Nbig(a + b sqrt2big) = a^2 - 2b^2$. Then I guess we have



$$ y = m x + b $$



with $m in mathbbZ[sqrt2]$ and $N(b) < N(x)$. And then we iterate the Euclidean algorithm until we obtain the GCD. Hopefully that is right?




I guess we'd have to flip them:



$$ frac9 + 1 times sqrt27 + 2 times sqrt2 = frac5941 + frac941 sqrt2 approx 1 in mathbbQ(sqrt2)$$



This is a really crummy approimation. Let's try a "subtractive" Euclidean algorithm...



  • $(9 + sqrt2) - (7 + 2 sqrt2) = 2 - sqrt2 < 1 $ looks good.

  • $(9 + sqrt2) + (7 + 2 sqrt2) = 16 + 3 sqrt2$ Looks worse. $16 times 16 - 3 times 2 times 2 > 100 $.

And two other possibilities:



  • $(9 + sqrt2) - sqrt2 times(7 + 2 sqrt2) = 5 - 6 sqrt2$

  • $(9 + sqrt2) + sqrt2 times (7 + 2 sqrt2) = 13 + 8 sqrt2$

and I've started to conclude the quotient should be $m=1$. The first step could read:



$$ 9 + sqrt2 = 1 times big(7 + 2 times sqrt2big) + big( 2 - sqrt2big)$$



I have my doubts. We could have chosen another basis $mathbbZ[sqrt2] = 1 mathbbZoplus (sqrt2-1)mathbbZ$ as a $mathbbZ$-module.









share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 29 at 13:26

























asked Aug 27 at 18:19









cactus314

15.1k41862




15.1k41862











  • For a start, why not rationalize the denominator of $(7+2sqrt 2)/(9+sqrt 2)$ by multiplying its numerator and denominator by $9-sqrt 2;$?
    – DanielWainfleet
    Aug 28 at 15:54











  • Your concept looks correct - you should be able to just run the Euclidean algorithm to do it. (It's not immediately clear to me how you find your $m$, mind you, but I think that's only a sign that I need coffee...)
    – Steven Stadnicki
    Aug 28 at 23:28










  • @StevenStadnicki Right. what is the Euclidean algorithm here? one certainly exists. i don't think it's straightforward. just my opinion.
    – cactus314
    Aug 29 at 1:30






  • 1




    Did you look at math.stackexchange.com/questions/2524792/… (which is over in the 'related' column)? It suggests looking at an 'approximate' division of the two items, which in your case is $(9+sqrt2)/(7+2sqrt2)=59/41-(11/41)sqrt2$ as a sort of guiding principle. More generally, the set of multiples of any number in $mathbbZ[sqrt2]$ forms a lattice and it shouldn't be too hard to find the 'closest' of those multiples to your target number (though the distance in question isn't exactly 'Euclidean' in the other sense).
    – Steven Stadnicki
    Aug 29 at 5:19










  • math.SE suggests this one is related math.stackexchange.com/q/1856408/4997
    – cactus314
    Aug 29 at 13:28
















  • For a start, why not rationalize the denominator of $(7+2sqrt 2)/(9+sqrt 2)$ by multiplying its numerator and denominator by $9-sqrt 2;$?
    – DanielWainfleet
    Aug 28 at 15:54











  • Your concept looks correct - you should be able to just run the Euclidean algorithm to do it. (It's not immediately clear to me how you find your $m$, mind you, but I think that's only a sign that I need coffee...)
    – Steven Stadnicki
    Aug 28 at 23:28










  • @StevenStadnicki Right. what is the Euclidean algorithm here? one certainly exists. i don't think it's straightforward. just my opinion.
    – cactus314
    Aug 29 at 1:30






  • 1




    Did you look at math.stackexchange.com/questions/2524792/… (which is over in the 'related' column)? It suggests looking at an 'approximate' division of the two items, which in your case is $(9+sqrt2)/(7+2sqrt2)=59/41-(11/41)sqrt2$ as a sort of guiding principle. More generally, the set of multiples of any number in $mathbbZ[sqrt2]$ forms a lattice and it shouldn't be too hard to find the 'closest' of those multiples to your target number (though the distance in question isn't exactly 'Euclidean' in the other sense).
    – Steven Stadnicki
    Aug 29 at 5:19










  • math.SE suggests this one is related math.stackexchange.com/q/1856408/4997
    – cactus314
    Aug 29 at 13:28















For a start, why not rationalize the denominator of $(7+2sqrt 2)/(9+sqrt 2)$ by multiplying its numerator and denominator by $9-sqrt 2;$?
– DanielWainfleet
Aug 28 at 15:54





For a start, why not rationalize the denominator of $(7+2sqrt 2)/(9+sqrt 2)$ by multiplying its numerator and denominator by $9-sqrt 2;$?
– DanielWainfleet
Aug 28 at 15:54













Your concept looks correct - you should be able to just run the Euclidean algorithm to do it. (It's not immediately clear to me how you find your $m$, mind you, but I think that's only a sign that I need coffee...)
– Steven Stadnicki
Aug 28 at 23:28




Your concept looks correct - you should be able to just run the Euclidean algorithm to do it. (It's not immediately clear to me how you find your $m$, mind you, but I think that's only a sign that I need coffee...)
– Steven Stadnicki
Aug 28 at 23:28












@StevenStadnicki Right. what is the Euclidean algorithm here? one certainly exists. i don't think it's straightforward. just my opinion.
– cactus314
Aug 29 at 1:30




@StevenStadnicki Right. what is the Euclidean algorithm here? one certainly exists. i don't think it's straightforward. just my opinion.
– cactus314
Aug 29 at 1:30




1




1




Did you look at math.stackexchange.com/questions/2524792/… (which is over in the 'related' column)? It suggests looking at an 'approximate' division of the two items, which in your case is $(9+sqrt2)/(7+2sqrt2)=59/41-(11/41)sqrt2$ as a sort of guiding principle. More generally, the set of multiples of any number in $mathbbZ[sqrt2]$ forms a lattice and it shouldn't be too hard to find the 'closest' of those multiples to your target number (though the distance in question isn't exactly 'Euclidean' in the other sense).
– Steven Stadnicki
Aug 29 at 5:19




Did you look at math.stackexchange.com/questions/2524792/… (which is over in the 'related' column)? It suggests looking at an 'approximate' division of the two items, which in your case is $(9+sqrt2)/(7+2sqrt2)=59/41-(11/41)sqrt2$ as a sort of guiding principle. More generally, the set of multiples of any number in $mathbbZ[sqrt2]$ forms a lattice and it shouldn't be too hard to find the 'closest' of those multiples to your target number (though the distance in question isn't exactly 'Euclidean' in the other sense).
– Steven Stadnicki
Aug 29 at 5:19












math.SE suggests this one is related math.stackexchange.com/q/1856408/4997
– cactus314
Aug 29 at 13:28




math.SE suggests this one is related math.stackexchange.com/q/1856408/4997
– cactus314
Aug 29 at 13:28















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2896499%2fcontinued-fraction-of-frac7-2-sqrt29-sqrt2-with-coefficien%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2896499%2fcontinued-fraction-of-frac7-2-sqrt29-sqrt2-with-coefficien%23new-answer', 'question_page');

);

Post as a guest













































































這個網誌中的熱門文章

How to combine Bézier curves to a surface?

Mutual Information Always Non-negative

Why am i infinitely getting the same tweet with the Twitter Search API?