Skip to main contentSkip to solution

The function f:R→[−1,1]f: \mathbb{R} \rightarrow [-1, 1] defined by f(x)=cos⁡xf(x) = \cos x is:

Solution

✅ Correct Option: 2

A function is one-one (injective) if each output comes from exactly one input. A function is onto (surjective) if every value in the target set is achieved by some input.


To check if f(x)=cos⁡xf(x) = \cos x is one-one, consider:

f(0)=cos⁡(0)=1f(0) = \cos(0) = 1

f(2π)=cos⁡(2π)=1f(2\pi) = \cos(2\pi) = 1

Since 0≠2π0 \neq 2\pi but both give the same output, different inputs produce the same output.

Similarly:

f(π/3)=cos⁡(π/3)=0.5f(\pi/3) = \cos(\pi/3) = 0.5

f(5π/3)=cos⁡(5π/3)=0.5f(5\pi/3) = \cos(5\pi/3) = 0.5

The function is not one-one.


To check if f(x)=cos⁡xf(x) = \cos x is onto, verify that every value in [−1,1][-1, 1] can be achieved.

The range of cos⁡x\cos x is exactly [−1,1][-1, 1]:

cos⁡(0)=1\cos(0) = 1

cos⁡(π/3)=0.5\cos(\pi/3) = 0.5

cos⁡(π/2)=0\cos(\pi/2) = 0

cos⁡(2π/3)=−0.5\cos(2\pi/3) = -0.5

cos⁡(π)=−1\cos(\pi) = -1

For any value between −1-1 and 11, there exists an xx value such that cos⁡x\cos x equals that value.

The function is onto.


The function is onto but not one-one.

Keyboard Shortcuts

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