Solve for one-one.
f(x)=x4
Now, f(x1)=(x1)4,f(x2)=(x2)4
For one-one,
f(x1)=f(x2)
(x1)4=(x2)4
x1=x2 or x1=−x2
Thus, f(x1)=f(x2) does not only imply that x1=x2 (additionally, x1=−x2 also)
So, f is not one-one.
Solve for onto.
Let f(x)=y, such that y ∈ R
x4=y
x=±y14
Here, y is a real number, it can be negative also, which is not possible as root of negative number is not real.
Hence, x is not real.
∴f is not onto.
Hence, f is neither one-one nor onto,
Option D is correct.