Let n(A) = m and n(B) = n. The total number of non-empty relations that can be defined from A to B is:

Model Answer & Options

Source: Extra Practice

mn

2^(mn) - 1

2^(mn)

m^n - 1

Explanation

The total number of relations from A to B is the total number of subsets of A × B, which is 2^(n(A×B)) = 2^(mn). A 'non-empty' relation means we must exclude the empty set (null relation). Thus, the count is 2^(mn) - 1. Option C includes the empty relation. Option A is just the count of ordered pairs. Option D is related to the count of functions.

Take Topic Quiz

Test your understanding of this topic with instant AI feedback.

Start Interactive Test