Given that function f (x) is an odd function on R, and x > 0, f (x) = 1, try to find the expression of function y = f (x)

Given that function f (x) is an odd function on R, and x > 0, f (x) = 1, try to find the expression of function y = f (x)

Let x < 0, then - x > 0
So f (- x) = 1
Because f (x) is an odd function
Required f (x) = - f (- x) = - 1
When Lim f (x) = 1
X→0+
Lim f(X)=-1
X→0-
So f (x) is meaningless at 0
So y = f (x) = {1 x > 0
{ -1 X