Skip to content
NCERT Exemplar · Q6

Q.Let the function f:R→Rf : \mathbb{R} \to \mathbb{R} be defined by f(x)=cos⁡xf(x) = \cos x, ∀ x∈R\forall\, x \in \mathbb{R}. Show that ff is neither one-one nor onto.

Karnataka PUCShort· 3mImportance★★★★★
64% · 67/104 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The cosine function is periodic and bounded between -1 and 1, so it fails the horizontal line test (not one-one) and its range is only [−1,1][-1,1], not all of R\mathbb{R} (not onto).

Why this approach works

To show a function is not one-one, we need to find two distinct inputs that give the same output. For a periodic function like cos⁡x\cos x, this is almost immediate — the function repeats its values every 2π2\pi. To show it is not onto, we need to find at least one real number that is never produced as an output. Since cos⁡x\cos x is bounded between −1-1 and 11, any number outside this interval is impossible to reach.

Let's work through both parts cleanly.


Step-by-step reasoning

1. Showing ff is not one-one

A function is one-one (injective) if f(a)=f(b)f(a) = f(b) implies a=ba = b. To disprove this, we just need a counterexample.

Take x=0x = 0 and x=2πx = 2\pi. Both are real numbers, and 0≠2π0 \neq 2\pi. But:

f(0)=cos⁡0=1,f(2π)=cos⁡(2π)=1f(0) = \cos 0 = 1, \quad f(2\pi) = \cos(2\pi) = 1

So f(0)=f(2π)f(0) = f(2\pi) while 0≠2π0 \neq 2\pi. This directly violates the definition of a one-one function.

Tip

Any two numbers differing by 2π2\pi (or any integer multiple of 2π2\pi) will give the same cosine. So there are infinitely many such pairs — you only need one to disprove injectivity.

2. Showing ff is not onto

A function is onto (surjective) if every element of the codomain R\mathbb{R} is the image of some input. Here, the codomain is all real numbers. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.