Revision as of 10:01, 17 September 2008 by Mboutin (Talk | contribs)

  • 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.
  • I find it very helpful to make a venn diagram and draw the picture out. Once you do that you can visulatize and see what needs to be added and subtracted.
  • Yeah Venn Diagrams are pretty sweet. Although I don't feel that just having a diagram is very helpful.

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

  • Man i could not agree more. What is with this? But we have to do it so whatev.
  • Guys, every thing you do on this site is recorded with your name and a time stamp. In fact, the whole world can see what you write, as well as the history of every page, including the names of all the contributors and the time stamp for each contribution. Just click on the "history" tab above or the "Recent changes" link on the left and you will see. Welcome to the 21st century. --mimi

I have a very hard time remembering to contribute by Sunday. I wish our due date was during the week, maybe on Tuesday night, so we could be reminded to contribute in class. I've had Sunday homework before and usually my mind is on what is due Monday, not what is due Sunday night.

I totally agree with the above statement. My computer broke two weeks ago and because of that, I have forgotten to post on Rhea in the past 2 weeks since I'm not reminded to do so by my computer every day I use it. I keep telling myself to post when I'm doing homework in a lab, but I always forget after I get into my other larger assignments... By: Yu Suo

Combination

I am having trouble with the idea of combination. What i mean is when we say "choose", for example nine choose three. What does that even mean. I can plug it into my calculator and get an answer but that does not help me understand it.

My main problem with Combination is the idea of permutation against the idea of combination. I think I learned it backwards in high school so I always get confused when I look at it now.

Overcount

I agree with a lot of the other people that overcount is a difficult concept. I get hung up a lot of the time when I think about whether objects are unique or not, and, if so, whether or not I should factor in overcount. Sometimes the wording of a question can make it more obvious but other times the question is too vague to tell.

Alumni Liaison

BSEE 2004, current Ph.D. student researching signal and image processing.

Landis Huffman