If $g:\mathbb{N}\rightarrow \mathbb{R}$ and $g(m+n)+g(m-n)=2g(m)+2g(n)$ what is $g(x)$

256 Views Asked by At

Determine all functions $g:\mathbb{N}\rightarrow \mathbb{R}$ such that $g(1)=1$ and $$g(m+n)+g(m-n)=2g(m)+2g(n), \quad \forall m\ge n \in \mathbb{N}$$

Because of the identity $k\cdot (a+b)^2 +k\cdot (a-b)^2=2k\cdot a^2+2k\cdot b^2$

I guess it is $g(x) = q\cdot x^2 \cdot $ and since $g(1)=1$ it is $q=1$ thus $g(x)=x^2$.

1

There are 1 best solutions below

6
On BEST ANSWER

We have that $g(0)=0$ because, with $m=1,n=0$, $g(1)+g(1)=2g(1)+2g(0)$. Now $g(n+1)+g(n-1)=2g(n)+2g(1)$, thus $g(n+1)=2g(n)-g(n-1)+2$.

By induction, we suppose that $g(k)=k^2$ for $k\leq n$. This is true for $0$ and $1$. For $n+1$, we have $$g(n+1)=2n^2-(n-1)^2+2=2n^2-n^2+2n-1+2=n^2+2n+1=(n+1)^2.$$ The induction step is proved so $$g(n)=n^2 \ \ \ \forall n \in \Bbb N.$$