polynomial and rational solutions of linear differential
play

Polynomial and Rational Solutions of Linear Differential or - PowerPoint PPT Presentation

Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Polynomial and Rational Solutions of Linear Differential or Difference Equations Bruno Salvy Bruno.Salvy@inria.fr Algorithms Project, Inria


  1. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Polynomial and Rational Solutions of Linear Differential or Difference Equations Bruno Salvy Bruno.Salvy@inria.fr Algorithms Project, Inria Joint work with Alin Bostan and Thomas Cluzeau Bruno Salvy Polynomial and Rational Solutions

  2. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Liouville (1833) did most of it! a 0 ( x ) y ( d ) ( x ) + · · · + a d ( x ) y ( x ) = 0 . Polynomial solutions: Si l’on se bornait ` a demander les int´ egrales enti` eres, le probl` eme n’offrirait aucune difficult´ e. Algorithm for rational solutions, later improved by Abramov et alii . Our result: better complexity (still exponential). Bruno Salvy Polynomial and Rational Solutions

  3. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Timings (2 x + 1) 3 y ′′ + (2 x + 1)(8 x + 3) y ′ + 2 N ((4 x + 2) N − 4 x − 1) y = 0 N LFS BinSplit BsGs LFS: Liouville’s method 2 10 1.58 0.10 0.02 ˜ O ( N 2 ) (Maple) 2 12 62.59 0.44 0.03 BinSplit: Our deterministic 2 14 4597.2 2.40 0.07 ˜ algo (Maple) O ( N ) 2 16 > 4Gb 14.67 0.19 BsGs: Our probabilistic algo √ 2 18 89.05 0.44 ˜ (Magma) O ( N ) 2 20 528.73 1.07 Output different 2 22 3060.1 2.54 2 24 > 1 h 6.09 Bruno Salvy Polynomial and Rational Solutions

  4. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Applications Indefinite hypergeometric summation [Gosper78] n k !( k + 1)!( k + 2)!27 k = (81 n 2 + 261 n + 200)(3 n + 2)! (3 k )! − 9 � 40( n + 2)!( n + 1)! n !27 n 2 k =0 Definite summation and integration [Zeilberger90, Chyzak00] � x ∞ cos t � J 2 n +1 / 2 ( x ) = √ dt 2 π t 0 n =0 Liouvillian solutions of LDEs [Marotte1898, Kovacic86, Singer81,. . . ] Hypergeometric solutions of LREs [Petkovˇ sek90] Desingularization of LDEs and LREs [ChDuLeMaMiSa05] They all need rational or polynomial solutions of LDEs or LREs; waste time when none exists. Bruno Salvy Polynomial and Rational Solutions

  5. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Basic Algorithm Liouville: bound on degree and undeterminate coefficients   ∗ ∗ ∗ ∗ ∗ ∗ ∗     ∗ ∗ ∗ ∗     ... ... ... ...       ∗ ∗ ∗ ∗   ∗ ∗ ∗ Abramov et alii : alternate view via recurrence ( n + 3)( n + 2) u n +3 + · · · + 8( n − N )( n − N + 1) u n = 0 and basis of power series solutions of the LDE 1 + 0 x + · · · + ∗ x N + ∗ x N +1 + ∗ x N +2 + ∗ x N +3 + O ( x N +4 ) 0 + 1 x + · · · + ∗ x N + ∗ x N +1 + ∗ x N +2 + ∗ x N +3 + O ( x N +4 ) Same Complexity Bruno Salvy Polynomial and Rational Solutions

  6. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Singular Points & Indicial Polynomial L y ( x ) = a 0 ( x ) y ( d ) ( x ) + · · · + a d ( x ) y ( x ) = 0 . Cauchy: singular points only at roots of a 0 . Indicial polynomial P α ( λ ): L ( x − α ) λ (1 + c 1 ( x − α ) + · · · ) = P α ( λ )( x − α ) λ + c (1 + · · · ) . ( n + 3)( n + 2) u n +3 + · · · + 8 ( n − N )( n − N + 1) u n = 0 � �� � � �� � P 0 ( n +3) P ∞ ( n ) → Exponential bound on degree and orders of poles → Rational solutions [Liouville1833]: patch up local polar behaves � ( x − α ) N α . y ( x ) := ˜ y ( x ) a 0 ( α )=0 , P α ( N α )=0 , N α ∈ Z − Bruno Salvy Polynomial and Rational Solutions

  7. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Shape of Polynomial Solutions ✻ O ( N log N ) × × + + × × + + × × ❄ ✛ ✲ N Size of Solutions: O ( N 2 log N ) bits Compact representationCompact representation: O ( N log N ) bits Theorem (BoClSa05) Our algorithm BinSplitPolySols computes compact representation and degree in ˜ O ( N ) bit operations. Knowing the degree D, the expanded polynomial is computed in ˜ O ( D 2 ) bit operations. Quasi-optimal! Bruno Salvy Polynomial and Rational Solutions

  8. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Fast Multiplication Balanced input: size T × size T ıve: I ( T ) = O ( T 2 ) Na¨ Karatsuba (1963): I ( T ) = O ( T 1 . 59 ) Fast Fourier Transform: I ( T ) = O ( T log T log log T ) [Sch¨ onhage-Strassen71] Same for polynomials ( M ( T )). Many applications via Newton iteration, including division. Algorithms Ours Before √ Degrees (probabilistic) O ( M ( N ) I (log N )) — O ( N 2 I (log N )) Compact and degree O ( I ( N log N ) log N ) Expanded, degree D O ( DI ( D log D )) Bruno Salvy Polynomial and Rational Solutions

  9. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Factorial Problem (Fast computation of N ! = 1 × · · · × N ) ıve way: complexity O ( N 2 I (log N )) Na¨ Binary Splitting: N ! = (1 × · · · × ⌊ N / 2 ⌋ ) × ( ⌈ N / 2 ⌉ × · · · × N ) � �� � � �� � size 1 size 1 2 N log N 2 N log N and recurse. Complexity O ( I ( N log N ) log N ). Numerous applications [Hakmem72, Brent75, Chudnovsky 2 88] Even faster way [Borwein85,Sch¨ onhage94] O ( I ( N log N )). Bruno Salvy Polynomial and Rational Solutions

  10. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Binary Splitting for Polynomial Solutions ∗ + ∗ x + · · · + ∗ x N + ∗ x N +1 + ∗ x N +2 + ∗ x N +3 + O ( x N +4 ) ( n + 3)( n + 2) u n +3 + · · · + 8( n − N )( n − N + 1) u n = 0 First order recurrence on vectors U n = t ( u n +3 , u n +2 , u n +1 ):   ∗ ∗ ∗ U N − 1 U N = ( N + 3)( N + 2) 0 0   ( N + 3)( N + 2) 0 ( N + 3)( N + 2) 0 � �� � A ( N ) U − 2 = A ( N ) · · · A ( − 1) ( N + 2)( N + 1)! 2 . � �� � Complexity: like for N !. matrix factorial Bruno Salvy Polynomial and Rational Solutions

  11. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Operations on the Compact Representation × × + + × × + + × × Compact Representation: recurrence & generalized initial conditions. Division by a power of x : easy Evaluation: linear recurrence for v k = � n ≤ k u n x n → v N by binary splitting (for x algebraic). Applications: exp(1) , γ, π, . . . [Hakmem,Brent,ChCh] Evaluation of a derivative: idem → Compact representation at another point → Rational solutions. Bruno Salvy Polynomial and Rational Solutions

  12. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion From Recurrence to Recurrence a 0 ( n ) u ( n + d ) + · · · + a d ( n ) u ( n ) = 0 . In general, coefficients of u do not satisfy a linear recurrence. They do on a binomial basis [Abramov-Bronstein-Petkovˇ sek 95]: N � n − a � � u ( n ) = c k . k k =0 → same algorithm for the compact representation Bruno Salvy Polynomial and Rational Solutions

  13. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Poles of Rational Solutions a 0 ( n ) a 0 ( n ) u ( n + d ) + · · · + a d ( n ) a d ( n ) u ( n ) = 0 . N ✛ ✲ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ s ❡ ❡ s s ❡ ❡ s s ❡ s s s s s ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ ❡ s s ❡ ❡ s s s s s s s s s s s s s s s s Rational solutions Abramov 89: bound the poles and look for polynomials. Bruno Salvy Polynomial and Rational Solutions

  14. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Probabilistic Algorithm Theorem (BoClSa05) Given c ≥ 0 , our algorithm BsGsPolySols computes the degrees of √ polynomial solutions with ˜ O ( N ) bit operations. The result is correct with probability ≥ 1 − 1 / (2 log c N ) . Idea: 1 Compute the matrix factorial √ – with only O ( N ) operations – modulo a prime of bit size only O (log N ) 2 Bound the probability that the rank drops. Bruno Salvy Polynomial and Rational Solutions

  15. Introduction Structure of Solutions Binary Splitting Recurrences Baby Steps/Giant Steps Conclusion Baby-Steps/Giant-Steps Problem ( N ! mod p in less than N operations) Na¨ ıve: N arithmetic operations √ Strassen 76: ˜ O ( N ). 1 Compute Q ( x ) = ( x + 1) · · · ( x + k ) O ( M ( k ) log k ); 2 Evaluate Q (0) , Q ( k ) , . . . , Q ( N − k ) O ( NM ( k ) log( k ) / k 2 ); 3 Compute their product O ( N / k ). Recurrences via matrix factorials [Chudnovsky 2 88]: √ √ O ( m ω M ( dN )+ m 2 M ( dN ) log( dN )) We improve this to O ( m ω √ √ dN + m 2 M ( dN )) Bruno Salvy Polynomial and Rational Solutions

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