Class 12 Maths, Worked in Full Past papersGet updates
Chapter 1 · Relations and Functions

Exercise 1.2 · Q12 (MCQ): f(x)=3xf(x)=3x on R\R

Exercise 1.2Types of functions · Exercise 1.2
The question

Let f:R→Rf : \R \to \R be defined as f(x)=3xf(x) = 3x⁠. Choose the correct answer.

(A) ff is one-one onto
(B) ff is many-one onto
(C) ff is one-one but not onto
(D) ff is neither one-one nor onto.

Exam answer

3x1=3x2⇒x1=x23x_1 = 3x_2 \Rightarrow x_1 = x_2⁠, so ff is one-one. For y∈Ry \in \R⁠, f(y3)=yf\big(\frac{y}{3}\big) = y⁠, so ff is onto.

Answer: (A) ff is one-one onto

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

Multiplying by 3 can be undone by dividing by 3, and dividing by 3 is always possible in R\R⁠. Undoing in one direction means equal outputs come from equal inputs (one-one); undoing in the other means every real yy comes from the real number y3\frac{y}{3} (onto). The domain matters: on R\R the number y3\frac{y}{3} is always available, which would not be true on N\N or Z\Z⁠.

Given, to find, and the plan
Given
f(x)=3xf(x) = 3x⁠, with domain R\R and codomain R\R⁠.
To find
Which of (A)–(D) correctly describes ff⁠.
Plan
(1) Prove one-one for arbitrary inputs. (2) Prove onto by solving 3x=y3x = y for an arbitrary real yy and checking. (3) Compare with each option and say why each wrong option fails.

Basics you need

1One-one, and "many-one"

ff is one-one if f(x1)=f(x2)⇒x1=x2f(x_1)=f(x_2) \Rightarrow x_1 = x_2 for all x1,x2x_1, x_2⁠; otherwise it is called many-one (Definition 5). To prove one-one, start from arbitrary x1,x2x_1, x_2⁠. Basics: one-one and onto

2Onto

f:X→Yf : X\to Y is onto if for every y∈Yy \in Y there is x∈Xx \in X with f(x)=yf(x) = y (Definition 6). To prove it, take an arbitrary yy⁠, construct xx⁠, and check xx is in the domain.

3Dividing by a non-zero number

If 3a=3b3a = 3b⁠, dividing both sides by 3≠03 \ne 0 gives a=ba = b⁠. And for any real yy⁠, y3\frac{y}{3} is again a real number.

4Reading a multiple-choice question

Each option makes two claims, one about one-one and one about onto. An option is correct only if both claims are true. Basics: proving and disproving

Solution

  1. One-one: divide by 3

    Let x1,x2x_1, x_2 be any real numbers with f(x1)=f(x2)f(x_1) = f(x_2)⁠. Then

    3x1=3x2 ⟹ x1=x2(divide both sides by 3).3x_1 = 3x_2 \ \Longrightarrow\ x_1 = x_2 \qquad(\text{divide both sides by } 3).

    So equal outputs always come from equal inputs: ff is one-one.

    Because one-one is a claim about every pair of inputs, we use arbitrary x1,x2x_1, x_2 rather than examples. Dividing by 3 is valid because 3≠03 \ne 0⁠. (If the function were 0⋅x0\cdot x⁠, this step would fail, and indeed that function sends every input to 0.)
    One-one: f(x1)=f(x2)⇒x1=x2f(x_1) = f(x_2) \Rightarrow x_1 = x_2 (Definition 5). Division by a non-zero number (Basic 3).
  2. Onto: every real yy is 3⋅y33\cdot\frac{y}{3}

    Take an arbitrary y∈Ry \in \R⁠. Solving 3x=y3x = y gives the candidate x=y3x = \frac{y}{3}⁠. This is a real number, so it lies in the domain R\R⁠, and

    f ⁣(y3)=3⋅y3=y. ✓f\!\left(\frac{y}{3}\right) = 3\cdot\frac{y}{3} = y. \ ✓

    So every element of the codomain is an image: ff is onto.

    −2−112 −6−4−2246 x y (2/3, 2) y = 2 y = 3x
    The graph of y=3xy = 3x (horizontal and vertical scales differ) is a straight line through the origin that extends without bound in both directions. Every horizontal line meets it exactly once: y=2y = 2 meets it only at x=23x = \frac23⁠. Exactly once means one-one and onto.
    For onto we must reach every real yy⁠, so we start from an arbitrary one, solve for the candidate input, and then check both that it is in the domain and that it maps to yy⁠. The domain check is where R\R matters: if the domain were N\N⁠, as in Example 8 with 2x2x⁠, the candidate y3\frac{y}{3} would often not be a natural number, and onto would fail.
    Onto: for an arbitrary yy in the codomain, find xx in the domain with f(x)=yf(x)=y (Definition 6). Basics: one-one and onto
  3. Examine every option

    We have shown: ff is one-one (Step 1) and onto (Step 2). Now test each option's two claims.

    OptionClaimsVerdict
    (A)one-one, ontoCorrect. Both claims are exactly what Steps 1 and 2 proved.
    (B)many-one, ontoWrong. "Onto" is true, but "many-one" (not one-one) is false: Step 1 shows no two different inputs share an output.
    (C)one-one, not ontoWrong. "One-one" is true, but "not onto" is false: every yy is the image of y3\frac{y}{3}⁠.
    (D)not one-one, not ontoWrong. Both claims are false, by Steps 1 and 2.
    An option is correct only if both of its claims hold. (B) and (C) each contain one true claim, so they must be rejected by pointing to the false one. Only (A) agrees with both findings.
    Bijective = one-one and onto (Definition 7). Lesson: types of functions
Result

The correct answer is (A): f(x)=3xf(x) = 3x is one-one and onto, that is, bijective. One-one because 3x1=3x23x_1 = 3x_2 gives x1=x2x_1 = x_2⁠; onto because every real yy equals f ⁣(y3)f\!\left(\frac{y}{3}\right)⁠. (Textbook answer: A.)

Check it with numbers

Preimages: y=2y = 2 comes from x=23x = \frac23⁠, since 3⋅23=23\cdot\frac23 = 2 ✓; y=−7y = -7 comes from x=−73x = -\frac73⁠, since 3⋅(−73)=−73\cdot\left(-\frac73\right) = -7 ✓. The inputs −2,−1,0,1,2-2, -1, 0, 1, 2 give the five different outputs −6,−3,0,3,6-6, -3, 0, 3, 6⁠, with no repeats ✓.

Common mistakes
  1. Choosing (C) by thinking of N\N or Z\Z⁠, where 3x3x misses numbers like 1 and 2. Here the domain and codomain are R\R⁠, where y3\frac{y}{3} is always available.
  2. Proving one-one with examples. Seeing that f(1)≠f(2)f(1) \ne f(2) is not a proof; the argument must use arbitrary x1,x2x_1, x_2⁠.
  3. Forgetting to check the preimage lies in the domain. On R\R it does, but this is exactly the check that fails on N\N⁠.
What to take away
  1. f(x)=axf(x) = ax (and more generally ax+bax + b⁠) with a≠0a \ne 0 is a bijection from R\R to R\R⁠.
  2. Whether a function is onto depends on the domain and codomain: 3x3x is onto R\R but not onto Z\Z⁠.
  3. Compare with Q11: x4x^4 fails both properties, 3x3x passes both.

Every fact used, and where it comes from

FactUsed inSource
Dividing by 3≠03 \ne 0⁠; y3∈R\frac{y}{3}\in\R for y∈Ry\in\RSteps 1, 2Properties of real numbers
Definitions of one-one (many-one), onto, bijectiveSteps 1–3Definitions 5, 6, 7, Section 1.3 (Lesson: types of functions)
Same method for 2x2x on R\R⁠, and its failure on N\NSteps 1, 2Example 9 and Example 8, Section 1.3
All numerical valuesCheckRecomputed exactly (fractions) in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →