Solveeit Logo

Question

Question: A function f: R→R defined by f(x)=3x+5 is :...

A function f: R→R defined by f(x)=3x+5 is :

A

one-one but not onto

B

onto but not one-one

C

both one-one and onto

D

neither one-one nor onto

Answer

both one-one and onto

Explanation

Solution

Let the function be f:RRf: R \to R defined by f(x)=3x+5f(x) = 3x + 5.

One-one (injective): Assume f(x1)=f(x2)f(x_1) = f(x_2) for any x1,x2Rx_1, x_2 \in R. Then 3x1+5=3x2+53x_1 + 5 = 3x_2 + 5. Subtracting 5 from both sides gives 3x1=3x23x_1 = 3x_2, and dividing by 3 yields x1=x2x_1 = x_2. Since f(x1)=f(x2)f(x_1) = f(x_2) implies x1=x2x_1 = x_2, the function f(x)f(x) is one-one.

Onto (surjective): We need to show that for every yy in the codomain RR, there exists at least one xx in the domain RR such that f(x)=yf(x) = y. Let yRy \in R. We want to find xRx \in R such that f(x)=yf(x) = y. So, 3x+5=y3x + 5 = y. Subtracting 5 from both sides gives 3x=y53x = y - 5, and dividing by 3 yields x=y53x = \frac{y - 5}{3}. Since yy is a real number, y53\frac{y-5}{3} is also a real number. Thus, for any yRy \in R (codomain), we found an x=y53Rx = \frac{y-5}{3} \in R (domain) such that f(x)=f(y53)=3(y53)+5=(y5)+5=yf(x) = f\left(\frac{y-5}{3}\right) = 3\left(\frac{y-5}{3}\right) + 5 = (y-5) + 5 = y. Since for every yy in the codomain RR, there exists an xx in the domain RR such that f(x)=yf(x) = y, the function f(x)f(x) is onto.

Since the function f(x)f(x) is both one-one and onto, it is a bijective function.