Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
Go Back   Zelaron Gaming Forum > The Zelaron Nexus > Science and Art

 
 
Thread Tools Display Modes

 
Reply
Posted 2015-04-20, 12:06 AM in reply to Demosthenes's post starting "I tried using my new expansion for R...."
The integral seems fine for d=1 (both for obvious inputs, like a probability of 1/2 for the point x=1 after one step, and less obvious ones simulated by your program).

For d=2 dimensions, a simple case for which the distribution seems to fail is the point and M=2 steps, which should yield a probability of 1/8 (each walk corresponds to a word of length 2 in the alphabet {U,D,L,R}. There are 16 such words in total, of which only UR and RU correspond to a desired walk). In this case, the integral becomes

for so the product is

Actually, this seems like a pretty fun problem to solve by counting words...
"Stephen Wolfram is the creator of Mathematica and is widely regarded as the most important innovator in scientific and technical computing today." - Stephen Wolfram

Last edited by Chruser; 2015-04-20 at 12:20 AM.
Old
Profile PM WWW Search
Chruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrow
 
 
Chruser
 



 
Reply
Posted 2015-04-20, 01:02 AM in reply to Chruser's post starting "The integral seems fine for d=1 (both..."
You are correct, again. I'm lost at this point. Don't know what's wrong. Giving up for now.

Thanks.
Old
Profile PM WWW Search
Demosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to be
 
Demosthenes
 



 
Reply
Posted 2015-04-20, 04:36 AM in reply to Demosthenes's post starting "You are correct, again. I'm lost at..."
I played around a bit with the word-counting approach, which seems to have given me some promising results.

Each walk of length in dimensions that starts at the origin corresponds to a word of length from the alphabet .

For instance, if you're interested in walks from to in steps, consider the word , where

.

The and characters correspond to steps in the positive and negative directions in dimension , respectively. The :es are characters (directions) yet to be selected from . If we walk in the order prescribed from left to right in , by the time we reach the :es, we will have reached in our walk.

If we consider the first two :es from the left, we can replace them with any pair of and (for fixed ) and still be in after these two additional steps. Repeating this for each consecutive pair of :es, assuming that we have an even number of :es, the resulting string describes a walk from the origin to in steps.

In this particular example, it is realized that we can represent a selection of three pairs of and as the sum 3+0+0 (three pairs from the first dimension, none from the remaining two). Similarly, 0+2+1 represents a selection of no pairs of and , two pairs of and , and one pair of and (thus 0+2+1 gives rise to the string Each such sum with three summands (where the summands are nonnegative integers that sum to half the number of :es) gives us a walk to represented by distinct letters.

By counting the number of permutations of all words that arise from all such sums (3+0+0, 0+3+0, 0+0+3, 2+0+1, 2+1+0, 0+2+1, 1+2+0, 0+1+2, 1+0+2, 1+1+1), we get the total number of walks we seek (since no other walks of this type exist).

For this example, we get that the number of walks that we seek, N, is

(Number of walks arising from 3+0+0) + (Number of walks arising from 0+3+0) + ... + (Number of walks arising from 1+1+1) =



Dividing N by the total number of walks in 20 steps () yields the probability that we end up in after 20 steps.

This example is easily extended to the general case. For instance, using the notation



we get that the probability that we end up in after steps is given by



where the sum is taken over all nonnegative integers such that
"Stephen Wolfram is the creator of Mathematica and is widely regarded as the most important innovator in scientific and technical computing today." - Stephen Wolfram

Last edited by Chruser; 2017-11-22 at 06:37 AM.
Old
Profile PM WWW Search
Chruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrow
 
 
Chruser
 



 
Reply
Posted 2015-04-21, 11:38 PM in reply to Chruser's post starting "I played around a bit with the..."
Sorry for being slow. I think I've solved it, and I will try and comment on your solution tomorrow. Exhausted at this point, and have a stack of papers to grade.
Old
Profile PM WWW Search
Demosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to beDemosthenes seldom sees opportunities until they cease to be
 
Demosthenes
 



 
Reply
Posted 2015-04-23, 12:15 AM in reply to Demosthenes's post starting "Sorry for being slow. I think I've..."
That doesn't sound very fun.

Remind me to capacitate myself to work on problems like this without any teaching duties.
"Stephen Wolfram is the creator of Mathematica and is widely regarded as the most important innovator in scientific and technical computing today." - Stephen Wolfram
Old
Profile PM WWW Search
Chruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrow
 
 
Chruser
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random 35 Tracks Tape. Mdselctr Science and Art 1 2009-09-24 04:59 PM
Random Title Chruser Forum News, Suggestions and Discussion 29 2002-05-14 08:16 PM


All times are GMT -6. The time now is 01:01 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.