Solve for one-one.
f(x)=3x
For one-one,
f(x1)=f(x2)
3x1=3x2
x1=x2
Hence, if f(x1)=f(x2), then x1=x2
∴ function f is one-one.
Solve for onto.
f(x)=3x
Let f(x)=y, such that y ∈ R
3x=y
x=y3
Now, for y=f(x)
Putting value of x in f(x)
f(x)=f(y3)
⇒f(x)=3(y3)
⇒f(x)=y
Thus, for every y ∈ R, there exists x ∈ R such that
f(x)=y
Hence, f is onto
So, f is one-one and onto.
∴A is the correct option.