Let us consider function $s:K^m \times K^m \mapsto K$ (here $K = \mathbb{R}$ or $K = \mathbb{C}$). If $\forall x, y, z \in K^m, \forall \lambda \in K$
- $s(x + y, z) = s(x, z) + s(y, z)$
- $s(\lambda x, y) = \lambda s(x, y)$
- $s(y, x) = \overline{s(x, y)}$
- $s(x, x) \geq 0$
- $s(x, x) = 0 \implies x = 0$
then $s$ is called inner product.
Problem. For each $n = 1, 2, 3, 4, 5$ find a function $s$ that doesn't satisfy the $n$-th property and satisfies the remaining four.
First consider $K = \mathbb{R}$. I found the following:
$n = 3, s(x, y) = xy^3$
$n = 4, s(x, y) = -xy$
$n = 5, s(x, y) \equiv 0$
How can I approach $n = 1, 2$? Perhaps I need to choose $K = \mathbb{C}$ for those?
Edit: I changed the domain of $s$ from $\mathbb{R} \times \mathbb{R}$ to $K^m \times K^m$ because
if $\lambda \in \mathbb{C}$ then $\mathbb{R}$ is not closed w.r.t. scalar multiplication and
if $s: K \times K \mapsto K$ and 2-5 hold then 1 must hold.