If $w_1$ and $w_2$ are strictly positive, show that the definition $$(x_1,x_2)\dot\ (y_1,y_2)=x_1y_1w_1+x_2y_2w_2,$$ yields an inner product on $\mathbb{R}^2$. Generalize this to $\mathbb{R}^p$.
I am confused on how to do this problem since it doesn't elaborate what $x_1,x_2,y_1,y_2$ are? For these problems should I automatically assume that they are vectors in the Cartesian space? Then I will prove it by letting $x_1=x_i$ and denoting $\vec{x_i}=x_1,...,x_n$ and then proving it by the definition, thus having $w_1(\vec{x_i}+\vec{y_i})=w_1(\langle x_1,...,x_n\rangle\dot\ \langle y_1,...,y_n \rangle)$ ... and preceding conventionally?