Function Repository Resource:

# LucasCubic

Get the Lucas cubic curve of a triangle

Contributed by: Shenghui Yang (Wolfram Research)
 ResourceFunction["LucasCubic"][{p1,p2,p3},{x,y}] returns the Lucas cubic curve.

## Details

Let a, b, c be the side lengths of the reference triangle ABC. Then the equation of the Lucas cubic of triangle ABC in barycentric coordinates (x,y,z) is where cyc indicates that the sum is taken over all three cyclic permutation of x, y, z.
LucasCubic[Triangle[{p1,p2,p3}],{x,y}] is equivalent to LucasCubic[{p1,p2,p3},{x,y}].

## Examples

### Basic Examples (2)

Find the Lucas cubic of three triangle vertices:

 In:= Out= Visualize the cubic curve:

 In:= Out= ### Properties and Relations (1)

The Lucas cubic is closely related to the Thomson cubic: ### Possible Issues (1)

Degenerated triangle is not supported:

 In:=  Out= ### Neat Examples (2)

The circumcenter, orthocenter and Gergonne point and Nagel point of the reference triangle are on the Lucas cubic. The vertices of the reference triangle and that of its anticomplementary triangle are also on the cubic:

 In:= Out= Direct computation of three asymptotes:

 In:= Out= Solve for y in terms of x:

 In:= Extract the constant term and the linear term for each result:

 In:= Out= Visualize the curve and its asymptotes:

 In:= Out= Or we can wrap everything into a Manipulate function:

 In:=  Shenghui Yang

## Version History

• 1.0.0 – 16 June 2023