Tetrahedral paths

The points O, A, B and C all form the vertices of a tetrahedron with side lengths all 1 unit. Considering paths that start and end at O, and travel only on the edges of the tetrahedron, how many paths are there of length 5?

60 50 54 48

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Otto Bretscher
Nov 12, 2018

Let a n a_n be the number of paths of length n n from O O to O O and let b n b_n be the number of paths from O O to any of the other vertices, say A A . We have a 1 = 0 a_1=0 and b 1 = 1 b_1=1 and the recursions a n + 1 = 3 b n a_{n+1}=3b_n and b n + 1 = a n + 2 b n b_{n+1}=a_n+2b_n . A quick computation shows that a 5 = 60 a_5=\boxed{60} .

are you sure b(1)=1?

Mike Pannekoek - 2 years, 7 months ago

Log in to reply

I should have been more clear (blame it on my poor English): b n b_n is the number of paths from C C to one of the other vertices, say A A .

Otto Bretscher - 2 years, 7 months ago

Great solution! It's nice to note that a n + 1 b n + 1 = ( a n b n ) a_{n+1}-b_{n+1} = -(a_n-b_n) . This quantity just flips between 1 -1 and + 1 +1 . Put another way, after an even number of random steps along the graph, you're slightly more likely to end up at O O than at A A ; after an odd number of steps, slightly more likely to be at A A than at O O ; as n n tends to infinity, the probability of being at any particular point tends to 1 4 \frac{1}{4} (as you would intuitively expect).

Chris Lewis - 2 years, 6 months ago

Log in to reply

Exactly! If they had asked for paths of length 10, I would have mentioned the ± 1 \pm 1 -flip, but for five it did not seem worth it.

Otto Bretscher - 2 years, 6 months ago

Log in to reply

Thanks for showing me that LaTeX works in comments, too! It seems like there would be some interesting questions on similar graphs. Your approach extends naturally to all complete graphs. Other highly symmetric graphs would (perhaps) be interesting - to carry on the theme of this problem, paths along edges of uniform polyhedra may have nice solutions.

Chris Lewis - 2 years, 6 months ago

Log in to reply

@Chris Lewis Yes, exactly. Long ago, I posted some problems on walks on the edges of some Platonic solids; let me see whether I can dig up one. Here

Otto Bretscher - 2 years, 6 months ago

Log in to reply

@Otto Bretscher Very nice! I had wondered if Comrade Markov might make an appearance in solutions to this problem, too.

Chris Lewis - 2 years, 6 months ago

Log in to reply

@Chris Lewis Do you not like the solution from Comrade Otto? ;)

Otto Bretscher - 2 years, 6 months ago
Chris Lewis
Nov 16, 2018

The induction/recursion methods presented in other solutions are certainly the neatest and most informative way to go for general n n . However, this case is small enough to count.

The path can return to O O either once (just at the end) or twice. p , q , r , s p,q,r,s below stand for any of the points A , B , C A,B,C .

Path form Paths Reasoning
O p O q r O OpOqrO 18 3 choices for p p ; 3 for q q , 2 for r r
O p q O r O OpqOrO 18 as above (by symmetry)
O p q r s O OpqrsO 24 3 choices for p p , 2 for q q , 2 for r r , 2 for s s
Total 60

This is actually the first way that I solved it

Mike Pannekoek - 2 years, 6 months ago
Mike Pannekoek
Nov 13, 2018

Suppose you want to make a path of length n n , the penultimate move (the move right before the last move) can either be a move from O to {A, B or C}, or a move from {A, B or C} to another from that same list. It cannot be a move straight to O, since any move made for the next move will leave the path's end somewhere other than O.

Supposing there is a given path of length n 1 n-1 , there can be made a path of length n n if you remove the last move in the n 1 n-1 sequence, you will have a path that starts on O and ends on some vertex other than O. You instead replace that move with a move from to any of the other 2 vertices from {A, B or C} (since you cannot move to the same location) and the last move is obviously to go straight to O.

Supposing there is given instead a path of length n 2 n-2 , you can simply append a move to any of the three other vertices {A, B or C} and straight back to O. The penultimate move in this case is a move from O to {A, B or C}.

Since in these cases, the penultimate move is different, the paths formed by these strategies will be different from each other, but the paths formed by these strategies are complete, meaning they cover every possible path of length n n . Thus we have a single recurrence relation for p n p_n , the amount of paths of length n, p n = 2 p n 1 + 3 p n 2 p_n = 2p_{n-1} + 3p_{n-2} .

Using the initial solution p 2 = 3 p_2=3 (or alternatively p 1 = 0 p_1=0 or p 0 = 1 p_0=1 , you can use this to find out that p 3 = 6 p_3 = 6 , p 4 = 21 p_4 = 21 , p 5 = 60 p_5 = 60 Now, the general solution to this recurrence relation is

p n = 3 ( 1 ) n + 3 n 4 p_n = \frac{3(-1)^n+3^n}{4} .

Derivation or confirmation of this solution is left as an exercise to the reader (see the linear recurrence relations wiki , or just plug the formula into the recurrence relation, and confirm the initial value). Using this formula, you can go directly to the solution, or you can solve for an arbitrary path length.

Some interesting things to note: you can see that 3 ( 1 ) n + 3 n 3(-1)^n+3^n should always have a factor of 4, otherwise the n n 'th term would not be an integer. A side problem then could be to prove this very fact without using the recurrence relation

Write the adjacency matrix for this graph, and raise it to the fifth power, we can see the number of paths from O to O of length 5 from the corresponding entry of the matrix.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...