f:R→{x∈R:−1<x<1} defined byf(x)=x1+|x|,x∈R is one-one and onto function.
Simplify given data.
f:R→{x∈R:−1<x<1}
f(x)=x1+|x|
we know that
|x|={x,x≥0−x,x<0
So, f(x)=⎧⎪
⎪⎨⎪
⎪⎩x1+xx≥0x1−x,x<0
Solve for one-one
When x≥0
f(x1)=x11+x1
f(x2)=x21+x2
For one-one, putting f(x1)=f(x2)
⇒x11+x1=x21+x2
⇒x1(1+x2)=x2(1+x1)
⇒x1+x1x2=x2+x2x1
⇒x1=x2
For x<0
f(x1)=x11−x1
f(x2)=x21+x2
For one-one, putting f(x1)=f(x2)
⇒x11+x1=x21+x2
⇒x1(1−x2)=x2(1−x1)
⇒x1−x1x2=x2−x2x1
⇒x1=x2
Hence, if f(x1)=f(x2),thenx1=x2
∴ f is one-one.
Solve for onto.
f(x)=⎧⎪
⎪⎨⎪
⎪⎩x1+xx≥0x1−x,x<0
For x≥0
f(x)=x1+x
Letf(x)=y
⇒y=x1+x
⇒y(1+x)=x
⇒y+xy=x
⇒y=x−xy
⇒x−xy=y
⇒x(1−y)=y
⇒x=y1−y
For x < 0
f(x)=x1−x
Let f(x)= y
⇒ y=x1−x
⇒ y(1−x)=x
⇒ y−xy=x
⇒ y=x+xy
⇒ x+xy=y
⇒ x(1+y)=y
⇒ x=y1+y
Thus,
x=y1−yforx≥0 & x=y1+y,forx<0
Here, y∈{y∈R:−1<y<1}
If y=1,
x=y1−y will be not defined,
If y=−1
x=y1+y will be not defined,
So, y∈(−1,1)
So here we see that codomain = Range
∴ f is onto.
Hence, f is both one-one and onto
Proved.