Save 25%Black Friday: 25% off all plans — use code BLACKFRIDAY2026 at checkout. Ends Friday, Dec 4.Claim the deal

Question

Each of ten viewed videos is shared independently with probability 0.10.1. What is the probability that at least one of the ten videos is shared?

Hint 1

"At least one" covers many cases. What single event is its opposite?

How to Answer in the Interview

A two-minute warm-up. The number takes one line, so the points go to naming the complement and saying why multiplying is allowed.

Clarify first:

  • "Are the share decisions independent across videos?" The prompt says yes, and the answer depends on it. If all ten decisions were the same coin flip, the answer would be 0.10.1.

TIP

How I'd say it in the interview: "The opposite of at least one share is no shares. Each video is not shared with probability 0.90.9, and independence lets me multiply, so no shares has probability 0.910≈0.3490.9^{10}\approx0.349. The answer is 1−0.910≈0.6511-0.9^{10}\approx0.651, about 65%65\%."

Then walk through:

  1. Replace "at least one" with its complement, "none".
  2. Compute one video's no-share probability, 0.90.9.
  3. Multiply across ten videos using independence. Most candidates lose points here by adding 0.10.1 ten times instead.
  4. Subtract from 11 and sanity-check the size of the result.

Solution

The probability is 1−0.910=0.65132155991-0.9^{10}=0.6513215599, or about 65.13%65.13\%.

Switch to the complement

"At least one share" means one share, two shares, or any count up to ten. Adding those ten cases works but is slow. The opposite event is a single case: no video is shared. The two events cannot both happen and together cover every outcome, so their probabilities add to 11:

P(at least one share)=1−P(no shares).P(\text{at least one share}) = 1 - P(\text{no shares}).

Compute the probability of no shares

One video is not shared with probability 1−0.1=0.91-0.1=0.9. "No shares" means video 1 is not shared, and video 2 is not shared, and so on through video 10. The prompt says the share decisions are independent, and for independent events the probability that all of them happen is the product of their probabilities:

P(no shares)=0.9×0.9×⋯×0.9⏟10=0.910=0.3486784401.P(\text{no shares}) = \underbrace{0.9\times0.9\times\cdots\times0.9}_{10} = 0.9^{10} = 0.3486784401.

Handwritten complement workflow: a video is not shared with probability 0.9, independence gives probability 0.9 to the tenth power for no shares among ten, and subtracting from one gives 0.6513215599.

Subtracting from 11 gives 1−0.3486784401=0.65132155991-0.3486784401=0.6513215599.

Sanity check: the result sits between 0.10.1, the chance for one video, and 11. More videos should raise the chance of at least one share, and 1−0.9n1-0.9^n does grow with nn.

The general formula

For nn independent videos, each shared with probability pp, the answer is 1−(1−p)n1-(1-p)^n. It gives 00 when p=0p=0 and 11 when p=1p=1, as it should.

WARNING

The expected number of shares is 10×0.1=110\times0.1=1. That is an average count, not the probability of at least one share, which is only about 0.650.65.

Code

An exact check with rational arithmetic, so no floating-point rounding hides in the answer.

from fractions import Fraction

p = 1 - Fraction(9, 10) ** 10
print(p)
print(f"{float(p):.8f}")

Output:

6513215599/10000000000
0.65132156

Additional Notes

Common mistakes

  • Adding the ten share probabilities, 10×0.1=110\times0.1=1. Addition only works for events that cannot happen together, and here two or more videos can be shared in the same batch. A batch with two shares gets counted twice. With 2020 videos the same method gives 22, which cannot be a probability.
  • Answering "exactly one" instead of "at least one". Exactly one share has probability 10(0.1)(0.9)9≈0.38710(0.1)(0.9)^9\approx0.387.
  • Multiplying without independence. If the ten decisions were perfectly correlated, the answer would be 0.10.1, not 0.6510.651.

What this question tests

The question tests the complement rule and whether you can say why independence allows the product. Likely follow-ups:

  • How many videos are needed for at least a 90%90\% chance of a share? Solve 0.9n≤0.10.9^n\le0.1, so n≥ln⁡0.1/ln⁡0.9≈21.85n\ge\ln0.1/\ln0.9\approx21.85, which gives n=22n=22.
  • Each video has its own share probability pip_i. The answer becomes 1−∏i(1−pi)1-\prod_i(1-p_i).

Patterns to reuse

  • For "at least one", compute one minus the probability of none.
  • Independence turns "none of them happen" into a product of single-event probabilities.
  • Keep an expected count and an event probability apart. They agree only when the count is at most one.
Your progressLogin to save progress
Spot an issue or have a suggestion?