5

I am trying to prove Hardy's inequality in the case of 2, so:

$$\int_0^\infty \frac{1}{x^2} \big(\int_0^x f\big)^2 dx\leq 2\int_0^\infty f^2$$

Where f is continuous over $\mathbb{R}_+$ and such that the integral of $f^2$ converges.


The way I'm trying to do it is via an integration by parts, so what I have so far is that:

$$\int_0^y \frac{1}{x^2} \big(\int_0^x f\big)^2 dx = -y\big(\frac{1}{y} \int_0^y f\big)^2 +2\int_0^y f(x)\frac{1}{x}\int_0^xf dx$$

I am however unable to prove that any of these three terms is finite, or to obtain a term ressembling the integral of $f^2$ as necessary.

Mostafa Ayaz
  • 33,056
John Do
  • 652
  • Note: simple proof means that I don't master Fourier theory or Lesbesgue integration (or any other quite advanced techniques in integration). – John Do Feb 20 '18 at 11:50
  • Do you know Minkowski's inequlaity? – tired Feb 20 '18 at 12:50
  • here is an elementary proof: https://math.stackexchange.com/questions/58194/minkowskis-inequality – tired Feb 20 '18 at 12:52
  • @tired it's not Minkowsky's inequality... I do know it for series but not for integrals, and the link you gave doesn't seem to prove what I am trying to. – John Do Feb 20 '18 at 13:29
  • 1
    https://math.stackexchange.com/questions/83946/hardys-inequality-for-integrals this is what i had in mind – tired Feb 20 '18 at 13:41
  • @tired That might work, but I have seen neither Hölder's inequality or Minkowsky's inequality for integrals. Maybe by approximating $f$ by simple functions? – John Do Feb 20 '18 at 15:27

3 Answers3

4

A viable approach is to prove first the discrete analogue $$ \sum_{n=1}^{N}\left(\frac{A_n}{n}\right)^2 \leq 2\sum_{n=1}^{N}\frac{a_n A_n}{n},\qquad A_n=a_1+a_2+\ldots+a_n.\tag{1} $$ Let $B_n=\frac{A_n}{n}$. We have $a_n = A_n-A_{n-1}=nB_n-(n-1)B_{n-1}$, hence $$ B_n^2 -2a_n B_n = B_n^2 - 2B_n (nB_n-(n-1)B_{n-1})=(1-2n)B_n^2+(2n-2)B_n B_{n-1}\tag{2}$$ and since $ab\leq\frac{a^2+b^2}{2}$ we have $$ B_n^2-2a_n B_n \leq (n-1)B_{n-1}^2-n B_n^2 \tag{3}$$ where the RHS of $(3)$ is clearly telescopic, leading to $$ \sum_{n=1}^{N}\left(B_n^2 -2a_n B_n\right)\leq \sum_{n=1}^{N}\left((n-1)B_{n-1}^2-n B_n^2\right)=-NB_N^2\leq 0.\tag{4} $$ Now $(1)$ is proved. By the Cauchy-Schwarz inequality

$$ S_N=\sum_{n=1}^{N}\left(\frac{A_n}{n}\right)^2 \leq 2\sum_{n=1}^{N}\frac{a_n A_n}{n}\leq 2\sqrt{\sum_{n=1}^{N}a_n^2\sum_{n=1}^{N}\left(\frac{A_n}{n}\right)^2}=2\sqrt{S_N\sum_{n=1}^{N}a_n^2}\tag{5}$$ hence it follows that $$ \sum_{n=1}^{N}\left(\frac{A_n}{n}\right)^2\leq \color{red}{4}\sum_{n=1}^{N}a_n^2.\tag{6} $$ The factor $4$ is optimal. By considering $a_n=\sqrt{n}-\sqrt{n-1}$ we have $A_n=\sqrt{n}$ and $\sum_{n=1}^{N}\left(\frac{A_n}{n}\right)^2=H_N=\log(N)+O(1)$, while $$ \sum_{n=1}^{N}a_n^2 = \sum_{n=1}^{N}\frac{1}{(\sqrt{n}+\sqrt{n-1})^2}\geq \frac{1}{4}H_N=\frac{1}{4}\log(N)+O(1).\tag{7}$$ By approximating a function in $L^2(\mathbb{R}^+)$ through simple functions we get that $$ \int_{0}^{+\infty}\left(\frac{1}{x}\int_{0}^{x}f(t)\,dt\right)^2\,dx \leq \color{red}{4}\int_{0}^{+\infty}f(x)^2\,dx \tag{8}$$ follows from $(6)$, where the factor $4$ is optimal.

Jack D'Aurizio
  • 361,689
  • 1
    You are indeed right that it should be a 4 instead of a 2, my teacher must've made a mistake... – John Do Feb 20 '18 at 15:20
  • 1
    Since I spent quite a bit of time finding it, I'll comment a counterexample for continuous functions:

    Let $f_n$ be equal to 1 for $t\leq1$, $(2\sqrt{t})^{-1}$ for $1\leq t\leq n$ and a quick return to zero everywhere else.

    It is then quite immediate that the RHS is equivalent to $\frac{1}{4}ln(n)$ and the LHS to $ln(n)$.

    – John Do Feb 20 '18 at 16:57
4

Here's a trick proof using nothing but the Cauchy-Schwarz inequality. It only works for $p=2$, and it gives a constant $4$ instead of $2$ (regarding which note that Jack says $4$ is optimal and other reliable sources agree), but it's extremely simple:

First note that we can assume $f\ge0$. This will simplify the notation, and also simplify a certain technicality below.

Now note that $$\frac1{x^2}\left(\int_0^xf(t)\,dt\right)^2 =\left(\int_0^1 f(xt)\,dt\right)^2=\int_0^1\int_0^1f(xt)f(xs)\,dtds.$$

(Changing the square of that integral into a double integral is why I call this a "trick" proof. I suspect you could do something similar if $p>2$ is an integer...)

Inserting this above and changing the order of integration you get $$\int_0^\infty\frac1{x^2}\left(\int_0^xf(t)\,dt\right)^2\,dx =\int_0^1\int_0^1\int_0^\infty f(xt)f(xs)\,dxdtds.$$

Detail: Someone objected to changing the order of integration without being careful about the hypotheses. Worrying about this is admirable, but in fact here there's no problem, since everything in sight is positive, and Tonelli's theorem says that Fubini is always ok for positive functions.

Now Cauchy-Schwarz shows that $$\int_0^\infty f(xt)f(xs)\,dx\le\left(\int_0^\infty f(xt)^2\,dt\right)^{1/2}\left(\int_0^\infty f(xs)^2\,dt\right)^{1/2} =s^{-1/2}t^{-1/2}\int_0^\infty f(x)^2\,dx,$$so $$\int_0^\infty\frac1{x^2}\left(\int_0^xf(t)\,dt\right)^2\,dx\le\int_0^1\int_0^1s^{-1/2}t^{-1/2}\,dtds\int_0^\infty f(x)^2\,dx=4\int_0^\infty f(x)^2\,dx.$$

  • I'm onboard until the change in the order of integration. I've always been told to be very careful when doing this, and I'm not sure which hypothesis have to be made before doing so. – John Do Feb 20 '18 at 16:42
  • @JohnDo Yes, we need to be careful about that. See the Detail I just inserted. – David C. Ullrich Feb 20 '18 at 16:50
  • @DavidC.Ullrich I am forced to agree since my knowledge stops way before Tonelli and Fubini, but maybe this means you should add Tonelli's theorem along with the Cauchy Schwarz inequality when you claim it is all you use ;) – John Do Feb 20 '18 at 16:54
  • @JohnDo Perhaps. I don't think I'll worry about it - seems to me that very few readers will both realize there's a possible problem and also not know immediately how to fix it. – David C. Ullrich Feb 20 '18 at 17:15
1

There is a very simple solution, from which I was averted by the fact that I thought it was a dead end (and quoted it as so in my question).

The integration by parts gave us:

$$\int_0^y \frac{1}{x^2} \big(\int_0^x f\big)^2 dx = -y\big(\frac{1}{y} \int_0^y f\big)^2 +2\int_0^y f(x)\frac{1}{x}\int_0^xf dx$$

Therefore,

$$\int_0^y \frac{1}{x^2} \big(\int_0^x f\big)^2 dx \leq 2\int_0^y f(x)\frac{1}{x}\int_0^xf dx \leq 2\sqrt{\int_0^y f^2 \int_0^y\frac{1}{x^2}\big(\int_0^xf \big)^2dx}$$

And thus, by dividing by a non-zero value and squaring:

$$\int_0^y \frac{1}{x^2} \big(\int_0^x f\big)^2 dx \leq 4\int_0^y f^2$$

(note that if the integral is zero, then it is clear that the inequality is trivial)

John Do
  • 652