Algebra II HW Help

Shadow Conception

Golden Member
Mar 19, 2006
1,539
1
81
"If a set contains N elements, what is the total number of subsets that the set has?"

Can somebody explain this to me?

I know that if a set contains elements {a, b, c}, then you end up with subsets {a}, {b}, {c}, {a, b}, {a, c}, {b, c}, {a, b, c} and {}. But how can I relate this to a variable?
 

OdiN

Banned
Mar 1, 2000
16,430
3
0
Just say that there are no such elements as a, b, or c on the periodic table and turn it in.
 

fatpat268

Diamond Member
Jan 14, 2006
5,853
0
71
I don't recall ever seeing this in any of my math classes... and this includes Cal 1-3 and DiffEQ, much less Algebra II
 

blinky8225

Senior member
Nov 23, 2004
564
0
0
Originally posted by: fatpat268
I don't recall ever seeing this in any of my math classes... and this includes Cal 1-3 and DiffEQ, much less Algebra II
Eh, really? I remember learning permutations in my 9th grade Algebra II class.
 

BigJ

Lifer
Nov 18, 2001
21,330
1
81
2^n.

Say N = 1; you have {a}. {}. So you have 2 = 2^1 = 2
Say N = 2; you have {a}, {b}, {ab}. {}. So you have 4 = 2^2 = 4
Say N = 3; you have {a}, {b}, {c}, {ab}, {ac}. {bc}, {abc}. {}. So you have 8 = 2^3 = 8
Say N = 4; you have {a}, {b}, {c}, {d}, {ab}, {ac}, {ad}, {bc}, {bd}, {cd}, {abc}, {abd}, {acd}, {bcd}, {abcd}, {}. So you have 16 = 2^4 = 16.

If you want the exact reason why, scroll to the bottom of the page.

http://www.tutorvista.com/cont...ts/results-subsets.php

The easiest way to understand it is the following explanation I ripped from a page:

For a set of n there are 2^n subsets. This is easily proved: Any subset of the set can either contain or not contain an element; so, for a subset, there are 2 states for the first element, 2 for the second element, ?, 2 for the nth element; so, there are 2 states for the first element, 2 * 2 = 2^2 states for the first two, 2 * 2 * 2= 2^3 states for the first three, ?, 2 * 2 * 2 * ? * 2 = 2^n states for all the n elements.
 

rocadelpunk

Diamond Member
Jul 23, 2001
5,589
1
81
{} stands for the empty set, the set that contains no elements, in case you were confused by that notation.
 

TuxDave

Lifer
Oct 8, 2002
10,571
3
71
Originally posted by: fatpat268
I don't recall ever seeing this in any of my math classes... and this includes Cal 1-3 and DiffEQ, much less Algebra II

Pay attention in class!
 

palswim

Golden Member
Nov 23, 2003
1,049
0
71
www.palswim.net
Originally posted by: BigJ
2^n.

Say N = 1; you have {a}. {}. So you have 2 = 2^1 = 2
Say N = 2; you have {a}, {b}, {ab}. {}. So you have 4 = 2^2 = 4
Say N = 3; you have {a}, {b}, {c}, {ab}, {ac}. {bc}, {abc}. {}. So you have 8 = 2^3 = 8
Say N = 4; you have {a}, {b}, {c}, {d}, {ab}, {ac}, {ad}, {bc}, {bd}, {cd}, {abc}, {abd}, {acd}, {bcd}, {abcd}, {}. So you have 16 = 2^4 = 16.

If you want the exact reason why, scroll to the bottom of the page.

http://www.tutorvista.com/cont...ts/results-subsets.php

The easiest way to understand it is the following explanation I ripped from a page:

For a set of n there are 2^n subsets. This is easily proved: Any subset of the set can either contain or not contain an element; so, for a subset, there are 2 states for the first element, 2 for the second element, ?, 2 for the nth element; so, there are 2 states for the first element, 2 * 2 = 2^2 states for the first two, 2 * 2 * 2= 2^3 states for the first three, ?, 2 * 2 * 2 * ? * 2 = 2^n states for all the n elements.

Or you could use induction (this is "thought induction", not strictly mathematical induction):

Say you have a set of n elements, and say that it has m possible subsets. Then, adding an element, e to the set, you will have twice as many possible subsets, since you can break down the possible subsets into subsets with e and subsets without e. Subsets without e are the same as the subsets when you only had n elements, and subsets with e are the same, except they each have element e in them. So, you have 2*m subsets. If you work backwards, starting at the empty set (1 possible subset), you see the size double each time, and thus follow the 2^n formula.
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
Originally posted by: BigJ
The easiest way to understand it is the following explanation I ripped from a page:

For a set of n there are 2^n subsets. This is easily proved: Any subset of the set can either contain or not contain an element; so, for a subset, there are 2 states for the first element, 2 for the second element, ?, 2 for the nth element; so, there are 2 states for the first element, 2 * 2 = 2^2 states for the first two, 2 * 2 * 2= 2^3 states for the first three, ?, 2 * 2 * 2 * ? * 2 = 2^n states for all the n elements.

This is the way to go.

Think about a problem from elementary school. You have 3 pairs of pants and 4 shirts, how many outfits do you have? Clearly the answer is (3 options) x (4 options) = 12. The subset problem is the same.

You have n elements {E1, E2, E3, ... , En}

For each element you have two choices, include or not include. Similar to the pants and shirts problems you simply multiply your options together.

(2 options for E1) x (2 options for E2) x ... x (2 options for En) = 2^n
 

chuckywang

Lifer
Jan 12, 2004
20,133
1
0
Originally posted by: Shadow Conception
"If a set contains N elements, what is the total number of subsets that the set has?"

Can somebody explain this to me?

I know that if a set contains elements {a, b, c}, then you end up with subsets {a}, {b}, {c}, {a, b}, {a, c}, {b, c}, {a, b, c} and {}. But how can I relate this to a variable?

2^N

Each element can be in a subset, or not in a subset ... therefore two possibilities for each of the N elements, therefore 2^N.
 

fatpat268

Diamond Member
Jan 14, 2006
5,853
0
71
Originally posted by: blinky8225
Originally posted by: fatpat268
I don't recall ever seeing this in any of my math classes... and this includes Cal 1-3 and DiffEQ, much less Algebra II
Eh, really? I remember learning permutations in my 9th grade Algebra II class.

Nope, I didn't even know what permutations were (well, I do now, I just read up on it)

Originally posted by: TuxDave
Originally posted by: fatpat268
I don't recall ever seeing this in any of my math classes... and this includes Cal 1-3 and DiffEQ, much less Algebra II

Pay attention in class!

I did pay attention. In fact, I'm a math tutor at my college, and there aren't permutations even in this college algebra book they use. Or if there was, I've been over looking it the entire time.
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
Originally posted by: fatpat268
Originally posted by: blinky8225
Originally posted by: fatpat268
I don't recall ever seeing this in any of my math classes... and this includes Cal 1-3 and DiffEQ, much less Algebra II
Eh, really? I remember learning permutations in my 9th grade Algebra II class.

Nope, I didn't even know what permutations were (well, I do now, I just read up on it)

Originally posted by: TuxDave
Originally posted by: fatpat268
I don't recall ever seeing this in any of my math classes... and this includes Cal 1-3 and DiffEQ, much less Algebra II

Pay attention in class!

I did pay attention. In fact, I'm a math tutor at my college, and there isn't permutations even in this college algebra book they use. Or if there was, I've been over looking it the entire time.

Permutations probably weren't used much in any of the classes you used. It was probably mentioned briefly in algebra and/or calculus.

I didn't use set theory enough to remember this stuff until I took discrete math
 

BigJ

Lifer
Nov 18, 2001
21,330
1
81
Originally posted by: Leros
Permutations probably weren't used much in any of the classes you used. It was probably mentioned briefly in algebra and/or calculus.

I didn't use set theory enough to remember this stuff until I took discrete math

Same here.
 

MagnusTheBrewer

IN MEMORIAM
Jun 19, 2004
24,122
1,594
126
Originally posted by: chuckywang
Originally posted by: Shadow Conception
"If a set contains N elements, what is the total number of subsets that the set has?"

Can somebody explain this to me?

I know that if a set contains elements {a, b, c}, then you end up with subsets {a}, {b}, {c}, {a, b}, {a, c}, {b, c}, {a, b, c} and {}. But how can I relate this to a variable?

2^N

Each element can be in a subset, or not in a subset ... therefore two possibilities for each of the N elements, therefore 2^N.

This

God, I hate "manglish," my coined phrase for the terms used for definitions and proofs. They have the same relationship to math that grammar has to English i.e. none to speak of.
 

Epic Fail

Diamond Member
May 10, 2005
6,252
2
0
I am going to threadjack here.

If you have 10 pills, 6 reds and 4 blues, what is the probability you will get all 4 blue pills when you take 6 pills?
 

IronWing

No Lifer
Jul 20, 2001
72,909
34,035
136
The numeral 2 is unpleasant; it looks like a twisted coat hanger. We need a better glyph to represent two.
 

RaistlinZ

Diamond Member
Oct 15, 2001
7,470
9
91
Originally posted by: Shadow Conception
"If a set contains N elements, what is the total number of subsets that the set has?"

Can somebody explain this to me?

I know that if a set contains elements {a, b, c}, then you end up with subsets {a}, {b}, {c}, {a, b}, {a, c}, {b, c}, {a, b, c} and {}. But how can I relate this to a variable?

It's true what they say.... you're never going to have to know this stuff post-college.