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 :
one-one but not onto
onto but not one-one
both one-one and onto
neither one-one nor onto
both one-one and onto
Solution
Let the function be f:R→R defined by f(x)=3x+5.
One-one (injective): Assume f(x1)=f(x2) for any x1,x2∈R. Then 3x1+5=3x2+5. Subtracting 5 from both sides gives 3x1=3x2, and dividing by 3 yields x1=x2. Since f(x1)=f(x2) implies x1=x2, the function f(x) is one-one.
Onto (surjective): We need to show that for every y in the codomain R, there exists at least one x in the domain R such that f(x)=y. Let y∈R. We want to find x∈R such that f(x)=y. So, 3x+5=y. Subtracting 5 from both sides gives 3x=y−5, and dividing by 3 yields x=3y−5. Since y is a real number, 3y−5 is also a real number. Thus, for any y∈R (codomain), we found an x=3y−5∈R (domain) such that f(x)=f(3y−5)=3(3y−5)+5=(y−5)+5=y. Since for every y in the codomain R, there exists an x in the domain R such that f(x)=y, the function f(x) is onto.
Since the function f(x) is both one-one and onto, it is a bijective function.