Skip to main contentSkip to solution

Which of the following functions is a one-to-one and onto function from R\mathbb{R} to R\mathbb{R}?

Solution

✅ Correct Option: 3

For a function from R\mathbb{R} to R\mathbb{R} to be one-to-one and onto, it must:

  • Be one-to-one: different inputs give different outputs
  • Be onto: every real number can be achieved as an output

Let me simplify each function first using properties of exponentials and logarithms.


Option 1: eln⁡(∣x∣)e^{\ln(|x|)}

Using the property eln⁡(a)=ae^{\ln(a)} = a, this simplifies to ∣x∣|x|.

Problem: ∣−3∣=3|-3| = 3 and ∣3∣=3|3| = 3, so different inputs (−3-3 and 33) give the same output (33). This is not one-to-one.

Also, the domain excludes x=0x = 0 since ln⁡(0)\ln(0) is undefined.


Option 2: eln⁡(x)e^{\ln(x)}

This simplifies to xx for x>0x > 0.

Problem: The function is only defined for positive xx (since ln⁡(x)\ln(x) requires x>0x > 0). The domain is not all of R\mathbb{R}, so this cannot be a function from R\mathbb{R} to R\mathbb{R}.


Option 3: ln⁡(ex)\ln(e^x)

Using the property ln⁡(ea)=a\ln(e^a) = a, this simplifies to xx.

Note that exe^x is always positive for any real xx, so ln⁡(ex)\ln(e^x) is defined for all real numbers.

This is the identity function f(x)=xf(x) = x:

  • One-to-one: Each input maps to a unique output ✓
  • Onto: For any real number yy, we can find x=yx = y such that f(x)=yf(x) = y ✓
  • Domain is all of R\mathbb{R} ✓

Option 4: ln⁡(e∣x∣)\ln(e^{|x|})

This simplifies to ∣x∣|x|.

Problem: Same as Option 1 - different inputs like −2-2 and 22 give the same output, so not one-to-one. Also, since ∣x∣≥0|x| \geq 0, we can never get negative outputs, so not onto.


The answer is Option 3 because ln⁡(ex)=x\ln(e^x) = x is the identity function, which maps every real number to itself, making it both one-to-one and onto.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question