Lattice path – Wikipedia

Lattice path of length 5 in

In combinatorics, a lattice path

L{displaystyle L}

in

Zd{displaystyle mathbb {Z} ^{d}}

of length

k{displaystyle k}

with steps in

S{displaystyle S}

is a sequence

v0,v1,,vkZd{displaystyle v_{0},v_{1},ldots ,v_{k}in mathbb {Z} ^{d}}

such that each consecutive difference

vivi1{displaystyle v_{i}-v_{i-1}}

lies in

S{displaystyle S}

.[1]
A lattice path may lie in any lattice in

Rd{displaystyle mathbb {R} ^{d}}

,[1] but the integer lattice

Zd{displaystyle mathbb {Z} ^{d}}

is most commonly used.

An example of a lattice path in

Z2{displaystyle mathbb {Z} ^{2}}

of length 5 with steps in

S={(2,0),(1,1),(0,1)}{displaystyle S=lbrace (2,0),(1,1),(0,-1)rbrace }


is

L={(1,2),(0,1),(2,1),(2,2),(2,3),(4,3)}{displaystyle L=lbrace (-1,-2),(0,-1),(2,-1),(2,-2),(2,-3),(4,-3)rbrace }

.

North-East lattice paths[edit]

A North-East (NE) lattice path is a lattice path in

Z2{displaystyle mathbb {Z} ^{2}}

with steps in

S={(0,1),(1,0)}{displaystyle S=lbrace (0,1),(1,0)rbrace }

. The

(0,1){displaystyle (0,1)}

steps are called North steps and denoted by

N{displaystyle N}

‘s;
the

(1,0){displaystyle (1,0)}

steps are called East steps and denoted by

E{displaystyle E}

‘s.

NE lattice paths most commonly begin at the origin. This convention allows us to encode all the information about a NE lattice path

L{displaystyle L}


in a single permutation word. The length of the word gives us the number of steps of the lattice path,

k{displaystyle k}

. The order of the

N{displaystyle N}

‘s and

E{displaystyle E}

‘s communicates the sequence of

L{displaystyle L}

. Furthermore, the number of

N{displaystyle N}

‘s and the number of

E{displaystyle E}

‘s in the word determines the end point of

L{displaystyle L}

.

If the permutation word for a NE lattice path contains

n{displaystyle n}

N{displaystyle N}

steps and

e{displaystyle e}


E{displaystyle E}

steps, and if the path begins at the origin, then the path necessarily ends at

(e,n){displaystyle (e,n)}

. This follows because you have “walked” exactly

n{displaystyle n}

steps North and

e{displaystyle e}

steps East from

(0,0){displaystyle (0,0)}

.

Counting lattice paths[edit]

Lattice paths are often used to count other combinatorial objects. Similarly, there are many combinatorial objects that count the number of lattice paths of a certain kind. This occurs when the lattice paths are in bijection with the object in question. For example,

  • Dyck paths are counted by the
  • The Schröder numbers count the number of lattice paths from
  • The number of NE lattice paths from

Combinations and NE lattice paths[edit]

NE lattice paths have close connections to the number of combinations, which are counted by the binomial coefficient, and arranged in Pascal’s triangle. The diagram below demonstrates some of these connections.

The number of lattice paths from

The number of lattice paths from

(0,0){displaystyle (0,0)}

to

(n,k){displaystyle (n,k)}

is equal to the binomial coefficient

(n+kn){displaystyle {binom {n+k}{n}}}

. The diagram shows this for

0kn=4{displaystyle 0leq kleq n=4}

. If one rotates the diagram 135° clockwise about the origin and extend it to include all

n,kN{0}{displaystyle n,kin mathbb {N} cup lbrace 0rbrace }

, one obtains Pascal’s triangle. This result is no surprise, because the

kth{displaystyle k^{text{th}}}

entry of the

nth{displaystyle n^{text{th}}}

row of Pascal’s Triangle is the binomial coefficient

(nk){displaystyle {binom {n}{k}}}

.

Problems and proofs[edit]

The graphical representation of NE lattice paths lends itself to many bijective proofs involving combinations. Here are a few examples.

Proof: The right-hand side is equal to the number of NE lattice paths from

(0,0){displaystyle (0,0)}

to

(n,n){displaystyle (n,n)}

. Each of these NE lattice paths intersects exactly one of the lattice points in the rectangular array with coordinates

(x,nx){displaystyle (x,n-x)}

for

x{0,1,,n}{displaystyle xin lbrace 0,1,ldots ,nrbrace }

. This is shown in the figure below for

n=4{displaystyle n=4}

: Every NE lattice path from

(0,0){displaystyle (0,0)}

to

(4,4){displaystyle (4,4)}

intersects exactly one of the colored nodes.

Each NE lattice path passes through exactly one colored node.

On the left-hand side, the binomial coefficient squared,

(nk)2{displaystyle {binom {n}{k}}^{2}}

, represents two copies of the set of NE lattice paths from

(0,0){displaystyle (0,0)}

to

(k,nk){displaystyle (k,n-k)}

attached endpoint to start point. Rotate the second copy 90° clockwise. This does not change the combinatorics of the object:

(nk)=(nnk){displaystyle {binom {n}{k}}={binom {n}{n-k}}}

. So the total number of lattice paths remains the same.

Sets of NE lattice paths squared, with the second copy rotated 90° clockwise.

Superimpose the NE lattice paths squared onto the same rectangular array, as seen in the figure below. We see that all NE lattice paths from

(0,0){displaystyle (0,0)}

to

(n,n){displaystyle (n,n)}

are accounted for. In particular, notice that any lattice path passing through the red lattice point (for example) is counted by the squared set of lattice paths (also shown in red).

{displaystyle Box }

Superimposed sets of NE lattice paths squared. All NE lattice paths are accounted for.

References[edit]