Top Banner
Runge–Kutta methods for ordinary differential equations John Butcher The University of Auckland New Zealand COE Workshop on Numerical Analysis Kyushu University May 2005 Runge–Kutta methods for ordinary differential equations – p. 1/48
208

Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Aug 06, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Runge–Kutta methods forordinary differential equations

John Butcher

The University of AucklandNew Zealand

COE Workshop on Numerical AnalysisKyushu University

May 2005

Runge–Kutta methods for ordinary differential equations – p. 1/48

Page 2: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

ContentsIntroduction to Runge–Kutta methods

Formulation of method

Taylor expansion of exact solution

Taylor expansion for numerical approximation

Order conditions

Construction of low order explicit methods

Order barriers

Algebraic interpretation

Effective order

Implicit Runge–Kutta methods

Singly-implicit methods

Runge–Kutta methods for ordinary differential equations – p. 2/48

Page 3: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

ContentsIntroduction to Runge–Kutta methods

Formulation of method

Taylor expansion of exact solution

Taylor expansion for numerical approximation

Order conditions

Construction of low order explicit methods

Order barriers

Algebraic interpretation

Effective order

Implicit Runge–Kutta methods

Singly-implicit methods

Runge–Kutta methods for ordinary differential equations – p. 2/48

Page 4: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

ContentsIntroduction to Runge–Kutta methods

Formulation of method

Taylor expansion of exact solution

Taylor expansion for numerical approximation

Order conditions

Construction of low order explicit methods

Order barriers

Algebraic interpretation

Effective order

Implicit Runge–Kutta methods

Singly-implicit methods

Runge–Kutta methods for ordinary differential equations – p. 2/48

Page 5: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

ContentsIntroduction to Runge–Kutta methods

Formulation of method

Taylor expansion of exact solution

Taylor expansion for numerical approximation

Order conditions

Construction of low order explicit methods

Order barriers

Algebraic interpretation

Effective order

Implicit Runge–Kutta methods

Singly-implicit methods

Runge–Kutta methods for ordinary differential equations – p. 2/48

Page 6: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

ContentsIntroduction to Runge–Kutta methods

Formulation of method

Taylor expansion of exact solution

Taylor expansion for numerical approximation

Order conditions

Construction of low order explicit methods

Order barriers

Algebraic interpretation

Effective order

Implicit Runge–Kutta methods

Singly-implicit methods

Runge–Kutta methods for ordinary differential equations – p. 2/48

Page 7: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

ContentsIntroduction to Runge–Kutta methods

Formulation of method

Taylor expansion of exact solution

Taylor expansion for numerical approximation

Order conditions

Construction of low order explicit methods

Order barriers

Algebraic interpretation

Effective order

Implicit Runge–Kutta methods

Singly-implicit methods

Runge–Kutta methods for ordinary differential equations – p. 2/48

Page 8: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

ContentsIntroduction to Runge–Kutta methods

Formulation of method

Taylor expansion of exact solution

Taylor expansion for numerical approximation

Order conditions

Construction of low order explicit methods

Order barriers

Algebraic interpretation

Effective order

Implicit Runge–Kutta methods

Singly-implicit methods

Runge–Kutta methods for ordinary differential equations – p. 2/48

Page 9: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

ContentsIntroduction to Runge–Kutta methods

Formulation of method

Taylor expansion of exact solution

Taylor expansion for numerical approximation

Order conditions

Construction of low order explicit methods

Order barriers

Algebraic interpretation

Effective order

Implicit Runge–Kutta methods

Singly-implicit methods

Runge–Kutta methods for ordinary differential equations – p. 2/48

Page 10: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

ContentsIntroduction to Runge–Kutta methods

Formulation of method

Taylor expansion of exact solution

Taylor expansion for numerical approximation

Order conditions

Construction of low order explicit methods

Order barriers

Algebraic interpretation

Effective order

Implicit Runge–Kutta methods

Singly-implicit methods

Runge–Kutta methods for ordinary differential equations – p. 2/48

Page 11: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

ContentsIntroduction to Runge–Kutta methods

Formulation of method

Taylor expansion of exact solution

Taylor expansion for numerical approximation

Order conditions

Construction of low order explicit methods

Order barriers

Algebraic interpretation

Effective order

Implicit Runge–Kutta methods

Singly-implicit methods

Runge–Kutta methods for ordinary differential equations – p. 2/48

Page 12: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

ContentsIntroduction to Runge–Kutta methods

Formulation of method

Taylor expansion of exact solution

Taylor expansion for numerical approximation

Order conditions

Construction of low order explicit methods

Order barriers

Algebraic interpretation

Effective order

Implicit Runge–Kutta methods

Singly-implicit methods

Runge–Kutta methods for ordinary differential equations – p. 2/48

Page 13: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Introduction to Runge–Kutta methodsIt will be convenient to consider only autonomous initialvalue problems

y′(x) = f(y(x)), y(x0) = y0, f : RN → R

N .

The simple Euler method:

yn = yn−1 + hf(yn−1), h = xn − xn−1

can be made more accurate by using either the mid-pointor the trapezoidal rule quadrature formula:

yn = yn−1 + hf(yn−1 + 1

2hf(yn−1)).

yn = yn−1 + 12hf(yn−1) + 1

2hf(yn−1 + hf(yn−1)

).

Runge–Kutta methods for ordinary differential equations – p. 3/48

Page 14: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Introduction to Runge–Kutta methodsIt will be convenient to consider only autonomous initialvalue problems

y′(x) = f(y(x)), y(x0) = y0, f : RN → R

N .

The simple Euler method:

yn = yn−1 + hf(yn−1), h = xn − xn−1

can be made more accurate by using

either

the mid-point

or the trapezoidal rule

quadrature formula:

yn = yn−1 + hf(yn−1 + 1

2hf(yn−1)).

yn = yn−1 + 12hf(yn−1) + 1

2hf(yn−1 + hf(yn−1)

).

Runge–Kutta methods for ordinary differential equations – p. 3/48

Page 15: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Introduction to Runge–Kutta methodsIt will be convenient to consider only autonomous initialvalue problems

y′(x) = f(y(x)), y(x0) = y0, f : RN → R

N .

The simple Euler method:

yn = yn−1 + hf(yn−1), h = xn − xn−1

can be made more accurate by using either the mid-pointor the trapezoidal rule quadrature formula:

yn = yn−1 + hf(yn−1 + 1

2hf(yn−1)).

yn = yn−1 + 12hf(yn−1) + 1

2hf(yn−1 + hf(yn−1)

).

Runge–Kutta methods for ordinary differential equations – p. 3/48

Page 16: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

These methods from Runge’s 1895 paper are “secondorder” because the error in a single step behaves likeO(h3).

A few years later, Heun gave a full explanation of order 3methods and Kutta gave a detailed analysis of order 4methods.

In the early days of Runge–Kutta methods the aimseemed to be to find explicit methods of higher andhigher order.

Later the aim shifted to finding methods that seemed tobe optimal in terms of local truncation error and tofinding built-in error estimators.

Runge–Kutta methods for ordinary differential equations – p. 4/48

Page 17: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

These methods from Runge’s 1895 paper are “secondorder” because the error in a single step behaves likeO(h3).

A few years later, Heun gave a full explanation of order 3methods and Kutta gave a detailed analysis of order 4methods.

In the early days of Runge–Kutta methods the aimseemed to be to find explicit methods of higher andhigher order.

Later the aim shifted to finding methods that seemed tobe optimal in terms of local truncation error and tofinding built-in error estimators.

Runge–Kutta methods for ordinary differential equations – p. 4/48

Page 18: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

These methods from Runge’s 1895 paper are “secondorder” because the error in a single step behaves likeO(h3).

A few years later, Heun gave a full explanation of order 3methods and Kutta gave a detailed analysis of order 4methods.

In the early days of Runge–Kutta methods the aimseemed to be to find explicit methods of higher andhigher order.

Later the aim shifted to finding methods that seemed tobe optimal in terms of local truncation error and tofinding built-in error estimators.

Runge–Kutta methods for ordinary differential equations – p. 4/48

Page 19: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

These methods from Runge’s 1895 paper are “secondorder” because the error in a single step behaves likeO(h3).

A few years later, Heun gave a full explanation of order 3methods and Kutta gave a detailed analysis of order 4methods.

In the early days of Runge–Kutta methods the aimseemed to be to find explicit methods of higher andhigher order.

Later the aim shifted to finding methods that seemed tobe optimal in terms of local truncation error and tofinding built-in error estimators.

Runge–Kutta methods for ordinary differential equations – p. 4/48

Page 20: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

With the emergence of stiff problems as an importantapplication area, attention moved to implicit methods.

Methods have been found based on Gaussian quadrature.

Later this extended to methods related to Radau andLobatto quadrature.

A-stable methods exist in these classes.

Because of the high cost of these methods, attentionmoved to diagonally and singly implicit methods.

Runge–Kutta methods for ordinary differential equations – p. 5/48

Page 21: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

With the emergence of stiff problems as an importantapplication area, attention moved to implicit methods.

Methods have been found based on Gaussian quadrature.

Later this extended to methods related to Radau andLobatto quadrature.

A-stable methods exist in these classes.

Because of the high cost of these methods, attentionmoved to diagonally and singly implicit methods.

Runge–Kutta methods for ordinary differential equations – p. 5/48

Page 22: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

With the emergence of stiff problems as an importantapplication area, attention moved to implicit methods.

Methods have been found based on Gaussian quadrature.

Later this extended to methods related to Radau andLobatto quadrature.

A-stable methods exist in these classes.

Because of the high cost of these methods, attentionmoved to diagonally and singly implicit methods.

Runge–Kutta methods for ordinary differential equations – p. 5/48

Page 23: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

With the emergence of stiff problems as an importantapplication area, attention moved to implicit methods.

Methods have been found based on Gaussian quadrature.

Later this extended to methods related to Radau andLobatto quadrature.

A-stable methods exist in these classes.

Because of the high cost of these methods, attentionmoved to diagonally and singly implicit methods.

Runge–Kutta methods for ordinary differential equations – p. 5/48

Page 24: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

With the emergence of stiff problems as an importantapplication area, attention moved to implicit methods.

Methods have been found based on Gaussian quadrature.

Later this extended to methods related to Radau andLobatto quadrature.

A-stable methods exist in these classes.

Because of the high cost of these methods, attentionmoved to diagonally and singly implicit methods.

Runge–Kutta methods for ordinary differential equations – p. 5/48

Page 25: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Formulation of methodIn carrying out a step we evaluate s stage values

Y1, Y2, . . . , Ys

and s stage derivatives

F1, F2, . . . , Fs,

using the formula Fi = f(Yi).

Each Yi is found as a linear combination of the Fj addedon to y0:

Yi = y0 + h

s∑

j=1

aijFj

and the approximation at x1 = x0 + h is found from

y1 = y0 + h

s∑

i=1

biFi

Runge–Kutta methods for ordinary differential equations – p. 6/48

Page 26: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Formulation of methodIn carrying out a step we evaluate s stage values

Y1, Y2, . . . , Ys

and s stage derivatives

F1, F2, . . . , Fs,

using the formula Fi = f(Yi).Each Yi is found as a linear combination of the Fj addedon to y0:

Yi = y0 + h

s∑

j=1

aijFj

and the approximation at x1 = x0 + h is found from

y1 = y0 + h

s∑

i=1

biFi

Runge–Kutta methods for ordinary differential equations – p. 6/48

Page 27: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Formulation of methodIn carrying out a step we evaluate s stage values

Y1, Y2, . . . , Ys

and s stage derivatives

F1, F2, . . . , Fs,

using the formula Fi = f(Yi).Each Yi is found as a linear combination of the Fj addedon to y0:

Yi = y0 + h

s∑

j=1

aijFj

and the approximation at x1 = x0 + h is found from

y1 = y0 + h

s∑

i=1

biFi

Runge–Kutta methods for ordinary differential equations – p. 6/48

Page 28: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

We represent the method by a tableau:

c1 a11 a12 · · · a1s

c2 a21 a22 · · · a2s... ... ... ...cs as1 as2 · · · ass

b1 b2 · · · bs

or, if the method is explicit, by the simplified tableau

0c2 a21... ... ... . . .cs as1 as2 · · · as,s−1

b1 b2 · · · bs−1 bs

Runge–Kutta methods for ordinary differential equations – p. 7/48

Page 29: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

We represent the method by a tableau:

c1 a11 a12 · · · a1s

c2 a21 a22 · · · a2s... ... ... ...cs as1 as2 · · · ass

b1 b2 · · · bs

or, if the method is explicit, by the simplified tableau

0c2 a21... ... ... . . .cs as1 as2 · · · as,s−1

b1 b2 · · · bs−1 bsRunge–Kutta methods for ordinary differential equations – p. 7/48

Page 30: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Examples:y1 = y0 + 0hf(y0) + 1hf

(y0 + 1

2hf(y0)

)

012

1

2

0 1

Y1 Y2

y1 = y0 + 1

2hf(y0) + 1

2hf

(y0 + 1hf(y0)

)

0

1 11

2

1

2

Y1 Y2

Runge–Kutta methods for ordinary differential equations – p. 8/48

Page 31: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Examples:y1 = y0 + 0hf(y0) + 1hf

(y0 + 1

2hf(y0)

)

012

1

2

0 1

Y1 Y2

y1 = y0 + 1

2hf(y0) + 1

2hf

(y0 + 1hf(y0)

)

0

1 11

2

1

2

Y1 Y2

Runge–Kutta methods for ordinary differential equations – p. 8/48

Page 32: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Examples:y1 = y0 + 0hf(y0) + 1hf

(y0 + 1

2hf(y0)

)

012

1

2

0 1

Y1 Y2

y1 = y0 + 1

2hf(y0) + 1

2hf

(y0 + 1hf(y0)

)

0

1 11

2

1

2

Y1 Y2

Runge–Kutta methods for ordinary differential equations – p. 8/48

Page 33: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Examples:y1 = y0 + 0hf(y0) + 1hf

(y0 + 1

2hf(y0)

)

012

1

2

0 1

Y1 Y2

y1 = y0 + 1

2hf(y0) + 1

2hf

(y0 + 1hf(y0)

)

0

1 11

2

1

2

Y1 Y2

Runge–Kutta methods for ordinary differential equations – p. 8/48

Page 34: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion of exact solutionWe need formulae for the second, third, . . . , derivatives.

y′(x)=f(y(x))

y′′(x)=f ′(y(x))y′(x)

=f ′(y(x))f(y(x)))

y′′′(x)=f ′′(y(x))(f(y(x)), y′(x)) + f ′(y(x))f ′(y(x))y′(x)

=f ′′(y(x))(f(y(x)), f(y(x)))+f ′(y(x))f ′(y(x))f(y(x))

This will become increasingly complicated as weevaluate higher derivatives.

Hence we look for a systematic pattern.

Write f = f(y(x)), f′ = f ′(y(x)), f′′ = f ′′(y(x)), . . . .

Runge–Kutta methods for ordinary differential equations – p. 9/48

Page 35: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion of exact solutionWe need formulae for the second, third, . . . , derivatives.

y′(x)=f(y(x))

y′′(x)=f ′(y(x))y′(x)

=f ′(y(x))f(y(x)))

y′′′(x)=f ′′(y(x))(f(y(x)), y′(x)) + f ′(y(x))f ′(y(x))y′(x)

=f ′′(y(x))(f(y(x)), f(y(x)))+f ′(y(x))f ′(y(x))f(y(x))

This will become increasingly complicated as weevaluate higher derivatives.

Hence we look for a systematic pattern.

Write f = f(y(x)), f′ = f ′(y(x)), f′′ = f ′′(y(x)), . . . .

Runge–Kutta methods for ordinary differential equations – p. 9/48

Page 36: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion of exact solutionWe need formulae for the second, third, . . . , derivatives.

y′(x)=f(y(x))

y′′(x)=f ′(y(x))y′(x)

=f ′(y(x))f(y(x)))

y′′′(x)=f ′′(y(x))(f(y(x)), y′(x)) + f ′(y(x))f ′(y(x))y′(x)

=f ′′(y(x))(f(y(x)), f(y(x)))+f ′(y(x))f ′(y(x))f(y(x))

This will become increasingly complicated as weevaluate higher derivatives.

Hence we look for a systematic pattern.

Write f = f(y(x)), f′ = f ′(y(x)), f′′ = f ′′(y(x)), . . . .

Runge–Kutta methods for ordinary differential equations – p. 9/48

Page 37: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion of exact solutionWe need formulae for the second, third, . . . , derivatives.

y′(x)=f(y(x))

y′′(x)=f ′(y(x))y′(x)

=f ′(y(x))f(y(x)))

y′′′(x)=f ′′(y(x))(f(y(x)), y′(x)) + f ′(y(x))f ′(y(x))y′(x)

=f ′′(y(x))(f(y(x)), f(y(x)))+f ′(y(x))f ′(y(x))f(y(x))

This will become increasingly complicated as weevaluate higher derivatives.

Hence we look for a systematic pattern.

Write f = f(y(x)), f′ = f ′(y(x)), f′′ = f ′′(y(x)), . . . .

Runge–Kutta methods for ordinary differential equations – p. 9/48

Page 38: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion of exact solutionWe need formulae for the second, third, . . . , derivatives.

y′(x)=f(y(x))

y′′(x)=f ′(y(x))y′(x)

=f ′(y(x))f(y(x)))

y′′′(x)=f ′′(y(x))(f(y(x)), y′(x)) + f ′(y(x))f ′(y(x))y′(x)

=f ′′(y(x))(f(y(x)), f(y(x)))+f ′(y(x))f ′(y(x))f(y(x))

This will become increasingly complicated as weevaluate higher derivatives.

Hence we look for a systematic pattern.

Write f = f(y(x)), f′ = f ′(y(x)), f′′ = f ′′(y(x)), . . . .

Runge–Kutta methods for ordinary differential equations – p. 9/48

Page 39: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion of exact solutionWe need formulae for the second, third, . . . , derivatives.

y′(x)=f(y(x))

y′′(x)=f ′(y(x))y′(x)

=f ′(y(x))f(y(x)))

y′′′(x)=f ′′(y(x))(f(y(x)), y′(x)) + f ′(y(x))f ′(y(x))y′(x)

=f ′′(y(x))(f(y(x)), f(y(x)))+f ′(y(x))f ′(y(x))f(y(x))

This will become increasingly complicated as weevaluate higher derivatives.

Hence we look for a systematic pattern.

Write f = f(y(x)), f′ = f ′(y(x)), f′′ = f ′′(y(x)), . . . .

Runge–Kutta methods for ordinary differential equations – p. 9/48

Page 40: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion of exact solutionWe need formulae for the second, third, . . . , derivatives.

y′(x)=f(y(x))

y′′(x)=f ′(y(x))y′(x)

=f ′(y(x))f(y(x)))

y′′′(x)=f ′′(y(x))(f(y(x)), y′(x)) + f ′(y(x))f ′(y(x))y′(x)

=f ′′(y(x))(f(y(x)), f(y(x)))+f ′(y(x))f ′(y(x))f(y(x))

This will become increasingly complicated as weevaluate higher derivatives.

Hence we look for a systematic pattern.

Write f = f(y(x)), f′ = f ′(y(x)), f′′ = f ′′(y(x)), . . . .Runge–Kutta methods for ordinary differential equations – p. 9/48

Page 41: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

y′(x) = f f

y′′(x) = f′f f′f

y′′′(x) = f′′(f, f) f′′f f

+ f′f′f f′f′f

The various terms have a structure related to rooted-trees.

Hence, we introduce the set of all rooted trees and somefunctions on this set.

Runge–Kutta methods for ordinary differential equations – p. 10/48

Page 42: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

y′(x) = f f

y′′(x) = f′f f′f

y′′′(x) = f′′(f, f) f′′f f

+ f′f′f f′f′f

The various terms have a structure related to rooted-trees.

Hence, we introduce the set of all rooted trees and somefunctions on this set.

Runge–Kutta methods for ordinary differential equations – p. 10/48

Page 43: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

y′(x) = f f

y′′(x) = f′f f′f

y′′′(x) = f′′(f, f) f′′f f

+ f′f′f f′f′f

The various terms have a structure related to rooted-trees.

Hence, we introduce the set of all rooted trees and somefunctions on this set.

Runge–Kutta methods for ordinary differential equations – p. 10/48

Page 44: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let T denote the set of rooted trees:

T =

{, , , , , , , , . . .

}

We identify the following functions on T .

In this table, t will denote a typical treer(t) order of t = number of verticesσ(t) symmetry of t = order of automorphism groupγ(t) density of t

α(t) number of ways of labelling with an ordered setβ(t) number of ways of labelling with an unordered set

F (t)(y0) elementary differential

We will give examples of these functions based on t =

Runge–Kutta methods for ordinary differential equations – p. 11/48

Page 45: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let T denote the set of rooted trees:

T =

{, , , , , , , , . . .

}

We identify the following functions on T .

In this table, t will denote a typical tree

r(t) order of t = number of verticesσ(t) symmetry of t = order of automorphism groupγ(t) density of t

α(t) number of ways of labelling with an ordered setβ(t) number of ways of labelling with an unordered set

F (t)(y0) elementary differential

We will give examples of these functions based on t =

Runge–Kutta methods for ordinary differential equations – p. 11/48

Page 46: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let T denote the set of rooted trees:

T =

{, , , , , , , , . . .

}

We identify the following functions on T .

In this table, t will denote a typical treer(t) order of t = number of vertices

σ(t) symmetry of t = order of automorphism groupγ(t) density of t

α(t) number of ways of labelling with an ordered setβ(t) number of ways of labelling with an unordered set

F (t)(y0) elementary differential

We will give examples of these functions based on t =

Runge–Kutta methods for ordinary differential equations – p. 11/48

Page 47: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let T denote the set of rooted trees:

T =

{, , , , , , , , . . .

}

We identify the following functions on T .

In this table, t will denote a typical treer(t) order of t = number of verticesσ(t) symmetry of t = order of automorphism group

γ(t) density of t

α(t) number of ways of labelling with an ordered setβ(t) number of ways of labelling with an unordered set

F (t)(y0) elementary differential

We will give examples of these functions based on t =

Runge–Kutta methods for ordinary differential equations – p. 11/48

Page 48: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let T denote the set of rooted trees:

T =

{, , , , , , , , . . .

}

We identify the following functions on T .

In this table, t will denote a typical treer(t) order of t = number of verticesσ(t) symmetry of t = order of automorphism groupγ(t) density of t

α(t) number of ways of labelling with an ordered setβ(t) number of ways of labelling with an unordered set

F (t)(y0) elementary differential

We will give examples of these functions based on t =

Runge–Kutta methods for ordinary differential equations – p. 11/48

Page 49: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let T denote the set of rooted trees:

T =

{, , , , , , , , . . .

}

We identify the following functions on T .

In this table, t will denote a typical treer(t) order of t = number of verticesσ(t) symmetry of t = order of automorphism groupγ(t) density of t

α(t) number of ways of labelling with an ordered set

β(t) number of ways of labelling with an unordered setF (t)(y0) elementary differential

We will give examples of these functions based on t =

Runge–Kutta methods for ordinary differential equations – p. 11/48

Page 50: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let T denote the set of rooted trees:

T =

{, , , , , , , , . . .

}

We identify the following functions on T .

In this table, t will denote a typical treer(t) order of t = number of verticesσ(t) symmetry of t = order of automorphism groupγ(t) density of t

α(t) number of ways of labelling with an ordered setβ(t) number of ways of labelling with an unordered set

F (t)(y0) elementary differential

We will give examples of these functions based on t =

Runge–Kutta methods for ordinary differential equations – p. 11/48

Page 51: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let T denote the set of rooted trees:

T =

{, , , , , , , , . . .

}

We identify the following functions on T .

In this table, t will denote a typical treer(t) order of t = number of verticesσ(t) symmetry of t = order of automorphism groupγ(t) density of t

α(t) number of ways of labelling with an ordered setβ(t) number of ways of labelling with an unordered set

F (t)(y0) elementary differential

We will give examples of these functions based on t =

Runge–Kutta methods for ordinary differential equations – p. 11/48

Page 52: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let T denote the set of rooted trees:

T =

{, , , , , , , , . . .

}

We identify the following functions on T .

In this table, t will denote a typical treer(t) order of t = number of verticesσ(t) symmetry of t = order of automorphism groupγ(t) density of t

α(t) number of ways of labelling with an ordered setβ(t) number of ways of labelling with an unordered set

F (t)(y0) elementary differential

We will give examples of these functions based on t =Runge–Kutta methods for ordinary differential equations – p. 11/48

Page 53: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

t =

r(t) = 7 765

1 2 43

σ(t) = 8

γ(t) = 63 733

1 1 11

α(t) = r(t)!σ(t)γ(t) = 10

β(t) = r(t)!σ(t) = 630

F (t) = f′′(f′′(f, f), f′′(f, f)

)f′′

f′′f′′

f f ff

Runge–Kutta methods for ordinary differential equations – p. 12/48

Page 54: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

t =

r(t) = 7 765

1 2 43

σ(t) = 8

γ(t) = 63 733

1 1 11

α(t) = r(t)!σ(t)γ(t) = 10

β(t) = r(t)!σ(t) = 630

F (t) = f′′(f′′(f, f), f′′(f, f)

)f′′

f′′f′′

f f ff

Runge–Kutta methods for ordinary differential equations – p. 12/48

Page 55: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

t =

r(t) = 7 765

1 2 43

σ(t) = 8

γ(t) = 63 733

1 1 11

α(t) = r(t)!σ(t)γ(t) = 10

β(t) = r(t)!σ(t) = 630

F (t) = f′′(f′′(f, f), f′′(f, f)

)f′′

f′′f′′

f f ff

Runge–Kutta methods for ordinary differential equations – p. 12/48

Page 56: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

t =

r(t) = 7 765

1 2 43

σ(t) = 8

γ(t) = 63 733

1 1 11

α(t) = r(t)!σ(t)γ(t) = 10

β(t) = r(t)!σ(t) = 630

F (t) = f′′(f′′(f, f), f′′(f, f)

)f′′

f′′f′′

f f ff

Runge–Kutta methods for ordinary differential equations – p. 12/48

Page 57: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

t =

r(t) = 7 765

1 2 43

σ(t) = 8

γ(t) = 63 733

1 1 11

α(t) = r(t)!σ(t)γ(t) = 10

β(t) = r(t)!σ(t) = 630

F (t) = f′′(f′′(f, f), f′′(f, f)

)f′′

f′′f′′

f f ff

Runge–Kutta methods for ordinary differential equations – p. 12/48

Page 58: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

t =

r(t) = 7 765

1 2 43

σ(t) = 8

γ(t) = 63 733

1 1 11

α(t) = r(t)!σ(t)γ(t) = 10

β(t) = r(t)!σ(t) = 630

F (t) = f′′(f′′(f, f), f′′(f, f)

)f′′

f′′f′′

f f ff

Runge–Kutta methods for ordinary differential equations – p. 12/48

Page 59: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

t =

r(t) = 7 765

1 2 43

σ(t) = 8

γ(t) = 63 733

1 1 11

α(t) = r(t)!σ(t)γ(t) = 10

β(t) = r(t)!σ(t) = 630

F (t) = f′′(f′′(f, f), f′′(f, f)

)f′′

f′′f′′

f f ff

Runge–Kutta methods for ordinary differential equations – p. 12/48

Page 60: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

These functions are easy to compute up to order 4 trees:

t

r(t) 1 2 3 3 4 4 4 4

σ(t) 1 1 2 1 6 1 2 1

γ(t) 1 2 3 6 4 8 12 24

α(t) 1 1 1 1 1 3 1 1

β(t) 1 2 3 6 4 24 12 24

F (t) f f′f f′′(f, f) f′f′f f(3)(f, f, f) f′′(f, f′f) f′f′′(f, f) f′f′f′f

Runge–Kutta methods for ordinary differential equations – p. 13/48

Page 61: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The formal Taylor expansion of the solution at x0 + h is

y(x0 + h) = y0 +∑

t∈T

α(t)hr(t)

r(t)!F (t)(y0)

Using the known formula for α(t), we can write this as

y(x0 + h) = y0 +∑

t∈T

hr(t)

σ(t)γ(t)F (t)(y0)

Our aim will now be to find a corresponding formula forthe result computed by one step of a Runge-Kuttamethod.

By comparing these formulae term by term, we willobtain conditions for a specific order of accuracy.

Runge–Kutta methods for ordinary differential equations – p. 14/48

Page 62: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The formal Taylor expansion of the solution at x0 + h is

y(x0 + h) = y0 +∑

t∈T

α(t)hr(t)

r(t)!F (t)(y0)

Using the known formula for α(t), we can write this as

y(x0 + h) = y0 +∑

t∈T

hr(t)

σ(t)γ(t)F (t)(y0)

Our aim will now be to find a corresponding formula forthe result computed by one step of a Runge-Kuttamethod.

By comparing these formulae term by term, we willobtain conditions for a specific order of accuracy.

Runge–Kutta methods for ordinary differential equations – p. 14/48

Page 63: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The formal Taylor expansion of the solution at x0 + h is

y(x0 + h) = y0 +∑

t∈T

α(t)hr(t)

r(t)!F (t)(y0)

Using the known formula for α(t), we can write this as

y(x0 + h) = y0 +∑

t∈T

hr(t)

σ(t)γ(t)F (t)(y0)

Our aim will now be to find a corresponding formula forthe result computed by one step of a Runge-Kuttamethod.

By comparing these formulae term by term, we willobtain conditions for a specific order of accuracy.

Runge–Kutta methods for ordinary differential equations – p. 14/48

Page 64: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The formal Taylor expansion of the solution at x0 + h is

y(x0 + h) = y0 +∑

t∈T

α(t)hr(t)

r(t)!F (t)(y0)

Using the known formula for α(t), we can write this as

y(x0 + h) = y0 +∑

t∈T

hr(t)

σ(t)γ(t)F (t)(y0)

Our aim will now be to find a corresponding formula forthe result computed by one step of a Runge-Kuttamethod.

By comparing these formulae term by term, we willobtain conditions for a specific order of accuracy.

Runge–Kutta methods for ordinary differential equations – p. 14/48

Page 65: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion for numerical approximationWe need to evaluate various expressions which dependon the tableau for a particular method.

These are known as “elementary weights”.We use the example tree we have already considered toillustrate the construction of the elementary weight Φ(t).

t =i

kj

l m on

Φ(t) =

s∑

i,j,k,l,m,n,o=1

biaijaikajlajmaknako

Simplify by summing over l,m, n, o:

Φ(t) =

s∑

i,j,k=1

biaijc2jaikc

2k

Runge–Kutta methods for ordinary differential equations – p. 15/48

Page 66: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion for numerical approximationWe need to evaluate various expressions which dependon the tableau for a particular method.These are known as “elementary weights”.

We use the example tree we have already considered toillustrate the construction of the elementary weight Φ(t).

t =i

kj

l m on

Φ(t) =

s∑

i,j,k,l,m,n,o=1

biaijaikajlajmaknako

Simplify by summing over l,m, n, o:

Φ(t) =

s∑

i,j,k=1

biaijc2jaikc

2k

Runge–Kutta methods for ordinary differential equations – p. 15/48

Page 67: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion for numerical approximationWe need to evaluate various expressions which dependon the tableau for a particular method.These are known as “elementary weights”.We use the example tree we have already considered toillustrate the construction of the elementary weight Φ(t).

t =i

kj

l m on

Φ(t) =

s∑

i,j,k,l,m,n,o=1

biaijaikajlajmaknako

Simplify by summing over l,m, n, o:

Φ(t) =

s∑

i,j,k=1

biaijc2jaikc

2k

Runge–Kutta methods for ordinary differential equations – p. 15/48

Page 68: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion for numerical approximationWe need to evaluate various expressions which dependon the tableau for a particular method.These are known as “elementary weights”.We use the example tree we have already considered toillustrate the construction of the elementary weight Φ(t).

t =i

kj

l m on

Φ(t) =

s∑

i,j,k,l,m,n,o=1

biaijaikajlajmaknako

Simplify by summing over l,m, n, o:

Φ(t) =

s∑

i,j,k=1

biaijc2jaikc

2k

Runge–Kutta methods for ordinary differential equations – p. 15/48

Page 69: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Taylor expansion for numerical approximationWe need to evaluate various expressions which dependon the tableau for a particular method.These are known as “elementary weights”.We use the example tree we have already considered toillustrate the construction of the elementary weight Φ(t).

t =i

kj

l m on

Φ(t) =

s∑

i,j,k,l,m,n,o=1

biaijaikajlajmaknako

Simplify by summing over l,m, n, o:

Φ(t) =

s∑

i,j,k=1

biaijc2jaikc

2k

Runge–Kutta methods for ordinary differential equations – p. 15/48

Page 70: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Now add Φ(t) to the table of functions:

t

r(t) 1 2 3 3α(t) 1 1 1 1β(t) 1 2 3 6Φ(t)

∑bi

∑bici

∑bic

2i

∑biaijcj

t

r(t) 4 4 4 4α(t) 1 3 1 1β(t) 4 24 12 24Φ(t)

∑bic

3i

∑biciaijcj

∑biaijc

2j

∑biaijajkck

Runge–Kutta methods for ordinary differential equations – p. 16/48

Page 71: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The formal Taylor expansion of the solution at x0 + h is

y1 = y0 +∑

t∈T

β(t)hr(t)

r(t)!Φ(t)F (t)(y0)

Using the known formula for β(t), we can write this as

y1 = y0 +∑

t∈T

hr(t)

σ(t)Φ(t)F (t)(y0)

Runge–Kutta methods for ordinary differential equations – p. 17/48

Page 72: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The formal Taylor expansion of the solution at x0 + h is

y1 = y0 +∑

t∈T

β(t)hr(t)

r(t)!Φ(t)F (t)(y0)

Using the known formula for β(t), we can write this as

y1 = y0 +∑

t∈T

hr(t)

σ(t)Φ(t)F (t)(y0)

Runge–Kutta methods for ordinary differential equations – p. 17/48

Page 73: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order conditionsTo match the Taylor series

y(x0 + h) = y0 +∑

t∈T

hr(t)

σ(t)γ(t)F (t)(y0)

y1 = y0 +∑

t∈T

hr(t)

σ(t)Φ(t)F (t)(y0)

up to hp terms we need to ensure that

Φ(t) =1

γ(t),

for all trees such that

r(t) ≤ p.

These are the “order conditions”.

Runge–Kutta methods for ordinary differential equations – p. 18/48

Page 74: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order conditionsTo match the Taylor series

y(x0 + h) = y0 +∑

t∈T

hr(t)

σ(t)γ(t)F (t)(y0)

y1 = y0 +∑

t∈T

hr(t)

σ(t)Φ(t)F (t)(y0)

up to hp terms we need to ensure that

Φ(t) =1

γ(t),

for all trees such that

r(t) ≤ p.

These are the “order conditions”.

Runge–Kutta methods for ordinary differential equations – p. 18/48

Page 75: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order conditionsTo match the Taylor series

y(x0 + h) = y0 +∑

t∈T

hr(t)

σ(t)γ(t)F (t)(y0)

y1 = y0 +∑

t∈T

hr(t)

σ(t)Φ(t)F (t)(y0)

up to hp terms we need to ensure that

Φ(t) =1

γ(t),

for all trees such that

r(t) ≤ p.

These are the “order conditions”.

Runge–Kutta methods for ordinary differential equations – p. 18/48

Page 76: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Construction of low order explicit methodsWe will attempt to construct methods of order p = s withs stages for s = 1, 2, . . . .

We will find that this is possible up to order 4 but not forp ≥ 5.The usual approach will be to first choose c2, c3, . . . , cs

and then solve for b1, b2, . . . , bs.After this solve for those of the aij which can be found assolutions to linear equations.Order 2: b1 + b2 = 1

b2c2 = 12

0

c2 c2

1− 12c2

12c2

012

12

0 1

0

1 112

12

Runge–Kutta methods for ordinary differential equations – p. 19/48

Page 77: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Construction of low order explicit methodsWe will attempt to construct methods of order p = s withs stages for s = 1, 2, . . . .We will find that this is possible up to order 4 but not forp ≥ 5.

The usual approach will be to first choose c2, c3, . . . , cs

and then solve for b1, b2, . . . , bs.After this solve for those of the aij which can be found assolutions to linear equations.Order 2: b1 + b2 = 1

b2c2 = 12

0

c2 c2

1− 12c2

12c2

012

12

0 1

0

1 112

12

Runge–Kutta methods for ordinary differential equations – p. 19/48

Page 78: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Construction of low order explicit methodsWe will attempt to construct methods of order p = s withs stages for s = 1, 2, . . . .We will find that this is possible up to order 4 but not forp ≥ 5.The usual approach will be to first choose c2, c3, . . . , cs

and then solve for b1, b2, . . . , bs.

After this solve for those of the aij which can be found assolutions to linear equations.Order 2: b1 + b2 = 1

b2c2 = 12

0

c2 c2

1− 12c2

12c2

012

12

0 1

0

1 112

12

Runge–Kutta methods for ordinary differential equations – p. 19/48

Page 79: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Construction of low order explicit methodsWe will attempt to construct methods of order p = s withs stages for s = 1, 2, . . . .We will find that this is possible up to order 4 but not forp ≥ 5.The usual approach will be to first choose c2, c3, . . . , cs

and then solve for b1, b2, . . . , bs.After this solve for those of the aij which can be found assolutions to linear equations.

Order 2: b1 + b2 = 1b2c2 = 1

2

0

c2 c2

1− 12c2

12c2

012

12

0 1

0

1 112

12

Runge–Kutta methods for ordinary differential equations – p. 19/48

Page 80: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Construction of low order explicit methodsWe will attempt to construct methods of order p = s withs stages for s = 1, 2, . . . .We will find that this is possible up to order 4 but not forp ≥ 5.The usual approach will be to first choose c2, c3, . . . , cs

and then solve for b1, b2, . . . , bs.After this solve for those of the aij which can be found assolutions to linear equations.Order 2: b1 + b2 = 1

b2c2 = 12

0

c2 c2

1− 12c2

12c2

012

12

0 1

0

1 112

12

Runge–Kutta methods for ordinary differential equations – p. 19/48

Page 81: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order 3: b1 + b2 + b3 = 1

b2c2 + b3c3 = 12

b2c22 + b3c

23 = 1

3

b3a32c2 = 16

012

12

1 −1 216

23

16

023

23

23 0 2

314

38

38

023

23

0 −1 1

0 34

14

Runge–Kutta methods for ordinary differential equations – p. 20/48

Page 82: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order 3: b1 + b2 + b3 = 1

b2c2 + b3c3 = 12

b2c22 + b3c

23 = 1

3

b3a32c2 = 16

012

12

1 −1 216

23

16

023

23

23 0 2

314

38

38

023

23

0 −1 1

0 34

14

Runge–Kutta methods for ordinary differential equations – p. 20/48

Page 83: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order 4: b1 + b2 + b3 + b4 = 1 (1)b2c2 + b3c3 + b4c4 = 1

2 (2)b2c

22 + b3c

23 + b4c

24 = 1

3 (3)b3a32c2 + b4a42c2 + b4a43c3 = 1

6 (4)b2c

32 + b3c

33 + b4c

34 = 1

4 (5)b3c3a32c2 + b4c4a42c2 + b4c4a43c3 = 1

8 (6)b3a32c

22 + b4a42c

22 + b4a43c

23 = 1

12 (7)b4a43a32c2 = 1

24 (8)

To solve these equations, treat c2, c3, c4 as parameters,and solve for b1, b2, b3, b4 from (1), (2), (3), (5).Now solve for a32, a42, a43 from (4). (6), (7).Use (8) to obtain consistency condition on c2, c3, c4.Result: c4 = 1.

Runge–Kutta methods for ordinary differential equations – p. 21/48

Page 84: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order 4: b1 + b2 + b3 + b4 = 1 (1)b2c2 + b3c3 + b4c4 = 1

2 (2)b2c

22 + b3c

23 + b4c

24 = 1

3 (3)b3a32c2 + b4a42c2 + b4a43c3 = 1

6 (4)b2c

32 + b3c

33 + b4c

34 = 1

4 (5)b3c3a32c2 + b4c4a42c2 + b4c4a43c3 = 1

8 (6)b3a32c

22 + b4a42c

22 + b4a43c

23 = 1

12 (7)b4a43a32c2 = 1

24 (8)

To solve these equations, treat c2, c3, c4 as parameters,and solve for b1, b2, b3, b4 from (1), (2), (3), (5).

Now solve for a32, a42, a43 from (4). (6), (7).Use (8) to obtain consistency condition on c2, c3, c4.Result: c4 = 1.

Runge–Kutta methods for ordinary differential equations – p. 21/48

Page 85: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order 4: b1 + b2 + b3 + b4 = 1 (1)b2c2 + b3c3 + b4c4 = 1

2 (2)b2c

22 + b3c

23 + b4c

24 = 1

3 (3)b3a32c2 + b4a42c2 + b4a43c3 = 1

6 (4)b2c

32 + b3c

33 + b4c

34 = 1

4 (5)b3c3a32c2 + b4c4a42c2 + b4c4a43c3 = 1

8 (6)b3a32c

22 + b4a42c

22 + b4a43c

23 = 1

12 (7)b4a43a32c2 = 1

24 (8)

To solve these equations, treat c2, c3, c4 as parameters,and solve for b1, b2, b3, b4 from (1), (2), (3), (5).Now solve for a32, a42, a43 from (4). (6), (7).

Use (8) to obtain consistency condition on c2, c3, c4.Result: c4 = 1.

Runge–Kutta methods for ordinary differential equations – p. 21/48

Page 86: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order 4: b1 + b2 + b3 + b4 = 1 (1)b2c2 + b3c3 + b4c4 = 1

2 (2)b2c

22 + b3c

23 + b4c

24 = 1

3 (3)b3a32c2 + b4a42c2 + b4a43c3 = 1

6 (4)b2c

32 + b3c

33 + b4c

34 = 1

4 (5)b3c3a32c2 + b4c4a42c2 + b4c4a43c3 = 1

8 (6)b3a32c

22 + b4a42c

22 + b4a43c

23 = 1

12 (7)b4a43a32c2 = 1

24 (8)

To solve these equations, treat c2, c3, c4 as parameters,and solve for b1, b2, b3, b4 from (1), (2), (3), (5).Now solve for a32, a42, a43 from (4). (6), (7).Use (8) to obtain consistency condition on c2, c3, c4.

Result: c4 = 1.

Runge–Kutta methods for ordinary differential equations – p. 21/48

Page 87: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order 4: b1 + b2 + b3 + b4 = 1 (1)b2c2 + b3c3 + b4c4 = 1

2 (2)b2c

22 + b3c

23 + b4c

24 = 1

3 (3)b3a32c2 + b4a42c2 + b4a43c3 = 1

6 (4)b2c

32 + b3c

33 + b4c

34 = 1

4 (5)b3c3a32c2 + b4c4a42c2 + b4c4a43c3 = 1

8 (6)b3a32c

22 + b4a42c

22 + b4a43c

23 = 1

12 (7)b4a43a32c2 = 1

24 (8)

To solve these equations, treat c2, c3, c4 as parameters,and solve for b1, b2, b3, b4 from (1), (2), (3), (5).Now solve for a32, a42, a43 from (4). (6), (7).Use (8) to obtain consistency condition on c2, c3, c4.Result: c4 = 1.

Runge–Kutta methods for ordinary differential equations – p. 21/48

Page 88: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

We will prove a stronger result in another way.

Lemma 1 Let U and V be 3× 3 matrices such that

UV =

w11 w12 0

w21 w22 0

0 0 0

where

[w11 w12

w21 w22

]is non-singular

then either the last row of U is zero or the last column ofV is zero.Proof Let W = UV . Either U or V is singular. If U is singular, letx be a non-zero vector such that xT U = 0. Therefore xT W = 0.Therefore the first two components of x are zero. Hence, the last rowof U is zero. The second case follows similarly if V is singular.We will apply this result with a specific choice of U andV .

Runge–Kutta methods for ordinary differential equations – p. 22/48

Page 89: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

We will prove a stronger result in another way.Lemma 1 Let U and V be 3× 3 matrices such that

UV =

w11 w12 0

w21 w22 0

0 0 0

where

[w11 w12

w21 w22

]is non-singular

then either the last row of U is zero or the last column ofV is zero.

Proof Let W = UV . Either U or V is singular. If U is singular, letx be a non-zero vector such that xT U = 0. Therefore xT W = 0.Therefore the first two components of x are zero. Hence, the last rowof U is zero. The second case follows similarly if V is singular.We will apply this result with a specific choice of U andV .

Runge–Kutta methods for ordinary differential equations – p. 22/48

Page 90: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

We will prove a stronger result in another way.Lemma 1 Let U and V be 3× 3 matrices such that

UV =

w11 w12 0

w21 w22 0

0 0 0

where

[w11 w12

w21 w22

]is non-singular

then either the last row of U is zero or the last column ofV is zero.Proof Let W = UV . Either U or V is singular. If U is singular, letx be a non-zero vector such that xT U = 0. Therefore xT W = 0.Therefore the first two components of x are zero. Hence, the last rowof U is zero. The second case follows similarly if V is singular.

We will apply this result with a specific choice of U andV .

Runge–Kutta methods for ordinary differential equations – p. 22/48

Page 91: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

We will prove a stronger result in another way.Lemma 1 Let U and V be 3× 3 matrices such that

UV =

w11 w12 0

w21 w22 0

0 0 0

where

[w11 w12

w21 w22

]is non-singular

then either the last row of U is zero or the last column ofV is zero.Proof Let W = UV . Either U or V is singular. If U is singular, letx be a non-zero vector such that xT U = 0. Therefore xT W = 0.Therefore the first two components of x are zero. Hence, the last rowof U is zero. The second case follows similarly if V is singular.We will apply this result with a specific choice of U andV .

Runge–Kutta methods for ordinary differential equations – p. 22/48

Page 92: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let

U =

b2 b3 b4

b2c2 b3c3 b4c4∑i biai2

∑i biai3

∑i biai4

−b2(1− c2) −b3(1− c3) −b4(1− c4)

V =

c2 c22

∑j a2jcj −

12c

22

c3 c23

∑j a3jcj −

12c

23

c4 c24

∑j a4jcj −

12c

24

then

UV =

12

13 0

13

14 0

0 0 0

Runge–Kutta methods for ordinary differential equations – p. 23/48

Page 93: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let

U =

b2 b3 b4

b2c2 b3c3 b4c4∑i biai2

∑i biai3

∑i biai4

−b2(1− c2) −b3(1− c3) −b4(1− c4)

V =

c2 c22

∑j a2jcj −

12c

22

c3 c23

∑j a3jcj −

12c

23

c4 c24

∑j a4jcj −

12c

24

then

UV =

12

13 0

13

14 0

0 0 0

Runge–Kutta methods for ordinary differential equations – p. 23/48

Page 94: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Let

U =

b2 b3 b4

b2c2 b3c3 b4c4∑i biai2

∑i biai3

∑i biai4

−b2(1− c2) −b3(1− c3) −b4(1− c4)

V =

c2 c22

∑j a2jcj −

12c

22

c3 c23

∑j a3jcj −

12c

23

c4 c24

∑j a4jcj −

12c

24

then

UV =

12

13 0

13

14 0

0 0 0

Runge–Kutta methods for ordinary differential equations – p. 23/48

Page 95: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that b4 = 0, c2 = 0 or c4 = 1.

The first two options are impossible becauseb4a43a32c2 = 1

24 .Hence, c4 = 1 and the last row of U is zero.The construction of fourth order Runge–Kutta methodsnow becomes straightforward.Kutta classified all solutions to the fourth orderconditions.In particular we have his famous method:

012

12

12 0 1

2

1 0 0 116

13

13

16

Runge–Kutta methods for ordinary differential equations – p. 24/48

Page 96: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that b4 = 0, c2 = 0 or c4 = 1.The first two options are impossible becauseb4a43a32c2 = 1

24 .

Hence, c4 = 1 and the last row of U is zero.The construction of fourth order Runge–Kutta methodsnow becomes straightforward.Kutta classified all solutions to the fourth orderconditions.In particular we have his famous method:

012

12

12 0 1

2

1 0 0 116

13

13

16

Runge–Kutta methods for ordinary differential equations – p. 24/48

Page 97: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that b4 = 0, c2 = 0 or c4 = 1.The first two options are impossible becauseb4a43a32c2 = 1

24 .Hence, c4 = 1 and the last row of U is zero.

The construction of fourth order Runge–Kutta methodsnow becomes straightforward.Kutta classified all solutions to the fourth orderconditions.In particular we have his famous method:

012

12

12 0 1

2

1 0 0 116

13

13

16

Runge–Kutta methods for ordinary differential equations – p. 24/48

Page 98: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that b4 = 0, c2 = 0 or c4 = 1.The first two options are impossible becauseb4a43a32c2 = 1

24 .Hence, c4 = 1 and the last row of U is zero.The construction of fourth order Runge–Kutta methodsnow becomes straightforward.

Kutta classified all solutions to the fourth orderconditions.In particular we have his famous method:

012

12

12 0 1

2

1 0 0 116

13

13

16

Runge–Kutta methods for ordinary differential equations – p. 24/48

Page 99: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that b4 = 0, c2 = 0 or c4 = 1.The first two options are impossible becauseb4a43a32c2 = 1

24 .Hence, c4 = 1 and the last row of U is zero.The construction of fourth order Runge–Kutta methodsnow becomes straightforward.Kutta classified all solutions to the fourth orderconditions.

In particular we have his famous method:012

12

12 0 1

2

1 0 0 116

13

13

16

Runge–Kutta methods for ordinary differential equations – p. 24/48

Page 100: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that b4 = 0, c2 = 0 or c4 = 1.The first two options are impossible becauseb4a43a32c2 = 1

24 .Hence, c4 = 1 and the last row of U is zero.The construction of fourth order Runge–Kutta methodsnow becomes straightforward.Kutta classified all solutions to the fourth orderconditions.In particular we have his famous method:

012

12

12 0 1

2

1 0 0 116

13

13

16

Runge–Kutta methods for ordinary differential equations – p. 24/48

Page 101: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order barriersWe will review what is achievable up to order 8.

In the table below, Np is the number of order conditionsto achieve this order.Ms = s(s + 1)/2 is the number of free parameters tosatisfy the order conditions for the required s stages.

p Np s Ms

1 1 1 1

2 2 2 3

3 4 3 6

4 8 4 10

5 17 6 21

6 37 7 28

7 115 9 45

8 200 11 66

Runge–Kutta methods for ordinary differential equations – p. 25/48

Page 102: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order barriersWe will review what is achievable up to order 8.In the table below, Np is the number of order conditionsto achieve this order.

Ms = s(s + 1)/2 is the number of free parameters tosatisfy the order conditions for the required s stages.

p Np s Ms

1 1 1 1

2 2 2 3

3 4 3 6

4 8 4 10

5 17 6 21

6 37 7 28

7 115 9 45

8 200 11 66

Runge–Kutta methods for ordinary differential equations – p. 25/48

Page 103: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order barriersWe will review what is achievable up to order 8.In the table below, Np is the number of order conditionsto achieve this order.Ms = s(s + 1)/2 is the number of free parameters tosatisfy the order conditions for the required s stages.

p Np s Ms

1 1 1 1

2 2 2 3

3 4 3 6

4 8 4 10

5 17 6 21

6 37 7 28

7 115 9 45

8 200 11 66

Runge–Kutta methods for ordinary differential equations – p. 25/48

Page 104: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Order barriersWe will review what is achievable up to order 8.In the table below, Np is the number of order conditionsto achieve this order.Ms = s(s + 1)/2 is the number of free parameters tosatisfy the order conditions for the required s stages.

p Np s Ms

1 1 1 1

2 2 2 3

3 4 3 6

4 8 4 10

5 17 6 21

6 37 7 28

7 115 9 45

8 200 11 66Runge–Kutta methods for ordinary differential equations – p. 25/48

Page 105: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

We will now prove that s = p = 5 is impossible.

Let bj =∑5

i=1 biaij , j = 1, 2, 3, 4 and let

U =

b2 b3 b4

b2c2 b3c3 b4c4∑i biai2

∑i biai3

∑i biai4

−12 b2(1− c2) −1

2 b3(1− c3) −12 b4(1− c4)

V =

c2 c22

∑j a2jcj −

12c

22

c3 c23

∑j a3jcj −

12c

23

c4 c24

∑j a4jcj −

12c

24

then

UV =

16

112 0

112

120 0

0 0 0

Runge–Kutta methods for ordinary differential equations – p. 26/48

Page 106: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

We will now prove that s = p = 5 is impossible.Let bj =

∑5i=1 biaij , j = 1, 2, 3, 4 and let

U =

b2 b3 b4

b2c2 b3c3 b4c4∑i biai2

∑i biai3

∑i biai4

−12 b2(1− c2) −1

2 b3(1− c3) −12 b4(1− c4)

V =

c2 c22

∑j a2jcj −

12c

22

c3 c23

∑j a3jcj −

12c

23

c4 c24

∑j a4jcj −

12c

24

then

UV =

16

112 0

112

120 0

0 0 0

Runge–Kutta methods for ordinary differential equations – p. 26/48

Page 107: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

We will now prove that s = p = 5 is impossible.Let bj =

∑5i=1 biaij , j = 1, 2, 3, 4 and let

U =

b2 b3 b4

b2c2 b3c3 b4c4∑i biai2

∑i biai3

∑i biai4

−12 b2(1− c2) −1

2 b3(1− c3) −12 b4(1− c4)

V =

c2 c22

∑j a2jcj −

12c

22

c3 c23

∑j a3jcj −

12c

23

c4 c24

∑j a4jcj −

12c

24

then

UV =

16

112 0

112

120 0

0 0 0

Runge–Kutta methods for ordinary differential equations – p. 26/48

Page 108: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

We will now prove that s = p = 5 is impossible.Let bj =

∑5i=1 biaij , j = 1, 2, 3, 4 and let

U =

b2 b3 b4

b2c2 b3c3 b4c4∑i biai2

∑i biai3

∑i biai4

−12 b2(1− c2) −1

2 b3(1− c3) −12 b4(1− c4)

V =

c2 c22

∑j a2jcj −

12c

22

c3 c23

∑j a3jcj −

12c

23

c4 c24

∑j a4jcj −

12c

24

then

UV =

16

112 0

112

120 0

0 0 0

Runge–Kutta methods for ordinary differential equations – p. 26/48

Page 109: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Using Lemma 1, we deduce that c4 = 1.

Now use thelemma again with

U =

b2(1− c2) b3(1− c3) b5(1− c5)

b2c2(1− c2) b3c3(1− c3) b5c5(1− c5)∑i biai2(1− c2)

∑i biai3(1− c3)

∑i biai5(1− c5)

−b2(1− c2)2 −b3(1− c3)

2 −b5(1− c5)2

V =

c2 c22

∑j a2jcj −

12c

22

c3 c23

∑j a3jcj −

12c

23

c5 c25

∑j a5jcj −

12c

25

then

UV =

16

112 0

112

120 0

0 0 0

.

Runge–Kutta methods for ordinary differential equations – p. 27/48

Page 110: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Using Lemma 1, we deduce that c4 = 1. Now use thelemma again with

U =

b2(1− c2) b3(1− c3) b5(1− c5)

b2c2(1− c2) b3c3(1− c3) b5c5(1− c5)∑i biai2(1− c2)

∑i biai3(1− c3)

∑i biai5(1− c5)

−b2(1− c2)2 −b3(1− c3)

2 −b5(1− c5)2

V =

c2 c22

∑j a2jcj −

12c

22

c3 c23

∑j a3jcj −

12c

23

c5 c25

∑j a5jcj −

12c

25

then

UV =

16

112 0

112

120 0

0 0 0

.

Runge–Kutta methods for ordinary differential equations – p. 27/48

Page 111: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Using Lemma 1, we deduce that c4 = 1. Now use thelemma again with

U =

b2(1− c2) b3(1− c3) b5(1− c5)

b2c2(1− c2) b3c3(1− c3) b5c5(1− c5)∑i biai2(1− c2)

∑i biai3(1− c3)

∑i biai5(1− c5)

−b2(1− c2)2 −b3(1− c3)

2 −b5(1− c5)2

V =

c2 c22

∑j a2jcj −

12c

22

c3 c23

∑j a3jcj −

12c

23

c5 c25

∑j a5jcj −

12c

25

then

UV =

16

112 0

112

120 0

0 0 0

.

Runge–Kutta methods for ordinary differential equations – p. 27/48

Page 112: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Using Lemma 1, we deduce that c4 = 1. Now use thelemma again with

U =

b2(1− c2) b3(1− c3) b5(1− c5)

b2c2(1− c2) b3c3(1− c3) b5c5(1− c5)∑i biai2(1− c2)

∑i biai3(1− c3)

∑i biai5(1− c5)

−b2(1− c2)2 −b3(1− c3)

2 −b5(1− c5)2

V =

c2 c22

∑j a2jcj −

12c

22

c3 c23

∑j a3jcj −

12c

23

c5 c25

∑j a5jcj −

12c

25

then

UV =

16

112 0

112

120 0

0 0 0

.

Runge–Kutta methods for ordinary differential equations – p. 27/48

Page 113: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that c5 = 1.

Since we already know that c4 = 1, we obtain acontradiction from

0 =∑

bi(1− ci)aijajkck=1

120

By modifying the details slightly, we can prove thats = p > 5 is never possible.

The proof that s = p + 1 is impossible when p ≥ 7 ismore complicated.

The proof that s = p + 2 is impossible when p ≥ 8 ismuch more complicated.

Runge–Kutta methods for ordinary differential equations – p. 28/48

Page 114: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that c5 = 1.

Since we already know that c4 = 1, we obtain acontradiction from

0 =

∑bi(1− ci)aijajkck

= 1120

By modifying the details slightly, we can prove thats = p > 5 is never possible.

The proof that s = p + 1 is impossible when p ≥ 7 ismore complicated.

The proof that s = p + 2 is impossible when p ≥ 8 ismuch more complicated.

Runge–Kutta methods for ordinary differential equations – p. 28/48

Page 115: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that c5 = 1.

Since we already know that c4 = 1, we obtain acontradiction from

0 =

∑bi(1− ci)aijajkck = 1

120

By modifying the details slightly, we can prove thats = p > 5 is never possible.

The proof that s = p + 1 is impossible when p ≥ 7 ismore complicated.

The proof that s = p + 2 is impossible when p ≥ 8 ismuch more complicated.

Runge–Kutta methods for ordinary differential equations – p. 28/48

Page 116: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that c5 = 1.

Since we already know that c4 = 1, we obtain acontradiction from

0 =∑

bi(1− ci)aijajkck = 1120

By modifying the details slightly, we can prove thats = p > 5 is never possible.

The proof that s = p + 1 is impossible when p ≥ 7 ismore complicated.

The proof that s = p + 2 is impossible when p ≥ 8 ismuch more complicated.

Runge–Kutta methods for ordinary differential equations – p. 28/48

Page 117: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that c5 = 1.

Since we already know that c4 = 1, we obtain acontradiction from

0 =∑

bi(1− ci)aijajkck = 1120

By modifying the details slightly, we can prove thats = p > 5 is never possible.

The proof that s = p + 1 is impossible when p ≥ 7 ismore complicated.

The proof that s = p + 2 is impossible when p ≥ 8 ismuch more complicated.

Runge–Kutta methods for ordinary differential equations – p. 28/48

Page 118: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that c5 = 1.

Since we already know that c4 = 1, we obtain acontradiction from

0 =∑

bi(1− ci)aijajkck = 1120

By modifying the details slightly, we can prove thats = p > 5 is never possible.

The proof that s = p + 1 is impossible when p ≥ 7 ismore complicated.

The proof that s = p + 2 is impossible when p ≥ 8 ismuch more complicated.

Runge–Kutta methods for ordinary differential equations – p. 28/48

Page 119: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

It follows that c5 = 1.

Since we already know that c4 = 1, we obtain acontradiction from

0 =∑

bi(1− ci)aijajkck = 1120

By modifying the details slightly, we can prove thats = p > 5 is never possible.

The proof that s = p + 1 is impossible when p ≥ 7 ismore complicated.

The proof that s = p + 2 is impossible when p ≥ 8 ismuch more complicated.

Runge–Kutta methods for ordinary differential equations – p. 28/48

Page 120: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Algebraic interpretationWe will introduce an algebraic system which representsindividual Runge-Kutta methods and also compositionsof methods.

This centres on the meaning of order for Runge-Kuttamethods and leads to a possible generalisation to“effective order”.

Denote by G the group consisting of mappings of(rooted) trees to real numbers where the group operationis defined in the usual way, according to the algebraictheory of Runge-Kutta methods or to the (equivalent)theory of B-series.

We will illustrate this operation in a table, where we alsointroduce the special member E ∈ G.

Runge–Kutta methods for ordinary differential equations – p. 29/48

Page 121: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Algebraic interpretationWe will introduce an algebraic system which representsindividual Runge-Kutta methods and also compositionsof methods.

This centres on the meaning of order for Runge-Kuttamethods and leads to a possible generalisation to“effective order”.

Denote by G the group consisting of mappings of(rooted) trees to real numbers where the group operationis defined in the usual way, according to the algebraictheory of Runge-Kutta methods or to the (equivalent)theory of B-series.

We will illustrate this operation in a table, where we alsointroduce the special member E ∈ G.

Runge–Kutta methods for ordinary differential equations – p. 29/48

Page 122: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Algebraic interpretationWe will introduce an algebraic system which representsindividual Runge-Kutta methods and also compositionsof methods.

This centres on the meaning of order for Runge-Kuttamethods and leads to a possible generalisation to“effective order”.

Denote by G the group consisting of mappings of(rooted) trees to real numbers where the group operationis defined in the usual way

, according to the algebraictheory of Runge-Kutta methods or to the (equivalent)theory of B-series.

We will illustrate this operation in a table, where we alsointroduce the special member E ∈ G.

Runge–Kutta methods for ordinary differential equations – p. 29/48

Page 123: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Algebraic interpretationWe will introduce an algebraic system which representsindividual Runge-Kutta methods and also compositionsof methods.

This centres on the meaning of order for Runge-Kuttamethods and leads to a possible generalisation to“effective order”.

Denote by G the group consisting of mappings of(rooted) trees to real numbers where the group operationis defined in the usual way, according to the algebraictheory of Runge-Kutta methods or to the (equivalent)theory of B-series.

We will illustrate this operation in a table, where we alsointroduce the special member E ∈ G.

Runge–Kutta methods for ordinary differential equations – p. 29/48

Page 124: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Algebraic interpretationWe will introduce an algebraic system which representsindividual Runge-Kutta methods and also compositionsof methods.

This centres on the meaning of order for Runge-Kuttamethods and leads to a possible generalisation to“effective order”.

Denote by G the group consisting of mappings of(rooted) trees to real numbers where the group operationis defined in the usual way, according to the algebraictheory of Runge-Kutta methods or to the (equivalent)theory of B-series.

We will illustrate this operation in a table

, where we alsointroduce the special member E ∈ G.

Runge–Kutta methods for ordinary differential equations – p. 29/48

Page 125: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Algebraic interpretationWe will introduce an algebraic system which representsindividual Runge-Kutta methods and also compositionsof methods.

This centres on the meaning of order for Runge-Kuttamethods and leads to a possible generalisation to“effective order”.

Denote by G the group consisting of mappings of(rooted) trees to real numbers where the group operationis defined in the usual way, according to the algebraictheory of Runge-Kutta methods or to the (equivalent)theory of B-series.

We will illustrate this operation in a table, where we alsointroduce the special member E ∈ G.

Runge–Kutta methods for ordinary differential equations – p. 29/48

Page 126: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

r(ti)

i ti

α(ti) β(ti) (αβ)(ti) E(ti)

1

1

α1 β1 α1 + β1 1

2

2

α2 β2 α2 + α1β1 + β212

3

3

α3 β3 α3 + α21β1 + 2α1β2 + β3

13

3

4

α4 β4 α4 + α2β1 + α1β2 + β416

4

5

α5 β5 α5 + α31β1 + 3α2

1β2 + 3α1β3 + β514

4

6

α6 β6α6 + α1α2β1 + (α2

1 + α2)β2 18+ α1(β3 + β4) + β6

4

7

α7 β7 α7 + α3β1 + α21β2 + 2α1β4 + β7

112

4

8

α8 β8 α8 + α4β1 + α2β2 + α1β4 + β8124

Runge–Kutta methods for ordinary differential equations – p. 30/48

Page 127: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

r(ti) i ti

α(ti) β(ti) (αβ)(ti) E(ti)

1 1

α1 β1 α1 + β1 1

2 2

α2 β2 α2 + α1β1 + β212

3 3

α3 β3 α3 + α21β1 + 2α1β2 + β3

13

3 4

α4 β4 α4 + α2β1 + α1β2 + β416

4 5

α5 β5 α5 + α31β1 + 3α2

1β2 + 3α1β3 + β514

4 6

α6 β6α6 + α1α2β1 + (α2

1 + α2)β2 18+ α1(β3 + β4) + β6

4 7

α7 β7 α7 + α3β1 + α21β2 + 2α1β4 + β7

112

4 8

α8 β8 α8 + α4β1 + α2β2 + α1β4 + β8124

Runge–Kutta methods for ordinary differential equations – p. 30/48

Page 128: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

r(ti) i ti α(ti) β(ti)

(αβ)(ti) E(ti)

1 1 α1 β1

α1 + β1 1

2 2 α2 β2

α2 + α1β1 + β212

3 3 α3 β3

α3 + α21β1 + 2α1β2 + β3

13

3 4 α4 β4

α4 + α2β1 + α1β2 + β416

4 5 α5 β5

α5 + α31β1 + 3α2

1β2 + 3α1β3 + β514

4 6 α6 β6

α6 + α1α2β1 + (α21 + α2)β2 1

8+ α1(β3 + β4) + β6

4 7 α7 β7

α7 + α3β1 + α21β2 + 2α1β4 + β7

112

4 8 α8 β8

α8 + α4β1 + α2β2 + α1β4 + β8124

Runge–Kutta methods for ordinary differential equations – p. 30/48

Page 129: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

r(ti) i ti α(ti) β(ti) (αβ)(ti)

E(ti)

1 1 α1 β1 α1 + β1

1

2 2 α2 β2 α2 + α1β1 + β2

12

3 3 α3 β3 α3 + α21β1 + 2α1β2 + β3

13

3 4 α4 β4 α4 + α2β1 + α1β2 + β4

16

4 5 α5 β5 α5 + α31β1 + 3α2

1β2 + 3α1β3 + β5

14

4 6 α6 β6α6 + α1α2β1 + (α2

1 + α2)β2

18

+ α1(β3 + β4) + β6

4 7 α7 β7 α7 + α3β1 + α21β2 + 2α1β4 + β7

112

4 8 α8 β8 α8 + α4β1 + α2β2 + α1β4 + β8

124

Runge–Kutta methods for ordinary differential equations – p. 30/48

Page 130: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

r(ti) i ti α(ti) β(ti) (αβ)(ti) E(ti)

1 1 α1 β1 α1 + β1 1

2 2 α2 β2 α2 + α1β1 + β212

3 3 α3 β3 α3 + α21β1 + 2α1β2 + β3

13

3 4 α4 β4 α4 + α2β1 + α1β2 + β416

4 5 α5 β5 α5 + α31β1 + 3α2

1β2 + 3α1β3 + β514

4 6 α6 β6α6 + α1α2β1 + (α2

1 + α2)β2 18+ α1(β3 + β4) + β6

4 7 α7 β7 α7 + α3β1 + α21β2 + 2α1β4 + β7

112

4 8 α8 β8 α8 + α4β1 + α2β2 + α1β4 + β8124

Runge–Kutta methods for ordinary differential equations – p. 30/48

Page 131: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Gp will denote the normal subgroup defined by t 7→ 0 forr(t) ≤ p.

If α ∈ G then this maps canonically to αGp ∈ G/Gp.

If α is defined from the elementary weights for aRunge-Kutta method then order p can be written as

αGp = EGp.

Effective order p is defined by the existence of β suchthat

βαGp = EβGp.

Runge–Kutta methods for ordinary differential equations – p. 31/48

Page 132: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Gp will denote the normal subgroup defined by t 7→ 0 forr(t) ≤ p.

If α ∈ G then this maps canonically to αGp ∈ G/Gp.

If α is defined from the elementary weights for aRunge-Kutta method then order p can be written as

αGp = EGp.

Effective order p is defined by the existence of β suchthat

βαGp = EβGp.

Runge–Kutta methods for ordinary differential equations – p. 31/48

Page 133: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Gp will denote the normal subgroup defined by t 7→ 0 forr(t) ≤ p.

If α ∈ G then this maps canonically to αGp ∈ G/Gp.

If α is defined from the elementary weights for aRunge-Kutta method then order p can be written as

αGp = EGp.

Effective order p is defined by the existence of β suchthat

βαGp = EβGp.

Runge–Kutta methods for ordinary differential equations – p. 31/48

Page 134: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Gp will denote the normal subgroup defined by t 7→ 0 forr(t) ≤ p.

If α ∈ G then this maps canonically to αGp ∈ G/Gp.

If α is defined from the elementary weights for aRunge-Kutta method then order p can be written as

αGp = EGp.

Effective order p is defined by the existence of β suchthat

βαGp = EβGp.

Runge–Kutta methods for ordinary differential equations – p. 31/48

Page 135: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The computational interpretation of this idea is that wecarry out a starting step corresponding to β

and afinishing step corresponding to β−1, with many steps inbetween corresponding to α.

This is equivalent to many steps all corresponding toβαβ−1.

Thus, the benefits of high order can be enjoyed by higheffective order.

Runge–Kutta methods for ordinary differential equations – p. 32/48

Page 136: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The computational interpretation of this idea is that wecarry out a starting step corresponding to β and afinishing step corresponding to β−1

, with many steps inbetween corresponding to α.

This is equivalent to many steps all corresponding toβαβ−1.

Thus, the benefits of high order can be enjoyed by higheffective order.

Runge–Kutta methods for ordinary differential equations – p. 32/48

Page 137: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The computational interpretation of this idea is that wecarry out a starting step corresponding to β and afinishing step corresponding to β−1, with many steps inbetween corresponding to α.

This is equivalent to many steps all corresponding toβαβ−1.

Thus, the benefits of high order can be enjoyed by higheffective order.

Runge–Kutta methods for ordinary differential equations – p. 32/48

Page 138: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The computational interpretation of this idea is that wecarry out a starting step corresponding to β and afinishing step corresponding to β−1, with many steps inbetween corresponding to α.

This is equivalent to many steps all corresponding toβαβ−1.

Thus, the benefits of high order can be enjoyed by higheffective order.

Runge–Kutta methods for ordinary differential equations – p. 32/48

Page 139: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The computational interpretation of this idea is that wecarry out a starting step corresponding to β and afinishing step corresponding to β−1, with many steps inbetween corresponding to α.

This is equivalent to many steps all corresponding toβαβ−1.

Thus, the benefits of high order can be enjoyed by higheffective order.

Runge–Kutta methods for ordinary differential equations – p. 32/48

Page 140: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

We analyse the conditions for effective order 4.

Without loss of generality assume β(t1) = 0.i (βα)(ti) (Eβ)(ti)

1 α1 1

2 β2 + α212 + β2

3 β3 + α313 + 2β2 + β3

4 β4 + β2α1 + α416 + β2 + β4

5 β5 + α514 + 3β2 + 3β3 + β5

6 β6 + β2α2 + α618 + 3

2β2 + β3 + β4 + β6

7 β7 + β3α1 + α7112 + β2 + 2β4 + β7

8 β8 + β4α1 + β2α2 + α8124 + 1

2β2 + β4 + β8

Runge–Kutta methods for ordinary differential equations – p. 33/48

Page 141: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Of these 8 conditions, only 5 are conditions on α.

Once α is known, there remain 3 conditions on β.

The 5 order conditions, written in terms of theRunge-Kutta tableau, are ∑

bi = 1∑

bici = 12∑

biaijcj = 16∑

biaijajkck = 124∑

bic2i (1− ci) +

∑biaijcj(2ci − cj) = 1

4

Runge–Kutta methods for ordinary differential equations – p. 34/48

Page 142: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Of these 8 conditions, only 5 are conditions on α.

Once α is known, there remain 3 conditions on β.

The 5 order conditions, written in terms of theRunge-Kutta tableau, are ∑

bi = 1∑

bici = 12∑

biaijcj = 16∑

biaijajkck = 124∑

bic2i (1− ci) +

∑biaijcj(2ci − cj) = 1

4

Runge–Kutta methods for ordinary differential equations – p. 34/48

Page 143: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Of these 8 conditions, only 5 are conditions on α.

Once α is known, there remain 3 conditions on β.

The 5 order conditions, written in terms of theRunge-Kutta tableau, are ∑

bi = 1∑

bici = 12∑

biaijcj = 16∑

biaijajkck = 124∑

bic2i (1− ci) +

∑biaijcj(2ci − cj) = 1

4Runge–Kutta methods for ordinary differential equations – p. 34/48

Page 144: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Implicit Runge–Kutta methodsSince we have the order barriers, we might ask how toget around them.

For explicit methods, solving the orderconditions becomes increasingly difficult as the orderincreasesbut everything becomes simpler for implicitmethods.For example the following method has order 5:

014

18

18

710 −

1100

1425

320

1 27 0 5

7114

3281

250567

554

Runge–Kutta methods for ordinary differential equations – p. 35/48

Page 145: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Implicit Runge–Kutta methodsSince we have the order barriers, we might ask how toget around them. For explicit methods, solving the orderconditions becomes increasingly difficult as the orderincreases

but everything becomes simpler for implicitmethods.For example the following method has order 5:

014

18

18

710 −

1100

1425

320

1 27 0 5

7114

3281

250567

554

Runge–Kutta methods for ordinary differential equations – p. 35/48

Page 146: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Implicit Runge–Kutta methodsSince we have the order barriers, we might ask how toget around them. For explicit methods, solving the orderconditions becomes increasingly difficult as the orderincreases but everything becomes simpler for implicitmethods.

For example the following method has order 5:

014

18

18

710 −

1100

1425

320

1 27 0 5

7114

3281

250567

554

Runge–Kutta methods for ordinary differential equations – p. 35/48

Page 147: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Implicit Runge–Kutta methodsSince we have the order barriers, we might ask how toget around them. For explicit methods, solving the orderconditions becomes increasingly difficult as the orderincreases but everything becomes simpler for implicitmethods.For example the following method has order 5:

014

18

18

710 −

1100

1425

320

1 27 0 5

7114

3281

250567

554

Runge–Kutta methods for ordinary differential equations – p. 35/48

Page 148: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

This idea can be taken further by introducing a full lowertriangular A matrix.

If all the diagonal elements are equal, we get theDiagonally-Implicit methods of R. Alexander and theSemi-Explicit methods of S. P. Nørsett.The following third order L-stable method illustrateswhat is possible for DIRK methods

λ λ12(1 + λ) 1

2(1− λ) λ

1 14(−6λ2 + 16λ− 1) 1

4(6λ2 − 20λ + 5) λ

14(−6λ2 + 16λ− 1) 1

4(6λ2 − 20λ + 5) λ

where λ ≈ 0.4358665215 satisfies 16−

32λ+3λ2−λ3 = 0.

Runge–Kutta methods for ordinary differential equations – p. 36/48

Page 149: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

This idea can be taken further by introducing a full lowertriangular A matrix.If all the diagonal elements are equal, we get theDiagonally-Implicit methods of R. Alexander and theSemi-Explicit methods of S. P. Nørsett.

The following third order L-stable method illustrateswhat is possible for DIRK methods

λ λ12(1 + λ) 1

2(1− λ) λ

1 14(−6λ2 + 16λ− 1) 1

4(6λ2 − 20λ + 5) λ

14(−6λ2 + 16λ− 1) 1

4(6λ2 − 20λ + 5) λ

where λ ≈ 0.4358665215 satisfies 16−

32λ+3λ2−λ3 = 0.

Runge–Kutta methods for ordinary differential equations – p. 36/48

Page 150: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

This idea can be taken further by introducing a full lowertriangular A matrix.If all the diagonal elements are equal, we get theDiagonally-Implicit methods of R. Alexander and theSemi-Explicit methods of S. P. Nørsett.The following third order L-stable method illustrateswhat is possible for DIRK methods

λ λ12(1 + λ) 1

2(1− λ) λ

1 14(−6λ2 + 16λ− 1) 1

4(6λ2 − 20λ + 5) λ

14(−6λ2 + 16λ− 1) 1

4(6λ2 − 20λ + 5) λ

where λ ≈ 0.4358665215 satisfies 16−

32λ+3λ2−λ3 = 0.

Runge–Kutta methods for ordinary differential equations – p. 36/48

Page 151: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

This idea can be taken further by introducing a full lowertriangular A matrix.If all the diagonal elements are equal, we get theDiagonally-Implicit methods of R. Alexander and theSemi-Explicit methods of S. P. Nørsett.The following third order L-stable method illustrateswhat is possible for DIRK methods

λ λ12(1 + λ) 1

2(1− λ) λ

1 14(−6λ2 + 16λ− 1) 1

4(6λ2 − 20λ + 5) λ

14(−6λ2 + 16λ− 1) 1

4(6λ2 − 20λ + 5) λ

where λ ≈ 0.4358665215 satisfies 16−

32λ+3λ2−λ3 = 0.

Runge–Kutta methods for ordinary differential equations – p. 36/48

Page 152: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Singly-implicit Runge-Kutta methodsA SIRK method is characterised by the equationσ(A) = {λ}.

That is A has a one-point spectrum.

For DIRK methods the stages can be computedindependently and sequentially from equations of theform

Yi − hλf(Yi) = a known quantity

Each stage requires the same factorised matrix I − hλJto permit solution by a modified Newton iterationprocess (where J ≈ ∂f/∂y).

How then is it possible to implement SIRK methods in asimilarly efficient manner?

The answer lies in the inclusion of a transformation toJordan canonical form into the computation.

Runge–Kutta methods for ordinary differential equations – p. 37/48

Page 153: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Singly-implicit Runge-Kutta methodsA SIRK method is characterised by the equationσ(A) = {λ}. That is A has a one-point spectrum.

For DIRK methods the stages can be computedindependently and sequentially from equations of theform

Yi − hλf(Yi) = a known quantity

Each stage requires the same factorised matrix I − hλJto permit solution by a modified Newton iterationprocess (where J ≈ ∂f/∂y).

How then is it possible to implement SIRK methods in asimilarly efficient manner?

The answer lies in the inclusion of a transformation toJordan canonical form into the computation.

Runge–Kutta methods for ordinary differential equations – p. 37/48

Page 154: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Singly-implicit Runge-Kutta methodsA SIRK method is characterised by the equationσ(A) = {λ}. That is A has a one-point spectrum.

For DIRK methods the stages can be computedindependently and sequentially from equations of theform

Yi − hλf(Yi) = a known quantity

Each stage requires the same factorised matrix I − hλJto permit solution by a modified Newton iterationprocess (where J ≈ ∂f/∂y).

How then is it possible to implement SIRK methods in asimilarly efficient manner?

The answer lies in the inclusion of a transformation toJordan canonical form into the computation.

Runge–Kutta methods for ordinary differential equations – p. 37/48

Page 155: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Singly-implicit Runge-Kutta methodsA SIRK method is characterised by the equationσ(A) = {λ}. That is A has a one-point spectrum.

For DIRK methods the stages can be computedindependently and sequentially from equations of theform

Yi − hλf(Yi) = a known quantity

Each stage requires the same factorised matrix I − hλJto permit solution by a modified Newton iterationprocess (where J ≈ ∂f/∂y).

How then is it possible to implement SIRK methods in asimilarly efficient manner?

The answer lies in the inclusion of a transformation toJordan canonical form into the computation.

Runge–Kutta methods for ordinary differential equations – p. 37/48

Page 156: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Singly-implicit Runge-Kutta methodsA SIRK method is characterised by the equationσ(A) = {λ}. That is A has a one-point spectrum.

For DIRK methods the stages can be computedindependently and sequentially from equations of theform

Yi − hλf(Yi) = a known quantity

Each stage requires the same factorised matrix I − hλJto permit solution by a modified Newton iterationprocess (where J ≈ ∂f/∂y).

How then is it possible to implement SIRK methods in asimilarly efficient manner?

The answer lies in the inclusion of a transformation toJordan canonical form into the computation.

Runge–Kutta methods for ordinary differential equations – p. 37/48

Page 157: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Singly-implicit Runge-Kutta methodsA SIRK method is characterised by the equationσ(A) = {λ}. That is A has a one-point spectrum.

For DIRK methods the stages can be computedindependently and sequentially from equations of theform

Yi − hλf(Yi) = a known quantity

Each stage requires the same factorised matrix I − hλJto permit solution by a modified Newton iterationprocess (where J ≈ ∂f/∂y).

How then is it possible to implement SIRK methods in asimilarly efficient manner?

The answer lies in the inclusion of a transformation toJordan canonical form into the computation.

Runge–Kutta methods for ordinary differential equations – p. 37/48

Page 158: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Suppose the matrix T transforms A to canonical form asfollows

T−1AT = A

where

A = λ(I − J) = λ

1 0 0 · · · 0 0

−1 1 0 · · · 0 0

0 −1 1 · · · 0 0... ... ... ... ...0 0 0 · · · 1 0

0 0 0 · · · −1 1

Runge–Kutta methods for ordinary differential equations – p. 38/48

Page 159: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Suppose the matrix T transforms A to canonical form asfollows

T−1AT = A

where

A = λ(I − J)

= λ

1 0 0 · · · 0 0

−1 1 0 · · · 0 0

0 −1 1 · · · 0 0... ... ... ... ...0 0 0 · · · 1 0

0 0 0 · · · −1 1

Runge–Kutta methods for ordinary differential equations – p. 38/48

Page 160: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Suppose the matrix T transforms A to canonical form asfollows

T−1AT = A

where

A = λ(I − J) = λ

1 0 0 · · · 0 0

−1 1 0 · · · 0 0

0 −1 1 · · · 0 0... ... ... ... ...0 0 0 · · · 1 0

0 0 0 · · · −1 1

Runge–Kutta methods for ordinary differential equations – p. 38/48

Page 161: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Consider a single Newton iteration, simplified by the useof the same approximate Jacobian J for each stage.

Assume the incoming approximation is y0 and that weare attempting to evaluate

y1 = y0 + h(bT ⊗ I)F

where F is made up from the s subvectors Fi = f(Yi),i = 1, 2, . . . , s.The implicit equations to be solved are

Y = e⊗ y0 + h(A⊗ I)F

where e is the vector in Rn with every component equal

to 1 and Y has subvectors Yi, i = 1, 2, . . . , s

Runge–Kutta methods for ordinary differential equations – p. 39/48

Page 162: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Consider a single Newton iteration, simplified by the useof the same approximate Jacobian J for each stage.Assume the incoming approximation is y0 and that weare attempting to evaluate

y1 = y0 + h(bT ⊗ I)F

where F is made up from the s subvectors Fi = f(Yi),i = 1, 2, . . . , s.The implicit equations to be solved are

Y = e⊗ y0 + h(A⊗ I)F

where e is the vector in Rn with every component equal

to 1 and Y has subvectors Yi, i = 1, 2, . . . , s

Runge–Kutta methods for ordinary differential equations – p. 39/48

Page 163: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Consider a single Newton iteration, simplified by the useof the same approximate Jacobian J for each stage.Assume the incoming approximation is y0 and that weare attempting to evaluate

y1 = y0 + h(bT ⊗ I)F

where F is made up from the s subvectors Fi = f(Yi),i = 1, 2, . . . , s.

The implicit equations to be solved are

Y = e⊗ y0 + h(A⊗ I)F

where e is the vector in Rn with every component equal

to 1 and Y has subvectors Yi, i = 1, 2, . . . , s

Runge–Kutta methods for ordinary differential equations – p. 39/48

Page 164: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Consider a single Newton iteration, simplified by the useof the same approximate Jacobian J for each stage.Assume the incoming approximation is y0 and that weare attempting to evaluate

y1 = y0 + h(bT ⊗ I)F

where F is made up from the s subvectors Fi = f(Yi),i = 1, 2, . . . , s.The implicit equations to be solved are

Y = e⊗ y0 + h(A⊗ I)F

where e is the vector in Rn with every component equal

to 1 and Y has subvectors Yi, i = 1, 2, . . . , s

Runge–Kutta methods for ordinary differential equations – p. 39/48

Page 165: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Consider a single Newton iteration, simplified by the useof the same approximate Jacobian J for each stage.Assume the incoming approximation is y0 and that weare attempting to evaluate

y1 = y0 + h(bT ⊗ I)F

where F is made up from the s subvectors Fi = f(Yi),i = 1, 2, . . . , s.The implicit equations to be solved are

Y = e⊗ y0 + h(A⊗ I)F

where e is the vector in Rn with every component equal

to 1 and Y has subvectors Yi, i = 1, 2, . . . , s

Runge–Kutta methods for ordinary differential equations – p. 39/48

Page 166: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The Newton process consists of solving the linear system

(Is ⊗ I − hA⊗ J )D = Y − e⊗ y0 − h(A⊗ I)F

and updatingY → Y −D

To benefit from the SI property, write

Y = (T−1⊗I)Y, F = (T−1⊗I)F, D = (T−1⊗I)D,

so that

(Is ⊗ I − hA⊗ J )D = Y − e⊗ y0 − h(A⊗ I)F

The following table summarises the costs

Runge–Kutta methods for ordinary differential equations – p. 40/48

Page 167: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The Newton process consists of solving the linear system

(Is ⊗ I − hA⊗ J )D = Y − e⊗ y0 − h(A⊗ I)F

and updatingY → Y −D

To benefit from the SI property, write

Y = (T−1⊗I)Y, F = (T−1⊗I)F, D = (T−1⊗I)D,

so that

(Is ⊗ I − hA⊗ J )D = Y − e⊗ y0 − h(A⊗ I)F

The following table summarises the costs

Runge–Kutta methods for ordinary differential equations – p. 40/48

Page 168: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The Newton process consists of solving the linear system

(Is ⊗ I − hA⊗ J )D = Y − e⊗ y0 − h(A⊗ I)F

and updatingY → Y −D

To benefit from the SI property, write

Y = (T−1⊗I)Y, F = (T−1⊗I)F, D = (T−1⊗I)D,

so that

(Is ⊗ I − hA⊗ J )D = Y − e⊗ y0 − h(A⊗ I)F

The following table summarises the costs

Runge–Kutta methods for ordinary differential equations – p. 40/48

Page 169: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The Newton process consists of solving the linear system

(Is ⊗ I − hA⊗ J )D = Y − e⊗ y0 − h(A⊗ I)F

and updatingY → Y −D

To benefit from the SI property, write

Y = (T−1⊗I)Y, F = (T−1⊗I)F, D = (T−1⊗I)D,

so that

(Is ⊗ I − hA⊗ J )D = Y − e⊗ y0 − h(A⊗ I)F

The following table summarises the costs

Runge–Kutta methods for ordinary differential equations – p. 40/48

Page 170: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

The Newton process consists of solving the linear system

(Is ⊗ I − hA⊗ J )D = Y − e⊗ y0 − h(A⊗ I)F

and updatingY → Y −D

To benefit from the SI property, write

Y = (T−1⊗I)Y, F = (T−1⊗I)F, D = (T−1⊗I)D,

so that

(Is ⊗ I − hA⊗ J )D = Y − e⊗ y0 − h(A⊗ I)F

The following table summarises the costs

Runge–Kutta methods for ordinary differential equations – p. 40/48

Page 171: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3

N 3

Transformation s2N

Backsolves s2N 2

sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcostto a level comparable to BDF methods.

Also we reduce the back substitution costto the samework per stage as for DIRK or BDFmethods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 172: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without

with

transformation

transformation

LU factorisation s3N 3

N 3

Transformation s2N

Backsolves s2N 2

sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcostto a level comparable to BDF methods.

Also we reduce the back substitution costto the samework per stage as for DIRK or BDFmethods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 173: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3

N 3

Transformation s2N

Backsolves s2N 2

sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcostto a level comparable to BDF methods.

Also we reduce the back substitution costto the samework per stage as for DIRK or BDFmethods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 174: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcostto a level comparable to BDF methods.

Also we reduce the back substitution costto the samework per stage as for DIRK or BDFmethods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 175: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcostto a level comparable to BDF methods.

Also we reduce the back substitution costto the samework per stage as for DIRK or BDFmethods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 176: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcost

to a level comparable to BDF methods.

Also we reduce the back substitution costto the samework per stage as for DIRK or BDFmethods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 177: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcost

to a level comparable to BDF methods.

Also we reduce the back substitution costto the samework per stage as for DIRK or BDFmethods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 178: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcost to a level comparable to BDF methods

.

Also we reduce the back substitution costto the samework per stage as for DIRK or BDFmethods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 179: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcost to a level comparable to BDF methods.

Also we reduce the back substitution costto the samework per stage as for DIRK or BDFmethods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 180: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcost to a level comparable to BDF methods.

Also we reduce the back substitution cost

to the samework per stage as for DIRK or BDFmethods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 181: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcost to a level comparable to BDF methods.

Also we reduce the back substitution cost

to the samework per stage as for DIRK or BDFmethods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 182: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcost to a level comparable to BDF methods.

Also we reduce the back substitution cost to the samework per stage as for DIRK or BDF

methods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 183: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcost to a level comparable to BDF methods.

Also we reduce the back substitution cost to the samework per stage as for DIRK or BDF methods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 184: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcost to a level comparable to BDF methods.

Also we reduce the back substitution cost to the samework per stage as for DIRK or BDF methods.

By comparison, the additional transformation costs areinsignificant for large problems

.

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 185: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

without withtransformation transformation

LU factorisation s3N 3 N 3

Transformation s2N

Backsolves s2N 2 sN 2

Transformation s2N

In summary, we reduce the very high LU factorisationcost to a level comparable to BDF methods.

Also we reduce the back substitution cost to the samework per stage as for DIRK or BDF methods.

By comparison, the additional transformation costs areinsignificant for large problems .

Runge–Kutta methods for ordinary differential equations – p. 41/48

Page 186: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Stage order s means thats∑

j=1

aijφ(ci) =

∫ ci

0

φ(t)dt,

for φ any polynomial of degree s− 1. This implies that

Ack−1 = 1kck, k = 1, 2, . . . , s,

where the vector powers are interpreted component bycomponent.This is equivalent to

Akc0 =1

k!ck, k = 1, 2, . . . , s (∗)

Runge–Kutta methods for ordinary differential equations – p. 42/48

Page 187: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Stage order s means thats∑

j=1

aijφ(ci) =

∫ ci

0

φ(t)dt,

for φ any polynomial of degree s− 1.

This implies that

Ack−1 = 1kck, k = 1, 2, . . . , s,

where the vector powers are interpreted component bycomponent.This is equivalent to

Akc0 =1

k!ck, k = 1, 2, . . . , s (∗)

Runge–Kutta methods for ordinary differential equations – p. 42/48

Page 188: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Stage order s means thats∑

j=1

aijφ(ci) =

∫ ci

0

φ(t)dt,

for φ any polynomial of degree s− 1. This implies that

Ack−1 = 1kck, k = 1, 2, . . . , s,

where the vector powers are interpreted component bycomponent.This is equivalent to

Akc0 =1

k!ck, k = 1, 2, . . . , s (∗)

Runge–Kutta methods for ordinary differential equations – p. 42/48

Page 189: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Stage order s means thats∑

j=1

aijφ(ci) =

∫ ci

0

φ(t)dt,

for φ any polynomial of degree s− 1. This implies that

Ack−1 = 1kck, k = 1, 2, . . . , s,

where the vector powers are interpreted component bycomponent.

This is equivalent to

Akc0 =1

k!ck, k = 1, 2, . . . , s (∗)

Runge–Kutta methods for ordinary differential equations – p. 42/48

Page 190: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Stage order s means thats∑

j=1

aijφ(ci) =

∫ ci

0

φ(t)dt,

for φ any polynomial of degree s− 1. This implies that

Ack−1 = 1kck, k = 1, 2, . . . , s,

where the vector powers are interpreted component bycomponent.This is equivalent to

Akc0 =1

k!ck, k = 1, 2, . . . , s (∗)

Runge–Kutta methods for ordinary differential equations – p. 42/48

Page 191: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

From the Cayley-Hamilton theorem

(A− λI)sc0 = 0

and hences∑

i=0

(s

i

)(−λ)s−iAic0 = 0.

Substitute from (∗) and it is found that

s∑

i=0

1

i!

(s

i

)(−λ)s−ici = 0.

Runge–Kutta methods for ordinary differential equations – p. 43/48

Page 192: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

From the Cayley-Hamilton theorem

(A− λI)sc0 = 0

and hences∑

i=0

(s

i

)(−λ)s−iAic0 = 0.

Substitute from (∗) and it is found that

s∑

i=0

1

i!

(s

i

)(−λ)s−ici = 0.

Runge–Kutta methods for ordinary differential equations – p. 43/48

Page 193: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

From the Cayley-Hamilton theorem

(A− λI)sc0 = 0

and hences∑

i=0

(s

i

)(−λ)s−iAic0 = 0.

Substitute from (∗) and it is found that

s∑

i=0

1

i!

(s

i

)(−λ)s−ici = 0.

Runge–Kutta methods for ordinary differential equations – p. 43/48

Page 194: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Hence each component of c satisfiess∑

i=0

1

i!

(s

i

)(−

x

λ

)i

= 0

That is

Ls

(x

λ

)= 0

where LS denotes the Laguerre polynomial of degree s.

Let ξ1, ξ2, . . . , ξs denote the zeros of Ls so that

ci = λξi, i = 1, 2, . . . , s

The question now is, how should λ be chosen?

Runge–Kutta methods for ordinary differential equations – p. 44/48

Page 195: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Hence each component of c satisfiess∑

i=0

1

i!

(s

i

)(−

x

λ

)i

= 0

That is

Ls

(x

λ

)= 0

where LS denotes the Laguerre polynomial of degree s.

Let ξ1, ξ2, . . . , ξs denote the zeros of Ls so that

ci = λξi, i = 1, 2, . . . , s

The question now is, how should λ be chosen?

Runge–Kutta methods for ordinary differential equations – p. 44/48

Page 196: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Hence each component of c satisfiess∑

i=0

1

i!

(s

i

)(−

x

λ

)i

= 0

That is

Ls

(x

λ

)= 0

where LS denotes the Laguerre polynomial of degree s.

Let ξ1, ξ2, . . . , ξs denote the zeros of Ls so that

ci = λξi, i = 1, 2, . . . , s

The question now is, how should λ be chosen?

Runge–Kutta methods for ordinary differential equations – p. 44/48

Page 197: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Hence each component of c satisfiess∑

i=0

1

i!

(s

i

)(−

x

λ

)i

= 0

That is

Ls

(x

λ

)= 0

where LS denotes the Laguerre polynomial of degree s.

Let ξ1, ξ2, . . . , ξs denote the zeros of Ls so that

ci = λξi, i = 1, 2, . . . , s

The question now is, how should λ be chosen?

Runge–Kutta methods for ordinary differential equations – p. 44/48

Page 198: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Unfortunately, to obtain A-stability, at least for ordersp > 2, λ has to be chosen so that some of the ci areoutside the interval [0, 1].

This effect becomes more severe for increasingly highorders and can be seen as a major disadvantage of thesemethods.

We will look at two approaches for overcoming thisdisadvantage.

However, we first look at the transformation matrix T forefficient implementation.

Runge–Kutta methods for ordinary differential equations – p. 45/48

Page 199: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Unfortunately, to obtain A-stability, at least for ordersp > 2, λ has to be chosen so that some of the ci areoutside the interval [0, 1].

This effect becomes more severe for increasingly highorders and can be seen as a major disadvantage of thesemethods.

We will look at two approaches for overcoming thisdisadvantage.

However, we first look at the transformation matrix T forefficient implementation.

Runge–Kutta methods for ordinary differential equations – p. 45/48

Page 200: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Unfortunately, to obtain A-stability, at least for ordersp > 2, λ has to be chosen so that some of the ci areoutside the interval [0, 1].

This effect becomes more severe for increasingly highorders and can be seen as a major disadvantage of thesemethods.

We will look at two approaches for overcoming thisdisadvantage.

However, we first look at the transformation matrix T forefficient implementation.

Runge–Kutta methods for ordinary differential equations – p. 45/48

Page 201: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Unfortunately, to obtain A-stability, at least for ordersp > 2, λ has to be chosen so that some of the ci areoutside the interval [0, 1].

This effect becomes more severe for increasingly highorders and can be seen as a major disadvantage of thesemethods.

We will look at two approaches for overcoming thisdisadvantage.

However, we first look at the transformation matrix T forefficient implementation.

Runge–Kutta methods for ordinary differential equations – p. 45/48

Page 202: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Define the matrix T as follows:

T =

L0(ξ1) L1(ξ1) L2(ξ1) · · · Ls−1(ξ1)

L0(ξ2) L1(ξ2) L2(ξ2) · · · Ls−1(ξ2)

L0(ξ3) L1(ξ3) L2(ξ3) · · · Ls−1(ξ3)... ... ... ...

L0(ξs) L1(ξs) L2(ξs) · · · Ls−1(ξs)

It can be shown that for a SIRK method

T−1AT = λ(I − J)

Runge–Kutta methods for ordinary differential equations – p. 46/48

Page 203: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

Define the matrix T as follows:

T =

L0(ξ1) L1(ξ1) L2(ξ1) · · · Ls−1(ξ1)

L0(ξ2) L1(ξ2) L2(ξ2) · · · Ls−1(ξ2)

L0(ξ3) L1(ξ3) L2(ξ3) · · · Ls−1(ξ3)... ... ... ...

L0(ξs) L1(ξs) L2(ξs) · · · Ls−1(ξs)

It can be shown that for a SIRK method

T−1AT = λ(I − J)

Runge–Kutta methods for ordinary differential equations – p. 46/48

Page 204: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

There are two ways in which SIRK methods can begeneralizedIn the first of these we add extra diagonally implicitstages so that the coefficient matrix looks like this:

[A 0

W λI

],

where the spectrum of the p× p submatrix A is

σ(A) = {λ}For s− p = 1, 2, 3, . . . we get improvements to thebehaviour of the methods

Runge–Kutta methods for ordinary differential equations – p. 47/48

Page 205: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

A second generalization is to replace “order” by“effective order”.

This allows us to locate the abscissae where we wish.

In “DESIRE” methods:Diagonally Extended Singly Implicit Runge-Kutta

methods using Effective orderthese two generalizations are combined.

This seems to be as far as we can go in constructingefficient and accurate singly-implicit Runge-Kuttamethods.

Runge–Kutta methods for ordinary differential equations – p. 48/48

Page 206: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

A second generalization is to replace “order” by“effective order”.

This allows us to locate the abscissae where we wish.

In “DESIRE” methods:Diagonally Extended Singly Implicit Runge-Kutta

methods using Effective orderthese two generalizations are combined.

This seems to be as far as we can go in constructingefficient and accurate singly-implicit Runge-Kuttamethods.

Runge–Kutta methods for ordinary differential equations – p. 48/48

Page 207: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

A second generalization is to replace “order” by“effective order”.

This allows us to locate the abscissae where we wish.

In “DESIRE” methods:Diagonally Extended Singly Implicit Runge-Kutta

methods using Effective orderthese two generalizations are combined.

This seems to be as far as we can go in constructingefficient and accurate singly-implicit Runge-Kuttamethods.

Runge–Kutta methods for ordinary differential equations – p. 48/48

Page 208: Runge–Kutta methods for ordinary differential equationsmath.auckland.ac.nz/~butcher/CONFERENCES/JAPAN/KYUSHU/...Runge–Kutta methods for ordinary differential equations – p. 5/48

A second generalization is to replace “order” by“effective order”.

This allows us to locate the abscissae where we wish.

In “DESIRE” methods:Diagonally Extended Singly Implicit Runge-Kutta

methods using Effective orderthese two generalizations are combined.

This seems to be as far as we can go in constructingefficient and accurate singly-implicit Runge-Kuttamethods.

Runge–Kutta methods for ordinary differential equations – p. 48/48