{{ stepNode.name }}

{{ stepNode.name }}

Proceed to next lesson

An error ocurred, try again later!

Chapter {{ article.chapter.number }}

{{ article.number }}. # {{ article.displayTitle }}

{{ article.introSlideInfo.summary }}

{{ 'ml-btn-show-less' | message }} {{ 'ml-btn-show-more' | message }} {{ 'ml-lesson-show-solutions' | message }}

{{ 'ml-lesson-show-hints' | message }}

| {{ 'ml-lesson-number-slides' | message : article.introSlideInfo.bblockCount}} |

| {{ 'ml-lesson-number-exercises' | message : article.introSlideInfo.exerciseCount}} |

| {{ 'ml-lesson-time-estimation' | message }} |

Image Credits *expand_more*

- {{ item.file.title }} {{ presentation }}

No file copyrights entries found

- There are two possible outcomes for each trial — success and failure.
- The trials are independent.
- The probability of success is the same on each trial.

If $p$ is the probability of success and $n$ is the number of trials needed to get a success, the probability of getting a success in $n$ trials is given by the formula below.

$P(X=n)=(1−p)_{n−1}p $

It is worth noting that this experiment satisfies the three conditions for a geometric distribution.

- There are two possible outcomes — heads or tails.
- Each trial is independent.
- The probability of landing on heads is $0.5$ for every trial.

$P(X=n)=0.5_{n−1}0.5⇓P(X=n)=0.5_{n} $

The graph below displays the probabilities for values of $n$ from $1$ to $10.$ The value of $n=1$ indicates that the coin is flipped once before it lands on heads. The value of $n=2$ indicates that the coin lands on head the second time it is flipped, and so on.
It should be noted that the probability of landing heads on $n$ coin flips is equal to the probability of landing tails on $n−1$ consecutive coin flips, then landing heads on the next flip.