平面三角形外心坐标推导
目录
- 1. 基于向量法的外心推导
- 1.1 原点三角形
- 1.2 外心定义的向量性质
- 1.3 原点三角形外心坐标推导
- 1.4 一般三角形外心坐标推导
- 2. 使用坐标法推导原点三角形外心
1. 基于向量法的外心推导
作者: 姚彧
版本历史:
版本 | 日期 | 说明 |
---|---|---|
0.1 | 2019-05-28 | 创建文档 |
版权声明:本文为作者原创文章,博客地址:https://www.cnblogs.com/yaoyu126 未经作者允许不得转载。
1.1 原点三角形
假设在\(\triangle ABC\)中, \(A\)点坐标为\((0,0)\),其余点坐标分别为\(B(x_1,y_1),C(x_2,y_2)\), 我们称\(\triangle ABC\)为原点三角形。对于非原点三角形,可以对\(A,B,C\)都减去\(A\)点坐标,从而转化成原点三角形。在原点三角形\(\triangle ABC\)中,设外心\(P\)坐标为\((x,y)\)。
1.2 外心定义的向量性质
\(\triangle ABC\)外心的定义为: 外心\(P\)到\(\triangle ABC\)各顶点的距离相等,用向量表示为:
\(|\overrightarrow{PA}|=|\overrightarrow{PB}|=|\overrightarrow{PC}|\)
由以上性质可得:
\(\left\{\begin{aligned} |\overrightarrow{PA}|=|\overrightarrow{PB}| \Longrightarrow \triangle ABP是等腰三角形 \\ |\overrightarrow{PA}|=|\overrightarrow{PC}| \Longrightarrow \triangle ACP是等腰三角形 \\ |\overrightarrow{PB}|=|\overrightarrow{PC}| \Longrightarrow \triangle BCP是等腰三角形 \end{aligned}\right.\)
一般的,在等腰三角形\(\triangle ABP\)中,\(\overrightarrow{AP}\)在\(\overrightarrow{AB}\)上的投影为:
\(\cfrac{\overrightarrow{AP}\cdot\overrightarrow{AB}}{|\overrightarrow{AB}|} = \cfrac{|\overrightarrow{AB}|}{2} \Longrightarrow \overrightarrow{AP}\cdot\overrightarrow{AB} = \cfrac{|\overrightarrow{AB}|^2}{2}\)
因此,我们可以得到\(\triangle ABC\)外接圆向量性质:
\(\left\{\begin{aligned} \overrightarrow{AP}\cdot\overrightarrow{AB} = \cfrac{|\overrightarrow{AB}|^2}{2} \\ \overrightarrow{AP}\cdot\overrightarrow{AC} = \cfrac{|\overrightarrow{AC}|^2}{2} \\ \overrightarrow{BP}\cdot\overrightarrow{BC} = \cfrac{|\overrightarrow{BC}|^2}{2} \end{aligned}\right.\) 式1
1.3 原点三角形外心坐标推导
由原点三角形\(\triangle ABC\)定义可得:
\(\left\{\begin{aligned} \overrightarrow{AP} = (x,y) \\ \overrightarrow{AB} = (x_1,y_1)\\ \overrightarrow{AC} = (x_2,y_2) \end{aligned}\right.\)
由1.2中推导的外接圆向量性质,将上式代入取公式中的第1,2项,可得:
\(\left\{\begin{aligned} (x,y)\cdot(x_1,y_1) = \cfrac{|(x_1,y_1)|^2}{2} \\ (x,y)\cdot(x_2,y_2) = \cfrac{|(x_2,y_2)|^2}{2} \end{aligned}\right.\)
\(\Longrightarrow\left\{\begin{aligned} x_1\cdot x+y_1\cdot y = \cfrac{x_1^2+y_1^2}{2} \\ x_2\cdot x+y_2\cdot y = \cfrac{x_2^2+y_2^2}{2} \end{aligned}\right.\)
令\(b_1=\cfrac{x_1^2+y_1^2}{2}, b_2=\cfrac{x_2^2+y_2^2}{2}\)
\(\Longrightarrow\left\{\begin{aligned} x_1\cdot x+y_1\cdot y = b_1 \\ x_2\cdot x+y_2\cdot y = b_2 \end{aligned}\right.\)
上式可以使用线性方程Cramer法则求解,得:
\(D=\left|\begin{array}{cccc} x_1 & y_1\\ x_2 & y_2 \end{array}\right| = x_1\cdot y_2 - x_2\cdot y_1\)
\(\Longrightarrow\left\{\begin{aligned} x=\cfrac{\left|\begin{array}{cccc} b_1 & y_1\\ b_2 & y_2 \end{array}\right|}{D} \\ y = \cfrac{\left|\begin{array}{cccc} x_1 & b_1\\ x_2 & b_2 \end{array}\right|}{D} \end{aligned}\right.\)
最终,我们得到了外心的坐标公式:
\(\Longrightarrow\left\{\begin{aligned} x=\cfrac{b_1\cdot y_2 - b_2\cdot y_1}{D} \\ y = \cfrac{x_1\cdot b_2 - x_2\cdot b_1}{D} \end{aligned}\right.\) 式2
1.4 一般三角形外心坐标推导
对一般三角形\(\triangle A^{'}B^{'}C^{'}\),顶点分别坐标为\(A(x_0^{'},y_0^{'}),B(x_1^{'},y_1^{'}),C(x_2^{'},y_2^{'})\),将各顶点坐标都减去\(A\)点坐标,得到原点三角形\(\triangle ABC\)及其各顶点坐标\(A(0,0),B(x_1,y_1),C(x_2,y_2)\)。
应用式2,我们得到了三角形外心坐标公式
\(\Longrightarrow\left\{\begin{aligned} x = \cfrac{b_1\cdot y_2 - b_2\cdot y_1}{D}+(x_0^{'}-x_0) \\ y = \cfrac{x_1\cdot b_2 - x_2\cdot b_1}{D}+(y_0^{'}-y_0) \end{aligned}\right.\) 式3
2. 使用坐标法推导原点三角形外心
对原点三角形\(\triangle ABC\),利用外接圆定义有:
\(\left\{\begin{aligned} x^2 + y^2 = (x_1 - x)^2 + (y_1 - y)^2\\ x^2 + y^2 = (x_2 - x)^2 + (y_2 - y)^2 \end{aligned}\right.\)
\(\Rightarrow\left\{\begin{aligned} x^2 + y^2 = x_1^2 - 2x_1x + x^2 + y_1^2 - 2y_1y + y^2\\ x^2 + y^2 = x_2^2 - 2x_2x + x^2 + y_2^2 - 2y_2y + y^2 \end{aligned}\right.\)
\(\Rightarrow\left\{\begin{aligned} 0 = x_1^2 - 2x_1x + y_1^2 - 2y_1y\\ 0 = x_2^2 - 2x_2x + y_2^2 - 2y_2y \end{aligned}\right.\)
\(\Rightarrow\left\{\begin{aligned} 2x_1x + 2y_1y = x_1^2 + y_1^2\\ 2x_2x + 2y_2y = x_2^2 + y_2^2 \end{aligned}\right.\)
\(\Rightarrow\left\{\begin{aligned} x_1\cdot x + y_1\cdot y = \cfrac{x_1^2 + y_1^2}{2}\\ x_2\cdot x + y_2\cdot y = \cfrac{x_2^2 + y_2^2}{2} \end{aligned}\right.\)
到这里,得到了与向量法推导的一样的结果\(♡\)。
转载于:https://www.cnblogs.com/yaoyu126/p/10936296.html
平面三角形外心坐标推导相关推荐
- 三角形外心坐标的计算公式
三角形外心坐标的计算公式 给定三角形三个顶点的坐标,如何求三角形的外心的坐标呢? 例如 :给定\(a(x1,y1) b(x2,y2) c(x3,y3)\)求外接圆心坐标\(O(x,y)\) 首先,外接 ...
- C语言算三角形外心坐标,【c语言】三角形外心坐标
新学期第一个算法大作业就好坑爹... 要计算三角形外接圆...做模板用吧 # include # include double X1,Y1,X2,Y2,X3,Y3,x4,y4,length1,leng ...
- 三角形已知三个点坐标,求外心坐标的公式
设三个点坐标为:(x1, y1), (x2, y2), (x3, y3).外心坐标为:(a, b). 转载于:https://www.cnblogs.com/fuzhihong0917/p/81116 ...
- C语言算三角形外心坐标,三角形外心坐标公式(含C语言代码).pdf
三角形外心坐标公式(含C语言代码).pdf (1页) 本资源提供全文预览,点击全文预览即可全文预览,如果喜欢文档就下载吧,查找使用更方便哦! 11.90 积分 =2 − + − − −2 − + − ...
- 投影矩阵之z坐标推导
看了好几篇关于投影矩阵的文章,在z坐标的推导上,没有提到为什么z'和1/z成线性关系,而是通过结论中的投影矩阵,即已知z'= (zA + B)/w,并且x和x',y和y'关系式中分母都有-z,所以w为 ...
- 三角形外心坐标c语言,算法提高 12-1三角形 外心坐标
问题描述 为二维空间中的点设计一个结构体,在此基础上为三角形设计一个结构体.分别设计独立的函数计算三角形的周长.面积.中心和重心.输入三个点,输出这三个点构成的三角形的周长.面积.外心和重心.结果保留 ...
- wenbao与acm技巧(必备知识)
推荐博客:http://blog.csdn.net/xueerfei008/article/details/19029797 http://blog.csdn.net/xueerfei008/a ...
- 几何向量:空间三角形外心和法向量
这次来计算一下世界空间三角形的外心(也就是外接圆的圆心)和外心为起点的平面法向量. 问题:假设我们世界空间中有一个任意三角形,且已知三角形各个顶点ABC的坐标,求三角形的外心P和外心所在的法向量n,如 ...
- 正多边形的数学推导及绘制
正多边形是一种很有意思的图形,但是如果想要绘制一个正多边形并不是那么容易的.最近看书介绍了这一块的内容,但是它只是很简单的描述了一下,并没有详细的过程.所以自己推导了一下,在这里记录一下.这种推导方式 ...
- 达飞鹏—光栅精密三维测量模型原理推导(单目结构光)
达飞鹏-光栅精密三维测量测模型推导 系统模型 测量原理 投影坐标系下相位与三维坐标关系 投影仪与相机的关系 相机坐标系三维点与相机的关系 相机坐标系下三维坐标推导表示 实验 相机标定 相位与三维点标定 ...
最新文章
- python函数中参数前面的*和**的含义
- DAMS2019中国数据智能管理峰会将于7月在上海召开!
- pymysql 返回数据为字典形式(key:value--列:值)
- 90后互联网打工人:为了买小两居,爸妈打零工帮我凑首付
- 调用$.ajax不成功,jquery中ajax请求后台数据成功后既不执行success也不执行error的完美解决方法...
- 20 个百无一用的 Firefox 扩展
- 计算机考研考833的院校,太原理工大学
- jq和thinkphp经常使用的几种ajax
- Ajax_使用 jQuery 实现Ajax
- NTKO Weboffice打开文档格式错误的解决方案
- 渗透测试工具——Metasploit
- 字节 和 位 的关系
- XLNet: Generalized Autoregressive Pretraining for Language Understanding
- 解决opencv打开视频上下翻转问题
- Python爬虫入门教程第七讲: 蜂鸟网图片爬取之二
- 下载加速小妙招,我不允许你不知道
- 启动mongodb报错:waiting for connections on port 27017 解决方案
- 蛙蛙推荐:蛙蛙牌网页捕捉器
- 问题解决:VScode在使用中文输入法时出现vim insert模式变成vim normal的奇怪现象( jj 映射成esc)
- 安装SqlServer2000以及SP4补丁时的注意事项