Vì \(f\left(0\right)=0\) nên :
\(a.0+b=0\)
\(\Rightarrow b=0\)
\(\Rightarrow\left\{{}\begin{matrix}f\left(x\right)=ax\\-f\left(-x\right)=-\left(-ax\right)=ax\end{matrix}\right.\)
\(\Rightarrow f\left(x\right)=-f\left(-x\right)\)
f(0)=0
=>0.a+b=0<=>b=0
=>f(x)=ax
Ta có:
f(x)=ax
-f(-x)=-[a.(-x)]=-(-ax)=ax
=>f(x)=-f(-x)(ĐPCM)