I am in the initial fase of learning analysis. I am working on the following problem:
Consider the quadratic form $f \, : \, \mathbb{R}^k \to \mathbb{R} $ given by $f(x)=x^TBx$ for $x \in \mathbb{R^k}$ and a $k \times k$ matrix $B$.
Show that if there exists $x_0 \in \mathbb{R}^k$ such that $x_0^TBx_0 \neq 0$, then $f$ is not uniformly continuous.
Hint: Consider $t \mapsto f(tx_0)$.Show that if $B$ has a diagonal element $b_{ii}$ such that $b_{ii} \neq 0$, then $f$ is not uniformly continuous.
Show that if $B$ is symmetric and different from the zero matrix, then $f$ is not uniformly continuous.
Find an example of a matrix $B$ different from the zero matrix such that $f$ is uniformly continuous.
Regarding question 4, I figured out that the uniform continuity is not ruled out by 1-3 in the example where B is a 2x2 matrix with zeros in the diagonal and the other two elements equal to $a$ and $−a$. And then the function $f$ maps every element to zero, so this function is clearly uniformly continuous.
But I am having trouble with the first 3 questions. Any hints would be greatly appreciated!