Big O of multiple variables
Let $g(x, y, z)$ be a polynomial in the three variables $x, y, z$ that take values in $mathbb{N}$. Prove
that $g(x, y, z) = mathcal{O}(x^k y^l z^m)$
for some $k, l, m in mathbb{N}$
I am not sure how to approach the big $O$ method for multiple variables, the following post did not help me that much further Formal definition of big-O when multiple variables are involved?. So far we have only dealt with single-variable polynomials. Also, am I right in assuming that what is meant here is that the maximal degrees of $x$, $y$ and $z$ in the polynomial are the numbers $k, l$ and $m$?
asymptotics computational-complexity
add a comment |
Let $g(x, y, z)$ be a polynomial in the three variables $x, y, z$ that take values in $mathbb{N}$. Prove
that $g(x, y, z) = mathcal{O}(x^k y^l z^m)$
for some $k, l, m in mathbb{N}$
I am not sure how to approach the big $O$ method for multiple variables, the following post did not help me that much further Formal definition of big-O when multiple variables are involved?. So far we have only dealt with single-variable polynomials. Also, am I right in assuming that what is meant here is that the maximal degrees of $x$, $y$ and $z$ in the polynomial are the numbers $k, l$ and $m$?
asymptotics computational-complexity
1
You can use $f in mathcal{O}(g) Leftrightarrow limsup_{x to a} left|frac{f(x)}{g(x)}right| < infty$; (If $lim$ exists, you can use it instead of $limsup$) In your case we'd have $xin mathbb{R}^3$ and $a = infty$. Though I got no idea what exactly $xto infty$ means for $xinmathbb{R}^3$.
– Sudix
Dec 6 '18 at 1:34
add a comment |
Let $g(x, y, z)$ be a polynomial in the three variables $x, y, z$ that take values in $mathbb{N}$. Prove
that $g(x, y, z) = mathcal{O}(x^k y^l z^m)$
for some $k, l, m in mathbb{N}$
I am not sure how to approach the big $O$ method for multiple variables, the following post did not help me that much further Formal definition of big-O when multiple variables are involved?. So far we have only dealt with single-variable polynomials. Also, am I right in assuming that what is meant here is that the maximal degrees of $x$, $y$ and $z$ in the polynomial are the numbers $k, l$ and $m$?
asymptotics computational-complexity
Let $g(x, y, z)$ be a polynomial in the three variables $x, y, z$ that take values in $mathbb{N}$. Prove
that $g(x, y, z) = mathcal{O}(x^k y^l z^m)$
for some $k, l, m in mathbb{N}$
I am not sure how to approach the big $O$ method for multiple variables, the following post did not help me that much further Formal definition of big-O when multiple variables are involved?. So far we have only dealt with single-variable polynomials. Also, am I right in assuming that what is meant here is that the maximal degrees of $x$, $y$ and $z$ in the polynomial are the numbers $k, l$ and $m$?
asymptotics computational-complexity
asymptotics computational-complexity
edited Dec 5 '18 at 18:08
Wesley Strik
asked Dec 5 '18 at 17:57
Wesley StrikWesley Strik
1,635423
1,635423
1
You can use $f in mathcal{O}(g) Leftrightarrow limsup_{x to a} left|frac{f(x)}{g(x)}right| < infty$; (If $lim$ exists, you can use it instead of $limsup$) In your case we'd have $xin mathbb{R}^3$ and $a = infty$. Though I got no idea what exactly $xto infty$ means for $xinmathbb{R}^3$.
– Sudix
Dec 6 '18 at 1:34
add a comment |
1
You can use $f in mathcal{O}(g) Leftrightarrow limsup_{x to a} left|frac{f(x)}{g(x)}right| < infty$; (If $lim$ exists, you can use it instead of $limsup$) In your case we'd have $xin mathbb{R}^3$ and $a = infty$. Though I got no idea what exactly $xto infty$ means for $xinmathbb{R}^3$.
– Sudix
Dec 6 '18 at 1:34
1
1
You can use $f in mathcal{O}(g) Leftrightarrow limsup_{x to a} left|frac{f(x)}{g(x)}right| < infty$; (If $lim$ exists, you can use it instead of $limsup$) In your case we'd have $xin mathbb{R}^3$ and $a = infty$. Though I got no idea what exactly $xto infty$ means for $xinmathbb{R}^3$.
– Sudix
Dec 6 '18 at 1:34
You can use $f in mathcal{O}(g) Leftrightarrow limsup_{x to a} left|frac{f(x)}{g(x)}right| < infty$; (If $lim$ exists, you can use it instead of $limsup$) In your case we'd have $xin mathbb{R}^3$ and $a = infty$. Though I got no idea what exactly $xto infty$ means for $xinmathbb{R}^3$.
– Sudix
Dec 6 '18 at 1:34
add a comment |
1 Answer
1
active
oldest
votes
Let $g(x,y,z)$ be a polynomial with maximal degrees of $k, l, m$ in the variables $x,y,z$ respectively, using lexicographical ordering, we will write:
$$ g(x,y,z)= a_0 +a_1 x + dots + a_k x^k + b_0 + b_1 y + dots +b_l y^l + c_0 + c_1 z + dots c_m z^m $$
Now we let $x,y,z geq 1$, we can then approximate every single term by the product $x^k y^l z^m$, which is certainly greater than every single term.
$$g(x,y,z) leq a_0 x^k y^l z^m + dots + a_k x^k y^l z^m + b_0 x^k y^l z^m + dots +b_l y^l + c_0 x^k y^l z^m + dots c_m x^k y^l z^m $$
So we get that:
$$ g(x,y,z) leq left( sum_{i=0}^k a_i+ sum_{i=0}^l b_i + sum_{i=0}^m c_i right) x^k y^l z^m$$
We can now complete the proof:
Let $x, y, z geq 1$ and choose $M=left( sum_{i=0}^k a_i+ sum_{i=0}^k b_i + sum_{i=0}^k c_i right)$, we then have that:
$$ g(x,y,z) leq M cdot x^k y^l z^m$$
So $g(x,y,z) = mathcal{O}(x^k y^l z^m)$. $square$
Alternatively, if we assume that $g(x,y,z)$ is a polynomial of the form:
$$g(x,y,z)= sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp}x^i y^j z^p.$$
We can apply the same trick. We let $x,y,z, geq 1$, we can now say that for all indices $i, j, p$ we have that: $$x^i y^j z^p leq x^k y^l z^m $$
We can now approximate the sum by:
$$ g(x,y,z) leq sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp}x^k y^l z^m = left( sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp} right) x^k y^l z^m $$
Now we let $M=left( sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp} right)$:
$$ g(x,y,z) leq M x^k y^l z^m $$ And this is our desired result $square$
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%2f3027418%2fbig-o-of-multiple-variables%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Let $g(x,y,z)$ be a polynomial with maximal degrees of $k, l, m$ in the variables $x,y,z$ respectively, using lexicographical ordering, we will write:
$$ g(x,y,z)= a_0 +a_1 x + dots + a_k x^k + b_0 + b_1 y + dots +b_l y^l + c_0 + c_1 z + dots c_m z^m $$
Now we let $x,y,z geq 1$, we can then approximate every single term by the product $x^k y^l z^m$, which is certainly greater than every single term.
$$g(x,y,z) leq a_0 x^k y^l z^m + dots + a_k x^k y^l z^m + b_0 x^k y^l z^m + dots +b_l y^l + c_0 x^k y^l z^m + dots c_m x^k y^l z^m $$
So we get that:
$$ g(x,y,z) leq left( sum_{i=0}^k a_i+ sum_{i=0}^l b_i + sum_{i=0}^m c_i right) x^k y^l z^m$$
We can now complete the proof:
Let $x, y, z geq 1$ and choose $M=left( sum_{i=0}^k a_i+ sum_{i=0}^k b_i + sum_{i=0}^k c_i right)$, we then have that:
$$ g(x,y,z) leq M cdot x^k y^l z^m$$
So $g(x,y,z) = mathcal{O}(x^k y^l z^m)$. $square$
Alternatively, if we assume that $g(x,y,z)$ is a polynomial of the form:
$$g(x,y,z)= sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp}x^i y^j z^p.$$
We can apply the same trick. We let $x,y,z, geq 1$, we can now say that for all indices $i, j, p$ we have that: $$x^i y^j z^p leq x^k y^l z^m $$
We can now approximate the sum by:
$$ g(x,y,z) leq sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp}x^k y^l z^m = left( sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp} right) x^k y^l z^m $$
Now we let $M=left( sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp} right)$:
$$ g(x,y,z) leq M x^k y^l z^m $$ And this is our desired result $square$
add a comment |
Let $g(x,y,z)$ be a polynomial with maximal degrees of $k, l, m$ in the variables $x,y,z$ respectively, using lexicographical ordering, we will write:
$$ g(x,y,z)= a_0 +a_1 x + dots + a_k x^k + b_0 + b_1 y + dots +b_l y^l + c_0 + c_1 z + dots c_m z^m $$
Now we let $x,y,z geq 1$, we can then approximate every single term by the product $x^k y^l z^m$, which is certainly greater than every single term.
$$g(x,y,z) leq a_0 x^k y^l z^m + dots + a_k x^k y^l z^m + b_0 x^k y^l z^m + dots +b_l y^l + c_0 x^k y^l z^m + dots c_m x^k y^l z^m $$
So we get that:
$$ g(x,y,z) leq left( sum_{i=0}^k a_i+ sum_{i=0}^l b_i + sum_{i=0}^m c_i right) x^k y^l z^m$$
We can now complete the proof:
Let $x, y, z geq 1$ and choose $M=left( sum_{i=0}^k a_i+ sum_{i=0}^k b_i + sum_{i=0}^k c_i right)$, we then have that:
$$ g(x,y,z) leq M cdot x^k y^l z^m$$
So $g(x,y,z) = mathcal{O}(x^k y^l z^m)$. $square$
Alternatively, if we assume that $g(x,y,z)$ is a polynomial of the form:
$$g(x,y,z)= sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp}x^i y^j z^p.$$
We can apply the same trick. We let $x,y,z, geq 1$, we can now say that for all indices $i, j, p$ we have that: $$x^i y^j z^p leq x^k y^l z^m $$
We can now approximate the sum by:
$$ g(x,y,z) leq sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp}x^k y^l z^m = left( sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp} right) x^k y^l z^m $$
Now we let $M=left( sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp} right)$:
$$ g(x,y,z) leq M x^k y^l z^m $$ And this is our desired result $square$
add a comment |
Let $g(x,y,z)$ be a polynomial with maximal degrees of $k, l, m$ in the variables $x,y,z$ respectively, using lexicographical ordering, we will write:
$$ g(x,y,z)= a_0 +a_1 x + dots + a_k x^k + b_0 + b_1 y + dots +b_l y^l + c_0 + c_1 z + dots c_m z^m $$
Now we let $x,y,z geq 1$, we can then approximate every single term by the product $x^k y^l z^m$, which is certainly greater than every single term.
$$g(x,y,z) leq a_0 x^k y^l z^m + dots + a_k x^k y^l z^m + b_0 x^k y^l z^m + dots +b_l y^l + c_0 x^k y^l z^m + dots c_m x^k y^l z^m $$
So we get that:
$$ g(x,y,z) leq left( sum_{i=0}^k a_i+ sum_{i=0}^l b_i + sum_{i=0}^m c_i right) x^k y^l z^m$$
We can now complete the proof:
Let $x, y, z geq 1$ and choose $M=left( sum_{i=0}^k a_i+ sum_{i=0}^k b_i + sum_{i=0}^k c_i right)$, we then have that:
$$ g(x,y,z) leq M cdot x^k y^l z^m$$
So $g(x,y,z) = mathcal{O}(x^k y^l z^m)$. $square$
Alternatively, if we assume that $g(x,y,z)$ is a polynomial of the form:
$$g(x,y,z)= sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp}x^i y^j z^p.$$
We can apply the same trick. We let $x,y,z, geq 1$, we can now say that for all indices $i, j, p$ we have that: $$x^i y^j z^p leq x^k y^l z^m $$
We can now approximate the sum by:
$$ g(x,y,z) leq sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp}x^k y^l z^m = left( sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp} right) x^k y^l z^m $$
Now we let $M=left( sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp} right)$:
$$ g(x,y,z) leq M x^k y^l z^m $$ And this is our desired result $square$
Let $g(x,y,z)$ be a polynomial with maximal degrees of $k, l, m$ in the variables $x,y,z$ respectively, using lexicographical ordering, we will write:
$$ g(x,y,z)= a_0 +a_1 x + dots + a_k x^k + b_0 + b_1 y + dots +b_l y^l + c_0 + c_1 z + dots c_m z^m $$
Now we let $x,y,z geq 1$, we can then approximate every single term by the product $x^k y^l z^m$, which is certainly greater than every single term.
$$g(x,y,z) leq a_0 x^k y^l z^m + dots + a_k x^k y^l z^m + b_0 x^k y^l z^m + dots +b_l y^l + c_0 x^k y^l z^m + dots c_m x^k y^l z^m $$
So we get that:
$$ g(x,y,z) leq left( sum_{i=0}^k a_i+ sum_{i=0}^l b_i + sum_{i=0}^m c_i right) x^k y^l z^m$$
We can now complete the proof:
Let $x, y, z geq 1$ and choose $M=left( sum_{i=0}^k a_i+ sum_{i=0}^k b_i + sum_{i=0}^k c_i right)$, we then have that:
$$ g(x,y,z) leq M cdot x^k y^l z^m$$
So $g(x,y,z) = mathcal{O}(x^k y^l z^m)$. $square$
Alternatively, if we assume that $g(x,y,z)$ is a polynomial of the form:
$$g(x,y,z)= sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp}x^i y^j z^p.$$
We can apply the same trick. We let $x,y,z, geq 1$, we can now say that for all indices $i, j, p$ we have that: $$x^i y^j z^p leq x^k y^l z^m $$
We can now approximate the sum by:
$$ g(x,y,z) leq sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp}x^k y^l z^m = left( sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp} right) x^k y^l z^m $$
Now we let $M=left( sum_{p=0}^m sum_{j=0}^l sum_{i=0}^k a_{ijp} right)$:
$$ g(x,y,z) leq M x^k y^l z^m $$ And this is our desired result $square$
edited Dec 10 '18 at 17:13
answered Dec 10 '18 at 12:44
Wesley StrikWesley Strik
1,635423
1,635423
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%2f3027418%2fbig-o-of-multiple-variables%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
You can use $f in mathcal{O}(g) Leftrightarrow limsup_{x to a} left|frac{f(x)}{g(x)}right| < infty$; (If $lim$ exists, you can use it instead of $limsup$) In your case we'd have $xin mathbb{R}^3$ and $a = infty$. Though I got no idea what exactly $xto infty$ means for $xinmathbb{R}^3$.
– Sudix
Dec 6 '18 at 1:34