Bài 4:
\(f\left(x\right)+x.f\left(-x\right)=x+1\) (*)
Thay \(x=1\) vào (*), ta có:
\(f\left(1\right)+1.f\left(-1\right)=1+1\Rightarrow f\left(1\right)+f\left(-1\right)=2\) (**)
Thay \(x=-1\) vào (*), ta có:
\(f\left(-1\right)+\left(-1\right).f\left(-\left(-1\right)\right)=-1+1\Rightarrow f\left(-1\right)-f\left(1\right)=0\) (***)
Trừ (**) và (***) vế theo vế, ta có:
\(\left(f\left(1\right)+f\left(-1\right)\right)-\left(f\left(-1\right)-f\left(1\right)\right)=2-0\)
\(\Rightarrow f\left(1\right)+f\left(-1\right)-f\left(-1\right)+f\left(1\right)=2\)
\(\Rightarrow\left(f\left(1\right)+f\left(1\right)\right)+\left(f\left(-1\right)-f\left(-1\right)\right)=2\)
\(\Rightarrow2.f\left(1\right)=2\)
\(\Rightarrow f\left(1\right)=1\)