Let $f:\mathbb{R}^n\to\mathbb{R}$ be a twice continuously differentiable function such that $f(tX)=t^2f(X)$ for all $X\in\mathbb{R}$. Show that $f$ is a quadratic form.(You need some formulas of calculus in several variables to do this.)
Quadratic form definition:
Let $V$ be a finite dimensional space over the field $K$. Let $g=\langle ,\rangle$ be a symmetric bilinear form on $V$. By the quadratic form determined by $g$, we shall mean a function:
$f:V\to K$
such that $f(v)=g(v,v)=\langle v,v\rangle$
I think I need to get a bilinear form and prove $f$ fulfils its properties. I have the following formula $g(x,y)=\frac{1}{2}(f(x+y)-f(x)-f(y))$, and it is clear $g(x,x)=f(x)$.
Question:
How am I supposed to prove this theorem?