Skip to main content
Ctrl+K
Magma Magma
  • About
    About News Members
  • Documentation
    Handbook Official Handbook Release Notes Patch Notes
  • Mathematical Areas
  • Try
  • Subscriptions
  • Download
  • Contact
  • Explore
    Tutorials Conferences Seminars Databases Third Party Libraries How to Cite Support Citation Database
  • About
    About News Members
  • Documentation
    Handbook Official Handbook Release Notes Patch Notes
  • Mathematical Areas
  • Try
  • Subscriptions
  • Download
  • Contact
  • Explore
    Tutorials Conferences Seminars Databases Third Party Libraries How to Cite Support Citation Database
  • Preface
  • The Magma Language
  • Sets, Sequences and Mappings
  • Basic Rings
  • Matrices and Linear Algebra
  • Lattices and Quadratic Forms
  • Global Fields
  • Local Fields
  • Modules
  • Finite Groups
  • Finitely Presented Groups
  • Algebras
  • Representation Theory
  • Lie Theory
  • Commutative Algebra
  • Algebraic Geometry
  • Arithmetic Geometry
  • Modular Arithmetic Geometry
  • Topology
  • Geometry
  • Combinatorics
  • Coding Theory
  • Cryptography
  • Optimization
  • References
  • Commutative Algebra
  • Differential Rings
  • Related Matrices

Related Matrices#

The companion matrix of a monic linear differential operator

\[D^n+a_{n-1}D^{n-1}+\cdots+a_0 \in F[D]\]

is defined as the \(n\times n\) matrix

\[\begin{split} \begin{pmatrix}0&1&0&0&\ldots&0\\ 0&0&1&0&\ldots&0\\ \vdots&\vdots&\vdots&\vdots&\ddots&\vdots\\ 0&0&0&0&\ldots&1\\ -a_0&-a_1&-a_2&-a_3&\ldots&-a_{n-1}\end{pmatrix}\end{split}\]
CompanionMatrix(L): RngDiffOpElt -> AlgMatElt#

Returns the companion matrix of the monic differential operator \(L\).

Example Companion Matrix (ex-62793f)#
> F<z> := RationalDifferentialField(Rationals());
> R<D> := DifferentialOperatorRing(F);
> L := D^3-z*D^2+2*D+5;
> CompanionMatrix(L);
[0 1 0]
[0 0 1]
[-5 -2 z]

Run in calculator

previous

Euclidean Algorithms, GCDs and LCMs

next

Singular Places and Indicial Polynomials

On this page
  • CompanionMatrix(L): RngDiffOpElt → AlgMatElt
  • Example Companion Matrix
Magma Magma

Magma is maintained and distributed by the Computational Algebra Group, School of Mathematics and Statistics, University of Sydney.

University of Sydney

Explore

  • Home
  • Preface
  • References
  • General Index

Community

  • Members
  • Visitors
  • Seminars
  • Conferences
  • News

Help

  • FAQ
  • Contact
  • Licensing
  • How to Cite
  • Main Website ↗
© 1993–2026 Computational Algebra Group. All rights reserved. Built at the University of Sydney, Australia.