(Suggestion)
Line 54: Line 54:
  
 
*This is a problem that I have as well.  But this is a really good suggestion.
 
*This is a problem that I have as well.  But this is a really good suggestion.
 +
 +
==RHEA==
 +
Really, the only notion that has frustrated me is this silly website. I finally learned today what was going on with this thing. How does Uli even know who's writing what for the weekly credit? I guess I will just sign my name at the bottom of this to make sure I get credit. Jacob Ahlborn

Revision as of 17:14, 14 September 2008

  • Anyone?

Counting

What I've found most confusing is knowing when to subtract repetitions of things, like in problem 44 on the homework, where we're asked to find how many strings there are with five consecutive 0s or five consecutive 1s. What's a good method for knowing or deciding how to count something like that?

Suggestion

The goal is to count each thing exactly once. Counting everything a certain number of times is almost as good, as you can just divide by that number.

If you know how many times individual elements were counted, that is the next best thing. You count how many elements of that type exist, and divide by that number. For example, you may have counted everything with 7 ones like 1111111000, 0111111100 and 1011111110 (and so on) 3 times (for 3 different sets of '11111'), and thus just count these separately and divide by 3.

What may be less work than this is just to devise a method that actually only counts exactly once instead of a different number of times. It may take a little more thought, but I think it's worth it in the end.


I quite disagree with the last statement. Although in some problems it may be worth it to just count each one only once and that's it, but with many problems, this will take MUCH longer than if you were to do it in a Boolean logic fashion. Count the total number of possibilities with no restrictions and then subtract the overcount, then add back the overcount of the overcount, then subtract...etc...etc. This may sound confusing, but problems like the binary question makes things much easier.

The way that I did the problem was that I only looked at a single string of 5 numbers that had to be there (I assumed 0, but it could have been one) and then in the end I multiplied by 2 then subtracted the over count. Ex: the first line would be 00000XXXXX, where the X's symbolizes either 0 or 1 (thus multiply by 2). The next would be 100000XXXX, which MUST be different from the first, and so on until you reach 1111100000. I Then multiplied by two, but then subtracted the overcount of 1111100000 = 0000011111 and such, when switching the 0s and 1s. Adjust to your method, and complete.

--Norlow 14:43, 10 September 2008 (UTC)

Counting

I also have the most trouble with counting. I know what I need to do, but I never know how to set the problem up. For example, problem 38 in section 5.1 asks: How many subsets of a set with 100 elements have more than one element? I know I need to take the total number of possible subsets of a set of 100 elements and subtract 100 (the total number of subsets that contain 1 element). The problem is finding the total number of possible subsets. Any suggestions?

I thought of #38 as a sum of combinations. I have $ \sum_{r=2}^{100} \left(\!\!\! \begin{array}{c} 100 \\ r \end{array} \!\!\!\right) $. This should count all possible subsets and exclude those containing only 1 element. I don't know how to simplify this, and I'm thinking there's a better way to do it. But it's a start.

Suggestion

The problem is finding the total number of possible subsets.

The total number of subsets is $ 2^n $. I don't remember the way Uli explained it in class (sorry about that), but the way I learned it before 375 was for each element, you can either put it in the set, or take it out. (2 choices) You can make this choice for every element, so 2*2*2*2... = $ 2^n $. (You multiply, since the choices for one element don't affect any other element)

Here's an example. If the elements are A, B, C, then you can either put A in, or leave A out. You can do the same with B and C. If you decide to leave A out, then you would have () (B) (C) (BC), depending on if you put B and C in or left them out. If you decided to put A in, you would have (A) (AB) (AC) (ABC by similar reasoning.

(Also don't forget to subtract out the 1 set of 0 elements at the end. The total sum goes from 0 to 100.)

--Norlow 23:38, 11 September 2008 (UTC)

Overcount

I find that the hardest thing for me is recognizing when I will have overcount and then how to correct it (subtract or divide)


I too have trouble with overcounting. I can never tell when to compensate.


Suggestion They way I remember if I need to adjust is by asking myself if order matters? If it does there is no over count. If order does not matter then I have to adjust for over count.


  • This is a problem that I have as well. But this is a really good suggestion.

RHEA

Really, the only notion that has frustrated me is this silly website. I finally learned today what was going on with this thing. How does Uli even know who's writing what for the weekly credit? I guess I will just sign my name at the bottom of this to make sure I get credit. Jacob Ahlborn

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang