簡化您的工作流程:搜尋 miniwebtool。
添加插件
相關工具
行列式計算機格拉姆-施密特計算機雅可比矩陣計算機矩陣指數計算機線性方程組求解器
主頁 > 數學 > 線性代數 > Cramer's Rule Calculator
 

Cramer's Rule Calculator

Solve systems of 2 or 3 linear equations using Cramer's rule. Enter coefficients, get step-by-step determinant calculations with animated matrix visualization, geometric interpretation graph, and the complete solution.

Cramer's Rule Calculator
Examples:
xy
[
a₁₁
a₁₂
a₂₁
a₂₂
] = [
b₁
b₂
]

Embed Cramer's Rule Calculator Widget

Cramer's Rule Calculator

The Cramer's Rule Calculator solves systems of 2 or 3 linear equations using determinants. Enter the coefficient matrix and constants vector, and get the complete solution with step-by-step determinant calculations, animated matrix visualization showing column replacement, and a geometric interpretation graph for 2×2 systems. Cramer's rule is a fundamental technique in linear algebra that expresses each variable as a ratio of two determinants.

What Is Cramer's Rule?

Cramer's rule is a theorem in linear algebra that provides an explicit formula for solving a system of linear equations with as many equations as unknowns, provided the system has a unique solution. Named after Swiss mathematician Gabriel Cramer (1704–1752), the rule uses determinants to express each variable as a ratio:

$$x_i = \frac{D_i}{D}$$

where \(D\) is the determinant of the coefficient matrix and \(D_i\) is the determinant formed by replacing the \(i\)-th column of the coefficient matrix with the constants vector.

Key Concepts

📐
Determinant
A scalar value computed from a square matrix that indicates whether the system has a unique solution.
🔄
Column Replacement
Replace one column of the coefficient matrix with the constants vector to form each D_i.
📊
Unique Solution
Exists when D ≠ 0. Each variable equals D_i / D.
Singular Case
When D = 0, the system has either no solution or infinitely many.

Cramer's Rule Formulas

For a 2×2 System

Given the system:

$$a_1x + b_1y = c_1$$ $$a_2x + b_2y = c_2$$

DeterminantFormulaDescription
\(D\)\(\begin{vmatrix} a_1 & b_1 \\ a_2 & b_2 \end{vmatrix} = a_1 b_2 - b_1 a_2\)Coefficient matrix determinant
\(D_x\)\(\begin{vmatrix} c_1 & b_1 \\ c_2 & b_2 \end{vmatrix} = c_1 b_2 - b_1 c_2\)Replace x-column with constants
\(D_y\)\(\begin{vmatrix} a_1 & c_1 \\ a_2 & c_2 \end{vmatrix} = a_1 c_2 - c_1 a_2\)Replace y-column with constants

Solution: \(x = D_x / D\), \(y = D_y / D\)

For a 3×3 System

The determinant of a 3×3 matrix is computed using cofactor expansion along the first row. Each \(D_i\) is formed by replacing the corresponding column with the constants vector, and the solution is \(x_i = D_i / D\).

When Does Cramer's Rule Work?

ConditionD ValueResult
Unique solutionD ≠ 0Each variable = D_i / D
No solution (inconsistent)D = 0, some D_i ≠ 0Lines/planes are parallel
Infinitely many solutionsD = 0, all D_i = 0Equations are dependent

Cramer's Rule vs. Other Methods

MethodBest ForLimitation
Cramer's RuleSmall systems (2×2, 3×3), exact symbolic solutionsSlow for large systems (n! complexity)
Gaussian EliminationGeneral systems, large matricesNo closed-form formula
Matrix InverseMultiple right-hand sidesRequires D ≠ 0, expensive to compute
LU DecompositionRepeated solving, numerical stabilityMore complex to implement

How to Use the Cramer's Rule Calculator

  1. Choose the system size: Select 2×2 or 3×3 depending on how many equations and unknowns you have.
  2. Enter coefficients: Fill in the coefficient matrix on the left. Each row corresponds to one equation, and each column to a variable (x, y, z).
  3. Enter constants: Fill in the constants vector on the right (the right-hand side of each equation).
  4. Click Solve: The calculator computes all determinants (D, D_x, D_y, and optionally D_z), determines the solution type, and shows the step-by-step process with animated matrix visualization.

Real-World Applications

FieldApplicationExample
EngineeringCircuit analysis (Kirchhoff's laws)Finding currents in a resistor network
EconomicsMarket equilibriumSupply and demand intersection
PhysicsForce balanceFinding reaction forces in statics
ChemistryBalancing equationsStoichiometric coefficients
Computer GraphicsCoordinate transformationsLine/plane intersection points

FAQ

What is Cramer's rule?
Cramer's rule is a method for solving a system of linear equations using determinants. For each variable, you replace its column in the coefficient matrix with the constants vector and divide the resulting determinant by the main determinant. It works when the coefficient matrix has a nonzero determinant.
When does Cramer's rule fail?
Cramer's rule fails when the determinant of the coefficient matrix is zero. This means the system either has no solution (inconsistent — the equations describe parallel lines or planes) or infinitely many solutions (dependent — the equations are redundant). In such cases, other methods like Gaussian elimination are needed.
What is the formula for Cramer's rule in a 2×2 system?
For the system a1*x + b1*y = c1, a2*x + b2*y = c2: x = Dx/D and y = Dy/D, where D = a1*b2 - b1*a2 is the determinant of the coefficient matrix, Dx replaces the x-column with the constants, and Dy replaces the y-column with the constants.
Can Cramer's rule solve systems larger than 3×3?
Cramer's rule can theoretically solve any n×n system, but it becomes computationally expensive for large systems because it requires computing n+1 determinants, each of size n×n. For systems larger than 3×3, methods like Gaussian elimination or LU decomposition are far more efficient in practice.
What does a zero determinant mean geometrically?
For a 2×2 system, a zero determinant means the two lines are parallel (no solution) or coincident (infinitely many solutions). For a 3×3 system, it means the three planes do not intersect at a single point — they may be parallel, intersect along a line, or all coincide in a plane.

引用此內容、頁面或工具為:

"Cramer's Rule Calculator" 於 https://MiniWebtool.com/zh-tw/克萊姆法則計算機/,來自 MiniWebtool,https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-04-12

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

線性代數:

常用工具:

分數計算機隨機撲克牌產生器真心話大冒險產生器模計算機百分比增加計算機羅馬數字轉換器斜邊計算機HEX計算機相對標準偏差計算機隨機信用卡生成器🎮 遊戲靈敏度轉換器最簡分數計算機比例計算機kpa到psi轉換器圓計算機百分比減少計算機磅轉公斤轉換器百分比增長率計算機MAC地址查找kg到lbs轉換器百分比折扣計算機毛利率計算機校正鈣計算機質數分解計算機Instagram用戶ID查詢百分比變化計算機圖片分割器商和餘數計算機隨機字母生成器反向文字太陽、月亮與上升星座計算機 🌞🌙✨年齡計算機樣本標準差計算機ANC計算機隨機餐點產生器查找並替換文字🌡️ 體感溫度計算機最小公倍數計算機百分比誤差計算機兩點間距離計算機影片轉圖片擷取器調整影片速度Bar to PSI 轉換器年份天數計算機 - 今天是今年的第幾天分數百分比轉換器坡度與傾斜度計算機AI內容檢測器畢達哥拉斯定理計算機加價計算機迷宮產生器隨機名稱生成器因子計算機音訊分割器賓果卡生成器標準偏差計算機 - 高精度凱薩密碼工具樂透號碼生成器分數到小數計算機對數計算機棒球打擊率計算機複利計算機SRT時間偏移克到磅轉換器二次公式計算機心算訓練器CAGR計算機血壓解讀器psi到kpa轉換器影片壓縮器小字體生成器 ⁽ᶜᵒᵖʸ ⁿ ᵖᵃˢᵗᵉ⁾平均值計算機隨機數學題產生器合併影片定期存款計算機FPS 轉換器簡單利息計算機土星回歸計算機📅 日期計算機小數到分數計算機⏱️ 小時計算機SRT轉換為TXT工具YouTube頻道統計Facebook用戶ID查詢橢圓 周長計算機文字重複工具隨機選擇器隨機顏色生成器百分比到ppm轉換器速度計算機考拉茲猜想計算機工作搜尋器cpm計算機直角三角形計算機填字遊戲製作器壓力轉換器數獨產生器與求解器組合計算機行數統計工具磅到克轉換器出生星期計算機條碼產生器線性迴歸計算機文件大小轉換器ERA計算機最大公因子計算機質數檢查器百分比計算機隨機英文單字產生器星期幾計算機MAC地址產生器剪刀石頭布產生器可整除測試計算機圖片打碼工具汽車貸款計算機隨機物品生成器獲取字符串長度比率與百分比計算機上壘率計算機純利潤計算機線規計算機刪除線文字產生器我的幸運數字是什麼移除標點符號線上工具隨機日期生成器黃金比例計算機GUID / UUID 生成器積分計算機💧 露點計算機HEX轉換器弧長計算機公因子計算機排序數字跑步配速計算機步數距離計算機演講時間計算機總和計算機保齡球計分計算機影片分割器音節計數器總體標準差計算機-高精度隨機字符串生成器隨機錦標賽對陣生成器鋼筋計算機多分數計算機密度計算機投球命中率計算機為影片新增浮水印PSI 轉 Bar 轉換器YouTube收益估算器比率計算機AI標點符號添加器相關係數計算器騎行速度計算機OPS計算機慣性矩計算機體積轉換器GIF 轉 MP4 轉換器扭力轉換器 (Nm, ft-lb, kgf-cm)游泳配速計算機立方根計算機複數計算機XML驗證器速度轉換器刪除換行符圓台計算機隱形文本生成器斜率計算機AI Token 計算機科學記數法計算機隨機貓狗名字產生器SRT合併工具汽車折舊計算機愛情兼容性計算機鋼材重量計算機預產期計算機Zalgo文本生成器十進製到科學記數法轉換器樓梯計算機階乘計算機隨機生日生成器預期壽命計算機不規則多邊形面積計算機橢圓面積計算機燃油費用計算機分數簡化旋轉影片隨機時間生成器克到盎司轉換器圓錐展開圖模板產生器棒球長打率計算機MP3循環播放器WHtR計算機債券收益率到期日計算機正方形計算機質數列表Base64解碼器凱利公式計算機年金現值計算機⏱️ 倒數計時器功率轉換器感抗計算機房間照明計算機勒克斯轉流明計算機流明轉瓦特轉換器發電機功率計算機mah到wh轉換器三相功率計算機kVA計算機安培轉瓦特計算機瓦特轉安培計算機串聯電阻計算機摩擦力計算機斜面計算機機械利益計算機聲速計算機波速計算機浮力計算機終端速度計算機德布羅意波長計算機光子能量計算機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 系列儲蓄債券計算機529大學儲蓄計算機HSA計算機遣散費計算機加薪計算機發票產生器出差津貼計算機里程報銷計算機房租漲幅計算機按比例租金計算機房租負擔能力計算機汽車落地價計算機購車預算計算器機車貸款計算機房車貸款計算機船舶貸款計算機土地貸款計算機建築貸款計算機只付利息抵押貸款計算機氣球貸款計算機房貸點數計算機PMI計算機雙週房貸還款計算機ARM浮動利率房貸計算機VA貸款計算機實領薪資計算機AI SQL 查詢產生器AI正規表達式產生器AI 資料視覺化工具(貼上 CSV)AI文字語氣分析器AI履歷分析器AI單位轉換器自然語言AI道歉信產生器AI禮貌藉口產生器AI 旅行行程產生器AI閱讀清單產生器AI健身計劃產生器AI膳食計畫生成器AI禮物點子產生器AI食譜產生器依現有食材獎學金投資報酬率計算機大學費用計算機語言學習流利度小時數計算機詞彙測驗產生器康乃爾筆記產生器學習曲線計算機閃卡間隔重複排程器顏料調色計算機磁磚填縫劑計算機六標準差製程能力計算機YouTube縮圖下載器隨機RPG角色生成器