4

Let $f:(0,\infty) \rightarrow \mathbb{R}$ be continuous. I need to show that

$$\left(\int_1^ef(x)dx \right)^2 \leq \int_1^e xf(x)^2dx$$ I have been trying to use C-S to prove this but with no luck.

user9352
  • 2,121
  • 1
    what did you try? There's only one way to apply Cauchy Schwarz here and it would work. Hint: What should you multiply to $xf(x)^2$ so that the square root of product is $f(x)$? –  Sep 01 '11 at 21:54
  • @Soarer I used the fact $\sqrt{x} \geq 1$ and got as far as I mention in response to DJC – user9352 Sep 01 '11 at 21:55
  • 1
    @Soarer I posted a hint as an answer before I saw your comment. Now I deleted it. – Srivatsan Sep 01 '11 at 21:58
  • @user9352, you may try to answer the hint I mentioned in the last comment. –  Sep 01 '11 at 21:58
  • @Soarer You can maybe post the hint as an answer? – Srivatsan Sep 01 '11 at 22:33
  • @Srivatsan as there's an answer now it's okay I think. –  Sep 02 '11 at 01:20
  • @Soarer Sorry for butting in line, I didn't notice your hint when I posted... –  Sep 02 '11 at 01:24
  • @Byron It doesn't matter who posts an answer as long as it's correct and OP understands it :) –  Sep 02 '11 at 01:26

1 Answers1

11

$$\left(\int_1^ef(x)dx \right)^2 = \left(\int_1^e{1\over\sqrt{x}}\cdot \sqrt{x}f(x)dx \right)^2 \leq \int_1^e{1\over x}\,dx\cdot\int_1^e xf(x)^2dx=\int_1^e xf(x)^2dx$$

  • I would just like to mention for completeness that the inequality is due to Cauchy-Schwarz and the equality on the right comes from integrating 1/x. – user9352 Sep 02 '11 at 14:35