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












1












$begingroup$


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











$endgroup$












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
















1












$begingroup$


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











$endgroup$












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














1












1








1





$begingroup$


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











$endgroup$




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







VoB

















asked Dec 27 '18 at 14:35









VoBVoB

738513




738513












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


















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
















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




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










1 Answer
1






active

oldest

votes


















1












$begingroup$

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









$endgroup$













  • $begingroup$
    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
    $endgroup$
    – VoB
    Dec 27 '18 at 14:49










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










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










  • $begingroup$
    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$.
    $endgroup$
    – José Carlos Santos
    Dec 27 '18 at 15:01










  • $begingroup$
    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
    $endgroup$
    – 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












$begingroup$

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









$endgroup$













  • $begingroup$
    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
    $endgroup$
    – VoB
    Dec 27 '18 at 14:49










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










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










  • $begingroup$
    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$.
    $endgroup$
    – José Carlos Santos
    Dec 27 '18 at 15:01










  • $begingroup$
    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
    $endgroup$
    – VoB
    Dec 27 '18 at 15:17


















1












$begingroup$

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









$endgroup$













  • $begingroup$
    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
    $endgroup$
    – VoB
    Dec 27 '18 at 14:49










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










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










  • $begingroup$
    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$.
    $endgroup$
    – José Carlos Santos
    Dec 27 '18 at 15:01










  • $begingroup$
    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
    $endgroup$
    – VoB
    Dec 27 '18 at 15:17
















1












1








1





$begingroup$

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









$endgroup$



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 SantosJosé Carlos Santos

167k22132236




167k22132236












  • $begingroup$
    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
    $endgroup$
    – VoB
    Dec 27 '18 at 14:49










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










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










  • $begingroup$
    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$.
    $endgroup$
    – José Carlos Santos
    Dec 27 '18 at 15:01










  • $begingroup$
    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
    $endgroup$
    – VoB
    Dec 27 '18 at 15:17




















  • $begingroup$
    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
    $endgroup$
    – VoB
    Dec 27 '18 at 14:49










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










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










  • $begingroup$
    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$.
    $endgroup$
    – José Carlos Santos
    Dec 27 '18 at 15:01










  • $begingroup$
    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
    $endgroup$
    – VoB
    Dec 27 '18 at 15:17


















$begingroup$
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
$endgroup$
– VoB
Dec 27 '18 at 14:49




$begingroup$
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
$endgroup$
– VoB
Dec 27 '18 at 14:49












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




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












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




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












$begingroup$
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$.
$endgroup$
– José Carlos Santos
Dec 27 '18 at 15:01




$begingroup$
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$.
$endgroup$
– José Carlos Santos
Dec 27 '18 at 15:01












$begingroup$
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
$endgroup$
– VoB
Dec 27 '18 at 15:17






$begingroup$
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
$endgroup$
– 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.




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

To store a contact into the json file from server.js file using a class in NodeJS

Redirect URL with Chrome Remote Debugging Android Devices

Dieringhausen