找回密码
 快速注册
搜索
查看: 110|回复: 7

证明Pascal定理

[复制链接]

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

hbghlyj 发表于 2023-4-3 12:27 |阅读模式
本帖最后由 hbghlyj 于 2023-7-5 01:29 编辑 杨圣汇 Quick Symbolic Proof of Pascal Line

辅助函数—找到两线的交点:
  1. segmentIntersection[p1_List, p2_List, p3_List, p4_List] :=
  2. Block[{u, v}, Module[{sol},
  3.    sol = Solve[u*(p2 - p1) + p1 == v*(p4 - p3) + p3, {u, v}];
  4.    {u, v, u*(p2 - p1) + p1} /. sol[[1]]]]
复制代码

定义椭圆(或双曲线)上点的函数
  1. pt[t_] := {m*Cos[t], n*Sin[t]}
  2. pt2[t_] = {m*Sec[t], n*Tan[t]}
复制代码

Pascaltheoremgenericwithlabels.svg.png 定义交点$g,h,k$
  1. g = segmentIntersection[pt[a], pt[f], pt[c], pt[d]][[3]];
  2. h = segmentIntersection[pt[a], pt[b], pt[d], pt[e]][[3]];
  3. k = segmentIntersection[pt[b], pt[c], pt[e], pt[f]][[3]];
复制代码

通过Cross检查GHK是否共线。想法是 GHK 共线当且仅当 GH 的法向量 V 垂直于 HK ( V⋅HK=0 )
  1. Cross[g - h].(h - k) // Simplify
复制代码
上面的代码在不到 1 秒的时间内返回 0。因此它完成了证明。对于双曲线需要用 pt2[t],结果是相同的。

119

主题

446

回帖

3179

积分

积分
3179

显示全部楼层

TSC999 发表于 2023-4-5 12:08
本帖最后由 TSC999 于 2023-4-5 14:01 编辑 非常棒的方法。难怪大家对复平面解析方法不感兴趣,原来是天外有天啊。

已知平面上的四点 A、B、C、D 的复坐标为 a, b, c, d,  如何用这种方法求出 AB 与 CD 的交点坐标?

17

主题

127

回帖

1822

积分

积分
1822

显示全部楼层

uk702 发表于 2023-4-9 06:35
gitee.com/cgps/Analytic-Geometry-Mathematica 提供了一个用mathematica写的解析几何求解器,可以学习一下。

个人认为大多时候复数的几何方法能用的手段更多。

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

 楼主| hbghlyj 发表于 2023-4-9 06:55
TSC999 发表于 2023-4-5 05:08
如何用这种方法求出 AB 与 CD 的交点坐标?


Geogebra 也通过叉积计算来计算2线的交点。
hbghlyj 发表于 2022-1-6 10:15
原来GeoGebra使用的是齐次坐标
二维点的坐标计算方法是$\left(\frac xz,\frac yz\right)$
自由点的z坐标是1 ...



Calculating where projective lines intersect
Finite example
Consider the lines

y = 3x + 2

and

y = x + 4

The lines intersect at the point where x = 1 and y = 5 in the ordinary plane. If we embed each line in the projective plane and take the intersection there, we get the embedding of the point (1, 5) in the projective plane. Recall that we associate the point (x, y) in the ordinary plane with (x, y, 1) in the projective plane.

We have the cross product

((3, -1, 2)) × ((1, -2, 4)) = ((-2, -10, -2))

which is associated with the point (-2, -10, 2), which is in the same equivalence class as (1, 5, 1), which is the embedding of the point (1, 5) in the projective plane.

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

 楼主| hbghlyj 发表于 2023-4-9 06:58

齐次坐标 帕普斯定理

Jürgen Richter-Gebert (auth.) - Perspectives on Projective Geometry_ A Guided Tour Through Real and Complex Geometry-Springer-Verlag Berlin Heidelberg (2011)
我们将给出 Pappos 图的一系列几何构造。 我们从五个自由点 A、B、C、D、E 开始。画一些直线并画出交叉点。
构造中其余四个交点的坐标可以通过叉积计算
F = (A × D) × (B × C),
G = (A × B) × (D × E),
H = (C × D) × (B × E),
I = (A × H) × (C × G).
最终的共线性归结为 $\det(E, F, I) = 0$.
212820p4c48spn5p8a5nu2.png

  1. a={a1,a2,a3};
  2. b={b1,b2,b3};
  3. c={c1,c2,c3};
  4. d={d1,d2,d3};
  5. e={e1,e2,e3};
  6. f=Cross[Cross[a,d],Cross[b,c]];
  7. g=Cross[Cross[a,b],Cross[d,e]];
  8. h=Cross[Cross[c,d],Cross[b,e]];
  9. i=Cross[Cross[a,h],Cross[c,g]];
  10. Det[{e,f,i}]//Simplify
复制代码

输出0
它表明,当我们执行一系列构造时,无论初始条件 A、B、C、D、E 的坐标是什么,最终的行列式都将为零。这可能有两个原因。
或者是在构造过程中,我们遇到了一种退化情况(例如两条相同的线相交),引入了一个零向量作为中间结果。
或者所有操作都是非退化的并且最后的点 E、F、I 是共线的。

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

 楼主| hbghlyj 发表于 2023-4-9 07:07
uk702 发表于 2023-4-8 23:35
个人认为大多时候复数的几何方法能用的手段更多。


这取决于问题。对于这个特定问题,它是纯射影性质。

17

主题

127

回帖

1822

积分

积分
1822

显示全部楼层

uk702 发表于 2023-4-9 07:10
另外,MMA  12 版本内置的几何功能也很(极其)强大。

ref/GeometricScene
ref/FindGeometricConjectures

贴图内容来自下面网页:
wolfram.com/language/12/plane-geometry/bisectors.html.zh?product=language
2023-04-09_070919.png

3149

主题

8386

回帖

6万

积分

$\style{scale:11;fill:#eff}꩜$

积分
65391
QQ

显示全部楼层

 楼主| hbghlyj 发表于 2023-4-9 07:14

把五边形拆成五个相似的三角形

uk702 发表于 2023-4-9 00:10
另外,MMA  12 版本内置的几何功能也很(极其)强大。

ref/GeometricScene
  1. RandomInstance[GeometricScene[
  2.   {a, b, c, d, e, o},
  3.   {
  4.    Polygon[{a, b, c, d, e}],
  5.    p1 == Style[Triangle[{a, b, o}], Red],
  6.    p2 == Style[Triangle[{b, o, c}], Blue],
  7.    p3 == Style[Triangle[{c, d, o}], Yellow],
  8.    p4 == Style[Triangle[{d, o, e}], Purple],
  9.    p5 == Style[Triangle[{e, o, a}], Orange],
  10.    GeometricAssertion[{p1, p2, p3, p4, p5}, "Similar"]
  11.    }
  12.   ], RandomSeeding -> 6]
复制代码
这是MMA的GeometricScene函数的档案的Neat Example的最后一个. 这是MMA 12新增的函数.
210210230258727511a3720b01.png
这是一个固定图形.
abo~boc~cdo~doe~eoa
相似比是一个等比数列,从小到大是cdo,abo,doe,boc,eoa.
设cd=1,ab=k,则$od=k^2,ob=k^3,oe=k^4,oc=k^5,oa=k^6,de=k^7,bc=k^8,ea=k^9$.
k$\approx$1.10487是方程$k^8=1+k^2$的根.
bc=dc+od,ea=ab+ob.
ob平分$\angle$doe,oc平分$\angle$aoe,od平分$\angle$boe,oe平分$\angle$aod.
$\angle aed=\angle bae=\angle bcd,\angle abc=\angle cde$.
$ea\parallel ob,dc\parallel eo,bc\parallel od,ab\parallel oc.$

手机版|悠闲数学娱乐论坛(第3版)

GMT+8, 2025-3-4 12:06

Powered by Discuz!

× 快速回复 返回顶部 返回列表