What Is the Probability of a Zero in the Sum of x + a*y in Z_[q]?

  • Thread starter Thread starter petha
  • Start date Start date
  • Tags Tags
    Probability
petha
Messages
1
Reaction score
0
Hi, I am given the following problem.

Given the vector

x+a*y x,yin Zmq, a in Zq. What is the probability that there will be at least one zero in the sum?
My reasoning so far.

x+a*y = 0 either if a=0 or x i = -a*yi for some (or all) 1≤ i ≤ m

So by basic probability P(A U B) = P(A) + P(B) -P(A and B).

1 P(A) = P(a=0) = 1/q
2 P(B) = 1-P(No zeros) = 1 - ((q-1)/q)m (qm elements in total, (q-1)m elements with no zeros.
P(A AND B) = P(A)*P(B) = 1/q(1-((q-1)/q) m)
So in total 1/q+1-((q-1)/q)m)-1/q*(1-(q-1)/q)m)

This looks like a total mess, but I am not certain what is wrong in my calculations.
 
Physics news on Phys.org
petha said:
Given the vector

x+a*y x,yin Zmq, a in Zq. What is the probability that there will be at least one zero in the sum?
My reasoning so far.

x+a*y = 0 ...
That says the entire vector is zero. I think you meant only that at least one dimension is zero.
... either if a=0 ...
How would that guarantee any zero terms in the sum? x might contain no zeroes.
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top