簡化您的工作流程:搜尋 miniwebtool。
添加插件
主頁 > 數學 > 線性代數 > 喬列斯基分解計算機
 

喬列斯基分解計算機

將對稱正定矩陣分解為 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/zh-tw/喬列斯基分解計算機/,來自 MiniWebtool,https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-04-12

您還可以嘗試我們的 AI數學解題器 GPT,通過自然語言問答解決您的數學問題。

其他相關工具:

線性代數:

常用工具:

分數計算機標準偏差計算機 - 高精度毛利率計算機圖片分割器斜邊計算機磅轉公斤轉換器比例計算機相對標準偏差計算機最簡分數計算機真心話大冒險產生器羅馬數字轉換器隨機撲克牌產生器kpa到psi轉換器圓計算機kg到lbs轉換器百分比增長率計算機AI內容檢測器百分比增加計算機MAC地址查找質數分解計算機百分比折扣計算機分數到小數計算機🎮 遊戲靈敏度轉換器百分比誤差計算機太陽、月亮與上升星座計算機 🌞🌙✨HEX計算機年齡計算機分數百分比轉換器百分比減少計算機隨機名稱生成器百分比變化計算機商和餘數計算機定期存款計算機ANC計算機校正鈣計算機百分比計算機迷宮產生器複利計算機年份天數計算機 - 今天是今年的第幾天樂透號碼生成器加價計算機OPS計算機反向文字隨機選擇器SRT時間偏移小數到分數計算機影片轉圖片擷取器線性迴歸計算機對數計算機坡度與傾斜度計算機查找並替換文字調整影片速度簡單利息計算機CAGR計算機隨機信用卡生成器二次公式計算機psi到kpa轉換器跑步配速計算機因子計算機組合計算機Bar to PSI 轉換器合併影片兩點間距離計算機名人名言搜尋 (英文)凱薩密碼工具小字體生成器 ⁽ᶜᵒᵖʸ ⁿ ᵖᵃˢᵗᵉ⁾我的幸運數字是什麼多分數計算機隨機錦標賽對陣生成器隨機餐點產生器PSI 轉 Bar 轉換器隨機顏色生成器畢達哥拉斯定理計算機最小公倍數計算機比率與百分比計算機厘米到英尺和英寸轉換器平均值計算機文字重複工具橢圓 周長計算機SRT轉換為TXT工具克到磅轉換器音訊分割器質數檢查器汽車貸款計算機階乘計算機隨機生日生成器複數計算機Instagram用戶ID查詢樣本標準差計算機行數統計工具圖片打碼工具燃油費用計算機cpm計算機⏱️ 小時計算機填字遊戲製作器積分計算機棒球打擊率計算機📅 日期計算機賓果卡生成器年金現值計算機熱損失計算機發電成本計算機用水量計算機家電用電成本計算機家庭能源稽核計算機太陽能投資報酬率計算機太陽能板計算機堆肥cn比計算機草坪肥料計算機霜凍日期計算機高床種植箱土壤計算機NPK肥料計算機種子發芽率計算機視訊位元率計算機音樂調性轉換器音樂BPM節拍點擊器照片檔案大小估計計算機百萬畫素到列印尺寸計算機裁切係數計算機曝光三角計算機車輛拖曳能力計算機汽車租賃計算機0–60與四分之一英里計算機電動車充電時間計算機電動汽車續航計算機汽車油耗計算器服裝尺碼轉換器紙張尺寸參考表戒指尺寸轉換器天文單位轉換器燃油效率轉換機 MPG L/100km km/L資料傳輸速率轉換器扭力轉換器 (Nm, ft-lb, kgf-cm)刪除線文字產生器空白字元視覺化工具閱讀時間計算機演講時間計算機段落計數器句子計數器音節計數器文字轉二進位/十六進位/ASCII轉換器Lorem Picsum 佔位圖片產生器.env 檔案生成器Git 指令生成器顏色代碼轉換器全格式Bcrypt 雜湊產生器和驗證器JWT產生器CSS Grid 生成器數值積分計算機Z變換計算機快速傅立葉變換FFT計算機張量積計算機矩陣指數計算機約當標準形計算機環與體計算機群論階數計算機常微分方程組求解器伯努利微分方程式求解器歐拉方法計算機方向場斜率場繪圖器二階常微分方程求解器一階常微分方程求解器穩定婚姻問題求解器網路最大流計算機平面圖檢查器漢密爾頓路徑檢查器旅行推銷員問題求解器 (TSP)線性規劃求解器容斥原理計算機遞迴關係求解器鄰接矩陣計算機拓撲排序計算機圖著色計算機邏輯閘模擬器卡諾圖 (K-Map) 求解器布林代數化簡器分拆函數計算機數字根計算機費波那契數檢查器埃及分數計算機莫比烏斯函數計算機哥德巴赫猜想驗證器梅森質數檢查器孿生質數查找器親和數檢查器完全數檢查器模冪運算計算機重複排列計算機效果量計算機相對風險計算機勝算比計算機列聯表計算機費雪精確檢定計算機斯皮爾曼等級相關係數計算機貝塔分布計算機韋布爾分佈計算機指數分佈計算機幾何分佈計算機負二項分布計算機超幾何分布計算機F-Test/F分布計算機貝氏定理計算機特徵多項式計算機矩陣冪計算機喬列斯基分解計算機QR分解計算機矩陣對角化計算機Cramer's Rule Calculator行空間計算機零空間計算機向量夾角計算機單位向量計算機向量大小計算機向量外積計算機向量點積計算機矩陣乘法計算機逆矩陣計算機RREF計算機列最簡階梯形牛頓迭代法計算機雅可比矩陣計算機曲面積分計算機線積分計算機旋度計算機散度計算機梯度計算機多變量優化計算機微積分相關變化率求解器瞬時變化率計算機平均變化率計算機無限級數求和計算機級數收斂判定計算機冪級數計算機麥克勞林級數計算機洛必達法則計算機廣義積分計算機辛普森法則計算機梯形法則計算機黎曼和計算機參數曲線繪圖器旋轉體表面積計算機旋轉體體積計算機座標幾何距離計算機海倫公式計算機圓的切線計算機角平分線計算機內切圓計算機三角形外接圓計算機大圓距離計算機3D距離計算機環面計算機圓台計算機不規則多邊形面積計算機正多邊形計算機圓錐曲線識別器雙曲線計算機拋物線計算機二項式定理展開計算機帕斯卡三角形產生器乘積符號計算機 (Pi 記號)西格瑪求和計算機有理根定理計算機笛卡爾符號法則計算機平行線和垂直線計算機直線方程式計算機標準形式轉斜截式轉換器點斜式計算機非線性方程組求解器有理方程式求解器字母方程式求解器三角方程式求解器指數方程式求解器對數方程式求解器四次方程式計算機三次方程求解器估算計算機數字轉分數轉換器跳數產生器單位費率計算機上取整和下取整計算機絕對值計算機數列模式查找器位值圖產生器運算順序計算機PEMDAS直式加減法計算機長乘法計算機乘法表產生器🎮 遊戲貨幣換算器🎲 掉落機率計算機🎰 抽卡保底計算機⚔️ DPS計算機❄️ 雪天計算機🚚 搬家費用估算器🔍 抄襲檢測器📷 OCR / 圖片文字辨識📈 折線圖製作工具🥧 圓餅圖製作工具📊 長條圖製作工具🔊 音調產生器🖱️ 點擊計數器線上記事本⬛ 寬高比計算機🌍 碳足跡計算機👙 胸罩尺碼計算機輪胎尺寸計算機💧 露點計算機🌡️ 體感溫度計算機🌬️ 風寒指數計算機⏰ 線上鬧鐘⏰ 打卡計算機📅 日期差計算機🕐 軍事時間轉換器⏱️ 線上碼錶⏱️ 倒數計時器🌐 時區轉換器地毯計算機擋土牆計算機HVAC容量計算機隔熱材料計算機鋪路石計算機鋼筋計算機木材計算機平方英尺計算機交叉相乘計算機五數概括計算機百分位數計算機正態分布計算機p值計算機比率計算機配方法計算機四捨五入計算機長除法計算機科學計算機番茄鐘學習計時器有效數字計算機考試成績計算機加權成績計算機期末成績計算機成績計算機諧振頻率計算機阻抗計算機分貝 (dB) 計算機功率因數計算機RC時間常數計算機變壓器計算機線規計算機555定時器計算機電容器計算機並聯電阻計算機分壓器計算機LED電阻計算機莫耳/克/粒子轉換器滴定計算機沸點計算機經驗式計算機百分產率計算機化學計量計算機化學方程式平衡器稀釋計算機馬力計算機扭矩計算機自由落體計算機理想氣體狀態方程計算機壓力計算機密度計算機功和功率計算機位能計算機動能計算機拋體運動計算機動量計算機速度計算機加速度計算機力計算機網紅行銷ROI計算機ROAS計算機CTR計算機社交媒體用戶名檢查器社群媒體發文時間優化工具社群媒體ROI計算機Facebook廣告費用計算機YouTube Shorts 收益計算機Twitch收益計算機YouTube觀看時間計算機Twitter/X 時間戳轉換器YouTube頻道統計TikTok收益計算機社群媒體圖片尺寸指南Instagram字體生成器Twitter/X 字元計數機YouTube留言抽選器YouTube標籤提取器YouTube縮圖下載器YouTube收益估算器隨機RPG角色生成器