I always considered probability to be a long-lost love child that mother

**math**had with father**crystal ball forecasting of the future**. Women have always been attracted to bad boys, do not judge her. Probability grew up to be both appealing and mysterious as her father and yet intelligent and strict like her mother. Visitation rights? Probability lives with her mom and talking about the good old dad is considered to be a taboo topic so visiting him is out of the question. Like most regreting moms, math gets angry when the kid mentions her father. You could say that probability is not living in a healthy environment but hey, aren't girls with "daddy issues" fun to be around and play with? It is almost Shakespearean, to play or not to play?_{CC0 licence, Pixabay, author: geralt, adapted by me}

Some years ago when I was in college and attending a class called "Statistics and probability", the professor was very open about his opinion on how the lottery is

**. Who knows, maybe he has daddy issues too but that is beside the point. The point is not to have a mathematical debate about this but a philosophical one too. Hmmm... Since we can not have a mathematical debate, let's say that we will have a philosophical debate about mathematical results. Yes, such a thing is possible. Mathematicians do not usually like it, but it is possible. Remember my question from the title, I am curious what your answer will be by the end of this post and if you answer it now, will your opinion change or remain the same. Ready, set, go math time! Mmm, with some philosophy too, of course...***tax on fools*Before we get into calculating your probability to win those millions, we first need to introduce you to some simple terms that will help you figure out the more complicated stuff later on. We will go over 3 things,

**probability of an event, combination, and permutation.**## Probability first

Some event can happen with a probability 0, 1, or anything in between where 0 means that it will NOT happen, it is impossible, and 1 that it WILL happen for certain. For example, we may say that I have the probability of 0 to grow a third arm coming out of my forehead and I have the probability of 1 to have a pen in my hand if I pick up a pen from the table. Probability can be expressed with decimal numbers, fractions, or percentages so 0.5, 1/2, and 50% mean the same. How do we calculate probability? By dividing the number of ways an event can happen with the total number of outcomes.

_{Image 1. probability equation, author: @zen-art}

_{Image 2. balls, author: @zen-art}

We can easily see how this works by looking at the example with balls in a container. Imagine a situation where you have a container with some balls in it. There are 4 green balls, 2 blue ones, and one red ball in there. All balls are equal in their shape, size, weight and are same on the touch. Without looking, you reach your hand in there and take one ball out. What are the chances that the ball will be green? What are the chances the ball will be anything but green? What are the chances of the ball being red?

Since there are seven balls in there, the total number of outcomes is seven. You can take one of the seven balls so there are seven possible scenarios or outcomes. As for the number of ways a specific event can happen, it depends on what we are looking for. If we are interested in the possibility of the ball to be green than that number is 4 because there are 4 situations possible for that ball to be green. If we are looking for the possibility of the ball being blue or red, there are 3 ways that could happen because there are 3 balls that we can pick up and find them not green. There is only one scenario where the ball picked up is red.

This seems pretty easy, right? That's because it is. Dividing two numbers is not that complicated to do, once you have those two numbers. The tricky thing is coming up with the correct and precise numbers for the way an event can happen and the total number of outcomes possible. This is where combinations and permutations come to join in the party.

## Permuation

Have you ever watched a spy movie and get annoyed when someone says

*the combination of the safe is...*? I have. If the numbers that unlock that safe are 1452, that is not its combination, it is its permutation. You do not have a pin combination, you have a pin permutation._{Lock, Pixabay, author: terimakasih0}

When the order does not matter then we can say something is a combination but when the order of things matters, it is a permutation. For example, some meadow is a combination of violets, daisies, and clovers but the pin number for someone's credit card is 1234. 4132 or any other permutation will not work.

*1234 and 4132 are the same combinations but different permutations.*We can have permutation with or without repetition. With those pin numbers, repetition is allowed and the pin can just as easily be 1111 as it can be 1234 but there are things where repetition is not allowed.

For permutations with repetitions, let's say the pin number with 4 digits, the first digit can be 10 different numbers, the second one can be 10 different numbers and so on and we have n*n*n*... (r times) or n^r. In this case: 10*10*10*10 or 10^4. That means there are 10 000 different pin numbers you can make with digits 1 to 9, and 0.

### What about permutations

without repetitions?

Imagine that you have to choose 3 lectures to attend during your weekend out of 10 that are going on around your city. Without repetition, your choices get smaller each time. You have 10 to choose from for your first lecture, 9 for the second one and 8 for the third because you can not choose what you have already chosen. That means you have 10*9*8=720. This is where

**factorial function**comes in handy.Factorial function tells you to multiply all the numbers coming up to yours and we denote it with !. For example, 3!=1*2*3=6 or 7!=1*2*3*4*5*6*7=5040. Why do we need this here? We can mathematically write that which we have talked about a moment ago. That comes in handy because not all math problems are that simple and easily solved. To get the number of permutations for your 3 lectures out of 10 we will use the following formula:

_{Image 3. Permutation, author: @zen-art}

In our example with lectures that would be P(10,3)=10!/(10-3)!=10!/7!=(10*9*8*7*6*5*4*3*2*1)/(7*6*5*4*3*2*1) or (10*9*8*7!)/7!=10*9*8=720 That means that there are 720 permutations for you to choose your 3 lectures out of 10. Lottery, on the other hand, goes beyond this. Lottery is all about combinations, not permutations. So... Why did I bother you with this? I did not say you will not need it...

## Combination

In combination, order does not matter. Like permutation, a combination can also be with or without repetition. Combination without repetition is how the lottery works. It is only important what numbers are drawn, not in what order and there are no repetitions. We start by using permutation formula and we reduce it to eliminate the repeating combinations.

_{Image 4. Combination, author: @zen-art}

The only thing that we did there is we removed what we did not want. For example, if we wanted combinations for 4 out of 10 numbers, 1234 is fine to be among combinations but 2134,4321 and so on we do not need. Best way to remove permutations is division. We want to remove extra permutations and we do that by dividing permutation count by r! That is why r! needs to be in the denominator. The equation above is often presented in its shorter form called

## And your probability

**binominal coefficient**._{Image 5. Combination, binominal coefficient author: @zen-art}

Every Friday, EuroJackpot lottery is taking part and people from most of the countries in Europe can participate by buying a ticket. Since there are many players, possible winnings are huge. The main jackpot expected in two days is around 18 million euros or 20 million dollars.

_{Money rain, Pixabay, author: 3dman_eu}

To win the biggest prize, you have to pick the correct 5 out of 50 numbers and 2 out of 10, both those combinations have to be correct because even though your correct 5 out of 50 numbers will win you a lot, you will win more if you guess those two additional ones. We have two events happening at the same time; event 5 out of 50 and the event 2 out of 10. Probabilities here are multiplied. When you want to find the probability for two events or "AND" events, you multiply and when you want to find "OR" you add. For example, if you want to find the probability of one dice landing on 5 or 3, you would add but for a dice landing on 5 and a coin landing on tales, you would multiply the possibilities. This is why we can calculate the combinations for 5 out of 50 and 2 out of 10 and then multiply them to get the total number of combinations.

## Ready?

_{Image 5. Lottery calculation first part, author: @zen-art}

I have done these two calculations simultaneously and after some fraction abbreviates to simplify the things I will enter into my calculator, I got this:

_{Image 6. Lottery calculation second part, author: @zen-art}

As you can see, the number I got is 95344200. What is that number exactly? It is the number of possible combinations to pick 5 out of 50 and 2 out of 10 numbers. This is still not the probability to win the EuroJackpot. Remember that main definition for the probability that I told you about at the beginning? It says that the probability of an event happening is equal to the number of ways an event can happen divided by the total number of outcomes. The number that I just calculated is the

**total number of outcomes**. What is the number of ways the event can happen?**ONE**. There is only one correct combination of numbers that will be drawn. The final step is dividing 1 by 95344200.## And your probability

of winning the EuroJackpot is:

_{Image 5. Lottery calculation, final part, author: @zen-art}

The math is solid. Your probability of winning the EuroJackpot is 0.00000104% or 1/95344200 if you prefer the fractions. Should you play? Most of the mathematicians will advise you not to do it (luckily for you, I am not a mathematician) and save your money instead. Maybe they will even call you a fool like my professor did but let me tell you something very important. It is not a secret really, just a change of perspective. People

**have**won the lottery. They had the same probability of winning like you have. The only two probabilities that matter are 0% and 100%. Everything in between means nothing to you. Probability does not predict anything. It gives you the chances of things happening but it does not predict what will happen. As long as the probability for you winning is not zero, you have a chance.## To play or not to play?

You could play your entire life and not win. You could play only once and win. You could choose any numbers, even 1,2,3,4,5, because every combination has the same probability. You could waste your time and google the secrets behind choosing the right numbers (there is no secret of right numbers) or read how you have better chances of being struck by a lighting 3 times than to win the lottery. I hope you do not get struck by a lightning and if you do win the lottery, remember me and this post, maybe throw some money my way :D. So tell me, based on the probability that I have given you... To play or not to play? Want to know my opinion about this?

**PLAY**is the important word here. That is my opinion. If my inner child wants to have some fun, who am I to stop her?# References for this post:

Honestly, I learned all this in college and I can not be certain about the book I was using back then, I think it was one of these two:

- Serdar, Vladimir, Udžbenik statistike, Školska knjiga, Zagreb, 1977
- Sarapa, Nikola, Vjerojatnost i statistika; 1. dio, Školska knjiga, Zagreb, 1993

To check if my memory served me right (and it did), this page helped:
Probability of events from mathplanet.com
## Until next time,

######
- all images used in this post are free for commercial use, they are royalty free with the links to original images provided under them

@steemitbloggers

## Until next time,

KEEP YOUR SMILE ON,

AND HAVE FUN!

###### P.S. All that intro about probability being the long lost love child between math and crystal ball forecasting of the future... If you somehow got offended by that, sorry. My inner child made me do it...😎

### Image sources AND LICENCES in order of appearance:

######
- all images used in this post are free for commercial use, they are royalty free with the links to original images provided under them

- line divider that I use is from FREE CLIPART LIBRARY, and is here

- titles are made by me using a royality free photo from pixabay that can be found here

- my bitmoji avatar was created on https://www.bitmoji.com/, visit the site to create yourown

## PROUD MEMBER OF:

@steemitbloggers

ykdesign (58)· 2 months agoi'll play but your math not understand.....sorry dont mind. 👩❤

zen-art (64)· 2 months agohahahahaha, I do not mind :D

ykdesign (58)· 2 months agothanks my friend zen-art

bengy (63)· 2 months agoPhew! I was so happy when you got to the familiar territory of mathematics! I was completely lost with the mother and father analogy...

zen-art (64)· 2 months agoReally? That was some of my best work lol :D

I am glad you enjoyed the post 💚

bengy (63)· 2 months agoHa ha! I'm sure there are people who are the other way around and preferred the poetic imagery of the mother and father instead of the mathematics!

rhethypo (55)· 2 months agoI will never play the lottery. Partially because the odds of winning are stacked against, and partially because I used to have a job selling lottery tickets at a gas station.

We would have these people who spend HOURS doing the following: walk in, buy a twenty dollar scratch ticket, walk out to their car, scratch it, come in to either redeem a paltry amount or throw it away, and then buy another one. Again and again.

Thus, I have a very negative predisposition towards anything lottery related.

zen-art (64)· 2 months agoThat must have been funny to look at. Poor people, they have taken all the fun out of it :)

yidneth (63)· 2 months agoThe format of your posts is amazing.

I once asked my brother why he would spend money (not much, just a ticket a week). He just replies I am aware it is against the odds but still the illusion and thrill last for the week, and that is cheap lol

zen-art (64)· 2 months agoYour brother is a wise man, wise man indeed. He gets the point :) Thank you for your lovely comment honey 💚

yidneth (63)· 2 months agoHe is very funny and very positive about almost everything :), always laughing and with a smile in his face... he's kind of happy go lucky :) in that aspect!

uniwhisp (62)· 2 months agoThis is one of my favorite posts that you've written yet! Probability is fascinating to me. And I learned something new! I never knew that combination didn't imply order and that had to be permutation. Thank you!

zen-art (64)· 2 months agoI am really glad that you enjoyed it and thankful for your feedback. 💚

lymepoet (59)· 2 months agoWhen do you find the time to write such brilliant posts with an amazing formatting?

zen-art (64)· 2 months agoTime is just an illusion and I live in multiple dimensions at once ;)

tattoodjay (66)· 2 months agothe way you make complex things appear so easy to understand is wonderful

zen-art (64)· 2 months agoThat is very nice of you to say, thank you so much 💚

tattoodjay (66)· 2 months agoMost welcome 👍😎

foxyspirit (56)· 2 months agoMath solves a lot of things, maybe everything. Lottery is something else. I never buy any lottery tickets. The thought of how much money being spent on a regular basis... chances are you are putting out more money than you would be winning it.

zen-art (64)· 2 months agoA lot of money is being spent yes but I can not imagine spending 20 million dollars so if I ever win in my life, my winnings will be bigger than what I have spent on tickets :) Some people buy a beer a day, I buy a ticket a week ;)

edthecanadian (60)· 2 months agoWow what a post, it must've taken you hours to put this together. 👍

I rarely buy a ticket, usually only as a group buy at work.

zen-art (64)· 2 months agoThis one did take me hours because there was always something interrupting me yesterday :D I am glad you enjoyed it 💚

soyrosa (65)· 2 months agoI'm going to be very honest because numbers scare me, I searched for your conclusion after seeing the numbers

butadmiring the pretty formatting you did on your post (Iamvisual after all :D) - and I found this:Well, that's a 100% how I see the world and I applaud you :D

zen-art (64)· 2 months agohahahahaha :D They do not have scary teeth and they will not hurt you. I promise you, my posts are written in a way that anyone could follow along. Go back when you catch some time and read the post without scrolling. Thank you for your honesty and your support 💚

soyrosa (65)· 2 months agoThey

didhurt me, a lot, when I was a teenager they attacked me and I just couldn'tunderstandthem and want to have anything to do with them. Both maths and economics gave me bad grades which was also displayed innumbers(like a 4,7 on a 10-scale). Then I got to University and someone explained me in statistics classwhyI needed some of those numbers, and I was like 'aaaahhh - well NOW it makes sense'. It still baffles me I needed to go to University to understand what I had been doing in secondary school. Statistics were still hard, but at least I had found some motivation and 'hooks' to try and understand them.Anyway, the post indeed deserved to be read, so I went back and did it. I could follow it all :D So that's a huge plus. In Dutch we don't use the combination word (we just use 'code' for something that needs numbers in order to open it) but I still learned from that, I hadn't even heard of the word permutation before, ever.

See? I read a post about numbers and what I'm focussing on is the language and meaning of words.

Runs off to Google pretty images now, enough numbers seen for at least a week!zen-art (64)· 2 months agoSee, I told you so! :)

steemstem (71)· 2 months agoThis post has been voted on by the steemstem curation team and voting trail.

There is more to SteemSTEM than just writing posts, check here for some more tips on being a community member. You can also join our discord here to get to know the rest of the community!

zen-art (64)· 2 months agoThank you for your support lovely people 💚

dollarsandsense (57)· 2 months agoI've thought about this a lot, and to me, the question boils down to the average expected loss. Once a jackpot increases to a certain level, the average expected loss is actually positive. In your example, assuming the tickets cost $1 each, then the jackpot would need to be just shy of $1 million for me to be willing to play.

In the USA with the Powerball, this number (with a $2 ticket) ends up being around $600 million. When it goes that high, I buy a ticket, because the average expected loss is >$0.

I do know there is one major flaw in my thinking: I am not accounting for the very likely outcome of a split jackpot between multiple winners. What can I say? If my inner child wants to have some fun and ignore one of the variables, who am I to stop him? :P

zen-art (64)· 2 months agoLove your inner child and play along :D Life is fun only as much as we make it fun ;)

thesteemengine (61)· 2 months agoCongratulations! This post has been chosen as one of the daily Whistle Stops for The STEEM Engine!

You can see your post's place along the track here: The Daily Whistle Stops, Issue 257 (9/14/18)

zen-art (64)· 2 months agoThank you 💚💚💚

fromage (55)· 2 months agoProbably best to avoid it but no real harm in buying a ticket on occasion, I'd say.

zen-art (64)· 2 months agoThere is no harm until people start overdoing it :D Thank you for sharing your opinion about this.

utopian-io (70)· 2 months ago## Hi @zen-art!

Your post was upvoted by utopian.io in cooperation with steemstem - supporting knowledge, innovation and technological advancement on the Steem Blockchain.

## Contribute to Open Source with utopian.io

Learn how to contribute on our website and join the new open source economy.

Want to chat? Join the Utopian Community on Discord https://discord.gg/h52nFrVzen-art (64)· 2 months agoThank you for your lovely support, it is very much appreciated 💚

steemiteducation (67)· 2 months agoIf you would like to support the educational community by delegating to @steemiteducation, please click on any of the following links. This will ensure that more teachers are supported on a daily basis.

100SP 200SP 300SP 400SP 500SP 750SP 1000SP 2000SP 3000SP 4000SP 5000SP 10,000SP 25,000SP

joelsegovia (60)· 2 months agoThe first part of your post is just amazing, I loved it...

In my opinion, the lottery is like doing charity but with the faint chance to receive something in return for throwing your money in someone else's pocket and without the community building project behind it.

But who am I to stop some child-like fun? If people have fun by giving away for a little chance of getting much in return...then let'em be.

Best regards.

zen-art (64)· 2 months agoFinally, someone to enjoy me funny intro at the beginning :D Thank you!!! :)

huangriver (30)· 2 months agoThis topic is close to my heart, since I majored in Statistics in the university. Your explanation is quite clear and concise. Let me add my 2 cents worth. Hopefully it won't scare away any mathaphobes (is that a word?).

When you multiplied the probabilities, you're assuming that the two events are independent. In this case, the choice of 5 out of 50 numbers and 2 out of 10 numbers is assumed to be independent. If that were not the case, your probability would be different. I can't calculate this new probability because I'm not familiar with the Eurojackpot. Also, you can only add two "OR" events when they are mutually exclusive, i.e. they can't happen at the same time.

Philosophically, most people feel an emotional high when they buy a lottery ticket, hoping they will win. Then they get disappointed when they lose. Many people like this emotional roller coaster, which is why they buy lottery tickets like candy. Contrasts in emotions cause people to feel them more acutely. This is true in many aspects of life.

zen-art (64)· 2 months agoThose events are independent and therefore must be calculated that way :) Thank you for your input about this and for sharing your thoughts with us. The emotional high of winning or losing is kind of the point here but I hope that not many people feel that disappointment when they do not win. It is just a game, can bring a lot but still just a game and should be treated as such.

multifacet (44)· 2 months agoNice work you did here. I don't think I'd play the lottery now that you have laid out what chances one stands to win it, but I won't refuse a lottery ticket from any nice friend or stranger!😂

zen-art (64)· 2 months agoThen I hope you will receive a ticket as gift soon and that it will lucky :)

multifacet (44)· 2 months agoHaha! Millions on my mind.