Now, for the given operation to be a scalar product, I know I need to check four conditions. Here's what I have done so far:
- $\langle f,g\rangle $ = $\int_{0}^{1} f(x)g(x)dx$ = $\int_{0}^{1} g(x)f(x)dx $ = $\langle g,f\rangle $
- $\langle f+g,h\rangle $ = $\int_{0}^{1} (f+g)(x)h(x)dx$ = $\int_{0}^{1} f(x)h(x)dx$ + $\int_{0}^{1} g(x)h(x)dx$ = $\langle f,h\rangle $ + $\langle g,h\rangle $
- $\langle cf,g\rangle $ = $\int_{0}^{1} (cf)(x)g(x)dx$ = c$\int_{0}^{1} f(x)g(x)dx$ = c$\langle f,g\rangle $
- $\langle f,f\rangle $ = $\int_{0}^{1} f(x)f(x)dx$ = $\int_{0}^{1} f(x)^2dx\ \geq 0$ since, $f(x)^2 \geq 0$ $\forall x\in[0,1]$. But, now how do I show that $\langle f,f\rangle = 0 $ if and only if $f$ is the constant function zero?
Any help would be greatly appreciated.
EDIT is it necessary to explicitly demonstrate that $\langle f,f\rangle = 0 $ if and only if $f$ is the constant function zero?
EDIT here's how I approached the problem based on the replies I got here.
Assuming $f \neq 0,$ we know that $f(a)^2 = c \geq o$ $ a \in [0,1] $ Then we have by definition: for every $\epsilon > 0 \exists \delta > 0 $ Such that $|x-a| < \delta \implies |f(x)-f(a)| < \epsilon$ and so we can get $|f(x)|> 1/2 f(a)$ or $f(x)^2> 1/4 f(a)^2$
Thus, $\int_{0}^{1} f(x)^2dx $ $\geq$ $\int_{a-\delta}^{a+\delta} f(x)^2dx $ $\geq$ $\int_{a-\delta}^{a+\delta} 1/4f(a)^2dx $ $\geq$ $1/4f(a)^2$ $\int_{a-\delta}^{a+\delta}dx$ $\geq$ $1/4f(a)^2\delta$ > 0
(Since $1/4f(a)^2 >0$ and $\delta$ > 0)