How do you turn an irrational, non-transcendental number, like 1.618… back to its form of (a + sqrt(b))/c.
Looking at irrational numbers, I had an idea, as to computing square roots.
Take the golden ratio. Numerically, it's 1.618.... but I can also write it like this:
$frac{1+ sqrt{5}}{2}$
I want to figure an algorithm that can convert an irrational into the form
$frac{u+ sqrt{v}}{w}$, where $u, v, w$ are natural numbers.(If it is possible. I'm only considering square roots for the answer.)
Now if you could, I would love it if you could complete my idea.
I believe the given irrational can be a the root of a quadratic (not cubic or higher because I'm only considering square roots)
by comparing the form $frac{u+ sqrt{v}}{w}$to the quadratic equation, if i let the number say, $n = frac{u+ sqrt{v}}{w}$, i think, if i take another number say $m = frac{u- sqrt{v}}{w}$ and keeping them as the roots off the quadratic, all the coefficients will be, natural numbers. (I'm not sure if this is 100% true, but I'm confident it is).
This said algorithm is to be coded into a computer, which will take a large number of digits as the input for accuracy.
Thank you.
number-theory quadratics transcendental-numbers
|
show 4 more comments
Looking at irrational numbers, I had an idea, as to computing square roots.
Take the golden ratio. Numerically, it's 1.618.... but I can also write it like this:
$frac{1+ sqrt{5}}{2}$
I want to figure an algorithm that can convert an irrational into the form
$frac{u+ sqrt{v}}{w}$, where $u, v, w$ are natural numbers.(If it is possible. I'm only considering square roots for the answer.)
Now if you could, I would love it if you could complete my idea.
I believe the given irrational can be a the root of a quadratic (not cubic or higher because I'm only considering square roots)
by comparing the form $frac{u+ sqrt{v}}{w}$to the quadratic equation, if i let the number say, $n = frac{u+ sqrt{v}}{w}$, i think, if i take another number say $m = frac{u- sqrt{v}}{w}$ and keeping them as the roots off the quadratic, all the coefficients will be, natural numbers. (I'm not sure if this is 100% true, but I'm confident it is).
This said algorithm is to be coded into a computer, which will take a large number of digits as the input for accuracy.
Thank you.
number-theory quadratics transcendental-numbers
1
Your last sentence begins to address the central issue, how the purported irrational-but-not-transcendental number is to be input into some algorithm. In principle an infinite number of digits may be required to decide the quadratic irrational expression.
– hardmath
Dec 2 '18 at 7:09
@hardmath The way i see it, say 30 digits may not get you to (1+sqrt(5))/2 but perhaps 0.9998 + sqrt(4.999)/1.99. (Is this what you meant?) Then I could just round off the numbers.
– Anonymous
Dec 2 '18 at 7:53
I think there is the germ of a good problem here. Let me try to sketch it, and you can tell me if you are interested. Your input is a decimal expansion of limited places, so really we have an approximation problem. Any real number can be approximated as closely as we like with numbers of the form you ask about (which is true already with rational numbers, as a special case $v=0$). The best approximation has meaning if we limit the allowed sizes of $u,v,w$. So one might ask to find that best approximation subject to $0 le u,v,w le M$ for suitable positive integer $M$.
– hardmath
Dec 3 '18 at 19:19
@hardmath I'm sorry for such a late reply. I like your idea but it is incomplete I think. It's been almost a month and I don't have a solution.
– Anonymous
Dec 29 '18 at 8:44
1
Yes, you can take the 30 digits and convert it to a continued fraction, looking for evidence of repeating denominators. Your Question includes no motivation for the problem, so Readers will have little idea about what guarantees "this will work". Perhaps describing the intended application will encourage more suggestions.
– hardmath
Dec 29 '18 at 14:48
|
show 4 more comments
Looking at irrational numbers, I had an idea, as to computing square roots.
Take the golden ratio. Numerically, it's 1.618.... but I can also write it like this:
$frac{1+ sqrt{5}}{2}$
I want to figure an algorithm that can convert an irrational into the form
$frac{u+ sqrt{v}}{w}$, where $u, v, w$ are natural numbers.(If it is possible. I'm only considering square roots for the answer.)
Now if you could, I would love it if you could complete my idea.
I believe the given irrational can be a the root of a quadratic (not cubic or higher because I'm only considering square roots)
by comparing the form $frac{u+ sqrt{v}}{w}$to the quadratic equation, if i let the number say, $n = frac{u+ sqrt{v}}{w}$, i think, if i take another number say $m = frac{u- sqrt{v}}{w}$ and keeping them as the roots off the quadratic, all the coefficients will be, natural numbers. (I'm not sure if this is 100% true, but I'm confident it is).
This said algorithm is to be coded into a computer, which will take a large number of digits as the input for accuracy.
Thank you.
number-theory quadratics transcendental-numbers
Looking at irrational numbers, I had an idea, as to computing square roots.
Take the golden ratio. Numerically, it's 1.618.... but I can also write it like this:
$frac{1+ sqrt{5}}{2}$
I want to figure an algorithm that can convert an irrational into the form
$frac{u+ sqrt{v}}{w}$, where $u, v, w$ are natural numbers.(If it is possible. I'm only considering square roots for the answer.)
Now if you could, I would love it if you could complete my idea.
I believe the given irrational can be a the root of a quadratic (not cubic or higher because I'm only considering square roots)
by comparing the form $frac{u+ sqrt{v}}{w}$to the quadratic equation, if i let the number say, $n = frac{u+ sqrt{v}}{w}$, i think, if i take another number say $m = frac{u- sqrt{v}}{w}$ and keeping them as the roots off the quadratic, all the coefficients will be, natural numbers. (I'm not sure if this is 100% true, but I'm confident it is).
This said algorithm is to be coded into a computer, which will take a large number of digits as the input for accuracy.
Thank you.
number-theory quadratics transcendental-numbers
number-theory quadratics transcendental-numbers
asked Dec 2 '18 at 6:43
Anonymous
84
84
1
Your last sentence begins to address the central issue, how the purported irrational-but-not-transcendental number is to be input into some algorithm. In principle an infinite number of digits may be required to decide the quadratic irrational expression.
– hardmath
Dec 2 '18 at 7:09
@hardmath The way i see it, say 30 digits may not get you to (1+sqrt(5))/2 but perhaps 0.9998 + sqrt(4.999)/1.99. (Is this what you meant?) Then I could just round off the numbers.
– Anonymous
Dec 2 '18 at 7:53
I think there is the germ of a good problem here. Let me try to sketch it, and you can tell me if you are interested. Your input is a decimal expansion of limited places, so really we have an approximation problem. Any real number can be approximated as closely as we like with numbers of the form you ask about (which is true already with rational numbers, as a special case $v=0$). The best approximation has meaning if we limit the allowed sizes of $u,v,w$. So one might ask to find that best approximation subject to $0 le u,v,w le M$ for suitable positive integer $M$.
– hardmath
Dec 3 '18 at 19:19
@hardmath I'm sorry for such a late reply. I like your idea but it is incomplete I think. It's been almost a month and I don't have a solution.
– Anonymous
Dec 29 '18 at 8:44
1
Yes, you can take the 30 digits and convert it to a continued fraction, looking for evidence of repeating denominators. Your Question includes no motivation for the problem, so Readers will have little idea about what guarantees "this will work". Perhaps describing the intended application will encourage more suggestions.
– hardmath
Dec 29 '18 at 14:48
|
show 4 more comments
1
Your last sentence begins to address the central issue, how the purported irrational-but-not-transcendental number is to be input into some algorithm. In principle an infinite number of digits may be required to decide the quadratic irrational expression.
– hardmath
Dec 2 '18 at 7:09
@hardmath The way i see it, say 30 digits may not get you to (1+sqrt(5))/2 but perhaps 0.9998 + sqrt(4.999)/1.99. (Is this what you meant?) Then I could just round off the numbers.
– Anonymous
Dec 2 '18 at 7:53
I think there is the germ of a good problem here. Let me try to sketch it, and you can tell me if you are interested. Your input is a decimal expansion of limited places, so really we have an approximation problem. Any real number can be approximated as closely as we like with numbers of the form you ask about (which is true already with rational numbers, as a special case $v=0$). The best approximation has meaning if we limit the allowed sizes of $u,v,w$. So one might ask to find that best approximation subject to $0 le u,v,w le M$ for suitable positive integer $M$.
– hardmath
Dec 3 '18 at 19:19
@hardmath I'm sorry for such a late reply. I like your idea but it is incomplete I think. It's been almost a month and I don't have a solution.
– Anonymous
Dec 29 '18 at 8:44
1
Yes, you can take the 30 digits and convert it to a continued fraction, looking for evidence of repeating denominators. Your Question includes no motivation for the problem, so Readers will have little idea about what guarantees "this will work". Perhaps describing the intended application will encourage more suggestions.
– hardmath
Dec 29 '18 at 14:48
1
1
Your last sentence begins to address the central issue, how the purported irrational-but-not-transcendental number is to be input into some algorithm. In principle an infinite number of digits may be required to decide the quadratic irrational expression.
– hardmath
Dec 2 '18 at 7:09
Your last sentence begins to address the central issue, how the purported irrational-but-not-transcendental number is to be input into some algorithm. In principle an infinite number of digits may be required to decide the quadratic irrational expression.
– hardmath
Dec 2 '18 at 7:09
@hardmath The way i see it, say 30 digits may not get you to (1+sqrt(5))/2 but perhaps 0.9998 + sqrt(4.999)/1.99. (Is this what you meant?) Then I could just round off the numbers.
– Anonymous
Dec 2 '18 at 7:53
@hardmath The way i see it, say 30 digits may not get you to (1+sqrt(5))/2 but perhaps 0.9998 + sqrt(4.999)/1.99. (Is this what you meant?) Then I could just round off the numbers.
– Anonymous
Dec 2 '18 at 7:53
I think there is the germ of a good problem here. Let me try to sketch it, and you can tell me if you are interested. Your input is a decimal expansion of limited places, so really we have an approximation problem. Any real number can be approximated as closely as we like with numbers of the form you ask about (which is true already with rational numbers, as a special case $v=0$). The best approximation has meaning if we limit the allowed sizes of $u,v,w$. So one might ask to find that best approximation subject to $0 le u,v,w le M$ for suitable positive integer $M$.
– hardmath
Dec 3 '18 at 19:19
I think there is the germ of a good problem here. Let me try to sketch it, and you can tell me if you are interested. Your input is a decimal expansion of limited places, so really we have an approximation problem. Any real number can be approximated as closely as we like with numbers of the form you ask about (which is true already with rational numbers, as a special case $v=0$). The best approximation has meaning if we limit the allowed sizes of $u,v,w$. So one might ask to find that best approximation subject to $0 le u,v,w le M$ for suitable positive integer $M$.
– hardmath
Dec 3 '18 at 19:19
@hardmath I'm sorry for such a late reply. I like your idea but it is incomplete I think. It's been almost a month and I don't have a solution.
– Anonymous
Dec 29 '18 at 8:44
@hardmath I'm sorry for such a late reply. I like your idea but it is incomplete I think. It's been almost a month and I don't have a solution.
– Anonymous
Dec 29 '18 at 8:44
1
1
Yes, you can take the 30 digits and convert it to a continued fraction, looking for evidence of repeating denominators. Your Question includes no motivation for the problem, so Readers will have little idea about what guarantees "this will work". Perhaps describing the intended application will encourage more suggestions.
– hardmath
Dec 29 '18 at 14:48
Yes, you can take the 30 digits and convert it to a continued fraction, looking for evidence of repeating denominators. Your Question includes no motivation for the problem, so Readers will have little idea about what guarantees "this will work". Perhaps describing the intended application will encourage more suggestions.
– hardmath
Dec 29 '18 at 14:48
|
show 4 more comments
3 Answers
3
active
oldest
votes
A quadratic irrational will have an eventually periodic continued fraction.
I'm sorry I didn't quite understand (due to my lack of knowledge).
– Anonymous
Dec 2 '18 at 7:56
See e.g. periodic continued fraction
– Robert Israel
Dec 2 '18 at 15:39
1
@RobertIsrael unfortunately I don't think this resolves the question. How would you get from the numerical value to the (infinite!) exact continued fraction in the first place?
– YiFan
Dec 2 '18 at 22:09
You don't. But you look at as many terms of the continued fraction as you can get from the decimal places you have, and see if it appears to be periodic. For example, $.645751311 approx [0;1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,2]$. Assuming that last $2$ should actually be $1$, this seems to be $1,1,1,4$ repeated, in which case it is $sqrt{7}-2$.
– Robert Israel
Dec 3 '18 at 2:52
add a comment |
As asked the question has no solution. This is simply because, regardless of what numerical value you feed the computer, there will always exist infinitely many approximations to that numerical value of the form $(u+sqrt v)/w$, $u,v,winmathbb Z$ up to arbitrarily many digits. For example,
$$frac{1+sqrt5}{2}approx frac{10^n+sqrt{5cdot10^{2n}+1}}{2cdot10^n}$$
where $n$ is a large positive integer. In fact, by making $n$ to be arbitrarily big, we can make this approximation to have infinite precision. There's nothing special about the base of the exponential; instead of $10$ it can be $2$ or $17$ or whatever number you like. We could also have in the square root, $5cdot10^{2n}+2$, or $-1$, or $+7$ instead. We have so many approximations to the same number; even 100-digit precision won't suffice! One way to resolve this issue is to somehow make your program prioritize smaller $u,v,w$ in its numerical search, but this doesn't work perfectly.
I see there's a common factor 10^n on everything, I could make it so to remove the common factor and reduce it as much as possible.
– Anonymous
Dec 3 '18 at 7:00
1
@Anonymous it's very close to having a common factor, but there actually isn't because of the $+1$ under the square root.
– YiFan
Dec 3 '18 at 7:43
add a comment |
You do understand, I’m sure, that not every irrational number is of the form $(a+sqrt b)/c$, for integers $a,b,c,$: for instance $sqrt[3]5$. Are you willing to relax the restriction on $a,b,c,$?
Yes, I'm only considering irrationals that can be expressed in the for a+sqrt(b)/c
– Anonymous
Dec 3 '18 at 7:01
add a comment |
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3022319%2fhow-do-you-turn-an-irrational-non-transcendental-number-like-1-618-back-to%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
A quadratic irrational will have an eventually periodic continued fraction.
I'm sorry I didn't quite understand (due to my lack of knowledge).
– Anonymous
Dec 2 '18 at 7:56
See e.g. periodic continued fraction
– Robert Israel
Dec 2 '18 at 15:39
1
@RobertIsrael unfortunately I don't think this resolves the question. How would you get from the numerical value to the (infinite!) exact continued fraction in the first place?
– YiFan
Dec 2 '18 at 22:09
You don't. But you look at as many terms of the continued fraction as you can get from the decimal places you have, and see if it appears to be periodic. For example, $.645751311 approx [0;1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,2]$. Assuming that last $2$ should actually be $1$, this seems to be $1,1,1,4$ repeated, in which case it is $sqrt{7}-2$.
– Robert Israel
Dec 3 '18 at 2:52
add a comment |
A quadratic irrational will have an eventually periodic continued fraction.
I'm sorry I didn't quite understand (due to my lack of knowledge).
– Anonymous
Dec 2 '18 at 7:56
See e.g. periodic continued fraction
– Robert Israel
Dec 2 '18 at 15:39
1
@RobertIsrael unfortunately I don't think this resolves the question. How would you get from the numerical value to the (infinite!) exact continued fraction in the first place?
– YiFan
Dec 2 '18 at 22:09
You don't. But you look at as many terms of the continued fraction as you can get from the decimal places you have, and see if it appears to be periodic. For example, $.645751311 approx [0;1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,2]$. Assuming that last $2$ should actually be $1$, this seems to be $1,1,1,4$ repeated, in which case it is $sqrt{7}-2$.
– Robert Israel
Dec 3 '18 at 2:52
add a comment |
A quadratic irrational will have an eventually periodic continued fraction.
A quadratic irrational will have an eventually periodic continued fraction.
answered Dec 2 '18 at 7:00
Robert Israel
318k23208457
318k23208457
I'm sorry I didn't quite understand (due to my lack of knowledge).
– Anonymous
Dec 2 '18 at 7:56
See e.g. periodic continued fraction
– Robert Israel
Dec 2 '18 at 15:39
1
@RobertIsrael unfortunately I don't think this resolves the question. How would you get from the numerical value to the (infinite!) exact continued fraction in the first place?
– YiFan
Dec 2 '18 at 22:09
You don't. But you look at as many terms of the continued fraction as you can get from the decimal places you have, and see if it appears to be periodic. For example, $.645751311 approx [0;1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,2]$. Assuming that last $2$ should actually be $1$, this seems to be $1,1,1,4$ repeated, in which case it is $sqrt{7}-2$.
– Robert Israel
Dec 3 '18 at 2:52
add a comment |
I'm sorry I didn't quite understand (due to my lack of knowledge).
– Anonymous
Dec 2 '18 at 7:56
See e.g. periodic continued fraction
– Robert Israel
Dec 2 '18 at 15:39
1
@RobertIsrael unfortunately I don't think this resolves the question. How would you get from the numerical value to the (infinite!) exact continued fraction in the first place?
– YiFan
Dec 2 '18 at 22:09
You don't. But you look at as many terms of the continued fraction as you can get from the decimal places you have, and see if it appears to be periodic. For example, $.645751311 approx [0;1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,2]$. Assuming that last $2$ should actually be $1$, this seems to be $1,1,1,4$ repeated, in which case it is $sqrt{7}-2$.
– Robert Israel
Dec 3 '18 at 2:52
I'm sorry I didn't quite understand (due to my lack of knowledge).
– Anonymous
Dec 2 '18 at 7:56
I'm sorry I didn't quite understand (due to my lack of knowledge).
– Anonymous
Dec 2 '18 at 7:56
See e.g. periodic continued fraction
– Robert Israel
Dec 2 '18 at 15:39
See e.g. periodic continued fraction
– Robert Israel
Dec 2 '18 at 15:39
1
1
@RobertIsrael unfortunately I don't think this resolves the question. How would you get from the numerical value to the (infinite!) exact continued fraction in the first place?
– YiFan
Dec 2 '18 at 22:09
@RobertIsrael unfortunately I don't think this resolves the question. How would you get from the numerical value to the (infinite!) exact continued fraction in the first place?
– YiFan
Dec 2 '18 at 22:09
You don't. But you look at as many terms of the continued fraction as you can get from the decimal places you have, and see if it appears to be periodic. For example, $.645751311 approx [0;1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,2]$. Assuming that last $2$ should actually be $1$, this seems to be $1,1,1,4$ repeated, in which case it is $sqrt{7}-2$.
– Robert Israel
Dec 3 '18 at 2:52
You don't. But you look at as many terms of the continued fraction as you can get from the decimal places you have, and see if it appears to be periodic. For example, $.645751311 approx [0;1,1,1,4,1,1,1,4,1,1,1,4,1,1,1,4,2]$. Assuming that last $2$ should actually be $1$, this seems to be $1,1,1,4$ repeated, in which case it is $sqrt{7}-2$.
– Robert Israel
Dec 3 '18 at 2:52
add a comment |
As asked the question has no solution. This is simply because, regardless of what numerical value you feed the computer, there will always exist infinitely many approximations to that numerical value of the form $(u+sqrt v)/w$, $u,v,winmathbb Z$ up to arbitrarily many digits. For example,
$$frac{1+sqrt5}{2}approx frac{10^n+sqrt{5cdot10^{2n}+1}}{2cdot10^n}$$
where $n$ is a large positive integer. In fact, by making $n$ to be arbitrarily big, we can make this approximation to have infinite precision. There's nothing special about the base of the exponential; instead of $10$ it can be $2$ or $17$ or whatever number you like. We could also have in the square root, $5cdot10^{2n}+2$, or $-1$, or $+7$ instead. We have so many approximations to the same number; even 100-digit precision won't suffice! One way to resolve this issue is to somehow make your program prioritize smaller $u,v,w$ in its numerical search, but this doesn't work perfectly.
I see there's a common factor 10^n on everything, I could make it so to remove the common factor and reduce it as much as possible.
– Anonymous
Dec 3 '18 at 7:00
1
@Anonymous it's very close to having a common factor, but there actually isn't because of the $+1$ under the square root.
– YiFan
Dec 3 '18 at 7:43
add a comment |
As asked the question has no solution. This is simply because, regardless of what numerical value you feed the computer, there will always exist infinitely many approximations to that numerical value of the form $(u+sqrt v)/w$, $u,v,winmathbb Z$ up to arbitrarily many digits. For example,
$$frac{1+sqrt5}{2}approx frac{10^n+sqrt{5cdot10^{2n}+1}}{2cdot10^n}$$
where $n$ is a large positive integer. In fact, by making $n$ to be arbitrarily big, we can make this approximation to have infinite precision. There's nothing special about the base of the exponential; instead of $10$ it can be $2$ or $17$ or whatever number you like. We could also have in the square root, $5cdot10^{2n}+2$, or $-1$, or $+7$ instead. We have so many approximations to the same number; even 100-digit precision won't suffice! One way to resolve this issue is to somehow make your program prioritize smaller $u,v,w$ in its numerical search, but this doesn't work perfectly.
I see there's a common factor 10^n on everything, I could make it so to remove the common factor and reduce it as much as possible.
– Anonymous
Dec 3 '18 at 7:00
1
@Anonymous it's very close to having a common factor, but there actually isn't because of the $+1$ under the square root.
– YiFan
Dec 3 '18 at 7:43
add a comment |
As asked the question has no solution. This is simply because, regardless of what numerical value you feed the computer, there will always exist infinitely many approximations to that numerical value of the form $(u+sqrt v)/w$, $u,v,winmathbb Z$ up to arbitrarily many digits. For example,
$$frac{1+sqrt5}{2}approx frac{10^n+sqrt{5cdot10^{2n}+1}}{2cdot10^n}$$
where $n$ is a large positive integer. In fact, by making $n$ to be arbitrarily big, we can make this approximation to have infinite precision. There's nothing special about the base of the exponential; instead of $10$ it can be $2$ or $17$ or whatever number you like. We could also have in the square root, $5cdot10^{2n}+2$, or $-1$, or $+7$ instead. We have so many approximations to the same number; even 100-digit precision won't suffice! One way to resolve this issue is to somehow make your program prioritize smaller $u,v,w$ in its numerical search, but this doesn't work perfectly.
As asked the question has no solution. This is simply because, regardless of what numerical value you feed the computer, there will always exist infinitely many approximations to that numerical value of the form $(u+sqrt v)/w$, $u,v,winmathbb Z$ up to arbitrarily many digits. For example,
$$frac{1+sqrt5}{2}approx frac{10^n+sqrt{5cdot10^{2n}+1}}{2cdot10^n}$$
where $n$ is a large positive integer. In fact, by making $n$ to be arbitrarily big, we can make this approximation to have infinite precision. There's nothing special about the base of the exponential; instead of $10$ it can be $2$ or $17$ or whatever number you like. We could also have in the square root, $5cdot10^{2n}+2$, or $-1$, or $+7$ instead. We have so many approximations to the same number; even 100-digit precision won't suffice! One way to resolve this issue is to somehow make your program prioritize smaller $u,v,w$ in its numerical search, but this doesn't work perfectly.
answered Dec 2 '18 at 22:17
YiFan
2,5311421
2,5311421
I see there's a common factor 10^n on everything, I could make it so to remove the common factor and reduce it as much as possible.
– Anonymous
Dec 3 '18 at 7:00
1
@Anonymous it's very close to having a common factor, but there actually isn't because of the $+1$ under the square root.
– YiFan
Dec 3 '18 at 7:43
add a comment |
I see there's a common factor 10^n on everything, I could make it so to remove the common factor and reduce it as much as possible.
– Anonymous
Dec 3 '18 at 7:00
1
@Anonymous it's very close to having a common factor, but there actually isn't because of the $+1$ under the square root.
– YiFan
Dec 3 '18 at 7:43
I see there's a common factor 10^n on everything, I could make it so to remove the common factor and reduce it as much as possible.
– Anonymous
Dec 3 '18 at 7:00
I see there's a common factor 10^n on everything, I could make it so to remove the common factor and reduce it as much as possible.
– Anonymous
Dec 3 '18 at 7:00
1
1
@Anonymous it's very close to having a common factor, but there actually isn't because of the $+1$ under the square root.
– YiFan
Dec 3 '18 at 7:43
@Anonymous it's very close to having a common factor, but there actually isn't because of the $+1$ under the square root.
– YiFan
Dec 3 '18 at 7:43
add a comment |
You do understand, I’m sure, that not every irrational number is of the form $(a+sqrt b)/c$, for integers $a,b,c,$: for instance $sqrt[3]5$. Are you willing to relax the restriction on $a,b,c,$?
Yes, I'm only considering irrationals that can be expressed in the for a+sqrt(b)/c
– Anonymous
Dec 3 '18 at 7:01
add a comment |
You do understand, I’m sure, that not every irrational number is of the form $(a+sqrt b)/c$, for integers $a,b,c,$: for instance $sqrt[3]5$. Are you willing to relax the restriction on $a,b,c,$?
Yes, I'm only considering irrationals that can be expressed in the for a+sqrt(b)/c
– Anonymous
Dec 3 '18 at 7:01
add a comment |
You do understand, I’m sure, that not every irrational number is of the form $(a+sqrt b)/c$, for integers $a,b,c,$: for instance $sqrt[3]5$. Are you willing to relax the restriction on $a,b,c,$?
You do understand, I’m sure, that not every irrational number is of the form $(a+sqrt b)/c$, for integers $a,b,c,$: for instance $sqrt[3]5$. Are you willing to relax the restriction on $a,b,c,$?
answered Dec 3 '18 at 1:23
Lubin
43.8k44585
43.8k44585
Yes, I'm only considering irrationals that can be expressed in the for a+sqrt(b)/c
– Anonymous
Dec 3 '18 at 7:01
add a comment |
Yes, I'm only considering irrationals that can be expressed in the for a+sqrt(b)/c
– Anonymous
Dec 3 '18 at 7:01
Yes, I'm only considering irrationals that can be expressed in the for a+sqrt(b)/c
– Anonymous
Dec 3 '18 at 7:01
Yes, I'm only considering irrationals that can be expressed in the for a+sqrt(b)/c
– Anonymous
Dec 3 '18 at 7:01
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3022319%2fhow-do-you-turn-an-irrational-non-transcendental-number-like-1-618-back-to%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Your last sentence begins to address the central issue, how the purported irrational-but-not-transcendental number is to be input into some algorithm. In principle an infinite number of digits may be required to decide the quadratic irrational expression.
– hardmath
Dec 2 '18 at 7:09
@hardmath The way i see it, say 30 digits may not get you to (1+sqrt(5))/2 but perhaps 0.9998 + sqrt(4.999)/1.99. (Is this what you meant?) Then I could just round off the numbers.
– Anonymous
Dec 2 '18 at 7:53
I think there is the germ of a good problem here. Let me try to sketch it, and you can tell me if you are interested. Your input is a decimal expansion of limited places, so really we have an approximation problem. Any real number can be approximated as closely as we like with numbers of the form you ask about (which is true already with rational numbers, as a special case $v=0$). The best approximation has meaning if we limit the allowed sizes of $u,v,w$. So one might ask to find that best approximation subject to $0 le u,v,w le M$ for suitable positive integer $M$.
– hardmath
Dec 3 '18 at 19:19
@hardmath I'm sorry for such a late reply. I like your idea but it is incomplete I think. It's been almost a month and I don't have a solution.
– Anonymous
Dec 29 '18 at 8:44
1
Yes, you can take the 30 digits and convert it to a continued fraction, looking for evidence of repeating denominators. Your Question includes no motivation for the problem, so Readers will have little idea about what guarantees "this will work". Perhaps describing the intended application will encourage more suggestions.
– hardmath
Dec 29 '18 at 14:48