Ideal Zero Set Plotter
The zero set V(I) of a system of polynomial equations in x, y, drawn in the real plane with one colour per irreducible factor (multiplicities marked) and isolated points shown. The learner edits the equations, clicks the plane to evaluate them at a point, switches between real and complex solutions, and reads the ideal side: 1 ∈ I, the radical, I(V), maximal ideals of points, dim k[x,y]/I; optionally unions and intersections of two systems, a compared ideal with the same zero set, a test polynomial, or a chain of irreducible sets.
Used in: Ring Theory
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | by mode, e.g. "Zero set of a polynomial system" | Title bar text. |
| controls | string[] | all controls shown | Ids of the hideable controls and text blocks to show (see the controls registry, e.g. legend.factors, field.complex, readout.radical, readout.weak-nullstellensatz, operation.intersection). Core controls (the plot, the equation editor, the point probe, the list of common zeros) always show. Page building fills this from the subject's topic scope. |
| equations | string[] | string | ["x^2 + y^2 = 1", "y = x^2 - 1"] | Generators of the ideal I as equations in x and y ("x^2 + y^2 = 1", "y = x^2 - 1") or polynomials meaning "= 0" ("x*y", "x^3*y - x*y^3"). Rational coefficients, whole-number exponents, at most 5 equations. Implicit products like 2xy work. The learner can edit, add and remove them. |
| second | string[] | string | none | Generators of a second ideal J. Turns on the two-system view: V(I) in blue, V(J) in green, and the union V(I ∩ J) or the intersection V(I + J) (amber) with the ideals I ∩ J, IJ, I + J and √(I + J). |
| operation | "union" | "intersection" | "union" | With second: the combination shown first; the learner can switch (both options are controls: operation.union, operation.intersection). |
| compare | string[] | string | none | Generators of an ideal K drawn as a wide translucent band under V(I), with verdicts: same zero set (over C)? I = K? √I = √K? (Strong Nullstellensatz: (x^2, xy) and (x) have the same zero set.) Alias: compareWith. |
| compareWith | string[] | string | none | Alias of compare (draft name). |
| field | "R" | "C" | "R" | Coordinates listed first: real (what the plane shows) or complex (non-real points and a complex point on curves without real points are listed too). The learner switches with the Real / Complex toggle. |
| test | string | none | A polynomial f tested against I (editable): does f vanish on V(I) over C, is f ∈ I, the least m with f^m ∈ I (radical membership). |
| showVanishingIdeal | boolean | false | Asks for the vanishing-ideal readout I(V) (= √I over C) and whether I ⊊ I(V). Shown anyway when controls is absent. |
| points | number[][] | none | A finite set P of rational points [[x, y], ...], marked with rings; the readout gives I(P), the intersection of the maximal ideals (x - a, y - b). Without equations, I = I(P). |
| chain | string[] | none | A chain of irreducible algebraic sets, smallest first: points "(1, 1)", curves "y = x^2", and "plane". The learner steps through it; inclusions are checked, the matching prime ideals run the other way, and the length bounds dim k[x, y]. Replaces the equation view. |
| chainStep | number | 0 | With chain: index of the link selected at start. |
| probe | number[] | none | A point [x, y] already probed at start (the learner clicks to move it): every equation is evaluated there. |
| extent | number | auto (3 or more, so every real point fits) | Half-width of the square window [-extent, extent]^2. |
| editable | boolean | true | false locks the equation and test inputs (the probe and toggles still work). |