BIT Numerical Mathematics

, Volume 48, Issue 4, pp 701-723

The chebop system for automatic solution of differential equations

  • Tobin A. DriscollAffiliated withDepartment of Mathematical Sciences, University of Delaware
  • , Folkmar BornemannAffiliated withZentrum Mathematik – M3, Technical University of Munich
  • , Lloyd N. TrefethenAffiliated withComputing Laboratory, University of Oxford Email author 

Rent the article at a discount

Rent now

* Final gross prices may vary according to local VAT.

Get Access


In Matlab, it would be good to be able to solve a linear differential equation by typing u = L\f, where f, u, and L are representations of the right-hand side, the solution, and the differential operator with boundary conditions. Similarly it would be good to be able to exponentiate an operator with expm(L) or determine eigenvalues and eigenfunctions with eigs(L). A system is described in which such calculations are indeed possible, at least in one space dimension, based on the previously developed chebfun system in object-oriented Matlab. The algorithms involved amount to spectral collocation methods on Chebyshev grids of automatically determined resolution.

Key words

chebfun chebop spectral method Chebyshev points object-oriented Matlab differential equations