Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • Compute Services
  • System Modeler
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

Wolfram Consulting

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Notebook Assistant + LLM Kit
    • Compute Services
    • System Modeler
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
JordanMatrix
  • See Also
    • CompanionMatrix
    • BlockDiagonalMatrix
    • JordanDecomposition
    • CharacteristicPolynomial
    • Eigenvalues
    • MatrixMinimalPolynomial
    • FrobeniusDecomposition
  • Related Guides
    • Matrix Decompositions
    • See Also
      • CompanionMatrix
      • BlockDiagonalMatrix
      • JordanDecomposition
      • CharacteristicPolynomial
      • Eigenvalues
      • MatrixMinimalPolynomial
      • FrobeniusDecomposition
    • Related Guides
      • Matrix Decompositions

JordanMatrix[λ,n]

returns a Jordan matrix with dimension n and diagonal elements λ.

JordanMatrix[λ,n,dir]

returns a Jordan matrix oriented by specification dir.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Options  
TargetStructure  
Applications  
Properties & Relations  
See Also
Related Guides
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • CompanionMatrix
    • BlockDiagonalMatrix
    • JordanDecomposition
    • CharacteristicPolynomial
    • Eigenvalues
    • MatrixMinimalPolynomial
    • FrobeniusDecomposition
  • Related Guides
    • Matrix Decompositions
    • See Also
      • CompanionMatrix
      • BlockDiagonalMatrix
      • JordanDecomposition
      • CharacteristicPolynomial
      • Eigenvalues
      • MatrixMinimalPolynomial
      • FrobeniusDecomposition
    • Related Guides
      • Matrix Decompositions

JordanMatrix

JordanMatrix[λ,n]

returns a Jordan matrix with dimension n and diagonal elements λ.

JordanMatrix[λ,n,dir]

returns a Jordan matrix oriented by specification dir.

Details and Options

  • Jordan matrices provide the building blocks for the Jordan decomposition of a matrix.
  • JordanMatrix by default returns an n×n matrix with diagonal elements equal to λ and superdiagonal elements equal to 1.
  • J=(lambda 1 0 ... 0; 0 lambda 1 ... 0; 0 0 lambda ... |; | | ... ... 1; 0 0 ... 0 lambda)
  • CharacteristicPolynomial[J,x] is . Up to sign, so is MatrixMinimalPolynomial[J,x]. »
  • The Jordan matrix occurs naturally for cyclic subspaces: »
  • , …, ,
  • where is UnitVector[n,i]. JordanDecomposition returns a block Jordan matrix of this form. »
  • JordanMatrix[λ,n,dir] uses dir to determine the resulting matrix layout. It must be one of Left (the default) or Right. This directive determines whether the diagonal elements are to the left or right respective to the 1s. »
  • The following option can be given:
  • TargetStructure Automaticthe structure of the returned matrix
  • Possible settings for TargetStructure include:
  • Automaticautomatically choose the representation returned
    "Dense"represent the matrix as a dense matrix
    "Sparse"represent the matrix as a sparse array
    "Structured"represent the matrix as a structured array

Examples

open all close all

Basic Examples  (2)

A Jordan matrix:

A Jordan matrix with dimension 3:

Scope  (4)

The first argument can be any numeric expression:

The first argument can be any purely symbolic expression:

The first argument must be a scalar:

Construct a Jordan matrix:

JordanMatrix defaults to the orientation specification Left:

Instead locate the 1s to the right of the main diagonal:

Check that these are transposes:

Options  (2)

TargetStructure  (2)

By default, JordanMatrix returns a dense matrix:

Instead return a SparseArray:

Check that it corresponds to the dense result:

Return an array structured as an upper triangular matrix:

Check that it corresponds to the dense result:

For TargetStructure"Structured", the type of structure depends on the direction argument:

Using Right changes the type from UpperTriangularMatrix to LowerTriangularMatrix:

Applications  (1)

Construct a matrix m of nonzero entries with a doubly deficient eigenspace, a singly deficient eigenspace and a non-deficient rank-two eigenspace. Compare the Jordan decomposition of m with the matrices used to build m. First, define a Jordan matrix to represent the doubly deficient eigenspace:

Next, create a Jordan matrix for the singly deficient space:

Finally, create a diagonal matrix for the full-rank space:

Combine these blocks into a single matrix using BlockDiagonalMatrix:

Using a similarity matrix with positive entries is likely to give nonzero entries; the following s in fact does:

Compute the eigensystem of m:

The eigenvalues match the diagonal entries and dimensions of the three Jordan matrices used to build m:

The zero rows 2 and 3 of vecs show that 5 is doubly deficient, and row 5 shows that 4 is singly deficient:

Now compute JordanDecomposition[m]:

The similarity matrix computed is quite different from s—similarity matrices are not unique:

The computed Jordan matrix also differs from j:

But closer inspection shows that the blocks simply appear in different orders:

If the blocks are ordered by absolute value of the eigenvalue, the matrices are the same:

Properties & Relations  (7)

CharacteristicPolynomial[JordanMatrix[λ,n],x] is :

MatrixMinimalPolynomial[JordanMatrix[λ,n],x] is :

A Jordan matrix is defined by for and :

With the orientation Right, the relations are for and :

The vectors , , , , are linearly independent:

With the orientation Right, the chain begins at rather than :

In more than one dimension, a Jordan matrix is non-diagonalizable:

The one-dimensional case is an exception as all matrices are diagonal:

In more than one dimension, a Jordan matrix is not normal:

The determinant of JordanMatrix[λ,n] is :

Thus, the Jordan matrix is invertible if :

The Jordan matrix returned by JordanDecomposition is block diagonal:

Each block is of the form JordanMatrix[λ,k] for some k:

Show that the diagonal entries of j are the eigenvalues of m, possibly in a different order:

See Also

CompanionMatrix  BlockDiagonalMatrix  JordanDecomposition  CharacteristicPolynomial  Eigenvalues  MatrixMinimalPolynomial  FrobeniusDecomposition

Related Guides

    ▪
  • Matrix Decompositions

History

Introduced in 2025 (14.3)

Wolfram Research (2025), JordanMatrix, Wolfram Language function, https://reference.wolfram.com/language/ref/JordanMatrix.html.

Text

Wolfram Research (2025), JordanMatrix, Wolfram Language function, https://reference.wolfram.com/language/ref/JordanMatrix.html.

CMS

Wolfram Language. 2025. "JordanMatrix." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/JordanMatrix.html.

APA

Wolfram Language. (2025). JordanMatrix. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/JordanMatrix.html

BibTeX

@misc{reference.wolfram_2025_jordanmatrix, author="Wolfram Research", title="{JordanMatrix}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/JordanMatrix.html}", note=[Accessed: 01-May-2026]}

BibLaTeX

@online{reference.wolfram_2025_jordanmatrix, organization={Wolfram Research}, title={JordanMatrix}, year={2025}, url={https://reference.wolfram.com/language/ref/JordanMatrix.html}, note=[Accessed: 01-May-2026]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English