Let $C^{1}[0,1]$ be the vector space of all continuous functions $f:[0,1]\to \mathbb{C}$ with continuous derivative on $[0,1]$ $\newcommand\inner[2]{\left\langle #1, #2 \right\rangle}$ $$\inner{f}{g}=f(0)\overline{g(0)}+f'(0)\overline{g'(0)}+f(1)\overline{g(1)}$$
Is it an inner product over the subspace $P_{2}=\mathrm{span}\{1,x,x^2\}$?
Is it an inner product over $C^{1}[0,1]$?
I have started with
a.$$\overline{\inner{g}{f}}=\overline{g(0)\overline{f(0)}+g'(0)\overline{f'(0)}+g(1)\overline{f(1)}}=f(0)\overline{g(0)}+f'(0)\overline{g'(0)}+f(1)\overline{g(1)}=\inner{f}{g}$$
b.$$\inner{\alpha f+\beta g}{h}=[\alpha f(0)+\beta g(0)]\overline{h(0)}+[\alpha f(0)+\beta g(0)]'\overline{h'(0)}+[\alpha f(1)+\beta g(1)]\overline{h(1)}=\alpha f(0)\overline{h(0)}+\alpha f'(0)\overline{h(0)}+\alpha f(1)\overline{h(1)}+\beta g(0)\overline{h(0)}+\beta g'(0)\overline{h'(0)}+\beta g(1)\overline{h(1)}=\alpha\inner{f}{h}+\beta\inner{g}{h}$$
Which hold for both $1$ and $2$
Looking at $\inner{f}{f}$ for the first case we get:
$$\inner{f}{f}=[f(0)]^2+[f'(0)]^2+[f(1)]^2$$ Which is greater than $0$ and equal to $0$ if each element is zero $f(0)=f(1)=f'(0)=0$ and it can be only if $f\equiv 0$
Looking at $\inner{f}{f}$ for the second case we get:
$$\inner{f}{f}=|f(0)|^2+|f'(0)|^2+|f(1)|^2$$ Which is greater than $0$ and equal to $0$ if each element is zero $|f(0)|=|f(1)|=|f'(0)|=0$ and it can be only if $f\equiv 0$
So it is an inner product from both $1$ and $2$? If we know that a function is an inner product on a "bigger" space let say bigger dimension vector space, can we conclude it will an inner product for all subspaces of the vector space?
To prove that $\newcommand\inner[2]{\langle #1, #2 \rangle}$$\inner{f}{f} = 0$ implies $f = 0$ on the space $\mathrm{span}\{1,x,x^2\}$, consider $f \in \mathrm{span}\{1,x,x^2\}$. $f$ must be of the form $f(x) = ax^2 + bx + c$. The conditions imposed on the coefficients $a, b, c$ by $\inner{f}{f} = 0$ are: $$0 = f(0) = c$$ $$0 = f(1) = a+b+c$$ $$0 = f'(0) = 2a$$
From here follows $a = b = c = 0$, which implies $f = 0$.