作業フローを簡素化:miniwebtoolを検索。
追加
関連ツール
ヤコビ行列電卓行列LU分解電卓部分分数分解電卓QR分解電卓特異値分解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アドレス検索不可視文字除去ツール画像分割ツール円錐展開図テンプレートジェネレーターパーセント誤差電卓ランダム超能力ジェネレーター標準偏差電卓 - 高精度英単語ランダム生成ツールフィートとインチからセンチメートルへのコンバーターエンジェルナンバー電卓合計電卓HEX電卓シグマ記法電卓 総和水星逆行カレンダーランダム誕生日ジェネレーター動画を結合クロスワードパズルメーカーYouTubeチャンネル統計ASCIIコード表平方完成電卓CAGR電卓動画を逆再生モジュロ電卓売上総利益率電卓ai句読点追加筆算割り算電卓番号を並べ替える相関係数計算機オンライン句読点削除ツール対数電卓マスターナンバー電卓マン・ホイットニーのU検定計算機土星回帰電卓t検定電卓動画を回転手数料電卓楕円円周電卓私のIPアドレスは何ですかビンゴカードジェネレーターランダムトーナメント表作成ツールwar電卓関数電卓MP3ルーパー中央値電卓圧力電卓相対標準偏差電卓FPSコンバーターBUN対クレアチニン比電卓逆テキストボウリングスコア計算機💧 露点電卓血糖値コンバーターランダム絵文字ジェネレーター変化率電卓デシベル (dB) 電卓HEXコンバーター熱膨張計算機外れ値電卓ビデオ速度を調整迷路ジェネレーター画像回転ツール空の行を削除する労働時間計算ツールオーディオ スプリッターlog-base-2電卓分数電卓ランダム名前ジェネレーターサッカーxg期待ゴール電卓ランダム日付ジェネレーター小数時間から普通の時間へのコンバーターボルト締付トルク計算機中間日計算機加速度電卓動画から画像抽出ツール角速度計算機AIテキストヒューマナイザーfena電卓太陽位置計算機筆算足し算・引き算計算機センチメートルからフィートとインチへのコンバーターバイナリ電卓年の日電卓 - 今日は今年の何日目🖱️ クリックカウンターコラージュメーカーランダム時刻ジェネレーター変動係数電卓指数電卓-高精度GIFメーカーXMLバリデーター三角関数グラフ作成ツールSRT 時間シフト 電卓角度変換ツールピタゴラスの定理電卓桁数電卓ランニングペース電卓上下反転テキストジェネレーター四次方程式計算機正多角形電卓車両重量配分計算機階段電卓太陽・月・上昇星座電卓 🌞🌙✨平方根電卓FacebookユーザーID検索🔊 トーンジェネレータービデオをループ再生停止距離計算機文字数による改行CRC32チェックサム電卓⚔️ DPS電卓積分電卓赤ちゃんのミルク量計算配管流量電卓10進数からBCDへのコンバーターFIP電卓分散電卓 高精度カイ二乗検定電卓パレットジェネレーターVTTからtxtへのコンバーター愛の相性電卓FNV-1a ハッシュジェネレーターSRT結合パスワード強度テスターワイヤーゲージ電卓周波数波長変換ツールHTMLからテキストコンバータkva計算機Twitter/X タイムスタンプ変換器ランダムポーカーハンドジェネレーターTikTok収益計算ツール🌡️ 暑さ指数電卓比率電卓比較分数電卓沸点計算ツールSRTからTXTへの変換ツールタンジェント電卓小文字生成器 ⁽ᶜᵒᵖʸ ⁿ ᵖᵃˢᵗᵉ⁾最小公倍数電卓IPアドレスから16進数への変換ジョルダン標準形電卓ヒジュラ暦変換器並列抵抗電卓四分位範囲電卓平均寿命電卓日割り家賃計算求人検索F検定・F分布電卓YouTubeショート収益化計算ツールエラー関数電卓ジニ係数電卓Twitch収益計算ツールパーセント成長率電卓標準誤差電卓水泳ペース計算機積の記号電卓 (Π パイ記法)コラッツ予想電卓スリザーリンクパズルジェネレーター取り消し線テキスト生成ツール営業利益率電卓歩数距離変換電卓熱伝達計算機画像に線を追加魔方陣ジェネレーター3d距離電卓ビデオ反転ランダム映画ピッカーローマ数字のコンバーターpsiからkPaへのコンバーターソーシャルメディアユーザー名チェッカー宝くじ番号ジェネレーター論理ゲートシミュレーターZalgoテキストジェネレーターベーカーズパーセント電卓ホームランの打席電卓ランダムクレジットカードジェネレーター滑車システム計算機猫カロリー電卓mp3リバーサーそろばんシミュレーターカラー反転ツールピザ生地計算機服のサイズ変換水分補給計算機確率分布電卓音速計算機カロリー赤字電卓パーセントからppmへのコンバーターフィッシャーの正確確率検定電卓二重積分電卓平方数リスト表面積電卓重複行削除ツール音節カウンター円周率の最初のn桁用紙サイズ一覧二項係数電卓アスファルト電卓立方ヤード電卓アンテナ長計算機電線管充填率電卓直列並列コンデンサ電卓誘導リアクタンス計算機部屋の照明計算機ルクスからルーメン電卓ルーメンからワット変換器発電機サイズ計算機mAh Wh 変換器 電卓三相電力計算機アンペアからワット電卓ワットからアンペア電卓直列抵抗計算機摩擦計算機斜面計算機機械的倍率計算機波の速度計算機浮力電卓終端速度計算機ド・ブロイ波長計算機光子エネルギー計算機emc2電卓時間の遅れ計算機ケプラーの第三法則計算機脱出速度計算機万有引力計算機ベール・ランベルトの法則電卓ネルンストの式計算機浸透圧計算機沸点上昇電卓凝固点降下計算パーセント組成計算機規定度計算機質量モル濃度計算機pKa→Ka変換器ヘンダーソン・ハッセルバルヒ電卓理論収量計算機制限反応物計算機電子配置計算機インタラクティブ周期表AI授業計画ジェネレーターAIクイズ作成ツール引用ジェネレーター (APA/MLA/Chicago)出席率計算APスコア計算機ACTスコア計算機SATスコア電卓パーセンテージからCGPA変換器CGPAからパーセンテージへの変換器簡単採点ツール EZ Grader子育て費用計算機おむつサイズ電卓赤ちゃんの名前ジェネレーター赤ちゃんの目の色予測子供のBMIパーセンタイル計算機子供の身長予測ツールhcg倍加時間計算ツール体外受精出産予定日電卓着床計算ツール中国式性別予測カレンダーISO 8601 日付フォーマッターユリウス日変換器昼寝電卓月相電卓日の出&日の入り電卓世界時計日付ローマ数字変換電卓退職カウントダウンソブリエティ計算機ハーフバースデー計算機記念日計算機週番号計算機チップ分配計算機メールマーケティングROI電卓リード獲得単価計算機運転資本計算機限界利益計算機FIFO / LIFO 電卓安全在庫計算機発注点計算機経済的発注量EOQ電卓減価償却計算機ハンドメイド価格電卓卸売価格計算機Shopify利益計算機Amazon FBA 電卓eBay手数料計算機Etsy手数料計算機Stripe手数料計算機PayPal手数料計算機ベッティングオッズ変換器什一献金計算機ザカート計算機英国印紙税計算機HRA非課税計算ツールグラチュイティ計算機NPS計算機EPF電卓PPF計算機RD電卓SWP電卓グロスアップ計算機ローン比較電卓クレジット利用率計算ツールCDラダー電卓T-Bill米国短期国債電卓I Bond 電卓529大学積立計算機HSA電卓退職金計算機昇給計算機請求書作成ツール出張日当計算機走行距離手当計算機家賃値上げ計算機家賃適正額計算機乗り出し価格計算ツール車購入可能額計算機バイクローン計算機キャンピングカーローン計算ボートローン電卓土地ローン計算機建設ローン計算機金利のみ住宅ローン計算機バルーンローン計算機住宅ローンポイント計算機PMI電卓隔週住宅ローン返済額計算機ARM住宅ローン電卓VAローン計算機給与手取り計算機AI SQLクエリジェネレーターAI正規表現ジェネレーターAIデータ可視化ツールCSV貼り付けAIテキストトーン分析ツールAI履歴書アナライザーAI単位変換ツール自然言語AI謝罪文ジェネレーターAI 丁寧なお断り文ジェネレーターAI旅行日程ジェネレーターAI読書リストジェネレーターAIワークアウトプランジェネレーターAI献立ジェネレーターAIギフトアイデアジェネレーターAIレシピジェネレーター食材から奨学金ROI電卓大学費用計算機言語学習 流暢になるまでの学習時間電卓単語クイズ作成ツールコーネルノート作成ツール学習曲線電卓フラッシュカード間隔反復スケジューラーペイント色混合計算機タイル目地計算機シックスシグマ工程能力計算機youtubeサムネイルダウンローダーyoutube収益見積もりツールランダムRPGキャラクタージェネレーター