Probability and Statistics Question

PhysViti
Messages
5
Reaction score
0

Homework Statement



It's problem 1. (b) in the attachment. I need help finding the average number of records.

Note: Obviously, I'm not actually in the class. I just got bored and started going through the course assignments

Homework Equations



From the first part of the question, I know that:

P_n= \frac {1}{n}

I also know that if f(n) is the probability of there being n records, then:

<S_N> = \sum_{n=1}^{N} f(n)n

The Attempt at a Solution



I know that the answer is supposed to be:

<S_N>=\sum_{n=1}^{N} P_n

I'm not sure how to derive this. I know that I need to find f(n) first, but all the ways I can think of finding it are extremely complicated. I think finding <S_n> is supposed to be easy, since in the solutions the answer is written down without any explanation.
 

Attachments

Physics news on Phys.org
Never mind, I figured it out.
 
It's just the definition of an expectation value. You have a probability of 1/n of getting 1 record in each of N trials. Total expectation is the sum 1*(1/n). You definitely don't want to try and break it down like that. Finding f(n) IS complicated.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top