热门标签 | HotTags
当前位置:  开发笔记 > 程序员 > 正文

克莱姆法则(Cramer‘sRule)

ref:https:blog.csdn.netyjf_victorarticledetails45065847对于如下四元一次方程组:设有如下行列式:

ref:https://blog.csdn.net/yjf_victor/article/details/45065847

对于如下四元一次方程组:

\begin{cases} \begin{array}{ccc} a_1 x_1 + b_1 x_2 + c_1 x_3 + d_1 x_4 & = & e_1 \\\\ a_2 x_1 + b_2 x_2 + c_2 x_3 + d_2 x_4 & = & e_2 \\\\ a_3 x_1 + b_3 x_2 + c_3 x_3 + d_3 x_4 & = & e_3 \\\\ a_4 x_1 + b_4 x_2 + c_4 x_3 + d_4 x_4 & = & e_4 \end{array} \end{cases}

设有如下行列式:

D = \left| \begin{array}{cccc} a_1 & b_1 & c_1 & d_1 \\\\ a_2 & b_2 & c_2 & d_2 \\\\ a_3 & b_3 & c_3 & d_3 \\\\ a_4 & b_4 & c_4 & d_4 \end{array} \right|

D_1 = \left| \begin{array}{cccc} e_1 & b_1 & c_1 & d_1 \\\\ e_2 & b_2 & c_2 & d_2 \\\\ e_3 & b_3 & c_3 & d_3 \\\\ e_4 & b_4 & c_4 & d_4 \end{array} \right|

D_2 = \left| \begin{array}{cccc} a_1 & e_1 & c_1 & d_1 \\\\ a_2 & e_2 & c_2 & d_2 \\\\ a_3 & e_3 & c_3 & d_3 \\\\ a_4 & e_4 & c_4 & d_4 \end{array} \right|

D_3 = \left| \begin{array}{cccc} a_1 & b_1 & e_1 & d_1 \\\\ a_2 & b_2 & e_2 & d_2 \\\\ a_3 & b_3 & e_3 & d_3 \\\\ a_4 & b_4 & e_4 & d_4 \end{array} \right|

D_4 = \left| \begin{array}{cccc} a_1 & b_1 & c_1 & e_1 \\\\ a_2 & b_2 & c_2 & e_2 \\\\ a_3 & b_3 & c_3 & e_3 \\\\ a_4 & b_4 & c_4 & e_4 \end{array} \right|

则原四元一次方程组的解为:

\begin{cases} \begin{array}{ccc} x_1 & = & \displaystyle \frac{D_1}{D} \\\\ x_2 & = & \displaystyle \frac{D_2}{D} \\\\ x_3 & = & \displaystyle \frac{D_3}{D} \\\\ x_4 & = & \displaystyle \frac{D_4}{D} \end{array} \end{cases}


推荐阅读
author-avatar
保佑想-回丽水的阿卉
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有