I have an inequality which is giving me the correct answer, except that the sign is opposite to what it...
$begingroup$
I'm looking at a geometric series that looks like
$A_n = sum_{k=0}^{n}A_0x^k$ where $A_0$ is a constant.
I'm looking to find an $n$ where my error between two terms is less than a certain value $E$ such that
$A_n - A_{n-1} le E$.
Now,
$A_n - A_{n-1} = A_0x^n$
Therefore I need
$A_0x^n le E$,
which I can rewrite as
$ln{A_0} +nln{x} le ln{E}$
$n le frac{ln{E/A_0}}{ln{x}}$
Which gives me what I need (i.e. the correct $n$ for the error I expect), except that it should be that $n$ is greater than this and not less than. Can anyone see what I've missed? Perhaps more caffeine is needed?
Many thanks.
sequences-and-series inequality logarithms geometric-series
$endgroup$
|
show 1 more comment
$begingroup$
I'm looking at a geometric series that looks like
$A_n = sum_{k=0}^{n}A_0x^k$ where $A_0$ is a constant.
I'm looking to find an $n$ where my error between two terms is less than a certain value $E$ such that
$A_n - A_{n-1} le E$.
Now,
$A_n - A_{n-1} = A_0x^n$
Therefore I need
$A_0x^n le E$,
which I can rewrite as
$ln{A_0} +nln{x} le ln{E}$
$n le frac{ln{E/A_0}}{ln{x}}$
Which gives me what I need (i.e. the correct $n$ for the error I expect), except that it should be that $n$ is greater than this and not less than. Can anyone see what I've missed? Perhaps more caffeine is needed?
Many thanks.
sequences-and-series inequality logarithms geometric-series
$endgroup$
1
$begingroup$
$ln{x}$ is negative, isn’t it?
$endgroup$
– Mindlack
Jan 29 at 9:28
$begingroup$
I think you mistyped the first formula, and it should read $A_n = sum_{k = 0}^n A_0x^k$ is that correct?
$endgroup$
– Vincent
Jan 29 at 9:28
$begingroup$
Thanks, I've just looked at it and $x le 1$, writing the series by hand I can see that greater $n$ is giving me lower error, I just can't get the inequality correct.
$endgroup$
– Dredd
Jan 29 at 9:29
$begingroup$
@Vincent You're correct sorry
$endgroup$
– Dredd
Jan 29 at 9:30
$begingroup$
Ok, good, then please edit the question!
$endgroup$
– Vincent
Jan 29 at 9:32
|
show 1 more comment
$begingroup$
I'm looking at a geometric series that looks like
$A_n = sum_{k=0}^{n}A_0x^k$ where $A_0$ is a constant.
I'm looking to find an $n$ where my error between two terms is less than a certain value $E$ such that
$A_n - A_{n-1} le E$.
Now,
$A_n - A_{n-1} = A_0x^n$
Therefore I need
$A_0x^n le E$,
which I can rewrite as
$ln{A_0} +nln{x} le ln{E}$
$n le frac{ln{E/A_0}}{ln{x}}$
Which gives me what I need (i.e. the correct $n$ for the error I expect), except that it should be that $n$ is greater than this and not less than. Can anyone see what I've missed? Perhaps more caffeine is needed?
Many thanks.
sequences-and-series inequality logarithms geometric-series
$endgroup$
I'm looking at a geometric series that looks like
$A_n = sum_{k=0}^{n}A_0x^k$ where $A_0$ is a constant.
I'm looking to find an $n$ where my error between two terms is less than a certain value $E$ such that
$A_n - A_{n-1} le E$.
Now,
$A_n - A_{n-1} = A_0x^n$
Therefore I need
$A_0x^n le E$,
which I can rewrite as
$ln{A_0} +nln{x} le ln{E}$
$n le frac{ln{E/A_0}}{ln{x}}$
Which gives me what I need (i.e. the correct $n$ for the error I expect), except that it should be that $n$ is greater than this and not less than. Can anyone see what I've missed? Perhaps more caffeine is needed?
Many thanks.
sequences-and-series inequality logarithms geometric-series
sequences-and-series inequality logarithms geometric-series
edited Jan 30 at 10:47
Dredd
asked Jan 29 at 9:19
DreddDredd
62
62
1
$begingroup$
$ln{x}$ is negative, isn’t it?
$endgroup$
– Mindlack
Jan 29 at 9:28
$begingroup$
I think you mistyped the first formula, and it should read $A_n = sum_{k = 0}^n A_0x^k$ is that correct?
$endgroup$
– Vincent
Jan 29 at 9:28
$begingroup$
Thanks, I've just looked at it and $x le 1$, writing the series by hand I can see that greater $n$ is giving me lower error, I just can't get the inequality correct.
$endgroup$
– Dredd
Jan 29 at 9:29
$begingroup$
@Vincent You're correct sorry
$endgroup$
– Dredd
Jan 29 at 9:30
$begingroup$
Ok, good, then please edit the question!
$endgroup$
– Vincent
Jan 29 at 9:32
|
show 1 more comment
1
$begingroup$
$ln{x}$ is negative, isn’t it?
$endgroup$
– Mindlack
Jan 29 at 9:28
$begingroup$
I think you mistyped the first formula, and it should read $A_n = sum_{k = 0}^n A_0x^k$ is that correct?
$endgroup$
– Vincent
Jan 29 at 9:28
$begingroup$
Thanks, I've just looked at it and $x le 1$, writing the series by hand I can see that greater $n$ is giving me lower error, I just can't get the inequality correct.
$endgroup$
– Dredd
Jan 29 at 9:29
$begingroup$
@Vincent You're correct sorry
$endgroup$
– Dredd
Jan 29 at 9:30
$begingroup$
Ok, good, then please edit the question!
$endgroup$
– Vincent
Jan 29 at 9:32
1
1
$begingroup$
$ln{x}$ is negative, isn’t it?
$endgroup$
– Mindlack
Jan 29 at 9:28
$begingroup$
$ln{x}$ is negative, isn’t it?
$endgroup$
– Mindlack
Jan 29 at 9:28
$begingroup$
I think you mistyped the first formula, and it should read $A_n = sum_{k = 0}^n A_0x^k$ is that correct?
$endgroup$
– Vincent
Jan 29 at 9:28
$begingroup$
I think you mistyped the first formula, and it should read $A_n = sum_{k = 0}^n A_0x^k$ is that correct?
$endgroup$
– Vincent
Jan 29 at 9:28
$begingroup$
Thanks, I've just looked at it and $x le 1$, writing the series by hand I can see that greater $n$ is giving me lower error, I just can't get the inequality correct.
$endgroup$
– Dredd
Jan 29 at 9:29
$begingroup$
Thanks, I've just looked at it and $x le 1$, writing the series by hand I can see that greater $n$ is giving me lower error, I just can't get the inequality correct.
$endgroup$
– Dredd
Jan 29 at 9:29
$begingroup$
@Vincent You're correct sorry
$endgroup$
– Dredd
Jan 29 at 9:30
$begingroup$
@Vincent You're correct sorry
$endgroup$
– Dredd
Jan 29 at 9:30
$begingroup$
Ok, good, then please edit the question!
$endgroup$
– Vincent
Jan 29 at 9:32
$begingroup$
Ok, good, then please edit the question!
$endgroup$
– Vincent
Jan 29 at 9:32
|
show 1 more comment
2 Answers
2
active
oldest
votes
$begingroup$
The sign is correct, with $x > 1$ and $A_0 > 1$, the error term $A_0x^n$ grows with $n$. Therefore if you want the error term to be lower than a constant, you need $n$ to be small
Now if you take $x<1$, I guess your interest, than the error term decreases with $n$, and $ln(x)<0$, therefore when dividing by $ln(x)$ you have to switch sign.
$$ ln A_0 + nln x leq ln E Rightarrow
left{
begin{array}{ll}
n leq frac{ln E/A_0}{ln x} & text{ if } x>1\
n geq frac{ln E/A_0}{ln x} & text{ if } x<1\
end{array}
right.
$$
$endgroup$
$begingroup$
Perfect! Thank you Thomas
$endgroup$
– Dredd
Jan 29 at 9:37
add a comment |
$begingroup$
$ln(x)$ is negative as $x < 1$. So when you divide by $ln(x)$ you have to flip the sign on the inequality.
$endgroup$
add a comment |
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%2f3091958%2fi-have-an-inequality-which-is-giving-me-the-correct-answer-except-that-the-sign%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
The sign is correct, with $x > 1$ and $A_0 > 1$, the error term $A_0x^n$ grows with $n$. Therefore if you want the error term to be lower than a constant, you need $n$ to be small
Now if you take $x<1$, I guess your interest, than the error term decreases with $n$, and $ln(x)<0$, therefore when dividing by $ln(x)$ you have to switch sign.
$$ ln A_0 + nln x leq ln E Rightarrow
left{
begin{array}{ll}
n leq frac{ln E/A_0}{ln x} & text{ if } x>1\
n geq frac{ln E/A_0}{ln x} & text{ if } x<1\
end{array}
right.
$$
$endgroup$
$begingroup$
Perfect! Thank you Thomas
$endgroup$
– Dredd
Jan 29 at 9:37
add a comment |
$begingroup$
The sign is correct, with $x > 1$ and $A_0 > 1$, the error term $A_0x^n$ grows with $n$. Therefore if you want the error term to be lower than a constant, you need $n$ to be small
Now if you take $x<1$, I guess your interest, than the error term decreases with $n$, and $ln(x)<0$, therefore when dividing by $ln(x)$ you have to switch sign.
$$ ln A_0 + nln x leq ln E Rightarrow
left{
begin{array}{ll}
n leq frac{ln E/A_0}{ln x} & text{ if } x>1\
n geq frac{ln E/A_0}{ln x} & text{ if } x<1\
end{array}
right.
$$
$endgroup$
$begingroup$
Perfect! Thank you Thomas
$endgroup$
– Dredd
Jan 29 at 9:37
add a comment |
$begingroup$
The sign is correct, with $x > 1$ and $A_0 > 1$, the error term $A_0x^n$ grows with $n$. Therefore if you want the error term to be lower than a constant, you need $n$ to be small
Now if you take $x<1$, I guess your interest, than the error term decreases with $n$, and $ln(x)<0$, therefore when dividing by $ln(x)$ you have to switch sign.
$$ ln A_0 + nln x leq ln E Rightarrow
left{
begin{array}{ll}
n leq frac{ln E/A_0}{ln x} & text{ if } x>1\
n geq frac{ln E/A_0}{ln x} & text{ if } x<1\
end{array}
right.
$$
$endgroup$
The sign is correct, with $x > 1$ and $A_0 > 1$, the error term $A_0x^n$ grows with $n$. Therefore if you want the error term to be lower than a constant, you need $n$ to be small
Now if you take $x<1$, I guess your interest, than the error term decreases with $n$, and $ln(x)<0$, therefore when dividing by $ln(x)$ you have to switch sign.
$$ ln A_0 + nln x leq ln E Rightarrow
left{
begin{array}{ll}
n leq frac{ln E/A_0}{ln x} & text{ if } x>1\
n geq frac{ln E/A_0}{ln x} & text{ if } x<1\
end{array}
right.
$$
edited Jan 29 at 9:39
answered Jan 29 at 9:30


Thomas LesgourguesThomas Lesgourgues
1,285220
1,285220
$begingroup$
Perfect! Thank you Thomas
$endgroup$
– Dredd
Jan 29 at 9:37
add a comment |
$begingroup$
Perfect! Thank you Thomas
$endgroup$
– Dredd
Jan 29 at 9:37
$begingroup$
Perfect! Thank you Thomas
$endgroup$
– Dredd
Jan 29 at 9:37
$begingroup$
Perfect! Thank you Thomas
$endgroup$
– Dredd
Jan 29 at 9:37
add a comment |
$begingroup$
$ln(x)$ is negative as $x < 1$. So when you divide by $ln(x)$ you have to flip the sign on the inequality.
$endgroup$
add a comment |
$begingroup$
$ln(x)$ is negative as $x < 1$. So when you divide by $ln(x)$ you have to flip the sign on the inequality.
$endgroup$
add a comment |
$begingroup$
$ln(x)$ is negative as $x < 1$. So when you divide by $ln(x)$ you have to flip the sign on the inequality.
$endgroup$
$ln(x)$ is negative as $x < 1$. So when you divide by $ln(x)$ you have to flip the sign on the inequality.
answered Jan 29 at 9:30


Erik ParkinsonErik Parkinson
1,17519
1,17519
add a comment |
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.
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%2f3091958%2fi-have-an-inequality-which-is-giving-me-the-correct-answer-except-that-the-sign%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
$begingroup$
$ln{x}$ is negative, isn’t it?
$endgroup$
– Mindlack
Jan 29 at 9:28
$begingroup$
I think you mistyped the first formula, and it should read $A_n = sum_{k = 0}^n A_0x^k$ is that correct?
$endgroup$
– Vincent
Jan 29 at 9:28
$begingroup$
Thanks, I've just looked at it and $x le 1$, writing the series by hand I can see that greater $n$ is giving me lower error, I just can't get the inequality correct.
$endgroup$
– Dredd
Jan 29 at 9:29
$begingroup$
@Vincent You're correct sorry
$endgroup$
– Dredd
Jan 29 at 9:30
$begingroup$
Ok, good, then please edit the question!
$endgroup$
– Vincent
Jan 29 at 9:32