Prasnya
Prasnya
Prasnya
Continue with Google
Question 41 - Week 1 Practice | Prasnya
Q41
00:00
10 Jul 2022
Q41.
Which of the following functions is/are onto (surjective)?
A
f
:
N
→
N
f:\mathbb{N}\to\mathbb{N}
f
:
N
→
N
,
f
(
n
)
=
{
n
/
2
,
n
 is even
n
−
1
,
otherwise
f(n)=\begin{cases} n/2,& n\text{ is even}\\ n-1,& \text{otherwise}\end{cases}
f
(
n
)
=
{
n
/2
,
n
−
1
,
​
n
 is even
otherwise
​
.
B
f
:
N
→
N
f:\mathbb{N}\to\mathbb{N}
f
:
N
→
N
,
f
(
n
)
=
{
(
n
+
1
)
/
2
,
n
 is odd
n
/
2
,
otherwise
f(n)=\begin{cases} (n+1)/2,& n\text{ is odd}\\ n/2,& \text{otherwise}\end{cases}
f
(
n
)
=
{
(
n
+
1
)
/2
,
n
/2
,
​
n
 is odd
otherwise
​
.
C
f
:
R
→
N
f:\mathbb{R}\to\mathbb{N}
f
:
R
→
N
,
f
(
n
)
=
{
0
,
n
∈
Q
1
,
otherwise
f(n)=\begin{cases}0,& n\in\mathbb{Q}\\1,& \text{otherwise}\end{cases}
f
(
n
)
=
{
0
,
1
,
​
n
∈
Q
otherwise
​
.
D
f
:
R
→
R
f:\mathbb{R}\to\mathbb{R}
f
:
R
→
R
,
f
(
n
)
=
n
−
2
f(n)=n-2
f
(
n
)
=
n
−
2
.
Save
Check
Details
Q41
00:00
10 Jul 2022
Q41.
Which of the following functions is/are onto (surjective)?
A
f
:
N
→
N
f:\mathbb{N}\to\mathbb{N}
f
:
N
→
N
,
f
(
n
)
=
{
n
/
2
,
n
 is even
n
−
1
,
otherwise
f(n)=\begin{cases} n/2,& n\text{ is even}\\ n-1,& \text{otherwise}\end{cases}
f
(
n
)
=
{
n
/2
,
n
−
1
,
​
n
 is even
otherwise
​
.
B
f
:
N
→
N
f:\mathbb{N}\to\mathbb{N}
f
:
N
→
N
,
f
(
n
)
=
{
(
n
+
1
)
/
2
,
n
 is odd
n
/
2
,
otherwise
f(n)=\begin{cases} (n+1)/2,& n\text{ is odd}\\ n/2,& \text{otherwise}\end{cases}
f
(
n
)
=
{
(
n
+
1
)
/2
,
n
/2
,
​
n
 is odd
otherwise
​
.
C
f
:
R
→
N
f:\mathbb{R}\to\mathbb{N}
f
:
R
→
N
,
f
(
n
)
=
{
0
,
n
∈
Q
1
,
otherwise
f(n)=\begin{cases}0,& n\in\mathbb{Q}\\1,& \text{otherwise}\end{cases}
f
(
n
)
=
{
0
,
1
,
​
n
∈
Q
otherwise
​
.
D
f
:
R
→
R
f:\mathbb{R}\to\mathbb{R}
f
:
R
→
R
,
f
(
n
)
=
n
−
2
f(n)=n-2
f
(
n
)
=
n
−
2
.
Save
Check
Details