The process is as follows: if the condition f(x+ 1)=-f(x) (1) replaces x in the formula with x+ 1, we get:
f(x+ 1+ 1)=-f(x+ 1)(2)
Then bring f (x+1) =-f (x) in (1) to the right end of (2), and you can get:
f(x+ 1+ 1)=-f(x+ 1)=-(-f(x))= f(x)
Namely: f(x+2)=f(x), and the period T=2.
Good grades! ! !