Simplify Your Workflow: Search MiniWebtool.
Add Extension
See also
Matrix Diagonalization CalculatorEigenvalue and Eigenvector CalculatorMatrix Exponential CalculatorTensor Product CalculatorElectron Configuration CalculatorForward Rate CalculatorAP Score Calculator
Home Page > Math > Linear Algebra > Jordan Normal Form Calculator

Jordan Normal Form Calculator

Compute the Jordan canonical form J of a square matrix, plus the transition matrix P such that P^(-1)AP = J. Handles defective (non-diagonalizable) matrices via generalized eigenvectors, with step-by-step kernel-chain analysis and a visual Jordan-block diagram.

Jordan Normal Form Calculator
One row per line, entries separated by spaces or commas. Accepts integers, fractions like 1/2, and decimals like -0.25. Max size 6 ร— 6.

Embed Jordan Normal Form Calculator Widget

About Jordan Normal Form Calculator

The Jordan Normal Form Calculator produces the Jordan canonical form J of a square matrix A together with an invertible transition matrix P satisfying the similarity relation PโปยนAP = J. Unlike diagonalization, which fails for defective matrices, the Jordan form exists for every square matrix over an algebraically closed field โ€” it replaces the diagonal representation with a sequence of Jordan blocks, each an almost-diagonal matrix holding an eigenvalue on the diagonal and 1s on the superdiagonal. This tool computes everything with exact rational arithmetic, so the resulting J and P are provably correct โ€” no floating-point rounding is involved.

What Is the Jordan Normal Form?

Given an n ร— n matrix A over the complex numbers, the Jordan normal form J is a block-diagonal matrix

J = diag( Jkโ‚(ฮปโ‚), Jkโ‚‚(ฮปโ‚‚), โ€ฆ, Jkโ‚›(ฮปโ‚›) )

where each Jordan block Jk(ฮป) is a k ร— k matrix with ฮป on the diagonal, 1s on the superdiagonal, and zeros elsewhere:

$$J_k(\lambda) = \begin{bmatrix} \lambda & 1 & 0 & \cdots & 0 \\ 0 & \lambda & 1 & \cdots & 0 \\ 0 & 0 & \lambda & \cdots & 0 \\ \vdots & \vdots & \vdots & \ddots & 1 \\ 0 & 0 & 0 & \cdots & \lambda \end{bmatrix}$$

The eigenvalues ฮปi may repeat across blocks; what matters is the pattern of block sizes, which is a complete similarity invariant of A.

Why Do We Need Jordan Form When We Have Diagonalization?

Not every square matrix is diagonalizable. A matrix fails to be diagonalizable when some eigenvalue has fewer independent eigenvectors than its algebraic multiplicity โ€” we say the matrix is defective. The Jordan form repairs this gap by introducing generalized eigenvectors, yielding a canonical form that works for every matrix.

Situation Eigenvalue behaviour Canonical form
n distinct eigenvalues alg. mult. = geom. mult. = 1 for each ฮป Fully diagonal (no chains needed)
Repeated eigenvalue, algebraic = geometric ฮป has as many eigenvectors as its multiplicity Diagonal โ€” all Jordan blocks have size 1
Repeated eigenvalue, algebraic > geometric ฮป is defective Jordan form with blocks of size โ‰ฅ 2

Key Concepts

Algebraic vs Geometric Multiplicity

The algebraic multiplicity of an eigenvalue ฮป is the multiplicity of ฮป as a root of the characteristic polynomial pA(ฮป) = det(ฮปI โˆ’ A). The geometric multiplicity is the dimension of the eigenspace, or equivalently dim ker(A โˆ’ ฮปI). The number of Jordan blocks associated with ฮป equals its geometric multiplicity, and the total size of those blocks equals its algebraic multiplicity.

Generalized Eigenvectors and Chains

A vector v is a generalized eigenvector of rank k for eigenvalue ฮป if (A โˆ’ ฮปI)kv = 0 but (A โˆ’ ฮปI)kโˆ’1v โ‰  0. Applying N = (A โˆ’ ฮปI) to a rank-k generalized eigenvector produces one of rank kโˆ’1, so we obtain a Jordan chain:

vk โ†’ vkโˆ’1 = Nvk โ†’ vkโˆ’2 = Nยฒvk โ†’ โ‹ฏ โ†’ v1 = Nkโˆ’1vk (an ordinary eigenvector)

Placing the chain in the order v1, v2, โ€ฆ, vk as the columns of P produces a size-k Jordan block in the corresponding rows/columns of J.

The Kernel Ladder and Block Counts

For each eigenvalue ฮป, define the ascending sequence dk = dim ker((A โˆ’ ฮปI)k). The sequence is non-decreasing, stabilizing at the algebraic multiplicity of ฮป. The counts of Jordan blocks of each size are extracted from this ladder:

# blocks of size โ‰ฅ k = dk โˆ’ dkโˆ’1 # blocks of size = k = 2ยทdk โˆ’ dkโˆ’1 โˆ’ dk+1

This is a Young-diagram count and it is exact โ€” no guesswork required. The calculator prints this ladder for every eigenvalue so you can follow the decomposition step by step.

Minimal Polynomial

The minimal polynomial mA(ฮป) is the monic polynomial of least degree that satisfies mA(A) = 0. Once you have the Jordan form, reading it off is trivial:

mA(ฮป) = โˆi (ฮป โˆ’ ฮปi)ri, where ri is the index of ฮปi (size of its largest Jordan block)

A matrix is diagonalizable iff its minimal polynomial has no repeated roots, i.e. every Jordan block has size 1.

How This Calculator Works

  1. Parse the matrix โ€” integer, fraction (e.g. 1/2), or decimal entries are all accepted and converted to exact rationals (fractions.Fraction).
  2. Compute the characteristic polynomial using the Faddeevโ€“LeVerrier algorithm, which avoids symbolic determinant expansion and runs in O(nโด) time with exact arithmetic.
  3. Find rational eigenvalues via the Rational Root Theorem โ€” every rational root p/q of a primitive integer polynomial satisfies p โˆฃ constant term and q โˆฃ leading coefficient. Each found root is divided out and the search repeats.
  4. Build the kernel ladder for every eigenvalue ฮป by computing dim ker((A โˆ’ ฮปI)k) with rational RREF until the sequence stabilizes at the algebraic multiplicity.
  5. Select chain-top vectors from the largest kernel down to the smallest, extending the basis whenever a new Jordan block is required. Each chain top is then repeatedly multiplied by (A โˆ’ ฮปI) to obtain its chain vectors.
  6. Assemble J and P by grouping chains per eigenvalue (blocks of largest size first), placing chain vectors as the columns of P and filling J with the eigenvalues and superdiagonal 1s.
  7. Verify exactly that Pโปยน A P = J using integer arithmetic โ€” the result is guaranteed because all intermediate computations are rational.

Worked Example

Consider the defective 3 ร— 3 matrix

$$A = \begin{bmatrix} 5 & 4 & 2 \\ 0 & 5 & -1 \\ 0 & 0 & 5 \end{bmatrix}$$

Applications of Jordan Normal Form

Frequently Asked Questions

What is the Jordan normal form of a matrix?

The Jordan normal form (also called Jordan canonical form) is a nearly-diagonal matrix J similar to the original matrix A, meaning there exists an invertible matrix P with PโปยนAP = J. The diagonal of J contains the eigenvalues of A, and just above the diagonal there are 1s that appear inside Jordan blocks whenever A is not diagonalizable. Every square matrix over the complex numbers has a Jordan normal form, unique up to the ordering of blocks.

When is a matrix not diagonalizable?

A matrix is not diagonalizable when at least one eigenvalue has fewer linearly independent eigenvectors than its algebraic multiplicity โ€” the gap is filled by Jordan blocks of size 2 or larger. Equivalently, a matrix is not diagonalizable when its minimal polynomial has a repeated root. Such matrices are called defective.

How are generalized eigenvectors defined?

A generalized eigenvector of rank k for eigenvalue ฮป is a non-zero vector v such that (A โˆ’ ฮปI)kv = 0 but (A โˆ’ ฮปI)kโˆ’1v is non-zero. Applying (A โˆ’ ฮปI) to a rank-k generalized eigenvector gives one of rank kโˆ’1, producing a chain. These chains form the columns of the transition matrix P in the Jordan decomposition.

What is the difference between algebraic and geometric multiplicity?

The algebraic multiplicity of an eigenvalue ฮป is the number of times it appears as a root of the characteristic polynomial. The geometric multiplicity is the dimension of its eigenspace โ€” the number of linearly independent eigenvectors. Geometric multiplicity equals the number of Jordan blocks for ฮป, while algebraic multiplicity equals the total size of all those blocks. Equal multiplicities mean the eigenvalue contributes only size-1 blocks.

How does this calculator find the Jordan block sizes?

For each eigenvalue ฮป, the calculator computes the dimensions dk = dim ker((A โˆ’ ฮปI)k) for k = 1, 2, โ€ฆ until the sequence stabilizes at the algebraic multiplicity. The number of Jordan blocks of size at least k equals dk โˆ’ dkโˆ’1. Subtracting consecutive terms yields the exact count of blocks of each size. This Young-diagram calculation is exact and uses rational arithmetic throughout.

Does the calculator handle matrices with irrational or complex eigenvalues?

The calculator uses exact rational arithmetic, which requires eigenvalues to be rational numbers. When the characteristic polynomial has factors that do not split over the rationals, the tool shows numerically approximated complex eigenvalues for the remaining factor but does not produce the full Jordan form, because exact arithmetic is essential to determining block sizes correctly. Scale or modify your matrix so that all eigenvalues are rational to obtain the complete Jordan decomposition.

What is the minimal polynomial and how is it computed here?

The minimal polynomial m(ฮป) is the monic polynomial of smallest degree that annihilates A, meaning m(A) = 0. It equals the product over distinct eigenvalues ฮป of (ฮป โˆ’ ฮปi)indexi, where the index is the size of the largest Jordan block for eigenvalue ฮปi. This calculator reads the index directly from the computed block structure, so the minimal polynomial is a free byproduct of the Jordan decomposition.

Further Reading

Reference this content, page, or tool as:

"Jordan Normal Form Calculator" at https://MiniWebtool.com/jordan-normal-form-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Apr 23, 2026

You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.

Linear Algebra:

Top & Updated:

Instagram User ID LookupRandom PickerRandom Name Picker WheelImage ResizerFacebook User ID LookupLine CounterRSD Calculator - Relative Standard DeviationSort NumbersFPS ConverterMAC Address GeneratorRemove SpacesWord to Phone Number ConverterSun, Moon & Rising Sign Calculator ๐ŸŒž๐ŸŒ™โœจ๐Ÿ“ท OCR / Image to Textโฌ› Aspect Ratio CalculatorRandom Quote GeneratorERA CalculatorMAC Address Lookup๐Ÿ–ฑ๏ธ Click CounterSquare Root (โˆš) CalculatorMerge VideosSlope and Grade CalculatorJob FinderPercent Off CalculatorSum CalculatorWeight Loss CalculatorSHA256 Hash GeneratorBatting Average CalculatorCm to Feet and Inches ConverterRandom Truth or Dare GeneratorMP3 LooperRandom Poker Hand GeneratorAdd Text to ImageVertical Jump CalculatorRandom Credit Card GeneratorRoman Numerals ConverterNumber of Digits CalculatorAudio SplitterRandom Fake Address GeneratorRandom IMEI GeneratorLog Base 10 CalculatorInvisible Text GeneratorFeet and Inches to Cm ConverterRandom Birthday GeneratorPhone Number ExtractorBitwise CalculatorJulian Date ConverterImage SplitterRandom Superpower GeneratorRandom Writing Prompt GeneratorSalary Conversion CalculatorNumber to Word ConverterSun Position CalculatorName RandomizerText FormatterLunar Calendar ConverterRandom Activity GeneratorCaffeine Overdose CalculatorIP Subnet CalculatorOctal CalculatorHalfway Date CalculatorBCD ConvertereBay Fee CalculatorCompound Growth CalculatorRandom Movie PickerBolt Torque CalculatorLong Division CalculatorFile Size ConverterBinary to Gray Code ConverterImage CompressorYouTube Channel StatisticsWord Ladder GeneratorQuotient and Remainder CalculatorEmail ExtractorStair CalculatorSHA512 Hash GeneratorOutlier CalculatorRandom Meal GeneratorVideo CompressorHebrew Calendar ConverterLeap Years ListFirst n Digits of PiOPS CalculatorBCD to Decimal ConverterWAR CalculatorRandom Loadout GeneratorBreak Line by CharactersList of Prime NumbersMultiplication CalculatorStandard Error CalculatorBcrypt Hash Generator / Checker๐Ÿ“… Date CalculatorSlugging Percentage Calculator๐Ÿ” Plagiarism CheckerAPI TesterMD5 Hash GeneratorRandomize NumbersAI Language DetectorURL ExtractorFlip VideoDMS to Decimal Degrees ConverterMaster Number CalculatorBroken Link CheckerCompare Two StringsMultiple Fraction CalculatorRandom Number Picker๐ŸŽฐ Gacha Pity CalculatorAstrological Element Balance Calculator๐Ÿ”Š Tone GeneratorArc Length CalculatorVideo to Image ExtractorEstimation CalculatorIP Address to Hex ConverterWhat is my Zodiac Sign?Add Prefix and Suffix to TextIs it a Prime Number?Percent to PPM ConverterRandom Emoji GeneratorRemove AccentSocial Media Username CheckerBingo Card GeneratorNumber ExtractorOn Base Percentage CalculatorPercent Growth Rate CalculatorRandom Tournament Bracket GeneratorTime Duration CalculatorDay of the Year Calculator - What Day of the Year Is It Today?Cone Flat Pattern (Template) GeneratorLottery Number GeneratorName Number CalculatorAcreage CalculatorBattery Life CalculatorDay of Year CalendarLED Resistor CalculatorModulo CalculatorRatio CalculatorList RandomizerSocial Media Post Time OptimizerGray Code to Binary ConverterRandom Math Problem GeneratorRandom User-Agent GeneratorVideo SplitterRatio to Percentage CalculatorYouTube Tag ExtractorRandom Chord GeneratorSmall Text Generator โฝแถœแต’แต–สธ โฟ แต–แตƒหขแต—แต‰โพWord Scramble GeneratorIP Address to Binary ConverterChinese Gender PredictorDecibel (dB) CalculatorRandom Video Thumbnail GeneratorSquare Numbers ListConnect the Dots GeneratorMercury Retrograde CalendarImage CropperSaturn Return CalculatorFraction CalculatorRemove Line BreaksProportion CalculatorOrder of Operations Calculator (PEMDAS)Random PIN GeneratorScientific Notation to Decimal ConverterRandom Line PickerMagic 8-Ball๐Ÿ“Š Bar Graph MakerLove Compatibility CalculatorText Case ConverterColor InverterAdjust Video SpeedFirst n Digits of eWhat is my Lucky Number?Random Excuse GeneratorBinary to BCD Converter๐Ÿ’ง Dew Point CalculatorImage EnhancerRadical SimplifierTaco Bar CalculatorLbs to Kg ConverterPER CalculatorTrigonometric Equation SolverPregnancy CalendarReverse VideoHeight Percentile CalculatorBackronym GeneratorMcg to Mg ConverterPaycheck Calculator (Take-Home Pay)Random Object GeneratorWHIP CalculatorAmortization CalculatorGolden Ratio CalculatorAngel Number CalculatorInvisible Character RemoverWhitespace VisualizerAI Text HumanizerCrossword Puzzle MakerHTML CompressorParabola CalculatorRandom Chess Opening GeneratorAI ParaphraserAI Punctuation AdderSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterBCD to Hex ConverterMedian CalculatorAverage CalculatorPVIFA CalculatorHypotenuse CalculatorRemove Audio from VideoActual Cash Value CalculatorLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence ExpanderHex to Decimal ConverterRandom Group GeneratorConvolution CalculatorMAC Address AnalyzerRandom String GeneratorRemove Leading Trailing SpacesMarkup CalculatorPVIF CalculatorDecimal to Hex ConverterInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorTwitter/X Character CounterTwitter/X Timestamp ConverterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorBoiling Point CalculatorTitration CalculatorMole/Gram/Particle ConverterIrregular Polygon Area CalculatorFrustum CalculatorTorus Calculator3D Distance CalculatorGreat Circle Distance CalculatorCircumscribed Circle (Circumcircle) CalculatorInscribed Circle (Incircle) CalculatorAngle Bisector CalculatorTangent Line to Circle CalculatorHeron's Formula CalculatorCoordinate Geometry Distance CalculatorVolume of Revolution CalculatorSurface of Revolution CalculatorParametric Curve GrapherRiemann Sum CalculatorTrapezoidal Rule CalculatorSimpson's Rule CalculatorImproper Integral CalculatorL'Hรดpital's Rule CalculatorMaclaurin Series CalculatorPower Series CalculatorSeries Convergence Test CalculatorInfinite Series Sum CalculatorAverage Rate of Change CalculatorInstantaneous Rate of Change CalculatorRelated Rates SolverOptimization Calculator (Calculus)Gradient Calculator (Multivariable)Divergence CalculatorCurl CalculatorLine Integral CalculatorSurface Integral CalculatorJacobian Matrix CalculatorNewton's Method CalculatorRREF Calculator (Row Echelon Form)Matrix Inverse CalculatorMatrix Multiplication CalculatorDot Product CalculatorCross Product CalculatorVector Magnitude CalculatorUnit Vector CalculatorAngle Between Vectors CalculatorNull Space CalculatorColumn Space CalculatorCramer's Rule CalculatorMatrix Diagonalization CalculatorQR Decomposition CalculatorCholesky Decomposition CalculatorMatrix Power CalculatorCharacteristic Polynomial CalculatorBayes' Theorem CalculatorF-Test / F-Distribution CalculatorHypergeometric Distribution CalculatorNegative Binomial Distribution CalculatorGeometric Distribution CalculatorExponential Distribution CalculatorWeibull Distribution CalculatorBeta Distribution CalculatorSpearman Rank Correlation CalculatorFisher's Exact Test CalculatorContingency Table CalculatorOdds Ratio CalculatorBernoulli Equation CalculatorSurfboard Volume CalculatorTennis Grip Size CalculatorBackpack Size CalculatorCelsius to Fahrenheit ConverterFahrenheit to Celsius ConverterKm to Miles ConverterMiles to Km ConverterMM to Inches ConverterInches to MM ConverterStone to Kg ConverterKg to Stone ConverterLiters to Gallons ConverterGallons to Liters ConverterML to Oz ConverterOz to ML ConverterSquare Meters to Square Feet ConverterSquare Feet to Square Meters ConverterCubic Feet to Cubic Yards ConverterCubic Meters to Cubic FeetKnots to MPH ConverterMPH to KMH / KMH to MPHMg to Ml ConverterAI Text SummarizerAI TranslatorAI Story GeneratorAI Poem GeneratorAI Song Lyrics GeneratorIndian Land Unit ConverterTola to Gram ConverterPX to REM ConverterPT to PX ConverterMerge PDFSplit PDFCompress PDFPDF to JPGJPG to PDFRotate PDFDelete PDF PagesAdd Page Numbers to PDFProtect PDFReorder PDF PagesPDF Word CounterPDF Page ExtractorPDF to Text ExtractorUnlock PDF (Owner-Password Removal)PDF Flatten ToolAI Rap Lyrics GeneratorAI Cover Letter GeneratorAI Resume Bullet GeneratorAI LinkedIn Headline & Bio GeneratorAI Instagram Caption GeneratorAI YouTube Title & Description GeneratorAI Video Script GeneratorAI Product Description GeneratorAI Press Release GeneratorAI Wedding Speech GeneratorAI Thank-You Note GeneratorAI Dream InterpreterRandom Question GeneratorWould You Rather GeneratorNever Have I Ever GeneratorIcebreaker Question GeneratorCharades GeneratorPictionary Word GeneratorHangman Word GeneratorTrivia Question GeneratorRandom Fact GeneratorRandom Joke GeneratorDad Joke GeneratorPickup Line GeneratorCompliment GeneratorDaily Affirmation GeneratorJournal Prompt GeneratorDrawing Idea GeneratorFortune Cookie GeneratorFantasy Name GeneratorCapacitor Bank Sizing CalculatorSolar Charge Controller Sizing CalculatorBattery C-Rate CalculatorBattery Internal Resistance CalculatorPeukert Battery Runtime CalculatorWire Resistance CalculatorPCB Via Current CalculatorBand Name GeneratorRap Name GeneratorNickname GeneratorTeam Name GeneratorGamertag Generator