Let A and B be two sets such that n(A) = p and n(B) = q,

Question:

Let A and B be two sets such that n(A) = p and n(B) = q, write the number of functions from A to B.

Solution:

It is given that A and B are two sets such that n(A) = p and n(B) = q.

Now, any element of set A, say ai (1 ≤ i ≤ p), is related with an element of set B in q ways. Similarly, other elements of set A are related with an element of set B in q ways.

Thus, every element of set A is related with every element of set B in ways.

∴ Total number of functions from A to B = q × × q × ... × q (p times) = qp

Leave a comment

Close

Click here to get exam-ready with eSaral

For making your preparation journey smoother of JEE, NEET and Class 8 to 10, grab our app now.

Download Now