Accedmychevron_right11thchevron_rightmathchevron_rightFunctions And Graphschevron_rightExercise 2.1

Solution

Let g:RRg:\mathbb{R}\to\mathbb{R} be defined by:

g(x)=x23xg(x)=x^2-3x

Injective?

Assume g(x1)=g(x2)g(x_1)=g(x_2):

x123x1=x223x2x_1^2-3x_1=x_2^2-3x_2 (x12x22)3(x1x2)=0(x1x2)(x1+x2)3(x1x2)=0(x1x2)(x1+x23)=0\begin{aligned} (x_1^2-x_2^2)-3(x_1-x_2)&=0\\ (x_1-x_2)(x_1+x_2)-3(x_1-x_2)&=0\\ (x_1-x_2)(x_1+x_2-3)&=0 \end{aligned}

So either x1=x2x_1=x_2 or x1+x2=3x_1+x_2=3.

For example, x1=0x_1=0 and x2=3x_2=3 give:

g(0)=0,g(3)=0g(0)=0,\quad g(3)=0

with 030\ne 3, so gg is not injective.

Surjective?

Let yRy\in\mathbb{R} and solve x23x=yx^2-3x=y:

x23xy=0x^2-3x-y=0

This has real solutions only if the discriminant is non-negative:

Δ=(3)24(1)(y)=9+4y0y94\Delta=(-3)^2-4(1)(-y)=9+4y\ge 0\Rightarrow y\ge -\frac{9}{4}

So values y<94y<-\frac{9}{4} are not achieved, hence gg is not surjective.

g is neither injective nor surjective\boxed{g\ \text{is neither injective nor surjective}}