Let A={1,3,5,7},B={2,4,6,8} and f:A→B. Then number of functions f such that f(i)≠i+1,∀i=1,3,5,7 is
A
64
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
24
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
81
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
256
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C81 f(i)≠i+1 ⇒f(1)≠2,f(3)≠4,f(5)≠6,f(7)≠8
So, each of the elements in A={1,3,5,7} has 3 choices in B={2,4,6,8} ∴ Required number of functions =3×3×3×3=34=81