简化您的工作流程:搜索 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地址查找🌡️ 体感温度计算器彩票号码生成器网址提取器相对标准偏差计算器英尺英寸转换为厘米CAGR计算器太阳、月亮与上升星座计算器 🌞🌙✨随机选择器样本量计算器百分比折扣计算器比例计算器cpm计算器HEX计算器VAT计算器定期存款计算器图片打码工具FPS 转换器毛利率计算器随机扑克牌生成器音频分割器音频提取器随机名字选择器kg到lbs转换器时间持续计算器月亮星座计算器SRT转为TXT工具厘米到英尺和英寸转换器血糖转换器磅转千克转换器合并视频随机IMEI生成器随机字符串生成器📅 日期计算器厘米到英寸转换器英寸到厘米转换器股票平均成本计算器MAC地址生成器分数计算器圆计算器斜边计算器螺栓扭矩计算器二进制计算器视频转图片提取器年龄计算器One Rep Max (1RM) 计算器💧 露点计算器MAC 地址分析工具卡方检验计算器🎮 游戏灵敏度转换器质数检查器百分比计算器随机化数字随机超能力生成器椭圆周长计算器随机分组生成器srt时间偏移调整视频速度两个日期之间随机端口号生成器凯利公式计算器图片分割器SHA256 哈希生成器t检验计算器卧推计算器数字提取器罗马数字转换器英尺到米转换器年度天数计算器 - 今天是今年的第几天每个月的天数职位查找器百分比变化计算器随机用户代理生成器日历行数统计工具利润计算器条形码生成器百分比增长率计算器MD5哈希生成器移除标点符号在线工具AI内容检测器三角函数绘图器商和余数计算器最简分数计算器随机装备生成器Facebook用户ID查询石头剪刀布生成器位数计算器逻辑门模拟器DOY日历六西格玛过程能力计算器半衰期计算器年金现值计算器为图片添加文字圆形面积计算器对数计算器百分比增加计算器高斯分布生成器线性回归计算器AI Token 计数器快速傅里叶变换FFT计算器标准偏差计算器 - 高精度kpa到psi转换器体脂百分比计算器方差计算器 高精度查找并替换文本百分比到ppm转换器平方根计算器斜率截距式计算器组合计算器自酿啤酒酒精度计算器两点间距离计算器楼梯计算器随机颜色生成器随机坐标生成器AI改写工具分数百分比转换器删除空格圆台计算器闰年清单黄金分割计算器AI标点符号添加器Instagram用户ID查询图片压缩器获取字符串长度随机字母生成器IPv4/IPv6到十六进制转换器根式化简器百分比减少计算器anova计算器YouTube频道统计原根计算器分贝 (dB) 计算器🎲 掉落概率计算器股息收益率计算器随机域名生成器不可见字符移除器二次公式计算器命运数字计算器填字游戏制作器磅到克转换器箱线图生成器视频压缩器模计算器质数分解计算器YouTube缩略图下载器复合增长率计算器方向场斜率场绘图器迷宫生成器互补误差函数计算器克到盎司转换器图片添加线条平均偏差计算器死链检查器相关系数计算器隐形文本生成器新月和满月日历随机数字选择器十进制到十六进制转换器电池续航计算器线性方程组求解器黄金时刻和蓝调时刻计算器⏱️ 倒计时器因子计算器圆柱体体积计算器 高精度幻方生成器文本差异对比工具盎司到克转换器🌍 碳足迹计算器误差函数计算器谐振频率计算器AI语言检测器atan2计算器Cohen's d 计算器HTML 到文本转换器PSI 转 Bar 转换器克到磅转换器十六进制到十进制转换器双重积分计算器复利计算机复数计算器工资转换计算器🎰 抽卡保底计算器科学计算器英亩到平方米转换器指数计算器-高精度文件大小转换器标准误差计算器配色方案生成器主数字计算器多项式展开计算器字符计数器真心话大冒险生成器积分计算器翻转视频随机英文单词生成器BMR计算器Log Base 10 计算器旋转视频板球得分率计算器足球 xG预期进球计算器网球计分器Wells评分计算器 (DVT/PE)格拉斯哥昏迷评分计算器阿普加评分计算器FFMI计算器库珀12分钟跑步计算器一英里步行测试Rockport计算器瘦体重力量计算器碳水化合物胰岛素比例计算器胰岛素敏感系数计算器希伯来历转换器伊斯兰历转换器农历转换器跨文化年龄计算器多久以前计算器还有多久倒计时计算器日期模式生成器中间日期计算器日期添加工作日工作日计算器词频分析器句子长度方差分析器海明威风格可读性编辑器发音音标转换器维吉尼亚密码工具埃特巴什密码工具ROT13编码解码器EXIF数据查看与移除工具猪拉丁文翻译器倒推首字母缩写生成器首字母缩写生成器全字母句检查器漏字文检测器图像转SVG描摹器图片转 ASCII 艺术转换器JSON Schema 生成器TypeScript 在线演练场Less 到 CSS 编译器SCSS转CSS编译器SVG 转 React/JSX 转换器查询字符串生成器URL解析器UUID验证和解码器HTTP状态码参考cURL命令构建器谢尔宾斯基三角形生成器3D曲面绘图器极坐标方程绘图器朱利亚集合生成器曼德博集合探索器L-System分形生成器Delaunay 三角剖分生成器Voronoi 图生成器万花尺图案生成器镶嵌图案生成器帕累托图生成器NPS净推荐值计算器留存率同期群计算器客户流失率计算器客户获取成本CAC计算器客户终身价值 CLV 计算器转化率计算器A/B测试样本量计算器A/B测试显著性计算器透镜方程计算器导线磁场计算器电场计算器库仑定律计算器斯涅尔定律计算器惯性矩计算器角速度计算器向心力计算器单摆周期计算器弹簧劲度系数计算器多普勒效应计算器索提诺比率计算器特雷诺比率计算器股票贝塔系数计算器通胀保值美国国债 (TIPS) 计算器房贷重新摊还计算器远期利率计算器债券久期计算器 (麦考利和修正)债券凸性计算器固定指数年金计算器变额年金计算器反向抵押贷款计算器年金支付计算器日本算盘模拟器俄罗斯农民乘法吠陀数学技巧计算器古埃及乘法计算器罗马数字数学求解器心算训练器乘法口诀表测验进位与借位可视化工具数的分合生成器硬币应用题求解器距离速度时间三角形计算器工作效率问题求解器混合问题求解器年龄问题求解器火车相遇问题求解器补水计算器配速卡路里计算器药物剂量计算器酒精卡路里计算器身体重塑计算器随机辩论话题生成器随机猫狗名字生成器随机圣经经文生成器随机数学题生成器随机段落生成器随机英文句子生成器砾石、砂和表土计算器钢材重量计算器管道流量计算器梁荷载计算器美元换黄金转换器期权概率计算器股票拆分计算器员工持股计划计算器发票滞纳金计算器自由职业者时薪计算器租赁与购买对比计算器高级小费分摊计算器装箱清单生成器时差反应计算器旅行预算计算器飞行距离计算器热损失计算器发电成本计算器用水量计算器家电用电成本计算器家庭能源审计计算器太阳能投资回报率计算器太阳能板计算器堆肥CN比计算器草坪肥料计算器霜冻日期计算器高床种植箱土壤计算器NPK肥料计算器种子发芽率计算器视频比特率计算器音乐调性转换器音乐BPM节拍点击器照片文件大小估算计算器百万像素到打印尺寸计算器裁切系数计算器曝光三角计算器车辆牵引能力计算器汽车租赁计算器0–60与四分之一英里计算器电动车充电时间计算器电动汽车续航计算器3D距离计算器环面计算器不规则多边形面积计算器正多边形计算器圆锥曲线识别器双曲线计算器长除法计算器Twitter/X 字符计数器YouTube评论抽选器YouTube标签提取器youtube收益估算器随机RPG角色生成器