X49

CENTER OF SINE-TRIPLE-ANGLE CIRCLE

Suppose that P and Q are distinct points in the plane of a triangle ABC . Let PA = reflection of P in line AQ, let QA = reflection of Q in line AP, and let MA = midpoint of segment PAQA. Define MB and MC cyclically. César Lozada found that if Q = isogonal conjugate of P, then the locus of P for which MAMBMC is perspective to ABC is the union of a cubic and 6 circles: specifically, the McCay cubic (K003), the circles {B,C,Jb,Jc}}, {C,A,Jc,Ja}}, {A,B,Ja,Jb}}, and the circles {B,C,Ja}}, {C,A,Jb}}, {A,B,Jc}}, where Ja,Jb,Jc are the excenters of ABC. Moreover, if P = X3 and Q = X4, then MAMBMC is not only perspective, but homothetic, to ABC, and the center of homothety is X49. See Hyacinthos 23265, June 1, 2015.
< A B C >: Reference Triangle △ABC [ A B ]: Sideline AB (Base c = 1) [ B C ]: Sideline BC (Side a) [ C A ]: Sideline CA (Side b) { 5, 54 }: Central Line L(5, 54) { 3, 155 }: Central Line L(3, 155) { 4, 156 }: Central Line L(4, 156) { 93, 94 }: Central Line L(93, 94) { 1, 215 }: Central Line L(1, 215) { 52, 195 }: Central Line L(52, 195) A = Vertex A (0.0000, 0.0000) B = Vertex B (1.0000, 0.0000) C = Vertex C (0.6122, 0.5999) X_93 = ISOGONAL CONJUGATE OF X(49) (0.5299, 0.2878) X_5 = NINE-POINT CENTER (0.5561, 0.2489) X_54 = KOSNITA POINT (0.5880, 0.2176) X_3 = CIRCUMCENTER (0.5000, 0.1021) X_155 = EIGENCENTER OF ORTHIC TRIANGLE (1.1658, 0.5033) X_4 = ORTHOCENTER (0.6122, 0.3958) X_156 = -OF-TANGENTIAL-TRIANGLE (0.6520, -0.1707) X_94 = ISOGONAL CONJUGATE OF X(50) (0.9069, -0.1331) X_1 = INCENTER (0.5714, 0.2333) X_215 = -CEVA CONJUGATE OF X(50) (0.4113, 0.3887) X_52 = ORTHOCENTER OF ORTHIC TRIANGLE (0.7155, 0.4580) X_195 = -CEVA CONJUGATE OF X(3) (0.6761, 0.3331) X_49 = CENTER OF SINE-TRIPLE-ANGLE CIRCLE (0.6275, 0.1789) A B C X93 X5 X54 X3 X155 X4 X156 X94 X1 X215 X52 X195 X49 (a, b, c) = (5, 6, 7) | AB = 1

X49 (CENTER OF SINE-TRIPLE-ANGLE CIRCLE) constructed on acute reference triangle \((a, b, c) = (5, 6, 7)\) with unit baseline AB = \(1\).

"""GEOMETOR construction model for X_49 = CENTER OF SINE-TRIPLE-ANGLE CIRCLE."""

        from __future__ import annotations

        from pathlib import Path

        import sympy.geometry as spg
        from geometor.model import Model

        from geometor.etc.ops import (
            central_line,
            circumcenter_of,
            construct_baseline_triangle,
            create_model,
            eval_barycentric_point,
            eval_trilinear_point,
            nine_point_center_of,
            orthocenter_of,
            promote_point_to_top,
        )
        from geometor.etc.render import write_center_svg


        def construct_x_00049(
            model: Model, A: spg.Point, B: spg.Point, C: spg.Point
        ) -> spg.Point:
            """Construct X_49 = CENTER OF SINE-TRIPLE-ANGLE CIRCLE on reference triangle ABC."""
            X_49 = eval_trilinear_point(model, A, B, C, 'cos(3*A)', ID="X_49", classes=["selected", "target"])
            X_5 = nine_point_center_of(model, A, B, C, ID="X_5", classes=["center", "incident"])
            X_54 = eval_trilinear_point(model, A, B, C, 'sec(B - C)', ID="X_54", classes=["center", "incident"])
            central_line(model, X_5, X_54, 5, 54, incident=True)
            X_3 = circumcenter_of(model, A, B, C, ID="X_3", classes=["center", "incident"])
            X_155 = eval_trilinear_point(model, A, B, C, '(cos(A))*((cos(B))**(2) + (cos(C))**(2) - (cos(A))**(2))', ID="X_155", classes=["center", "incident"])
            central_line(model, X_3, X_155, 3, 155, incident=True)
            X_4 = orthocenter_of(model, A, B, C, ID="X_4", classes=["center", "incident"])
            X_156 = eval_barycentric_point(model, A, B, C, 'a**(2)*(a**(8) - 3*a**(6)*(b**(2) + c**(2)) + a**(4)*(3*b**(4) + 2*b**(2)*c**(2) + 3*c**(4)) - a**(2)*(b**(6) + c**(6)) + b**(2)*c**(2)*(b**(2) - c**(2))**(2))', ID="X_156", classes=["center", "incident"])
            central_line(model, X_4, X_156, 4, 156, incident=True)
            return promote_point_to_top(model, X_49)


        def build_model(
            sides: tuple[float, float, float] = (5.0, 6.0, 7.0),
            show_guides: bool = False,
        ) -> Model:
            """Build a `geometor.model.Model` for X_49 on the given reference triangle."""
            model = create_model('X_49 = CENTER OF SINE-TRIPLE-ANGLE CIRCLE')
            A, B, C = construct_baseline_triangle(model, *sides, show_guides=show_guides)
            construct_x_00049(model, A, B, C)
            return model


        if __name__ == "__main__":
            here = Path(__file__).resolve().parent
            model_acute = build_model((5.0, 6.0, 7.0))
            model_acute.save(str(here / "x-00049.json"))
            write_center_svg(
                model_acute,
                here / "x-00049.svg",
                subtitle="(a, b, c) = (5, 6, 7) | AB = 1",
            )