Skip to main content

Probability is Global + Are (a,b) and [a,b] the same length?

 Hey everyone! Welcome back to my blog! 


The number of diagonals are $\binom {12}{2}-30=36$

Today we have another topic which I am very scared of, PROBABILITY! I think to overcome this fear, I should start from basics. So, I refer AOPS's introduction to counting and probability. I did till chapter seven and thought to do the rest problems in this blog as notes.

The book's pirated copy is available in zlib btw ( I don't think so I should have said this, but I think it's fine). I did the harder problems and wrote the solutions in Xournal. If you want to see them, here is the pdf.

Also both the pdf and following post has amc/ioqm type problems! So enjoy!!

Problem 1: $n$ coins are flipped simultaneously flipped. The probability that at most one of them shows tails is $\frac{3}{16}.$ Find $n.$

Solution: We have $$\frac{n+1}{2^n}=\frac{3}{16}\implies 16(n+1)=3\cdot 2^n \implies n\ge 4. $$  But the RHS grows very fast, so $n=5$ is the only solution.

Intersection of indepent events: 
If $A$ and $B$ are possible outcomes for two independent events, then $P(A \text{ and } B)=P(A)\times P(B)$

Problem 2: The Grunters and the Screamers are playing for the Grand Championship, which is a best of $7$ series. The first team to win $4$ games wins the Championship. Each team has a $\frac{3}{4}$ probability of winning any individual game. If the Grand Championship series lasts exactly $6$ games, what is the probability that the Grunters win?

Solution: Note that if game lasted till $6$ game then last game was won by $G$ and so there are $\binom{5}{3}=10$ such winning games.

The probability of Grunters winning in $6$ games is
$$P(\text{ Grunters win in $6$ games })= P(GGSGSG)+P(GSSGGG)+\dots $$( since they are mutually exclusive, we can add).

Now, $$P(GGSGSG)= P(G)\times P(G)\times P(S)\times P(G)\times P(S)\times P(G)$$
$$ = P(G)^4\times P(S)^2=\frac{3}{4}^4\times \frac{1}{4}^2= \frac{3^4}{4^6}.$$ ( As they are independent events).

And for any winning game, we have probability $\frac{3^4}{4^6}.$

So, $$P(\text{ Grunters win in $6$ games })= P(GGSGSG)+P(GSSGGG)+\dots $$
$$= \binom{5}{3}\times \frac{3^4}{4^6}= \frac{405}{2048}$$

Problem 3: The probability of getting rain on any given day in June in Capital City is $\frac{1}{10}$. What is the probability that it rains on at most $2$ days in June? 

Solution: Note that $P( \text{ rains on almost 2 days in June}) = P( \text{rains on 0 day })+ P( \text{rains on 1 day })+ P( \text{rains on 2 days })$$ 

$$= \frac{9}{10}^{30}+\frac{9}{10}^{29}\cdot \frac{1}{10}+\frac{9}{10}^{28}\cdot \frac{1}{10}^2=\frac{9^{30}+9^{29}+9^{28}}{10^{30}}$$

Probability with Dependant Events:

Problem 4:
A bag has $4$ red and $6$ blue marbles. A marble is selected and not replaced, then a second is selected. What is the probability that both are the same colour?

Solution: $$P( \text{ both red })+P( \text{ both blue})=\frac{4}{10}\times \frac{3}{9} +\frac{6}{10}\times \frac{5}{9}$$

Problem 5: Sheila has been invited to a picnic tomorrow. The picnic will occur, rain or shine. If it rains, there is a $20%$  probability that Sheila will decide to go, but if it is sunny, there is an $80%$ probability that Sheila will decide to go. The forecast for tomorrow states that there is a $40%$ chance of rain. What is the probability that Sheila will attend the picnic?

Solution:
The required probability is $$ P(\text{ it rains and she goes })+P(\text{ it doesn't rain and she goes })$$ 
$$ =\frac{40}{100}\cdot \frac{20}{100}+\frac{60}{100}\cdot \frac{80}{100}= \frac{56}{100}.$$

The shooting stars: ( it is a series of two problems)

Problem 6: On any given night, Becky has a 60% chance of seeing a shooting star in any given hour. If Becky watches the sky for two hours, what is the probability that becky sees a shooting star?

Solution:
Note that $$P(\text{ Becky sees a shooting star })=1- P(\text{ Becky doesn't see a shooting star })$$ 
$$ 1-\frac{40}{100}\cdot \frac{40}{100}=1-\frac{16}{100}= \frac{84}{100}$$

Problem 7: On Saturday night, Becky again goes stargazing. This time, conditions are better and there's $80%$ chance that she will see a shooting star in any given hour. We assume that the probability of seeing a shooting star is uniform for the entire hour. What is the probability that becky will see a shooting star in the first $15$ minutes?

Solution: Let $p$ be the probability of seeing a shooting star in $15$ minutes. Since it's uniform, we get $p$ as the probability of seeing a shooting star in 2nd $15$ minute, and so on.
So $$P(\text{ no shooting star seen in 1 hr })=$$ 

$$ P(\text{ no shooting star is 1st 15 mins })\times P(\text{ no shooting star is 2nd 15 mins })$$ $$\times P(\text{ no shooting star is 3rd 15 mins })\times P(\text{ no shooting star is 4th 15 mins }) $$
$$ \implies \frac{20}{100}=(1-p)^4\implies p=1-\frac 15^{1/4}$$

Problem 8: The numbers $1$ through $8$ are arranged to form an eight digit number which is a multiple of $5.$ What is the probability that it is greater than $60,000,000$?

Solution: Our last digit is always $5.$ So the possible numbers which can be in first digit is $1,2,3,4,6,7,8.$ For the number to be greater than $60,000,000$ we want first digit to be $6,7,8.$

So the probability is $\frac{3}{7}.$

Problem 9:
What is the probability that a random rearrangement of the letters in the word "Mathematics" will begin with the letter "Math" ?

Solution:  Total possibilities = $\frac{11!}{2!2!2!}$
Number of letter's with 'MATH' = $7!$

$$P=\frac{8}{11\times10\times 9\times 8}=\frac{1}{990}$$

Another way is, prob of M getting choose as first letter is $\frac{2}{11},$ A as second letter is $\frac{2}{10}$ and so on.

Problem 10:
A $2005 \times 2005$ square consists of $(2005)^2$ unit squares. The middle square of each row is shaded. If a rectangle (of any size) is chosen at random, what is the probability that the rectangle includes a shaded square?

Solution: We do complimentary counting, first. So $$P( \text{ rectangle including a shaded square })$$
$$= 1- P(\text{ rectangle not including a shaded square })= 1- \frac{\text{ number of rectangles not including square}}{\binom{2006}{2}^2}$$
$$ = 1 - 2\frac{\binom{1003}{2}\cdot \binom{2006}{2}}{ \binom{2006}{2}^2}$$
$$ = 1- \frac{1002}{2005}=\frac{1003}{2005}$$

Geometric Probability: 

$$P(\text{ Whatever that freaking ugly problem wants })=\frac{\text{ dimension of good region }}{\text{ dimension of possible region }}$$

Problem 11: $AC$ has length $5,$ and $AB$ has length $4.$ A point $P$ is selected randomly on the segment $AC.$ What is the probability that $P$ is closer to $B$ than to $A$?

Solution: Introduce the midpoint $M$ of $AB.$ Then when $P$ is between $A$ and $M$ it is closer to $A$ than $P$ else it's closer to $B.$ So $$P= \frac{MB+BC}{AC}=\frac{3}{5}.$$

Problem 12: A real number $x$ is selected randomly such that $0\le x\le 3.$ What is the probability that $|x-1|\le \frac{1}{2}?$

Solution:  Possible range for $x$ is $[0.5,1.5],$ which has range length 1. So $$P(|x-1|\le \frac{1}{2}) = \frac{1}{3}.$$

Problem 13: A real number $x$ is chosen at random such that $0<x<100.$ What is the probability that $[\sqrt{x}]$ is even?

Solution: Since $[\sqrt{x}]$ is even, So $$x \in \{ (0,1), [4,9), [16,25), [36, 49), [ 64, 81)\}$$ 

So $$ \text{possible length is }= 1+5+ 9+13+17 =45$$

So the probability is $\frac{45}{100}.$


Okay wait... what!!!!!!! Doing the above two questions, I was like, wait. Is the length of $$(a,b),[a,b),(a,b], [a,b]$$ same? 

And turns out it is! Actually, by definition, the length of the interval is $b-a.$ Read more here!


Problem 14: Let $CD$ be a line segment of length $6.$ A point $P$ is chosen at $CD.$ What is the probability that the distance from $P$ to $C$ is smaller than the square of the distance from $P$ to $D$?

Solution: Let the distance between $CP$ be $d\implies d\le (6-d)^2\implies d\le 4. $
So $$P= \boxed{\frac{4}{6}}.$$

Problem 15: Suppose two number $x$ and $y$ are each chosen such that $0<x<1$ and $0<y<1.$ What is the probability that $x+y>\frac{3}{2}?$

Solution: Note that both $x,y $ are greater than $1/2.$  So the probability is $1/2.$

I think the following problem is just so black magic. Not my sol, but I found it so amazing :O

Problem 16: My friend and I are hoping to meet for lunch. We will each arrive at our favourite restaurant at a random time between noon and 1 pm, stay for 15 mins, then leave. What is the probability that we will meet each other while at the restaurant?

Solution:
We make a graph, and black magic happens.

Problem 17: A point $P$ is randomly chosen in the interior of the right triangle $ABC.$ What is the probability $[PBC]\le \frac 12 [ABC]?$

Solution: $[ABC]=\frac 12 AC\times BC.$ And so the distance between $P$ and $BC$ must be $\le AC/2.$ 

So the probability is $\boxed{ \frac 34}.$

Then we have a well know problem :P which was in 3b1b :P

Problem 18: Three points are selected randomly on the circumference of a circle. What is the probability that the triangle formed by these three points contains the centre of the circle?




Anyways, that's it for today's probability! We actually have an integer poly lecture, so I will go and revise that! See ya! Oh and I hope, if I am not tired, then I will post GT notes!

Sunaina 💜

Comments

Popular posts from this blog

My experiences at EGMO, IMOTC and PROMYS experience

Yes, I know. This post should have been posted like 2 months ago. Okay okay, sorry. But yeah, I was just waiting for everything to be over and I was lazy. ( sorry ) You know, the transitioning period from high school to college is very weird. I will join CMI( Chennai Mathematical  Institue) for bsc maths and cs degree. And I am very scared. Like very very scared. No, not about making new friends and all. I don't care about that part because I know a decent amount of CMI people already.  What I am scared of is whether I will be able to handle the coursework and get good grades T_T Anyways, here's my EGMO PDC, EGMO, IMOTC and PROMYS experience. Yes, a lot of stuff. My EGMO experience is a lot and I wrote a lot of details, IMOTC and PROMYS is just a few paras. Oh to those, who don't know me or are reading for the first time. I am Sunaina Pati. I was IND2 at EGMO 2023 which was held in Slovenia. I was also invited to the IMOTC or International Mathematical Olympiad Training Cam...

How to prepare for RMO?

"Let's wait for this exam to get over".. *Proceeds to wait for 2 whole fricking years!  I always wanted to write a book recommendation list, because I have been asked so many times! But then I was always like "Let's wait for this exam to get over" and so on. Why? You see it's pretty embarrassing to write a "How to prepare for RMO/INMO" post and then proceed to "fail" i.e not qualifying.  Okay okay, you might be thinking, "Sunaina you qualified like in 10th grade itself, you will obviously qualify in 11th and 12th grade." No. It's not that easy. Plus you are talking to a very underconfident girl. I have always underestimated myself. And I think that's the worst thing one can do itself. Am I confident about myself now? Definitely not but I am learning not to self-depreciate myself little by little. Okay, I shall write more about it in the next post describing my experience in 3 different camps and 1 program.  So, I got...

IMO Shortlist 2021 C1

 I am planning to do at least one ISL every day so that I do not lose my Olympiad touch (and also they are fun to think about!). Today, I tried the 2021 IMO shortlist C1.  (2021 ISL C1) Let $S$ be an infinite set of positive integers, such that there exist four pairwise distinct $a,b,c,d \in S$ with $\gcd(a,b) \neq \gcd(c,d)$. Prove that there exist three pairwise distinct $x,y,z \in S$ such that $\gcd(x,y)=\gcd(y,z) \neq \gcd(z,x)$. Suppose not. Then any $3$ elements $x,y,z\in S$ will be $(x,y)=(y,z)=(x,z)$ or $(x,y)\ne (y,z)\ne (x,z)$. There exists an infinite set $T$ such that $\forall x,y\in T,(x,y)=d,$ where $d$ is constant. Fix a random element $a$. Note that $(x,a)|a$. So $(x,a)\le a$.Since there are infinite elements and finite many possibilities for the gcd (atmost $a$). So $\exists$ set $T$ which is infinite such that $\forall b_1,b_2\in T$ $$(a,b_1)=(a,b_2)=d.$$ Note that if $(b_1,b_2)\ne d$ then we get a contradiction as we get a set satisfying the proble...

Symmetric Polynomials #week 6

Well... I haven't seen much symmetric polynomials in Olympiads, but still I am learning, because I found them cute. And I am basically using this blog as my notes :P What are symmetric polynomials?  One can understand this with  examples. If we are considering over 3 variables, $x_1,x_2,x_3$ then  $$\sum_{sym}x_1^2\cdot x_2^3\cdot x_3=x_1^2\cdot x_2^3\cdot x_3+x_1^2\cdot x_3^3\cdot x_2+x_2^2\cdot x_1^3\cdot x_3+x_2^2\cdot x_3^3\cdot x_1+x_3^2\cdot x_1^3\cdot x_2.$$ See? $3!$ terms! Let's take one more example with again over 3 variables, $x_1,x_2,x_3$ then $$\sum_{sym}x_1^2\cdot x_2^2= x_1^2\cdot x_2^2+x_1^2\cdot x_3^2+x_2^2\cdot x_1^2+x_2^2\cdot x_3^2+x_3^2\cdot x_1^2+x_3^2\cdot x_2^2$$ Wait.. why 2 times ? So basically what happens in symmetrictric sums, is we go through all $n!$ possible permutations. So, here we have $a^2\cdot b^2\cdot c^0$ as like the "general" form type, right? Now, list down all the $3!=6$ permutations of $x_1,x_2,x_3$, and put them in the gene...

Solving Random ISLs And Sharygin Solutions! And INMO happened!!

Some of the ISLs I did before INMO :P  [2005 G3]:  Let $ABCD$ be a parallelogram. A variable line $g$ through the vertex $A$ intersects the rays $BC$ and $DC$ at the points $X$ and $Y$, respectively. Let $K$ and $L$ be the $A$-excenters of the triangles $ABX$ and $ADY$. Show that the angle $\measuredangle KCL$ is independent of the line $g$ Solution: Note that $$\Delta LDK \sim \Delta XBK$$ and $$\Delta ADY\sim \Delta XCY.$$ So we have $$\frac{BK}{DY}=\frac{XK}{LY}$$ and $$\frac{DY}{CY}=\frac{AD}{XC}=\frac{AY}{XY}.$$ Hence $$\frac{BK}{CY}=\frac{AD}{XC}\times \frac{XK}{LY}\implies \frac{BK}{BC}=\frac{CY}{XC}\times \frac{XK}{LY}=\frac{AB}{BC}\times \frac{XK}{LY} $$ $$\frac{AB}{LY}\times \frac{XK}{BK}=\frac{AB}{LY}\times \frac{LY}{DY}=\frac{AB}{DL}$$ $$\implies \Delta CBK\sim \Delta LDK$$ And we are done. We get that $$\angle KCL=360-(\angle ACB+\angle DKC+\angle BCK)=\angle DAB/2 +180-\angle DAB=180-\angle DAB/2$$ Motivation: I took a hint on this. I had other angles but I did...

New year with a new beginning! And a recap of 2024..and all the best for INMO 2025!

Hi everyone! Happy New Year :)  Thank you so much for 95k+ views!!! How was everyone's 2024? What are everyone's resolutions? ( Do write down in the comment section! And you can come back 1 year later to see if you made them possible!). A Better Mathematician  Well, technically a theoretical computer scientist.  I am so grateful to be allowed to study at CMI where I can interact with so many brilliant professors, access the beautiful library and obviously discuss mathematics ( sometimes non math too ) with the students.    And this year, I want to learn more mathematics and clear my fundamentals. I have become much worse in math actually. And hopefully, read some research papers too :)  And discuss a lot of mathematics with other people.  However, with that whole depressing 2024 year, I have lost a lot of my confidence in mathematics. And to be a better mathematician, I should gain the confidence that I can be a mathematician. And well, I am working on...

Some Geometry Problems for everyone to try!

 These problems are INMO~ish level. So trying this would be a good practice for INMO!  Let $ABCD$ be a quadrilateral. Let $M,N,P,Q$ be the midpoints of sides $AB,BC,CD,DA$. Prove that $MNPQ$ is a parallelogram. Consider $\Delta ABD$ and $\Delta BDC$ .Note that $NP||BD||MQ$. Similarly, $NM||AC||PQ$. Hence the parallelogram. In $\Delta ABC$, $\angle A$ be right. Let $D$ be the foot of the altitude from $A$ onto $BC$. Prove that $AD^2=BD\cdot CD$. Note that $\Delta ADB\sim \Delta CDA$. So by similarity, we have $$\frac{AD}{BD}=\frac{CD}{AD}.$$ In $\Delta ABC$, $\angle A$ be right. Let $D$ be the foot of the altitude from $A$ onto $BC$. Prove that $AD^2=BD\cdot CD$. Let $D\in CA$, such that $AD = AB$.Note that $BD||AS$. So by the Thales’ Proportionality Theorem, we are done! Given $\Delta ABC$, construct equilateral triangles $\Delta BCD,\Delta CAE,\Delta ABF$ outside of $\Delta ABC$. Prove that $AD=BE=CF$. This is just congruence. N...

IMO Shortlist 2022 C1

  Today we shall try IMO Shortlist $2022$ C1. A $\pm 1$-sequence is a sequence of $2022$ numbers $a_1, \ldots, a_{2022},$ each equal to either $+1$ or $-1$. Determine the largest $C$ so that, for any $\pm 1$-sequence, there exists an integer $k$ and indices $1 \le t_1 < \ldots < t_k \le 2022$ so that $t_{i+1} - t_i \le 2$ for all $i$, and$$\left| \sum_{i = 1}^{k} a_{t_i} \right| \ge C.$$ We claim that the answer is $\boxed{506}$. $506$ is the upper bound. Just consider the sequence $$+1,-1,-1,+1,+1,-1,-1,+1\dots,-1,-1,+1,+1,-1.$$ Here $1, -1, -1, 1$ is repeated $505$ times and $1,-1$ is concatted to it. Now,our sequence would be $a_1,a_3,a_4,a_5,a_7,\dots$ which on summing would give $506$. And clearly, this would give the upper bound. Now, we show that $506$ is attainable by every sequence. WLOG there are at least $1011$ positive numbers in the sequence. Then we choose $+1$ whenever we can. Let the sequence be $c_1,b_1,\dots, c_n,b_n$ where $c_i$ are ...

Problems I did this week [Jan8-Jan14]

Yeyy!! I am being so consistent with my posts~~ Here are a few problems I did the past week and yeah INMO going to happen soon :) All the best to everyone who is writing!  I wont be trying any new problems and will simply revise stuffs :) Some problems here are hard. Try them yourself and yeah~~Solutions (with sources) are given at the end! Problems discussed in the blog post Problem1: Let $ABC$ be a triangle whose incircle $\omega$ touches sides $BC, CA, AB$ at $D,E,F$ respectively. Let $H$ be the orthocenter of $DEF$ and let altitude $DH$ intersect $\omega$ again at $P$ and $EF$ intersect $BC$ at $L$. Let the circumcircle of $BPC$ intersect $\omega$ again at $X$. Prove that points $L,D,H,X$ are concyclic. Problem 2: Let $ ABCD$ be a convex quadrangle, $ P$ the intersection of lines $ AB$ and $ CD$, $ Q$ the intersection of lines $ AD$ and $ BC$ and $ O$ the intersection of diagonals $ AC$ and $ BD$. Show that if $ \angle POQ= 90^\circ$ then $ PO$ is the bisector of $ \angle AOD$ ...

Just spam combo problems cause why not

This post is mainly for Rohan Bhaiya. He gave me/EGMO contestants a lot and lots of problems. Here are solutions to a very few of them.  To Rohan Bhaiya: I just wrote the sketch/proofs here cause why not :P. I did a few more extra problems so yeah.  I sort of sorted the problems into different sub-areas, but it's just better to try all of them! I did try some more combo problems outside this but I tried them in my tablet and worked there itself. So latexing was tough. Algorithms  "Just find the algorithm" they said and they died.  References:  Algorithms Pset by Abhay Bestrapalli Algorithms by Cody Johnson Problem1: Suppose the positive integer $n$ is odd. First Al writes the numbers $1, 2,\dots, 2n$ on the blackboard. Then he picks any two numbers $a, b$ erases them, and writes, instead, $|a - b|$. Prove that an odd number will remain at the end.  Proof: Well, we go $\mod 2$. Note that $$|a-b|\equiv a+b\mod 2\implies \text{ the final number is }1+2+\dots ...