Approximation of continuous function by linear combination of exponentials











up vote
0
down vote

favorite













Let $a, b in mathbb{R}, a<b$, and let $f:[a,b]to mathbb{R}$ be a continuous function. Given $varepsilon>0$, show that there exists $alpha_1, alpha_2, dots, alpha_n in mathbb{R}$ and $m_1, dots, m_n$ non-negative integers such that
$$|f(x) - sum_{i=1}^{n} alpha_ie^{m_ix}| leq varepsilon, forall x in [a, b].$$




This question provided a couple of hints for a slightly different version of mine, with $m_1, dots, m_n$ are negative integers, but I couldn't adapt them to the problem at hand or come up with any new tricks. I'm looking for a detailed solution, as I'm also on the process of learning uniform convergence and Berstein polynomials (which might be a way out of this).










share|cite|improve this question




















  • 1




    Negative integers were necessary because the domain was not bounded. Here you can follow a very similar reasoning as the one you pointd out in the answer, taking into account that on your domain, the exponential are bounded.
    – Martigan
    Nov 20 at 14:04















up vote
0
down vote

favorite













Let $a, b in mathbb{R}, a<b$, and let $f:[a,b]to mathbb{R}$ be a continuous function. Given $varepsilon>0$, show that there exists $alpha_1, alpha_2, dots, alpha_n in mathbb{R}$ and $m_1, dots, m_n$ non-negative integers such that
$$|f(x) - sum_{i=1}^{n} alpha_ie^{m_ix}| leq varepsilon, forall x in [a, b].$$




This question provided a couple of hints for a slightly different version of mine, with $m_1, dots, m_n$ are negative integers, but I couldn't adapt them to the problem at hand or come up with any new tricks. I'm looking for a detailed solution, as I'm also on the process of learning uniform convergence and Berstein polynomials (which might be a way out of this).










share|cite|improve this question




















  • 1




    Negative integers were necessary because the domain was not bounded. Here you can follow a very similar reasoning as the one you pointd out in the answer, taking into account that on your domain, the exponential are bounded.
    – Martigan
    Nov 20 at 14:04













up vote
0
down vote

favorite









up vote
0
down vote

favorite












Let $a, b in mathbb{R}, a<b$, and let $f:[a,b]to mathbb{R}$ be a continuous function. Given $varepsilon>0$, show that there exists $alpha_1, alpha_2, dots, alpha_n in mathbb{R}$ and $m_1, dots, m_n$ non-negative integers such that
$$|f(x) - sum_{i=1}^{n} alpha_ie^{m_ix}| leq varepsilon, forall x in [a, b].$$




This question provided a couple of hints for a slightly different version of mine, with $m_1, dots, m_n$ are negative integers, but I couldn't adapt them to the problem at hand or come up with any new tricks. I'm looking for a detailed solution, as I'm also on the process of learning uniform convergence and Berstein polynomials (which might be a way out of this).










share|cite|improve this question
















Let $a, b in mathbb{R}, a<b$, and let $f:[a,b]to mathbb{R}$ be a continuous function. Given $varepsilon>0$, show that there exists $alpha_1, alpha_2, dots, alpha_n in mathbb{R}$ and $m_1, dots, m_n$ non-negative integers such that
$$|f(x) - sum_{i=1}^{n} alpha_ie^{m_ix}| leq varepsilon, forall x in [a, b].$$




This question provided a couple of hints for a slightly different version of mine, with $m_1, dots, m_n$ are negative integers, but I couldn't adapt them to the problem at hand or come up with any new tricks. I'm looking for a detailed solution, as I'm also on the process of learning uniform convergence and Berstein polynomials (which might be a way out of this).







real-analysis exponential-function uniform-convergence weierstrass-approximation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 20 at 14:57

























asked Nov 20 at 13:55









user71487

806




806








  • 1




    Negative integers were necessary because the domain was not bounded. Here you can follow a very similar reasoning as the one you pointd out in the answer, taking into account that on your domain, the exponential are bounded.
    – Martigan
    Nov 20 at 14:04














  • 1




    Negative integers were necessary because the domain was not bounded. Here you can follow a very similar reasoning as the one you pointd out in the answer, taking into account that on your domain, the exponential are bounded.
    – Martigan
    Nov 20 at 14:04








1




1




Negative integers were necessary because the domain was not bounded. Here you can follow a very similar reasoning as the one you pointd out in the answer, taking into account that on your domain, the exponential are bounded.
– Martigan
Nov 20 at 14:04




Negative integers were necessary because the domain was not bounded. Here you can follow a very similar reasoning as the one you pointd out in the answer, taking into account that on your domain, the exponential are bounded.
– Martigan
Nov 20 at 14:04










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










This is a direct consequence of Stone-Weierstrass theorem, considering the subalgebra
$$
left{sum_{i=1}^nalpha_ie^{m_ix} : alpha_iinmathbb R,m_igeq0right}
$$

of $C([a,b])$.






share|cite|improve this answer





















  • I understand informally that if the subalgebra above is dense in $C(X, mathbb(R))$, $X$ a compact set, then I can approximate any continuous real-valued function defined on $X$ by a polynomial in the subalgebra, but formally why is density equivalent to uniform convergence? I ask it as a clarification of why proving the density is enough to answer my question.
    – user71487
    Nov 20 at 22:12








  • 1




    Density of $mathcal A$ in $C([a,b])$, with respect to the $|,cdot,|_infty$ norm, means that for every $fin C([a,b])$ and every $varepsilon>0$ you can find $ginmathcal A$ such that $|f-g|_infty<varepsilon$. This is precisely what you need to get uniform convergence. Indeed, you can find for instance $g_ninmathcal A$ such that $|f-g_n|_infty<1/n$, hence $g_nto f$ uniformly.
    – Federico
    Nov 21 at 15:48








  • 1




    Also, "I can approximate any continuous real-valued function defined on X by a polynomial in the subalgebra", there are no polynomials in the subalgebra above.
    – Federico
    Nov 21 at 15:51






  • 1




    Uniform convergence is precisely the convergence induced by the norm $|,cdot,|_infty$. Being able to converge uniformly to any continuous function with a sequence in $mathcal A$ is equivalent to saying that $mathcal A$ is dense.
    – Federico
    Nov 21 at 15:53


















up vote
1
down vote













Consider the function $phi(y) = f(log(y))$ on the domain $[e^a,e^b]$.



Find a polynomial $p(y) = sum_k alpha_k y^{m_k}$ such that $sup_{y in [e^a,e^b]}|phi(y)-p(y)| < epsilon$.



Then $sup_{y in [e^a,e^b]}|phi(y)-p(y)| = sup_{x in [a,b]}|f(x)-p(e^x)| < epsilon$.






share|cite|improve this answer





















  • Is there a standard way to do it? I've attempted the Gauss function approach to a dead end.
    – user71487
    Nov 20 at 20:22






  • 1




    The polynomials are dense in $C[a,b]$.
    – copper.hat
    Nov 21 at 0:59











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: 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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3006332%2fapproximation-of-continuous-function-by-linear-combination-of-exponentials%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








up vote
1
down vote



accepted










This is a direct consequence of Stone-Weierstrass theorem, considering the subalgebra
$$
left{sum_{i=1}^nalpha_ie^{m_ix} : alpha_iinmathbb R,m_igeq0right}
$$

of $C([a,b])$.






share|cite|improve this answer





















  • I understand informally that if the subalgebra above is dense in $C(X, mathbb(R))$, $X$ a compact set, then I can approximate any continuous real-valued function defined on $X$ by a polynomial in the subalgebra, but formally why is density equivalent to uniform convergence? I ask it as a clarification of why proving the density is enough to answer my question.
    – user71487
    Nov 20 at 22:12








  • 1




    Density of $mathcal A$ in $C([a,b])$, with respect to the $|,cdot,|_infty$ norm, means that for every $fin C([a,b])$ and every $varepsilon>0$ you can find $ginmathcal A$ such that $|f-g|_infty<varepsilon$. This is precisely what you need to get uniform convergence. Indeed, you can find for instance $g_ninmathcal A$ such that $|f-g_n|_infty<1/n$, hence $g_nto f$ uniformly.
    – Federico
    Nov 21 at 15:48








  • 1




    Also, "I can approximate any continuous real-valued function defined on X by a polynomial in the subalgebra", there are no polynomials in the subalgebra above.
    – Federico
    Nov 21 at 15:51






  • 1




    Uniform convergence is precisely the convergence induced by the norm $|,cdot,|_infty$. Being able to converge uniformly to any continuous function with a sequence in $mathcal A$ is equivalent to saying that $mathcal A$ is dense.
    – Federico
    Nov 21 at 15:53















up vote
1
down vote



accepted










This is a direct consequence of Stone-Weierstrass theorem, considering the subalgebra
$$
left{sum_{i=1}^nalpha_ie^{m_ix} : alpha_iinmathbb R,m_igeq0right}
$$

of $C([a,b])$.






share|cite|improve this answer





















  • I understand informally that if the subalgebra above is dense in $C(X, mathbb(R))$, $X$ a compact set, then I can approximate any continuous real-valued function defined on $X$ by a polynomial in the subalgebra, but formally why is density equivalent to uniform convergence? I ask it as a clarification of why proving the density is enough to answer my question.
    – user71487
    Nov 20 at 22:12








  • 1




    Density of $mathcal A$ in $C([a,b])$, with respect to the $|,cdot,|_infty$ norm, means that for every $fin C([a,b])$ and every $varepsilon>0$ you can find $ginmathcal A$ such that $|f-g|_infty<varepsilon$. This is precisely what you need to get uniform convergence. Indeed, you can find for instance $g_ninmathcal A$ such that $|f-g_n|_infty<1/n$, hence $g_nto f$ uniformly.
    – Federico
    Nov 21 at 15:48








  • 1




    Also, "I can approximate any continuous real-valued function defined on X by a polynomial in the subalgebra", there are no polynomials in the subalgebra above.
    – Federico
    Nov 21 at 15:51






  • 1




    Uniform convergence is precisely the convergence induced by the norm $|,cdot,|_infty$. Being able to converge uniformly to any continuous function with a sequence in $mathcal A$ is equivalent to saying that $mathcal A$ is dense.
    – Federico
    Nov 21 at 15:53













up vote
1
down vote



accepted







up vote
1
down vote



accepted






This is a direct consequence of Stone-Weierstrass theorem, considering the subalgebra
$$
left{sum_{i=1}^nalpha_ie^{m_ix} : alpha_iinmathbb R,m_igeq0right}
$$

of $C([a,b])$.






share|cite|improve this answer












This is a direct consequence of Stone-Weierstrass theorem, considering the subalgebra
$$
left{sum_{i=1}^nalpha_ie^{m_ix} : alpha_iinmathbb R,m_igeq0right}
$$

of $C([a,b])$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 20 at 14:23









Federico

2,649510




2,649510












  • I understand informally that if the subalgebra above is dense in $C(X, mathbb(R))$, $X$ a compact set, then I can approximate any continuous real-valued function defined on $X$ by a polynomial in the subalgebra, but formally why is density equivalent to uniform convergence? I ask it as a clarification of why proving the density is enough to answer my question.
    – user71487
    Nov 20 at 22:12








  • 1




    Density of $mathcal A$ in $C([a,b])$, with respect to the $|,cdot,|_infty$ norm, means that for every $fin C([a,b])$ and every $varepsilon>0$ you can find $ginmathcal A$ such that $|f-g|_infty<varepsilon$. This is precisely what you need to get uniform convergence. Indeed, you can find for instance $g_ninmathcal A$ such that $|f-g_n|_infty<1/n$, hence $g_nto f$ uniformly.
    – Federico
    Nov 21 at 15:48








  • 1




    Also, "I can approximate any continuous real-valued function defined on X by a polynomial in the subalgebra", there are no polynomials in the subalgebra above.
    – Federico
    Nov 21 at 15:51






  • 1




    Uniform convergence is precisely the convergence induced by the norm $|,cdot,|_infty$. Being able to converge uniformly to any continuous function with a sequence in $mathcal A$ is equivalent to saying that $mathcal A$ is dense.
    – Federico
    Nov 21 at 15:53


















  • I understand informally that if the subalgebra above is dense in $C(X, mathbb(R))$, $X$ a compact set, then I can approximate any continuous real-valued function defined on $X$ by a polynomial in the subalgebra, but formally why is density equivalent to uniform convergence? I ask it as a clarification of why proving the density is enough to answer my question.
    – user71487
    Nov 20 at 22:12








  • 1




    Density of $mathcal A$ in $C([a,b])$, with respect to the $|,cdot,|_infty$ norm, means that for every $fin C([a,b])$ and every $varepsilon>0$ you can find $ginmathcal A$ such that $|f-g|_infty<varepsilon$. This is precisely what you need to get uniform convergence. Indeed, you can find for instance $g_ninmathcal A$ such that $|f-g_n|_infty<1/n$, hence $g_nto f$ uniformly.
    – Federico
    Nov 21 at 15:48








  • 1




    Also, "I can approximate any continuous real-valued function defined on X by a polynomial in the subalgebra", there are no polynomials in the subalgebra above.
    – Federico
    Nov 21 at 15:51






  • 1




    Uniform convergence is precisely the convergence induced by the norm $|,cdot,|_infty$. Being able to converge uniformly to any continuous function with a sequence in $mathcal A$ is equivalent to saying that $mathcal A$ is dense.
    – Federico
    Nov 21 at 15:53
















I understand informally that if the subalgebra above is dense in $C(X, mathbb(R))$, $X$ a compact set, then I can approximate any continuous real-valued function defined on $X$ by a polynomial in the subalgebra, but formally why is density equivalent to uniform convergence? I ask it as a clarification of why proving the density is enough to answer my question.
– user71487
Nov 20 at 22:12






I understand informally that if the subalgebra above is dense in $C(X, mathbb(R))$, $X$ a compact set, then I can approximate any continuous real-valued function defined on $X$ by a polynomial in the subalgebra, but formally why is density equivalent to uniform convergence? I ask it as a clarification of why proving the density is enough to answer my question.
– user71487
Nov 20 at 22:12






1




1




Density of $mathcal A$ in $C([a,b])$, with respect to the $|,cdot,|_infty$ norm, means that for every $fin C([a,b])$ and every $varepsilon>0$ you can find $ginmathcal A$ such that $|f-g|_infty<varepsilon$. This is precisely what you need to get uniform convergence. Indeed, you can find for instance $g_ninmathcal A$ such that $|f-g_n|_infty<1/n$, hence $g_nto f$ uniformly.
– Federico
Nov 21 at 15:48






Density of $mathcal A$ in $C([a,b])$, with respect to the $|,cdot,|_infty$ norm, means that for every $fin C([a,b])$ and every $varepsilon>0$ you can find $ginmathcal A$ such that $|f-g|_infty<varepsilon$. This is precisely what you need to get uniform convergence. Indeed, you can find for instance $g_ninmathcal A$ such that $|f-g_n|_infty<1/n$, hence $g_nto f$ uniformly.
– Federico
Nov 21 at 15:48






1




1




Also, "I can approximate any continuous real-valued function defined on X by a polynomial in the subalgebra", there are no polynomials in the subalgebra above.
– Federico
Nov 21 at 15:51




Also, "I can approximate any continuous real-valued function defined on X by a polynomial in the subalgebra", there are no polynomials in the subalgebra above.
– Federico
Nov 21 at 15:51




1




1




Uniform convergence is precisely the convergence induced by the norm $|,cdot,|_infty$. Being able to converge uniformly to any continuous function with a sequence in $mathcal A$ is equivalent to saying that $mathcal A$ is dense.
– Federico
Nov 21 at 15:53




Uniform convergence is precisely the convergence induced by the norm $|,cdot,|_infty$. Being able to converge uniformly to any continuous function with a sequence in $mathcal A$ is equivalent to saying that $mathcal A$ is dense.
– Federico
Nov 21 at 15:53










up vote
1
down vote













Consider the function $phi(y) = f(log(y))$ on the domain $[e^a,e^b]$.



Find a polynomial $p(y) = sum_k alpha_k y^{m_k}$ such that $sup_{y in [e^a,e^b]}|phi(y)-p(y)| < epsilon$.



Then $sup_{y in [e^a,e^b]}|phi(y)-p(y)| = sup_{x in [a,b]}|f(x)-p(e^x)| < epsilon$.






share|cite|improve this answer





















  • Is there a standard way to do it? I've attempted the Gauss function approach to a dead end.
    – user71487
    Nov 20 at 20:22






  • 1




    The polynomials are dense in $C[a,b]$.
    – copper.hat
    Nov 21 at 0:59















up vote
1
down vote













Consider the function $phi(y) = f(log(y))$ on the domain $[e^a,e^b]$.



Find a polynomial $p(y) = sum_k alpha_k y^{m_k}$ such that $sup_{y in [e^a,e^b]}|phi(y)-p(y)| < epsilon$.



Then $sup_{y in [e^a,e^b]}|phi(y)-p(y)| = sup_{x in [a,b]}|f(x)-p(e^x)| < epsilon$.






share|cite|improve this answer





















  • Is there a standard way to do it? I've attempted the Gauss function approach to a dead end.
    – user71487
    Nov 20 at 20:22






  • 1




    The polynomials are dense in $C[a,b]$.
    – copper.hat
    Nov 21 at 0:59













up vote
1
down vote










up vote
1
down vote









Consider the function $phi(y) = f(log(y))$ on the domain $[e^a,e^b]$.



Find a polynomial $p(y) = sum_k alpha_k y^{m_k}$ such that $sup_{y in [e^a,e^b]}|phi(y)-p(y)| < epsilon$.



Then $sup_{y in [e^a,e^b]}|phi(y)-p(y)| = sup_{x in [a,b]}|f(x)-p(e^x)| < epsilon$.






share|cite|improve this answer












Consider the function $phi(y) = f(log(y))$ on the domain $[e^a,e^b]$.



Find a polynomial $p(y) = sum_k alpha_k y^{m_k}$ such that $sup_{y in [e^a,e^b]}|phi(y)-p(y)| < epsilon$.



Then $sup_{y in [e^a,e^b]}|phi(y)-p(y)| = sup_{x in [a,b]}|f(x)-p(e^x)| < epsilon$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 20 at 14:43









copper.hat

125k559159




125k559159












  • Is there a standard way to do it? I've attempted the Gauss function approach to a dead end.
    – user71487
    Nov 20 at 20:22






  • 1




    The polynomials are dense in $C[a,b]$.
    – copper.hat
    Nov 21 at 0:59


















  • Is there a standard way to do it? I've attempted the Gauss function approach to a dead end.
    – user71487
    Nov 20 at 20:22






  • 1




    The polynomials are dense in $C[a,b]$.
    – copper.hat
    Nov 21 at 0:59
















Is there a standard way to do it? I've attempted the Gauss function approach to a dead end.
– user71487
Nov 20 at 20:22




Is there a standard way to do it? I've attempted the Gauss function approach to a dead end.
– user71487
Nov 20 at 20:22




1




1




The polynomials are dense in $C[a,b]$.
– copper.hat
Nov 21 at 0:59




The polynomials are dense in $C[a,b]$.
– copper.hat
Nov 21 at 0:59


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3006332%2fapproximation-of-continuous-function-by-linear-combination-of-exponentials%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Le Mesnil-Réaume

Ida-Boy-Ed-Garten

web3.py web3.isConnected() returns false always