简化您的工作流程:搜索 miniwebtool。
添加插件
相关工具
行列式计算器格拉姆-施密特计算器雅可比矩阵计算器矩阵指数计算器线性方程组求解器
主页 > 数学 > 线性代数 > 克莱姆法则计算器
 

克莱姆法则计算器

使用克莱姆法则解2元或3元线性方程组。输入系数即可获得包含动画矩阵可视化、几何解释图形以及完整解题过程的行列式分步计算结果。

克莱姆法则计算器
Examples:
xy
[
a₁₁
a₁₂
a₂₁
a₂₂
] = [
b₁
b₂
]

Embed 克莱姆法则计算器 Widget

克莱姆法则计算器

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.

引用此内容、页面或工具为:

"克莱姆法则计算器" 于 https://MiniWebtool.com/zh-cn/克莱姆法则计算器/,来自 MiniWebtool,https://MiniWebtool.com/

by miniwebtool team. Updated: 2026-04-12

您还可以尝试我们的 AI数学解题器 GPT,通过自然语言问答解决您的数学问题。

线性代数:

常用工具:

MAC地址查找随机信用卡生成器彩票号码生成器凯利公式计算器网址提取器🌡️ 体感温度计算器相对标准偏差计算器太阳、月亮与上升星座计算器 🌞🌙✨按字符数换行音频提取器职位查找器英尺英寸转换为厘米SRT转为TXT工具CAGR计算器删除换行符cpm计算器比例计算器血糖转换器厘米到英尺和英寸转换器移除标点符号在线工具太阳位置计算器MAC地址生成器百分比折扣计算器定期存款计算器VAT计算器图片打码工具音频分割器随机扑克牌生成器样本量计算器对数计算器毛利率计算器斜边计算器FPS 转换器调整视频速度HEX计算器kg到lbs转换器磅转千克转换器🎮 游戏灵敏度转换器卡方检验计算器合并视频随机字符串生成器根式化简器考拉兹猜想计算器密码强度测试器百分比变化计算器Log Base 10 计算器位数计算器英寸到厘米转换器年度天数计算器 - 今天是今年的第几天📅 日期计算器为图片添加文字随机化数字质数检查器t检验计算器srt时间偏移泰勒级数计算器罗马数字转换器Facebook用户ID查询One Rep Max (1RM) 计算器PSI 转 Bar 转换器误差函数计算器随机IMEI生成器随机整数生成器SHA256 哈希生成器分数计算器随机选择器图片压缩器黄金时刻和蓝调时刻计算器花样字体生成器卧推计算器随机虚假地址生成器随机超能力生成器幻方生成器kpa到psi转换器农历转换器标准偏差计算器 - 高精度视频转图片提取器MAC 地址分析工具两点间距离计算器图片Base64转换器MD5哈希生成器八进制计算器利润计算器年龄计算器相关系数计算器石头剪刀布生成器发音音标转换器圆形面积计算器椭圆周长计算器沸点计算器二项式系数计算器度分秒到十进制转换器🖱️ 点击计数器积分计算器死链检查器迷宫生成器连续数之和计算器⏱️ 倒计时器十进制到十六进制转换器圆计算器数字提取器数织生成器-picross百分比到ppm转换器磅到克转换器配色方案生成器指数计算器-高精度十六进制到十进制转换器平方根计算器随机和弦生成器龙格-库塔RK4方法计算器YouTube缩略图下载器伽玛功能计算器年金现值计算器按位计算器月亮星座计算器楼梯计算器百分比增长率计算器英尺到米转换器随机数学题生成器乘法计算器体脂百分比计算器分数简化翻转视频随机字母生成器YouTube频道统计圆柱体体积计算器 高精度复合增长率计算器多项式展开计算器燃气与电力成本对比百分比减少计算器真心话大冒险生成器线性回归计算器随机坐标生成器雅可比矩阵计算器颜色代码转换器全格式DOY日历Instagram用户ID查询厘米到英寸转换器填字游戏制作器复数计算器平均值计算器日复利计算器随机英文单词生成器抛硬币按长度排序文本排序数字盎司到克转换器箱线图生成器周数计算器图片分割器隐形文本生成器atan2计算器Voronoi 图生成器为视频添加水印利率计算器力量标准计算器商和余数计算器⏱️ 在线秒表椭圆面积计算器逻辑门模拟器WHOIS查询反余弦 (Arccos) 计算器因子计算器快速傅里叶变换FFT计算器📈 折线图制作工具透镜方程计算器随机端口号生成器骰子滚轮Mann-Whitney U 检验计算器Webhook测试器三角函数绘图器变异系数计算器圆锥展开图模板生成器土星回归计算器斐波纳契数列表期权盈利计算器汽车落地价计算器获取字符串长度阶乘计算器SRT合并工具伊斯兰历转换器半衰期计算器坡度与倾斜度计算器工资转换计算器旋转视频查找并替换文本跑步配速计算器🥧 饼图制作工具AI标点符号添加器e的前n位数VTT转txt转换器WHtR计算器中位数计算器互补误差函数计算器分数百分比转换器删除线文字生成器数据传输速率转换器比例置信区间计算器百分比计算器科学记数法计算器踢脚线和装饰线条计算器壁板计算器露台木器染色剂计算器草籽计算器草皮计算器沥青计算器立方码计算器天线长度计算器电线管填充率计算器串联并联电容计算器感抗计算器房间照明计算器勒克斯转流明计算器流明转瓦特转换器发电机功率计算器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 利润计算器亚马逊 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角色生成器