DGS Studio

Implicit Curves

Implicit Curves & Conics

Trace smooth contours, vertical tangents and separate branches on shared axes.

Generate Graph traces the implicit contours. x^2+y^2=25 is the circle centered at the origin with radius 5. The ellipse x^2/9+y^2/4=1 has intercepts (±3,0) and (0,±2). Both contours preserve reflection symmetry about each coordinate axis and include their vertical tangents.

The hyperbola x^2/9-y^2/4=1 has vertices (±3,0) and asymptotes y=±2*x/3. The parabola y^2=4*x has vertex (0,0). Choose a conic version to inspect its real branches or trace the contour. The Graph card additionally includes the folium of Descartes, x^3+y^3=3*x*y, with a first-quadrant loop, a crossing at the origin, and asymptote x+y+1=0.

Equation

x^2+y^2=25

Reading a continuous implicit contour

An implicit equation describes a level set F(x,y)=0. Unlike a single explicit y function, it can contain several y values at one x and can have vertical tangents. A circle or ellipse is a closed contour; a hyperbola has separate branches. The parabola y^2=4*x opens to the right and has both the positive and negative square-root branches for x>=0.

DGS draws implicit level sets using Marching Squares, joining contour segments into continuous paths and avoiding duplicate segments. The graph resamples as the viewport changes. Separate branches must stay separate, including near steep regions or asymptotes. Equation solving reports supported real branches and their restrictions; a multi-valued relation is not silently treated as a globally invertible function. The folium example adds a loop and a crossing at the origin.

Reading the input

Other versions of this example

These stay on this page so each version keeps the same explanation. Choose Try example to run a version in its Studio workflow, or copy it into the editable field below.

Circle

Circle of radius 5 centered at the origin; y=±sqrt(25-x^2).

x^2+y^2=25

Ellipse

Ellipse with horizontal semiaxis 3 and vertical semiaxis 2.

x^2/9+y^2/4=1

Hyperbola

Two separate branches with vertices (±3,0) and asymptotes y=±2*x/3.

x^2/9-y^2/4=1

Parabola

Right-opening parabola with vertex (0,0); y=±2*sqrt(x), x>=0.

y^2=4*x

Folium of Descartes

Implicit cubic with a loop in the first quadrant, crossing at the origin, and asymptote x+y+1=0.

x^3+y^3=3*x*y

Try a change

Generate Graph opens this input in the graph workspace with its domain restrictions. The interactive result keeps the existing zoom, pan, and export controls.

Edit and generate

Generate Graph opens the studio homepage and runs this field. Open in DGS Studio loads the same text and waits for you to generate it. The equation is sent once, as a query parameter.

Related examples