Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find a cubic plane curve that passes through nine given 2D points
ResourceFunction["NinePointCubic"][pts,{x,y}] returns the implicit Cartesian equation in the variables x and y of the cubic plane curve that goes through the points pts. | |
ResourceFunction["NinePointCubic"][pts] uses the formal variables x and y. |
Find a cubic plane curve through nine points:
In[1]:= |
Out[2]= |
Show the cubic and points:
In[3]:= |
Out[3]= |
Find a cubic equation through nine points:
In[4]:= |
Out[5]= |
Show the cubic and points:
In[6]:= |
Out[6]= |
Use formal variables:
In[7]:= |
Out[7]= |
Find a cubic through nine points:
In[8]:= |
Out[9]= |
The cubic is factorizable and thus degenerate, and is composed of an ellipse and a line:
In[10]:= |
Out[10]= |
Some points and a cubic curve:
In[11]:= |
Out[12]= |
Any line going through two points of a cubic will meet one of three criteria: 1. it will go through a third point (gray), 2. it will be tangent at one of the points (red), or 3. it will be parallel with the cubics' asymptote (green), also called a point at infinity:
In[13]:= |
Out[17]= |
This work is licensed under a Creative Commons Attribution 4.0 International License