Projection of a $L^2$ function over a set of constant functions












1














I don't know how to solve the following exercise:




Let $X$ be the subspace of $L^{2}(0,1)$ of a.e. constant functions. What is the projection over $X$ of a function $u in L^2(0,1)$?






First of all, $X$ is convex, and this is trivial to prove. It's also closed. So, by the characterization of projections onto closed and convex subspace I have to find a $v in X$ s.t.



(*) $langle u-v,f rangle=0$ for every $f in X$, i.e. $int_0^1 (u(x)-v(x))f(x)dx=0$, but $u$ and $f$ are constants, so I can't see any way to set that integral equals to $0$.



Maybe I could start by thinking about $Vert u - v Vert_{L^2}^2=int_0^1|u(x)-v(x)|^2dx $ and how to minimize this integral with $v in X$. The best I can do, I guess, is to set $v(x)=v=max {|u(x)|: x in [0,1] }$, but I still can't understand how to find a $u$ such that (*) holds.



EDIT:
I need also to prove that $X$ is closed.To this aim, I take a sequence ${ f_n }$ in $X$ s.t. $f_n rightarrow^{L^2} f$. I want to show that $f$ is a.e. constant. By Riesz-Fisher there exists a subsequence ${f_{n_k} } in X$ such that $f_{n_k} rightarrow f$ a.e. in $X$. How can I conclude?










share|cite|improve this question
























  • (*) is the characterization of a projection if $X$ is a linear subspace. (Which here luckily is the case.)
    – user251257
    Dec 27 '18 at 14:40
















1














I don't know how to solve the following exercise:




Let $X$ be the subspace of $L^{2}(0,1)$ of a.e. constant functions. What is the projection over $X$ of a function $u in L^2(0,1)$?






First of all, $X$ is convex, and this is trivial to prove. It's also closed. So, by the characterization of projections onto closed and convex subspace I have to find a $v in X$ s.t.



(*) $langle u-v,f rangle=0$ for every $f in X$, i.e. $int_0^1 (u(x)-v(x))f(x)dx=0$, but $u$ and $f$ are constants, so I can't see any way to set that integral equals to $0$.



Maybe I could start by thinking about $Vert u - v Vert_{L^2}^2=int_0^1|u(x)-v(x)|^2dx $ and how to minimize this integral with $v in X$. The best I can do, I guess, is to set $v(x)=v=max {|u(x)|: x in [0,1] }$, but I still can't understand how to find a $u$ such that (*) holds.



EDIT:
I need also to prove that $X$ is closed.To this aim, I take a sequence ${ f_n }$ in $X$ s.t. $f_n rightarrow^{L^2} f$. I want to show that $f$ is a.e. constant. By Riesz-Fisher there exists a subsequence ${f_{n_k} } in X$ such that $f_{n_k} rightarrow f$ a.e. in $X$. How can I conclude?










share|cite|improve this question
























  • (*) is the characterization of a projection if $X$ is a linear subspace. (Which here luckily is the case.)
    – user251257
    Dec 27 '18 at 14:40














1












1








1







I don't know how to solve the following exercise:




Let $X$ be the subspace of $L^{2}(0,1)$ of a.e. constant functions. What is the projection over $X$ of a function $u in L^2(0,1)$?






First of all, $X$ is convex, and this is trivial to prove. It's also closed. So, by the characterization of projections onto closed and convex subspace I have to find a $v in X$ s.t.



(*) $langle u-v,f rangle=0$ for every $f in X$, i.e. $int_0^1 (u(x)-v(x))f(x)dx=0$, but $u$ and $f$ are constants, so I can't see any way to set that integral equals to $0$.



Maybe I could start by thinking about $Vert u - v Vert_{L^2}^2=int_0^1|u(x)-v(x)|^2dx $ and how to minimize this integral with $v in X$. The best I can do, I guess, is to set $v(x)=v=max {|u(x)|: x in [0,1] }$, but I still can't understand how to find a $u$ such that (*) holds.



EDIT:
I need also to prove that $X$ is closed.To this aim, I take a sequence ${ f_n }$ in $X$ s.t. $f_n rightarrow^{L^2} f$. I want to show that $f$ is a.e. constant. By Riesz-Fisher there exists a subsequence ${f_{n_k} } in X$ such that $f_{n_k} rightarrow f$ a.e. in $X$. How can I conclude?










share|cite|improve this question















I don't know how to solve the following exercise:




Let $X$ be the subspace of $L^{2}(0,1)$ of a.e. constant functions. What is the projection over $X$ of a function $u in L^2(0,1)$?






First of all, $X$ is convex, and this is trivial to prove. It's also closed. So, by the characterization of projections onto closed and convex subspace I have to find a $v in X$ s.t.



(*) $langle u-v,f rangle=0$ for every $f in X$, i.e. $int_0^1 (u(x)-v(x))f(x)dx=0$, but $u$ and $f$ are constants, so I can't see any way to set that integral equals to $0$.



Maybe I could start by thinking about $Vert u - v Vert_{L^2}^2=int_0^1|u(x)-v(x)|^2dx $ and how to minimize this integral with $v in X$. The best I can do, I guess, is to set $v(x)=v=max {|u(x)|: x in [0,1] }$, but I still can't understand how to find a $u$ such that (*) holds.



EDIT:
I need also to prove that $X$ is closed.To this aim, I take a sequence ${ f_n }$ in $X$ s.t. $f_n rightarrow^{L^2} f$. I want to show that $f$ is a.e. constant. By Riesz-Fisher there exists a subsequence ${f_{n_k} } in X$ such that $f_{n_k} rightarrow f$ a.e. in $X$. How can I conclude?







functional-analysis hilbert-spaces lp-spaces projection






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 27 '18 at 14:49

























asked Dec 27 '18 at 14:35









VoB

673213




673213












  • (*) is the characterization of a projection if $X$ is a linear subspace. (Which here luckily is the case.)
    – user251257
    Dec 27 '18 at 14:40


















  • (*) is the characterization of a projection if $X$ is a linear subspace. (Which here luckily is the case.)
    – user251257
    Dec 27 '18 at 14:40
















(*) is the characterization of a projection if $X$ is a linear subspace. (Which here luckily is the case.)
– user251257
Dec 27 '18 at 14:40




(*) is the characterization of a projection if $X$ is a linear subspace. (Which here luckily is the case.)
– user251257
Dec 27 '18 at 14:40










1 Answer
1






active

oldest

votes


















1














The space $X$ is spanned by the constant function $1$, whose norm is $1$. Therefore, the orthogonal projection of $f$ on $X$ is $langle u,1rangle1$. That is, it's the constant function $int_0^1u$.






share|cite|improve this answer





















  • Okay, now that makes sense. Actually, I didn't prove it's closed, and now I see that it's not so easy. I edited my original post
    – VoB
    Dec 27 '18 at 14:49










  • In any Banach space, a subspace spanned by a single vector (or, more generally, any finite-dimensional subspace) is closed.
    – José Carlos Santos
    Dec 27 '18 at 14:54










  • Yes, I know this. But I want to show it by using the classical definition of closed set.
    – VoB
    Dec 27 '18 at 14:57










  • Use the fact that any convergent sequence of elements of $mathbb{R}v$ is of the form $(lambda_nv)_{ninmathbb N}$, where each $lambda_n$ is a real number. But then the sequence $(lambda_n)_{ninmathbb N}$ converges to some $lambdainmathbb R$ and therefore $lim_{ntoinfty}lambda_nv=lambda vinmathbb{R}v$.
    – José Carlos Santos
    Dec 27 '18 at 15:01










  • With $mathbb{R}v$ you mean real multiples of a constant $v$, right? So you say: assume that ${ f_n } in X$ converges. By definitions, each $f_n$ is of the form $f_n=lambda_n v$, where $v$ is a constant. But then, since the sequence converges, $lambda_n rightarrow lambda$, and then $f_n=lambda_n v rightarrow lambda v in mathbb{R}$, so $X$ is closed
    – VoB
    Dec 27 '18 at 15:17













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


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3053981%2fprojection-of-a-l2-function-over-a-set-of-constant-functions%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









1














The space $X$ is spanned by the constant function $1$, whose norm is $1$. Therefore, the orthogonal projection of $f$ on $X$ is $langle u,1rangle1$. That is, it's the constant function $int_0^1u$.






share|cite|improve this answer





















  • Okay, now that makes sense. Actually, I didn't prove it's closed, and now I see that it's not so easy. I edited my original post
    – VoB
    Dec 27 '18 at 14:49










  • In any Banach space, a subspace spanned by a single vector (or, more generally, any finite-dimensional subspace) is closed.
    – José Carlos Santos
    Dec 27 '18 at 14:54










  • Yes, I know this. But I want to show it by using the classical definition of closed set.
    – VoB
    Dec 27 '18 at 14:57










  • Use the fact that any convergent sequence of elements of $mathbb{R}v$ is of the form $(lambda_nv)_{ninmathbb N}$, where each $lambda_n$ is a real number. But then the sequence $(lambda_n)_{ninmathbb N}$ converges to some $lambdainmathbb R$ and therefore $lim_{ntoinfty}lambda_nv=lambda vinmathbb{R}v$.
    – José Carlos Santos
    Dec 27 '18 at 15:01










  • With $mathbb{R}v$ you mean real multiples of a constant $v$, right? So you say: assume that ${ f_n } in X$ converges. By definitions, each $f_n$ is of the form $f_n=lambda_n v$, where $v$ is a constant. But then, since the sequence converges, $lambda_n rightarrow lambda$, and then $f_n=lambda_n v rightarrow lambda v in mathbb{R}$, so $X$ is closed
    – VoB
    Dec 27 '18 at 15:17


















1














The space $X$ is spanned by the constant function $1$, whose norm is $1$. Therefore, the orthogonal projection of $f$ on $X$ is $langle u,1rangle1$. That is, it's the constant function $int_0^1u$.






share|cite|improve this answer





















  • Okay, now that makes sense. Actually, I didn't prove it's closed, and now I see that it's not so easy. I edited my original post
    – VoB
    Dec 27 '18 at 14:49










  • In any Banach space, a subspace spanned by a single vector (or, more generally, any finite-dimensional subspace) is closed.
    – José Carlos Santos
    Dec 27 '18 at 14:54










  • Yes, I know this. But I want to show it by using the classical definition of closed set.
    – VoB
    Dec 27 '18 at 14:57










  • Use the fact that any convergent sequence of elements of $mathbb{R}v$ is of the form $(lambda_nv)_{ninmathbb N}$, where each $lambda_n$ is a real number. But then the sequence $(lambda_n)_{ninmathbb N}$ converges to some $lambdainmathbb R$ and therefore $lim_{ntoinfty}lambda_nv=lambda vinmathbb{R}v$.
    – José Carlos Santos
    Dec 27 '18 at 15:01










  • With $mathbb{R}v$ you mean real multiples of a constant $v$, right? So you say: assume that ${ f_n } in X$ converges. By definitions, each $f_n$ is of the form $f_n=lambda_n v$, where $v$ is a constant. But then, since the sequence converges, $lambda_n rightarrow lambda$, and then $f_n=lambda_n v rightarrow lambda v in mathbb{R}$, so $X$ is closed
    – VoB
    Dec 27 '18 at 15:17
















1












1








1






The space $X$ is spanned by the constant function $1$, whose norm is $1$. Therefore, the orthogonal projection of $f$ on $X$ is $langle u,1rangle1$. That is, it's the constant function $int_0^1u$.






share|cite|improve this answer












The space $X$ is spanned by the constant function $1$, whose norm is $1$. Therefore, the orthogonal projection of $f$ on $X$ is $langle u,1rangle1$. That is, it's the constant function $int_0^1u$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 27 '18 at 14:38









José Carlos Santos

151k22123224




151k22123224












  • Okay, now that makes sense. Actually, I didn't prove it's closed, and now I see that it's not so easy. I edited my original post
    – VoB
    Dec 27 '18 at 14:49










  • In any Banach space, a subspace spanned by a single vector (or, more generally, any finite-dimensional subspace) is closed.
    – José Carlos Santos
    Dec 27 '18 at 14:54










  • Yes, I know this. But I want to show it by using the classical definition of closed set.
    – VoB
    Dec 27 '18 at 14:57










  • Use the fact that any convergent sequence of elements of $mathbb{R}v$ is of the form $(lambda_nv)_{ninmathbb N}$, where each $lambda_n$ is a real number. But then the sequence $(lambda_n)_{ninmathbb N}$ converges to some $lambdainmathbb R$ and therefore $lim_{ntoinfty}lambda_nv=lambda vinmathbb{R}v$.
    – José Carlos Santos
    Dec 27 '18 at 15:01










  • With $mathbb{R}v$ you mean real multiples of a constant $v$, right? So you say: assume that ${ f_n } in X$ converges. By definitions, each $f_n$ is of the form $f_n=lambda_n v$, where $v$ is a constant. But then, since the sequence converges, $lambda_n rightarrow lambda$, and then $f_n=lambda_n v rightarrow lambda v in mathbb{R}$, so $X$ is closed
    – VoB
    Dec 27 '18 at 15:17




















  • Okay, now that makes sense. Actually, I didn't prove it's closed, and now I see that it's not so easy. I edited my original post
    – VoB
    Dec 27 '18 at 14:49










  • In any Banach space, a subspace spanned by a single vector (or, more generally, any finite-dimensional subspace) is closed.
    – José Carlos Santos
    Dec 27 '18 at 14:54










  • Yes, I know this. But I want to show it by using the classical definition of closed set.
    – VoB
    Dec 27 '18 at 14:57










  • Use the fact that any convergent sequence of elements of $mathbb{R}v$ is of the form $(lambda_nv)_{ninmathbb N}$, where each $lambda_n$ is a real number. But then the sequence $(lambda_n)_{ninmathbb N}$ converges to some $lambdainmathbb R$ and therefore $lim_{ntoinfty}lambda_nv=lambda vinmathbb{R}v$.
    – José Carlos Santos
    Dec 27 '18 at 15:01










  • With $mathbb{R}v$ you mean real multiples of a constant $v$, right? So you say: assume that ${ f_n } in X$ converges. By definitions, each $f_n$ is of the form $f_n=lambda_n v$, where $v$ is a constant. But then, since the sequence converges, $lambda_n rightarrow lambda$, and then $f_n=lambda_n v rightarrow lambda v in mathbb{R}$, so $X$ is closed
    – VoB
    Dec 27 '18 at 15:17


















Okay, now that makes sense. Actually, I didn't prove it's closed, and now I see that it's not so easy. I edited my original post
– VoB
Dec 27 '18 at 14:49




Okay, now that makes sense. Actually, I didn't prove it's closed, and now I see that it's not so easy. I edited my original post
– VoB
Dec 27 '18 at 14:49












In any Banach space, a subspace spanned by a single vector (or, more generally, any finite-dimensional subspace) is closed.
– José Carlos Santos
Dec 27 '18 at 14:54




In any Banach space, a subspace spanned by a single vector (or, more generally, any finite-dimensional subspace) is closed.
– José Carlos Santos
Dec 27 '18 at 14:54












Yes, I know this. But I want to show it by using the classical definition of closed set.
– VoB
Dec 27 '18 at 14:57




Yes, I know this. But I want to show it by using the classical definition of closed set.
– VoB
Dec 27 '18 at 14:57












Use the fact that any convergent sequence of elements of $mathbb{R}v$ is of the form $(lambda_nv)_{ninmathbb N}$, where each $lambda_n$ is a real number. But then the sequence $(lambda_n)_{ninmathbb N}$ converges to some $lambdainmathbb R$ and therefore $lim_{ntoinfty}lambda_nv=lambda vinmathbb{R}v$.
– José Carlos Santos
Dec 27 '18 at 15:01




Use the fact that any convergent sequence of elements of $mathbb{R}v$ is of the form $(lambda_nv)_{ninmathbb N}$, where each $lambda_n$ is a real number. But then the sequence $(lambda_n)_{ninmathbb N}$ converges to some $lambdainmathbb R$ and therefore $lim_{ntoinfty}lambda_nv=lambda vinmathbb{R}v$.
– José Carlos Santos
Dec 27 '18 at 15:01












With $mathbb{R}v$ you mean real multiples of a constant $v$, right? So you say: assume that ${ f_n } in X$ converges. By definitions, each $f_n$ is of the form $f_n=lambda_n v$, where $v$ is a constant. But then, since the sequence converges, $lambda_n rightarrow lambda$, and then $f_n=lambda_n v rightarrow lambda v in mathbb{R}$, so $X$ is closed
– VoB
Dec 27 '18 at 15:17






With $mathbb{R}v$ you mean real multiples of a constant $v$, right? So you say: assume that ${ f_n } in X$ converges. By definitions, each $f_n$ is of the form $f_n=lambda_n v$, where $v$ is a constant. But then, since the sequence converges, $lambda_n rightarrow lambda$, and then $f_n=lambda_n v rightarrow lambda v in mathbb{R}$, so $X$ is closed
– VoB
Dec 27 '18 at 15:17




















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%2f3053981%2fprojection-of-a-l2-function-over-a-set-of-constant-functions%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

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

張江高科駅