Skip to content
Official PYQ · 2014

GATE CS 2014 Set 1 Q50 — Sets, Relations and Functions

Explain with AI

Let ܵSS denote the set of all functions f:{0,1}4→{0,1}f:\{0,1\}^4 \to \{0,1\}. Denote by NN the number of functions from S to the set {0,1}\{0,1\}. The value of log⁡2log⁡2N\log_2 \log_2N is _______.

View worked solution

Answer: 16

To find the value of log⁡2log⁡2N\log_2 \log_2 N, let us break down the problem step-by-step:

  1. Size of the domain of ff:
    The domain of the functions ff is {0,1}4\{0,1\}^4. The number of elements in this set is:
    ∣{0,1}4∣=24=16|\{0,1\}^4| = 2^4 = 16
  2. Size of the set SS:
    SS is the set of all functions from {0,1}4\{0,1\}^4 to {0,1}\{0,1\}. The number of functions from a set AA to a set BB is given by ∣B∣∣A∣|B|^{|A|}. Here:
    ∣S∣=2∣{0,1}4∣=216|S| = 2^{|\{0,1\}^4|} = 2^{16}
  3. Value of NN:
    NN is the number of functions from SS to {0,1}\{0,1\}. Using the same formula:
    N=2∣S∣=2216N = 2^{|S|} = 2^{2^{16}}
  4. Calculating log⁡2log⁡2N\log_2 \log_2 N:
    Taking the logarithm base 2 once:
    log⁡2N=log⁡2(2216)=216\log_2 N = \log_2\left(2^{2^{16}}\right) = 2^{16}Taking the logarithm base 2 again:
    log⁡2log⁡2N=log⁡2(216)=16\log_2 \log_2 N = \log_2\left(2^{16}\right) = 16

Thus, the value of log⁡2log⁡2N\log_2 \log_2 N is 16.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Sets, Relations and Functions questions