• S
    SwaseekhGATE Preparation
General
  • Dashboard
  • Syllabus
  • Questions
  • Aptitude
  • Mock Tests
  • TCS NQT 2026
Account
  • Pricing
  • Contact
  1. GATE CS
  2. PYQs
  3. Discrete Mathematics

How many binary relations are there on a set A with n elements?

GATE 1987 · Discrete Mathematics · Relations · medium

Answer: The number of binary relations on a set with n elements is 2^(n^2).

  1. Compute |A x A|: The Cartesian product A x A contains all ordered pairs (a,b) with a,b in A. Since each component has n choices, there are n * n = n^2 ordered pairs.
  2. Count subsets of A x A: A binary relation on A is any subset of A x A. The number of subsets of an m-element set is 2^m. Here m = n^2, so the number of binary relations is 2^(n^2).