Show that the function f:R→R defined by f(x)=xx2+1,∀ x ϵ R is neither one-one nor onto. Also, if g:R→R is defined as g(x)=2x−1, find fog(x).
We have, the function f:R→R defined by
f(x)=xx2+1∀ x ∈ R
For one-one:
Let x1,x2 ∈ R
Now,
f(x1)=f(x2)
⇒x1x21+1=x2x22+1
⇒x1x22+x1=x2x21+x2
⇒x1x22−x2x21+x1−x2=0
⇒−x1x2[x1−x2]+(x1−x2)=0
⇒(x1−x2)(1−x1x2)=0
⇒x1=x2 or x1x2=1
But, there exists some values of x1 and x2 so that x1≠x2 but f(x1)=f(x2)
Like x1=2 and x2=12 then,
f(x1)=25 and f(x2)=25 but x1≠x2
Hence, f(x) is not one-one.
For onto:
Again, consider a value '1' as element in co-domain R.
⇒xx2+1=1
⇒x2+1=x
x2−x+1=0
i.e., quadratic equation in x
Here, discriminant D < 0.
Hnece, there is no real value of x∈R for which f(x)=1.
∴f is not an onto function.
Thus, f is neither one-one nor onto.
Also, f(x)=xx2+1,∀ x ∈ R and g(x)=2x−1
∴fog(x)=f(g(x))=2x−1(2x−1)2+1=2x−14x2+1−4x+1=2x−14x2−4x+2