Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Find the points of intersection of two curves
ResourceFunction["CurveIntersection"][{expr1,expr2},{x,y}] returns the intersections of implicit curves expr1 and expr2 as points in the xy plane. | |
ResourceFunction["CurveIntersection"][{expr1,expr2},{x,y},dom] returns the intersections of expr1 and expr2 as points in the xy plane, considered over the domain dom. | |
ResourceFunction["CurveIntersection"][{expr1,expr2},{x,y},dom,type] returns the intersections with format type. |
Obtain the points of intersection of x+1 and 2x2:
| In[1]:= |
| Out[1]= |
Find the intersections of implicitly defined curves:
| In[2]:= |
| Out[2]= |
Find the integer-valued intersections of two implicitly defined curves:
| In[3]:= |
| Out[3]= |
If there is no intersection, CurveIntersection returns unevaluated:
| In[4]:= |
| Out[4]= |
The fourth argument changes the format of the output:
| In[5]:= |
| Out[5]= |
Find the intersections of two curves given some constraints:
| In[6]:= |
| Out[6]= |
| In[7]:= |
| Out[7]= |
For curves that intersect infinitely many times, a subset of the points of intersection will be returned:
| Out[8]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License