Malabika Guha Mustafi
unread,Nov 20, 2020, 2:18:44 AM11/20/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Discussion forum for Mathematics for Data Science I, Rajesh Patel, prasad....@gmail.com, Discussion forum for Mathematics for Data Science I, maths1-...@onlinedegree.iitm.ac.in
Let us define a function f:N→N such that f(0)=1,f(1)=0, and f(n)=(n−1)[f(n−1)+f(n−2)] for all n≥2. Define the following sets,
- S1={n|f(n) is even, n≤6}
- S2={n|f(n) is odd, n≤6}
- T={n|f(n) is prime }
So, this says that the f
unction "f" has a domain of "N" (the natural numbers), and a codomain of "N" also.f(0)=1
f(1)=0
f(2)= 1[f(1) + f(0)]=1[0+1]= 1
so , it is not Injective.
f(3) =2[ f(2)+f(1)]=2
f(4)= 3[f(3) +f(2)]=9...so on
clearly, the range means actual output is not taking all natural numbers as it's codomain is defined. A function is called as surjective when codomain = range.
so, this function neither injective or subjective.
The function is a quadratic one so it can not take all N values as range so it is never be surjective.
Hope, it clears your doubt.