on the wz method
play

On the WZ Method Ira M. Gessel Department of Mathematics Brandeis - PowerPoint PPT Presentation

On the WZ Method Ira M. Gessel Department of Mathematics Brandeis University Waterloo Workshop in Computer Algebra Wilfrid Laurier University May 28, 2011 In Honor of Herbert Wilfs 80th Birthday The WZ (Wilf-Zeilberger) method The way


  1. On the WZ Method Ira M. Gessel Department of Mathematics Brandeis University Waterloo Workshop in Computer Algebra Wilfrid Laurier University May 28, 2011 In Honor of Herbert Wilf’s 80th Birthday

  2. The WZ (Wilf-Zeilberger) method The way the WZ method is usually described: We have two functions f and g satisfying the WZ equation f ( i , j + 1 ) − f ( i , j ) = g ( i + 1 , j ) − g ( i , j ) (WZ)

  3. The WZ (Wilf-Zeilberger) method The way the WZ method is usually described: We have two functions f and g satisfying the WZ equation f ( i , j + 1 ) − f ( i , j ) = g ( i + 1 , j ) − g ( i , j ) (WZ) If we sum on i the right side telescopes, so N N � � f ( i , j + 1 ) − f ( i , j ) = g ( N + 1 , j ) − g ( 0 , j ) . i = 0 i = 0

  4. The WZ (Wilf-Zeilberger) method The way the WZ method is usually described: We have two functions f and g satisfying the WZ equation f ( i , j + 1 ) − f ( i , j ) = g ( i + 1 , j ) − g ( i , j ) (WZ) If we sum on i the right side telescopes, so N N � � f ( i , j + 1 ) − f ( i , j ) = g ( N + 1 , j ) − g ( 0 , j ) . i = 0 i = 0 If g ( N + 1 , j ) = g ( 0 , j ) = 0 then � N i = 0 f ( i , j + 1 ) is independent of j so we can evaluate � i f ( i , j ) .

  5. The WZ (Wilf-Zeilberger) method The way the WZ method is usually described: We have two functions f and g satisfying the WZ equation f ( i , j + 1 ) − f ( i , j ) = g ( i + 1 , j ) − g ( i , j ) (WZ) If we sum on i the right side telescopes, so N N � � f ( i , j + 1 ) − f ( i , j ) = g ( N + 1 , j ) − g ( 0 , j ) . i = 0 i = 0 If g ( N + 1 , j ) = g ( 0 , j ) = 0 then � N i = 0 f ( i , j + 1 ) is independent of j so we can evaluate � i f ( i , j ) . Note: we might want to take N = ∞ .

  6. An example—Vandermonde’s theorem Let’s use the WZ method to prove the Chu-Vandermonde theorem: �� q r � p � � p + q � � = i r − i r i = 0

  7. An example—Vandermonde’s theorem Let’s use the WZ method to prove the Chu-Vandermonde theorem: �� q r � p � � p + q � � = i r − i r i = 0 It’s convenient to replace the upper limit of summation with ∞ . We divide the left side by the right side to get a sum which is independent of the parameters: �� q ∞ � p � � � p + q � � t i = 1 , where t i = . i r − i r i = 0 To apply the WZ method, we need a second parameter j . But we have three parameters, p , q , and r . Which one should we take?

  8. Let’s try taking p to be j . So our identity becomes � ∞ i = 0 f ( i , j ) = 1, where �� q � j � � � j + q � f ( i , j ) = . i r − i r

  9. Let’s try taking p to be j . So our identity becomes � ∞ i = 0 f ( i , j ) = 1, where �� q � j � � � j + q � f ( i , j ) = . i r − i r We would like to find a WZ-mate for f : a solution of the WZ equation f ( i , j + 1 ) − f ( i , j ) = g ( i + 1 , j ) − g ( i , j ) .

  10. Let’s try taking p to be j . So our identity becomes � ∞ i = 0 f ( i , j ) = 1, where �� q � j � � � j + q � f ( i , j ) = . i r − i r We would like to find a WZ-mate for f : a solution of the WZ equation f ( i , j + 1 ) − f ( i , j ) = g ( i + 1 , j ) − g ( i , j ) . We can do this using Gosper’s algorithm, which gives i ( q − r + i ) g ( i , j ) = ( i − 1 − j )( j + 1 + q ) f ( i , j ) �� q � � � � j + q � = − i + q − r j . j + q + 1 i − 1 r − i r

  11. Let’s try taking p to be j . So our identity becomes � ∞ i = 0 f ( i , j ) = 1, where �� q � j � � � j + q � f ( i , j ) = . i r − i r We would like to find a WZ-mate for f : a solution of the WZ equation f ( i , j + 1 ) − f ( i , j ) = g ( i + 1 , j ) − g ( i , j ) . We can do this using Gosper’s algorithm, which gives i ( q − r + i ) g ( i , j ) = ( i − 1 − j )( j + 1 + q ) f ( i , j ) �� q � � � � j + q � = − i + q − r j . j + q + 1 i − 1 r − i r Since g ( 0 , j ) = 0 and g ( i , j ) = 0 for i > j + 1, we have ∞ � � � f ( i , j + 1 ) − f ( i , j ) = 0 . i = 0

  12. So � f ( i , j ) i is independent of j and is therefore equal to � f ( i , 0 ) = 1 i (at least as long as j is a nonnegative integer).

  13. What if we take r to be j ? So �� q � p � � � p + q � f ( i , j ) = . i j − i j We apply Gosper’s algorithm and it is again successful: we find the WZ-mate i ( q − j + i ) g ( i , j ) = ( i − 1 − j )( p + q − j ) f ( i , j ) � j �� p + q − j − 1 � � � p + q � = − . i − 1 p − i p

  14. We find that any way of making the parameters linear functions of j works.

  15. We find that any way of making the parameters linear functions of j works. For example, if we replace i → i + j , p → p + j , q → q − j , so that �� q − j � p + j � � � p + q + j � f ( i , j ) = . i + j r − i − j r then Gosper’s algorithm finds a WZ-mate for f , g ( i , j ) = q − r + i f ( i , j ) . q − j

  16. So we have many (infinitely many, in fact) slightly different WZ proofs of Vandermonde’s theorem.

  17. So we have many (infinitely many, in fact) slightly different WZ proofs of Vandermonde’s theorem. ◮ Why does Gosper’s algorithm always work?

  18. So we have many (infinitely many, in fact) slightly different WZ proofs of Vandermonde’s theorem. ◮ Why does Gosper’s algorithm always work? ◮ Why should we care?

  19. Path Invariance (Gosper, Kadell, Zeilberger) Another way to look at WZ pairs: We consider a grid graph with a weight function defined on every directed edge with the following property: ◮ For all vertices A and B , all paths from A to B have the same weight. (path invariance) 1 2 2 1 1 1 1 1 2 2 1 2 2 0 1 1 4

  20. This property is equivalent to the existence of a potential function defined on the vertices: the weight of an edge is the difference in the potential of its endpoints: 6 8 3 4 2 2 1 1 1 1 1 3 2 5 7 1 2 2 1 0 2 2 1 1 1 4 5 6 0

  21. Some observations ◮ To check that a weighted grid graph has the path invariance property, it is sufficient to check it on each rectangle: b a d a + b = c + d c

  22. Some observations ◮ We can add arbitrary other edges to the graph, and they will have uniquely determined weights that satisfy the path invari- ance property. 1 2 2 1 1 1 1 1 2 2 1 2 0 2 1 1 4

  23. Some observations ◮ The weights of a directed edge and its reversal are negatives of each other.

  24. In particular, from one path-invariant weighted grid graph, we can get another by taking a different grid on the same set of points:

  25. In particular, from one path-invariant weighted grid graph, we can get another by taking a different grid on the same set of points:

  26. In particular, from one path-invariant weighted grid graph, we can get another by taking a different grid on the same set of points:

  27. In particular, from one path-invariant weighted grid graph, we can get another by taking a different grid on the same set of points:

  28. Suppose that we have a a path-invariant weighted grid graph, where the vertices are in Z × Z . Let f ( i , j ) be the weight on the edge from ( i , j ) to ( i + 1 , j ) and let g ( i , j ) be the weight on the edge from ( i , j ) to ( i , j + 1 ) : f ( i, j + 1) g ( i, j ) g ( i + 1 , j ) ( i, j ) f ( i, j )

  29. Suppose that we have a a path-invariant weighted grid graph, where the vertices are in Z × Z . Let f ( i , j ) be the weight on the edge from ( i , j ) to ( i + 1 , j ) and let g ( i , j ) be the weight on the edge from ( i , j ) to ( i , j + 1 ) : f ( i, j + 1) g ( i, j ) g ( i + 1 , j ) ( i, j ) f ( i, j ) The path invariance property is f ( i , j ) + g ( i + 1 , j ) = g ( i , j ) + f ( i , j + 1 ) This is the same as the WZ identity.

  30. We can think of our previous application of the WZ identity in terms of path invariance: We rewrite the identity N N � � f ( i , j + 1 ) − f ( i , j ) = g ( N + 1 , j ) − g ( 0 , j ) . i = 0 i = 0 as N N � � g ( 0 , j ) + f ( i , j + 1 ) = f ( i , j ) + g ( N + 1 , j ) . i = 0 i = 0 This comes from path invariance along these paths: (0 , j + 1) ( N + 1 , j + 1) (0 , j ) ( N + 1 , j )

  31. path invariance vs. telescoping series viewpoint ◮ Using path invariance, can find other kinds of identities by summing along different paths.

  32. path invariance vs. telescoping series viewpoint ◮ Using path invariance, can find other kinds of identities by summing along different paths. ◮ Rather than proving the telescoping formula N N � � f ( i , j + 1 ) − f ( i , j ) = 0 , i = 0 i = 0 we can prove directly that N � f ( i , j ) = 1 . i = 0 using the following two paths:

  33. N � f ( i, j ) i =0 (0 , j ) ( N + 1 , j ) 0 0 (0 , 0) 1 (1 , 0) 0 ( N + 1 , 0)

  34. Another important example of path invariance: (0 , M ) M − 1 � g (0 , j ) j =0 M − 1 (0 , 0) ( M, 0) � f ( i, 0) i =0 If the weight of the green connecting path goes to 0 as M → ∞ then ∞ ∞ � � f ( i , 0 ) = g ( 0 , j ) . i = 0 j = 0

  35. Change of Variables Path invariance allows us to assign a weight to any step, thereby giving us change of variables formulas for WZ pairs.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend