Wikipedia:Reference desk/Archives/Mathematics/2010 April 11

From Wikipedia, the free encyclopedia
Mathematics desk
< April 10 << Mar | April | May >> April 12 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


April 11[edit]

Expressing an integer as a sum of powers of a prime[edit]

Hello all. This question is part of a proof that I am reading from a book. Essentially we have an integer i which has a prime p in its prime factorization. Now the book says let be the largest integer such that is an integer. I take it to mean that that is the highest power of p in the prime factorization of i. Now the book states that where 's are positive integers. I take it that it is implicitly assumed that this sum is finite, but I don't understand how to prove this statement formally. The next statement is that . I don't quite follow this one either. Can anyone please help me out? Thanks.-Shahab (talk) 06:34, 11 April 2010 (UTC)[reply]

The infinite sum might make sense if the book is describing p-adic numbers - the emphasis on a prime base suggests this is plausible. Alternatively, if is a misprint for then the book is just saying that i has an expansion in base p with digits , in which the most significant digit is non-zero. Gandalf61 (talk) 08:31, 11 April 2010 (UTC)[reply]
The 's are positive or nonnegative? If the latter then it makes perfect sense. All the large powers will have zero coefficient, and this is just the expansion in base p. The just means that all the small powers are unnecessary because i is divisible by . All of them are and also, can't be zero because then i would be divisible by . -- Meni Rosenfeld (talk) 10:45, 11 April 2010 (UTC)[reply]
Meni, what do you mean by saying that "The just means that all the small powers are unnecessary because i is divisible by ". Don't the small powers contribute to the sum? Isn't it better to say . Thanks-Shahab (talk) 11:04, 11 April 2010 (UTC)[reply]
There aren't any small powers. If a number is divisible by then its last 3 digits in base 10 are 0. For example, , no powers of 10 smaller than involved. Exactly this also happens for expansion to base p. Saying would be incorrect. -- Meni Rosenfeld (talk) 11:15, 11 April 2010 (UTC)[reply]
Ok, thanks. But shouldn't the base be ? And what does Gandalf61 mean when he says that it might be a misprint? Because the book does have a lot of those!-Shahab (talk) 11:20, 11 April 2010 (UTC)[reply]
Why should the base be ? Of course we can expand the number in any base we want. For whatever reason, the book needs to use the base-p expansion. One of the things it uses to learn about the properties of this expansion (in particular, the power in which it starts) is our knowledge of .
I think Gandalf61 hasn't thought this through before he said it might be a misprint. -- Meni Rosenfeld (talk) 11:46, 11 April 2010 (UTC)[reply]
Indeed. Meni is correct - if all beyond some point are 0 then the sum is just describing the base p expansion of i in which least significant digits are zero, and first non-zero digit is . Gandalf61 (talk) 10:45, 12 April 2010 (UTC)[reply]

how do you distribute poison?[edit]

Resolved

Question:

A garage has 2 vans and 3 cars which can be hired out for day at a time. Requests for the hire of a van follow a Poison distribution with a mean of 1.5 requests per day and requests for the hire of a car fiollow an independent Poison distribution with a mean of 4 requests per day.

Find the probability that on a particular day there is at least one request for a van and at least two requests for a car, given that there are a total of four requests on that day.

I tried:

There are 2 possibilities: 2 vans and 2 cars or 1 van and 3 cars. So I found poisonpdf(1.5,2), poisonpdf(4,2), poisonpdf(1.5,1) and poisonpdf(4,3) but how do I combine them?

Similar question: In the morning, the number of people entering a bank per minute has a Poison distribution with mean 3, and independently, the number of people leaving the bank per minute has a Poison distribution with mean 2.

Find the probability that during a particular minute in the morning, exactly one person will enter the bank given that the total number of people entering and leaving the bank is exactly 4.

Does that mean 3 people left the bank? poisonpdf(3,1) and poisonpdf(2,3)? —Preceding unsigned comment added by 59.189.218.247 (talk) 10:38, 11 April 2010 (UTC)[reply]

Distributing poison is illegal. I can help you distribute Poisson though :)
Let's start with the first question. Are there any additional sections to this question? Because the number of vehicles in the garage is irrelevant to the question asked - perhaps it needs to be interpreted in some special way.
I'll answer the question as written. This is a conditional probability problem - you need to divide the probability that by the probability that .
To calculate the first probability, note that the probability of the union of two mutually exclusive events is the sum of probabilities, and the probability of the intersection of two independent events is the product of their probabilities. -- Meni Rosenfeld (talk) 11:04, 11 April 2010 (UTC)[reply]

LOL OMG MY SPELLING FAIL! For the first question, that is the third part. The first two parts are:

i) Find the probability that not all requests for the hire of a van can be met on any particular day. [SOLVED: 1 - poissoncdf(1.5,2)=0.191]

ii) Find the least number of vans that the garage should have so that, on any particular day, the probability that a request for the hire of a van for that day has to be refused is less than 0.1. [SOLVED using graphic calculator, table of poissoncdf(1.5,X)>0.9, answer is 3.]

I think that the probability that v + c = 4 would be poissonpdf(5,4), correct? Which events are mutually exclusive? I know the requests for vans and requests for cars are independent. THANKS! —Preceding unsigned comment added by 59.189.218.247 (talk) 11:32, 11 April 2010 (UTC)[reply]

The events that are mutually exclusive (and together exhaust the requirement ) are: The first is v=2, c=2. The second is v=1, c=3. So you need to sum the probabilities of the first and the second. To find the first, for example, you need to multiply . -- Meni Rosenfeld (talk) 11:51, 11 April 2010 (UTC)[reply]

Solved! THANKS! May come back with more questions soon, hehe.