Fly's Problem (Advanced)

For discussing Olympiad Level Combinatorics problems
User avatar
Phlembac Adib Hasan
Posts:1016
Joined:Tue Nov 22, 2011 7:49 pm
Location:127.0.0.1
Contact:
Fly's Problem (Advanced)

Unread post by Phlembac Adib Hasan » Sun Feb 19, 2012 7:15 pm

A fly starts jumping on a straight line.At each jump it crosses $5\; cm$ either left or right.What's the probability that the fly will be $30\; cm$ apart from starting point after $20^{th}$ jump?
Additional part :generalize it for every even number and distance $5k$.
Welcome to BdMO Online Forum. Check out Forum Guides & Rules

User avatar
sowmitra
Posts:155
Joined:Tue Mar 20, 2012 12:55 am
Location:Mirpur, Dhaka, Bangladesh

Re: Fly's Problem (Advanced)

Unread post by sowmitra » Fri Mar 30, 2012 7:53 pm

Adib, could you clarify which data we are supposed to assume to be even?? :?:
I couldn't be clear which data has to be even. So, I am posting my solution without
generalization:
First, there are $20$ jumps. In each jump, the fly can move both forward and backward. So, $2$ choices for each jump. Therefore total no. of distance it can cover in $20$ jumps = $2^{20}$
Now in order to to be at $30$ cm, suppose, the fly has to jump $n$ times to the right and $20-n$ times to the left.
So, we have, $$5*n-5*(20-n)=30\Rightarrow n=13$$
No. of ways to jump these $13$ times= $\binom{20}{13}$. Here, the fly may remain $30$cm to the right as well as to the left of the line. So, total no. of ways=$2*\binom{20}{13}$
Therefore, the probability that the fly will remain $30$cm apart from the starting point after $20$ jumps= $\displaystyle\frac{2*\binom{20}{13}}{2^{20}}$
Last edited by sowmitra on Sun Apr 01, 2012 2:07 am, edited 1 time in total.
"Rhythm is mathematics of the sub-conscious."
Some-Angle Related Problems;

User avatar
Phlembac Adib Hasan
Posts:1016
Joined:Tue Nov 22, 2011 7:49 pm
Location:127.0.0.1
Contact:

Re: Fly's Problem (Advanced)

Unread post by Phlembac Adib Hasan » Sat Mar 31, 2012 5:55 am

I asked to find the probability for every even number like the probability after 2nd jump,after 4th jump etc.I hope it's clear now.
Welcome to BdMO Online Forum. Check out Forum Guides & Rules

User avatar
sowmitra
Posts:155
Joined:Tue Mar 20, 2012 12:55 am
Location:Mirpur, Dhaka, Bangladesh

Re: Fly's Problem (Advanced)

Unread post by sowmitra » Sun Apr 01, 2012 12:20 am

Adib, thank you for making it clear :) . I think this is the generalization :
Since, the no. of jumps are even, suppose no. of jumps=$2n$
So, total no. of distances the fly can be at after the $2n$ jumps=$2^{2n}$
Now, let, the fly has to jump $a$ times to the right to be at $5k$ distance from the starting point. Then, it has to jump $2n-a$ times to the left.
Therefore, we get, $$5a-5(2n-a)=5k \Rightarrow a=\frac{k}{2}+n$$
No. of ways to jump these $a$ times= $\binom{2n}{\frac{k}{2}+n}$
Again, the fly may remain at $5k$ distance from the starting point both at the left and at the right of the line. So, total no. of ways =$2*{\binom{2n}{\frac{k}{2}+n}}$
Hence, the probability that the fly will remain at $5k$ distance from the starting point after $2n$ jumps =$\displaystyle\frac{2*{\binom{2n}{\frac{k}{2}+n}}}{2^{2n}}$
I am not quite sure if this the correct solution (mostly because there is a fraction $\frac{k}{2}$) :?.
I would be very grateful if you could point out the bug in the solution (if there is any).
Last edited by sowmitra on Sun Apr 01, 2012 2:11 am, edited 1 time in total.
"Rhythm is mathematics of the sub-conscious."
Some-Angle Related Problems;

User avatar
nafistiham
Posts:829
Joined:Mon Oct 17, 2011 3:56 pm
Location:24.758613,90.400161
Contact:

Re: Fly's Problem (Advanced)

Unread post by nafistiham » Sun Apr 01, 2012 12:46 am

sowmitra wrote:Adib, thank you for making it clear :) . I think this is the generalization :
Since, the no. of jumps are even, suppose no. of jumps=$2n$
So, total no. of distances the fly can be at after the $2n$ jumps=$2^{2n}$
Now, let, the fly has to jump $a$ times to the right to be at $5k$ distance from the starting point. Then, it has to jump $2n-a$ times to the left.
Therefore, we get, $$5a-5(2n-a)=5k \Rightarrow a=\frac{k}{2}+n$$
No. of ways to jump these $a$ times= $2nC_{\frac{k}{2}+n}$
Again, the fly may remain at $5k$ distance from the starting point both at the left and at the right of the line. So, total no. of ways =$2*{2nC_{\frac{k}{2}+n}}$
Hence, the probability that the fly will remain at $5k$ distance from the starting point after $2n$ jumps =$\displaystyle\frac{2*{2nC_{\frac{k}{2}+n}}}{2^{2n}}$
I am not quite sure if this the correct solution (mostly because there is a fraction $\frac{k}{2}$) :?.
I would be very grateful if you could point out the bug in the solution (if there is any).
for combination or permutation you should use these I think $_{}^{n}\textrm{C}_k $ or $\binom{n}{k}$
(just click on them to see the code,or there is equation editor)
\[\sum_{k=0}^{n-1}e^{\frac{2 \pi i k}{n}}=0\]
Using $L^AT_EX$ and following the rules of the forum are very easy but really important, too.Please co-operate.
Introduction:
Nafis Tiham
CSE Dept. SUST -HSC 14'
http://www.facebook.com/nafistiham
nafistiham@gmail

User avatar
sowmitra
Posts:155
Joined:Tue Mar 20, 2012 12:55 am
Location:Mirpur, Dhaka, Bangladesh

Re: Fly's Problem (Advanced)

Unread post by sowmitra » Sun Apr 01, 2012 2:18 am

@Tiham: Thank you for pointing it out. :) :)
I have changed the previous codes to the binomial codes. I am actually new at working with LATEX, so, I do not know all the codes yet. Besides, I couldn't find the code of Combinations in the pdf 'latexhelp'. Ei jonnoe oi choramita korechilam. Thanks again for helping me. :D
"Rhythm is mathematics of the sub-conscious."
Some-Angle Related Problems;

User avatar
nafistiham
Posts:829
Joined:Mon Oct 17, 2011 3:56 pm
Location:24.758613,90.400161
Contact:

Re: Fly's Problem (Advanced)

Unread post by nafistiham » Sun Apr 01, 2012 2:26 am

My pleasure.And, well done.I would not have the courage to re edit all those codes. ;)
\[\sum_{k=0}^{n-1}e^{\frac{2 \pi i k}{n}}=0\]
Using $L^AT_EX$ and following the rules of the forum are very easy but really important, too.Please co-operate.
Introduction:
Nafis Tiham
CSE Dept. SUST -HSC 14'
http://www.facebook.com/nafistiham
nafistiham@gmail

User avatar
sowmitra
Posts:155
Joined:Tue Mar 20, 2012 12:55 am
Location:Mirpur, Dhaka, Bangladesh

Re: Fly's Problem (Advanced)

Unread post by sowmitra » Sun Apr 15, 2012 2:43 am

Hey, where is Adib ? :?: :?: :?: Has he forgotten about this post ?! :o
Will someone please show me the bug in the solution ? :roll: :oops:
"Rhythm is mathematics of the sub-conscious."
Some-Angle Related Problems;

User avatar
sm.joty
Posts:327
Joined:Thu Aug 18, 2011 12:42 am
Location:Dhaka

Re: Fly's Problem (Advanced)

Unread post by sm.joty » Sun Apr 15, 2012 10:09 am

sowmitra wrote:@Tiham: Thank you for pointing it out. :) :)
I have changed the previous codes to the binomial codes. I am actually new at working with LATEX, so, I do not know all the codes yet. Besides, I couldn't find the code of Combinations in the pdf 'latexhelp'. Ei jonnoe oi choramita korechilam. Thanks again for helping me. :D
Humm........
This may be helpful for you. :D
http://www.thestudentroom.co.uk/wiki/La ... rentiation
হার জিত চিরদিন থাকবেই
তবুও এগিয়ে যেতে হবে.........
বাধা-বিঘ্ন না পেরিয়ে
বড় হয়েছে কে কবে.........

Post Reply