作業フローを簡素化:miniwebtoolを検索。
追加
関連ツール
QR分解電卓行列LU分解電卓部分分数分解電卓特異値分解SVD電卓行列の掛け算電卓行列トレース電卓インタラクティブ周期表
ホームページ > 数学 > 線形代数 > コレスキー分解電卓
 

コレスキー分解電卓

対称正定値行列を A = LLᵀ に分解し、ステップバイステップの計算をアニメーションで表示します。下三角行列 L の各要素が完全な公式で導出される様子を確認し、結果を検証し、分解を視覚的に探索できます。

コレスキー分解電卓
Examples:
Matrix Size: A: 2×2 Symmetric: A[i,j] = A[j,i]
Matrix A 2×2 (symmetric, positive-definite)
[
]
↕ Editing A[i,j] auto-mirrors to A[j,i]

Embed コレスキー分解電卓 Widget

コレスキー分解電卓

The Cholesky Decomposition Calculator factors a symmetric positive-definite matrix A into the product of a lower-triangular matrix L and its transpose Lᵀ, so that A = LLᵀ. This factorization is fundamental in numerical linear algebra, offering roughly twice the efficiency of general LU decomposition by exploiting the symmetry and positive-definiteness of the input matrix. The calculator provides animated step-by-step derivations, interactive cell highlighting, and automatic verification that LLᵀ reconstructs A.

How Cholesky Decomposition Works

Given an n×n symmetric positive-definite matrix A, the algorithm computes L column by column. For each column j:

Diagonal element:

$$L_{jj} = \sqrt{A_{jj} - \sum_{k=1}^{j-1} L_{jk}^2}$$

Off-diagonal elements (for i > j):

$$L_{ij} = \frac{1}{L_{jj}} \left( A_{ij} - \sum_{k=1}^{j-1} L_{ik} L_{jk} \right)$$

The algorithm proceeds left to right across columns. Each diagonal element involves a square root, which is guaranteed to be real and positive when A is positive-definite. If a negative value appears under the square root, the matrix is not positive-definite.

Conditions for Cholesky Decomposition

ConditionRequirementWhat Happens If Violated
SymmetricA = Aᵀ (A[i,j] = A[j,i])Decomposition is undefined
Positive-DefiniteAll eigenvalues > 0Negative under square root
Squaren×n matrixNot applicable to rectangular

Key Properties

Lower-Triangular
L has zeros above the diagonal
Unique
If A is positive-definite, L is unique
Efficient
~n³/3 operations vs n³/3 × 2 for LU
Stable
No pivoting needed — always stable
det(A) = det(L)²
Determinant from diagonal of L
Solving Ax = b
Forward then back substitution

How to Use the Cholesky Decomposition Calculator

  1. Select matrix size — Choose from 2×2 up to 6×6. Cholesky decomposition requires a square matrix.
  2. Enter values — Fill in the matrix cells. The calculator auto-mirrors entries across the diagonal to enforce symmetry (editing A[i,j] automatically sets A[j,i]).
  3. Click Decompose — Press the "Decompose A = LLᵀ" button to compute the factorization.
  4. Explore the result — Review the color-coded equation A = L × Lᵀ. Click any cell in L to see its derivation formula. Use "Play All" to auto-step through every element.
  5. Verify — The calculator multiplies L × Lᵀ back together and reports the maximum error, confirming the decomposition is correct.

Real-World Applications

📊
Monte Carlo
Generate correlated random variables from a covariance matrix
📡
Kalman Filters
State estimation in navigation and signal processing
🤖
Machine Learning
Gaussian processes, covariance inversion
📐
Optimization
Newton's method with positive-definite Hessians
💰
Finance
Portfolio risk modeling via correlation decomposition
🏗
Engineering
Finite element method stiffness matrices

Cholesky vs Other Decompositions

MethodFactorizationRequirementsComplexity
CholeskyA = LLᵀSymmetric positive-definiten³/3
LUA = LU (or PA = LU)Invertible2n³/3
QRA = QRAny matrix2n³/3 (Householder)
SVDA = UΣVᵀAny matrix~11n³/3
EigendecompositionA = QΛQᵀSymmetric~9n³

Frequently Asked Questions

What is Cholesky decomposition?

Cholesky decomposition (named after Andre-Louis Cholesky) factors a symmetric positive-definite matrix A into A = LLᵀ, where L is a lower-triangular matrix with positive diagonal entries. It is one of the most efficient and numerically stable matrix factorizations available.

When can Cholesky decomposition be applied?

The matrix must be symmetric (A = Aᵀ) and positive-definite (all eigenvalues strictly positive, or equivalently, xᵀAx > 0 for every nonzero vector x). Common examples include covariance matrices, correlation matrices, Gram matrices (XᵀX for full-rank X), and stiffness matrices in structural engineering.

What if my matrix is not positive-definite?

If the matrix is not positive-definite, you will encounter a negative value under a square root during the decomposition, which is not a real number. The calculator will report an error indicating exactly which diagonal step failed. You may want to check your matrix for symmetry errors, or consider LDLᵀ decomposition for positive semi-definite matrices.

How is Cholesky decomposition used to solve linear systems?

To solve Ax = b, first decompose A = LLᵀ. Then solve Ly = b by forward substitution (since L is lower-triangular), and then solve Lᵀx = y by back substitution. This is about twice as fast as solving via LU decomposition because L and Lᵀ share the same data.

What is the relationship between Cholesky and the determinant?

Since A = LLᵀ, we have det(A) = det(L) × det(Lᵀ) = det(L)². And since L is triangular, det(L) is simply the product of its diagonal entries. This provides an efficient way to compute the determinant of a positive-definite matrix.

Can Cholesky decomposition be applied to complex matrices?

Yes, for complex matrices the condition is that A must be Hermitian positive-definite (A = A*, where A* is the conjugate transpose). The decomposition becomes A = LLᵀ where Lᵀ is replaced by L* (the conjugate transpose of L). This calculator handles real-valued matrices.

このコンテンツ、ページ、またはツールを引用する場合は、次のようにしてください:

"コレスキー分解電卓"(https://MiniWebtool.com/ja/コレスキー分解計算機/) MiniWebtool からの引用、https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-04-12

また、AI 数学ソルバー GPT を使って、自然言語による質問と回答で数学の問題を解決することもできます。

線形代数:

おすすめ:

InstagramユーザーID検索ランダムカラージェネレーターパーセント増加電卓パーセンテージ減少電卓弧長電卓MACアドレス検索war電卓不可視文字除去ツールパーセント誤差電卓円錐展開図テンプレートジェネレーター動画を結合ランダム誕生日ジェネレーターフィートとインチからセンチメートルへのコンバーター画像分割ツールエンジェルナンバー電卓英単語ランダム生成ツールYouTubeチャンネル統計合計電卓標準偏差電卓 - 高精度ASCIIコード表楕円円周電卓シグマ記法電卓 総和モジュロ電卓ランダムトーナメント表作成ツール動画を逆再生空の行を削除する中央値電卓ai句読点追加番号を並べ替える動画を回転手数料電卓熱膨張計算機血糖値コンバーターデシベル (dB) 電卓オンライン句読点削除ツールMP3ルーパー売上総利益率電卓ランダム日付ジェネレーター相対標準偏差電卓じゃんけんジェネレーターFPSコンバーターヒジュラ暦変換器ボウリングスコア計算機ランダム名前ジェネレーター素数ですか圧力電卓平方完成電卓私のIPアドレスは何ですか逆テキスト関数電卓マン・ホイットニーのU検定計算機小数時間から普通の時間へのコンバーターランダム時刻ジェネレーターCAGR電卓ビンゴカードジェネレーターHEXコンバーター土星回帰電卓筆算割り算電卓加速度電卓ボルト締付トルク計算機変化率電卓kva計算機ランダム絵文字ジェネレーター太陽位置計算機ランダム超能力ジェネレーター労働時間計算ツールビデオ速度を調整t検定電卓🖱️ クリックカウンターHEX電卓センチメートルからフィートとインチへのコンバーターコラージュメーカー分数電卓SRTからTXTへの変換ツール🔊 トーンジェネレーターオーディオ スプリッター摂氏から華氏への温度計算年の日電卓 - 今日は今年の何日目中間日計算機ピタゴラスの定理電卓比率電卓画像回転ツール水星逆行カレンダー階段電卓マスターナンバー電卓fena電卓角速度計算機💧 露点電卓ヴァンパイア黙示録電卓コラッツ予想電卓ポアソン分布電卓桁数電卓筆算足し算・引き算計算機対数電卓真実か挑戦かジェネレーターガウス分布ジェネレーター正多角形電卓配管流量電卓指数電卓-高精度配当利回り電卓相関係数計算機角度変換ツール割り切れるテスト電卓グレイコード・バイナリ変換電卓沸点計算ツール熱伝達計算機XMLバリデーターランニングペース電卓発音IPA変換ツールジニ係数電卓ワイヤーゲージ電卓ビデオをループ再生atan2電卓PSIからbarへの変換器クロスワードパズルメーカー行番号を追加学習曲線電卓AIテキストヒューマナイザーCRC32チェックサム電卓GIFメーカーランダムクレジットカードジェネレーターローマ数字のコンバーター通常の時間から小数の時間へのコンバーターパーセント成長率電卓水泳ペース計算機ゾンビサバイバル時間電卓ベーカーズパーセント電卓二乗平均平方根電卓分圧器計算電卓平方根電卓BUN対クレアチニン比電卓Gitコマンド生成ツール世界時計円錐台電卓動画から画像抽出ツール四分位範囲電卓魔方陣ジェネレーターヘロンの公式計算機斜辺電卓eの最初のn桁FacebookユーザーID検索log-base-2電卓点つなぎジェネレーター階乗電卓10進数から16進数へのコンバーターKDレシオ計算機SHA256 ハッシュジェネレーターパーセントからppmへのコンバーター慣性モーメント計算機SRT 時間シフト 電卓カイ二乗検定電卓グロスアップ計算機中間点電卓パスワード強度テスター分散電卓 高精度周波数波長変換ツール平均電卓-高精度車両重量配分計算機CPM 電卓HexからBCDへのコンバーターVTTからtxtへのコンバーターバーコードジェネレーター変動係数電卓自転車サイズ電卓CRC64チェックサム電卓psiからkPaへのコンバーターYouTubeショート収益化計算ツールYouTubeタグ抽出ツールジョルダン標準形電卓パレットジェネレーターホームランの打席電卓メルセンヌ素数チェッカー動画圧縮日割り家賃計算科学表記法電卓赤ちゃん成長パーセンタイル計算機AIトークンカウンターTikTok収益計算ツールフィッシャーの正確確率検定電卓⚔️ DPS電卓バイナリ電卓外れ値電卓猫カロリー電卓迷路ジェネレーター速度電卓週番号計算機重複行削除ツールANC電卓IPアドレスから16進数への変換LED抵抗器電卓アナグラム生成器サッカーxg期待ゴール電卓ペニー落下衝撃電卓太陽・月・上昇星座電卓 🌞🌙✨hba1c電卓スリザーリンクパズルジェネレーターダイスロール確率電卓ボロノイ図ジェネレーターランダム整数ジェネレーター中国剰余定理電卓mgからmlへの変換器MPHからKMHへの変換器ノットからマイル毎時変換器立方メートルから立方フィート立方フィートから立方ヤード変換器平方フィートから平方メートル換算平方メートルから平方フィート変換器オンスからmlへの変換器mlからオンスへの変換器ガロンからリットル変換器リットルからガロン変換器キログラムからストーンへの変換器ストーンからキログラム変換器インチからミリメートルへの変換器ミリメートルからインチへの変換器マイルからキロメートル変換器キロメートルからマイル変換器華氏から摂氏への変換器摂氏から華氏への変換器バックパックサイズ電卓サーフボード容量電卓テニスグリップサイズ電卓ヘルメットサイズ電卓手袋サイズ電卓帽子サイズ変換スノーボードサイズ電卓スキーサイズ電卓スピードランスプリットタイマーステーブルフォード計算機ダーツチェックアウト電卓ボウリング・エコノミーレート電卓打撃ストライクレート電卓ネットランレート計算機Eloレーティング計算機心拍数回復電卓ハイキング時間計算機ローイングペース計算機ランニング年齢グレード計算機FTP・パワーゾーン計算機Beepテスト電卓ACFTスコア電卓Wilks & DOTS 電卓ホイールオフセット電卓タイヤ負荷指数・速度レーティング検索マイルあたりコスト電卓リース買取電卓オクタン価ブレンド電卓2ストロークオイル混合電卓エンジン排気量計算ソファ搬入電卓薪コード計算機空気清浄機CADR電卓除湿機サイズ計算シーリングファンサイズ電卓カーテンサイズ計算機ラグサイズ電卓額縁の掛け高さ計算機テレビ取り付け高さ計算機テレビサイズ電卓池の容量・ライナー電卓プール塩量計算機プール容量計算給湯器サイズ電卓エポキシ樹脂計算機手すり子間隔電卓巾木とトリムの電卓サイディング計算機デッキ用ステインの計算芝生の種計算機芝生電卓アスファルト電卓立方ヤード電卓アンテナ長計算機電線管充填率電卓直列並列コンデンサ電卓誘導リアクタンス計算機部屋の照明計算機ルクスからルーメン電卓ルーメンからワット変換器発電機サイズ計算機mAh Wh 変換器 電卓三相電力計算機アンペアからワット電卓ワットからアンペア電卓直列抵抗計算機摩擦計算機斜面計算機機械的倍率計算機音速計算機波の速度計算機浮力電卓終端速度計算機ド・ブロイ波長計算機光子エネルギー計算機emc2電卓時間の遅れ計算機ケプラーの第三法則計算機脱出速度計算機万有引力計算機ベール・ランベルトの法則電卓ネルンストの式計算機浸透圧計算機沸点上昇電卓凝固点降下計算パーセント組成計算機規定度計算機質量モル濃度計算機pKa→Ka変換器ヘンダーソン・ハッセルバルヒ電卓理論収量計算機制限反応物計算機電子配置計算機インタラクティブ周期表AI授業計画ジェネレーターAIクイズ作成ツール引用ジェネレーター (APA/MLA/Chicago)出席率計算APスコア計算機ACTスコア計算機SATスコア電卓パーセンテージからCGPA変換器CGPAからパーセンテージへの変換器簡単採点ツール EZ Grader子育て費用計算機赤ちゃんのミルク量計算おむつサイズ電卓赤ちゃんの名前ジェネレーター赤ちゃんの目の色予測子供のBMIパーセンタイル計算機子供の身長予測ツールhcg倍加時間計算ツール体外受精出産予定日電卓着床計算ツール中国式性別予測カレンダーISO 8601 日付フォーマッターユリウス日変換器昼寝電卓月相電卓日の出&日の入り電卓日付ローマ数字変換電卓退職カウントダウンソブリエティ計算機ハーフバースデー計算機記念日計算機チップ分配計算機メールマーケティングROI電卓リード獲得単価計算機運転資本計算機youtube収益見積もりツールランダムRPGキャラクタージェネレーター