A technical step in proving Hardy's inequality
A technical step in proving Hardy's inequality $$ \int_{B(0,r)}\frac{\mu^{2}}{|x|^{2}}dx\le C\int_{B(0,r)}(|D\mu|^{2}+\frac{\mu^{2}}{r^{2}})dx $$ where $n>3, r>0, \mu\in H^{1}(B(0,r))$ is to show that $$ \int_{B(0,r)}\mu D\mu\cdot \frac{x}{|x|^{2}}dx\le C\int _{B(0,r)}|D\mu|^{2}dx+\frac{C}{r}\int_{\partial B(0,r)}\mu^{2}dS $$ (see Evans, Partial Differential Equations, page 297). This seems to be assumed implicitly and should be easy to prove, but I do not know how to show it. My guess is the second term on the right hand side may not even be needed, I added at here for completeness.
One strategy is to regard $\mu D\mu=\frac{1}{2}D(\mu^{2})$, and then use integration by parts. But this create a difficulty that since $udv=uv-vdu$, we have $D\frac{x}{|x|^{2}}=\frac{Dx*|x|^{2}-x*D|x|}{|x|^{4}}=\frac{n}{|x|^{2}}-\frac{1}{2|x|^{3}}$. This term obviously did not show up in the right hand side, and I also do not know how to bound it. Therefore this seems a wrong-headed strategy.
Another strategy, also based on integration by parts is to consider $A=\mu, B=D\mu, C=\frac{x}{|x|^{2}}$. Then this give rise to the same problem since at some point we have to differentiate $DC$. I am sure integration by parts would work, but for the moment I am stuck how to apply it properly in this case. I am looking for a hint, not a solution.
Solution 1:
For context, I "quoted" the beginning of proof below. The line "and consequently" does not involve integration by parts: that was already done. Instead, it involves the Peter-Paul inequality $$2ab\le \epsilon a^2+\epsilon^{-1}b^2$$ which allows us to absorb one term into the left hand side, which we are estimating. Common thing in PDE, by the way.
Before "consequently" we have $$ \int_B \frac{u^2}{|x|^2}\lesssim -2\int_B u Du \frac{x}{|x|^2} + \frac1r \int_{\partial B} u^2 $$ and want to do something to the first term on the right. Triangle and Peter-Paul:
$$ \left|2\int_B u Du \frac{x}{|x|^2} \right|\le 2\int_B |Du| \frac{|u|}{|x|} \le \epsilon \int_B \frac{u^2}{|x|^2} + \epsilon^{-1}\int_B |Du|^2 $$