Find the number of all onto functions from the set $\{1, 2, 3, \ldots, n\}$ to itself.

  • A
    $n!$
  • B
    $n^n$
  • C
    $2^n$
  • D
    $n$

Explore More

Similar Questions

Let $f : R \to R$ be defined by $f(x) = \frac{|x| - 1}{|x| + 1}$. Then $f$ is

For the mapping $f: R-\{1\} \rightarrow R-\{2\}$,given by $f(x)=\frac{2x}{x-1}$,which of the following is correct?

If a set $A$ has $m$ elements and set $B$ has $n$ elements and the number of injections from $A$ to $B$ is $2520$. Then,$m$ is equal to

If $f: R \rightarrow R$ is defined by $f(x) = \begin{cases} x+4 & \text{for } x < -4 \\ 3x+2 & \text{for } -4 \leq x < 4 \\ x-4 & \text{for } x \geq 4 \end{cases}$ then the correct matching of List-$I$ from List-$II$ is:
List-$I$ List-$II$
$(A)$ $f(-5) + f(-4)$ $(i)$ $14$
$(B)$ $f(|f(-8)|)$ $(ii)$ $4$
$(C)$ $f(f(-7) + f(3))$ $(iii)$ $-11$
$(D)$ $f(f(f(f(0)))) + 1$ $(iv)$ $-1$
$(v)$ $1$
$(vi)$ $0$

The function $f(x) = \log (x + \sqrt{x^2 + 1})$ is

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo