Calculate the number of subsets for the set below. M = {x | x is an integer between 1 and 5, exclusive}
is it 4?
oh no
M={2,3,4}
ohhhh gotcha so 3?
or 1
No
if a set has \(n\) elements the number of subsets is \(2^n\)
Here are the 8 subsets {{}, {2}, {3}, {4}, {2, 3}, {2, 4}, {3, 4}, {2, 3, 4}}
If your set has 4 elements, there are 2^4=16 subsets: {{}, {a}, {b}, {c}, {d}, {a, b}, {a, c}, {a, d}, {b, c}, {b, d}, {c, d}, {a, b, c}, {a, b, d}, {a, c, d}, {b, c, d}, {a, b, c, d}}
If your set has 5 elements, there are 2^5=32 subsets: {{}, {a}, {b}, {c}, {d}, {e}, {a, b}, {a, c}, {a, d}, {a, e}, {b, c}, {b, d}, {b, e}, {c, d}, {c, e}, {d, e}, {a, b, c}, {a, b, d}, {a, b, e}, {a, c, d}, {a, c, e}, {a, d, e}, {b, c, d}, {b, c, e}, {b, d, e}, {c, d, e}, {a, b, c, d}, {a, b, c, e}, {a, b, d, e}, {a, c, d, e}, {b, c, d, e}, {a, b, c, d, e}}
and so fourth.
Sample spaces! Must consider *all* possibilities.
Join our real-time social learning platform and learn together with your friends!