15 Mirror images: 02 and 03
Level 1 · Explorer. You will learn that every point of the curve has a mirror image, how the visualizer shows it on the donut, on the flat map and on other shapes, and what the prefixes 02 and 03 of a Bitcoin key have to do with it. Read first: 13 Why a donut and 14 Two points: how far apart?.
Two points for every x
The rule of the curve gives y² (“y times y”), not y itself. A number squared does not care about its sign: 3 × 3 and (−3) × (−3) are both 9. So when one y fits, its negative fits too, and on a clock with p hours “minus y” is p − y. Every point (x, y) therefore has a partner
−P = (x, p − y),
with the same x and the other y. It is called the negation of P, or its mirror image, and the next sections show why.
There is one more fact that makes this matter for Bitcoin. p is odd, so y and p − y always have opposite parity: if
one is even, the other is odd. A compressed public key stores x and one extra byte: 02 for “the even y” and 03 for
“the odd y”. So 02 + x and 03 + x are always a point and its mirror image. The visualizer opens with exactly that
pair, G and −G on Bitcoin’s curve:
- G =
0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 - −G =
0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
Only the first byte differs.
Example 15.1 · The mirror button: P₂ = −P₁
On the small curve F₂₂₃, type 4G into P₁, then click the button next to P₂ whose tooltip says “Set P₂ = −P₁, the
mirror image”.
Open this view: 4G and its mirror image
Do it yourself
- In Curve, pick the preset y² = x³ + 7 over F₂₂₃, Programming Bitcoin.
- Type
4Gin P₁. - Click the mirror button next to P₂ (its tooltip: “Set P₂ = −P₁, the mirror image”).
- Press 3 for the side view.
- In the 3D view, click P₁ and P₂ to pin their cards.
- Read the Relations section in the panel.
Look at:
- the side view (key 3): P₁ = 4G = (194, 51) sits on top of the tube and P₂ = (194, 172) straight below it, at
the bottom of the tube. The button wrote
(194, 172)into P₂: the same x, and 223 − 51 = 172; - the cards: u, v = 313.184°, 82.332° and 313.184°, 277.668°. The same u, and the two v add up to 360°;
- the faint plane through the middle of the donut, edge-on in this view: P₁ and P₂ are reflections of each other in it, like an object and its image in a still lake;
- Relations: “P₂ = −P₁: yes: same x, y ↦ p − y, mirror images”, “same x: yes, same meridian ring” and Δv = 164.664°;
- the k rows of the cards: 4 and 17.
Why: G has order 21 on this curve, and 4 + 17 = 21. Adding a point to its mirror image gives 𝒪, the point at
infinity, and 21G is 𝒪, so the mirror image of 4G must be 17G. On Bitcoin’s curve the same rule makes the mirror
image of G the key n − 1 (in hex, fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140).
Relations also says P₁ + P₂ is “𝒪, the point at infinity”, and the chord row explains: “vertical line x = x₁: it meets the curve only at P, −P and 𝒪”. The dashed ring joining the two points is that vertical line, drawn on the donut. 24 Adding points explains chords.
Example 15.2 · On the flat map: a flip about the middle line
Open this view: 4G and −4G, flat map enlarged
Do it yourself
- In Curve, pick the preset y² = x³ + 7 over F₂₂₃, Programming Bitcoin.
- Type
4Gin P₁. - Click the mirror button next to P₂ (its tooltip: “Set P₂ = −P₁, the mirror image”).
- Click ⤢ on the flat map to enlarge it.
Look at: the enlarged flat map. The dashed line across the middle, marked ½, is y = p/2. P₁ is below it and P₂ is above it, exactly as far from the line as P₁, on the same vertical line.
Why: y ↦ p − y flips the square upside down around its middle line. That is why the whole cloud of dots on the map is symmetric top to bottom: every dot has its mirror image across the line. On the donut, the same flip is the reflection in the middle plane.
The mirror on other shapes
The visualizer can wrap the same points onto other shapes (16 One set of points, nine shapes). It places y on each of them so that the mirror image is still a true reflection. The next four examples show G and −G on Bitcoin’s curve.
Example 15.3 · On the sphere: north and south
Open this view: G and −G on the sphere
Do it yourself
- In Curve, pick the preset secp256k1: G and −G (mirror pair).
- In Shape, pick Sphere (or press S until it shows).
- Press 3 for the side view.
- In the 3D view, click P₁ and P₂ to pin their cards.
Look at: G in the northern half and −G in the southern half, at the same longitude and the same distance from the equator.
Why: on the sphere y sets the latitude, with y = 0 on the equator. The equator’s plane is the mirror: north and south swap, nothing else changes. The same G and −G were 156.853° apart around the tube on the donut.
Example 15.4 · On the icosahedron
Open this view: G and −G on the icosahedron
Do it yourself
- In Curve, pick the preset secp256k1: G and −G (mirror pair).
- In Shape, pick Icosahedron (or press S until it shows).
- Press 3 for the side view.
- In the 3D view, click P₁ and P₂ to pin their cards.
Look at: the icosahedron (a solid with 20 triangular faces) from the side: G straight above −G.
Why: the icosahedron carries the sphere’s map pushed outward onto its faces. It is built so that the plane through its middle is a mirror of the solid itself, so the reflection still works.
Example 15.5 · On the wavy plane: an upright mirror
Open this view: G and −G on the wavy plane
Do it yourself
- In Curve, pick the preset secp256k1: G and −G (mirror pair).
- In Shape, pick Wavy plane (or press S until it shows).
- Press 2 for the top view.
- In the 3D view, click P₁ and P₂ to pin their cards.
Look at: from the top, G and −G lie at equal distances on either side of the middle line of the wavy sheet.
Why: the wavy plane is the flat map lifted into 3D with waves. Its mirror is the upright plane through its middle line, which is the flat map’s line y = p/2 standing on edge.
Example 15.6 · On the trefoil knot: a mirror inside the ring
Open this view: G and −G on the trefoil
Do it yourself
- In Curve, pick the preset secp256k1: G and −G (mirror pair).
- In Shape, pick Trefoil knot (or press S until it shows).
- In the 3D view, click P₁ and P₂ to pin their cards.
Look at: G and −G on the same ring around the knotted tube, on opposite sides of it.
Why: a knot has a handedness, like a left and a right glove: no mirror turns the knot into itself, so there is no mirror plane for the whole shape. The visualizer still keeps −P a reflection, but a local one: P is mirrored inside its own ring, across the plane that runs along the knot through the middle of that ring.
Try it yourself
- In Example 15.1, type other multiples into P₁ (
2G,7G,10G) and press the mirror button each time. The two k always add up to 21. - On Bitcoin’s curve, type
02followed by any key’s x into P₁ and03with the same x into P₂ (copy the x from the Inspector). Relations always says they are mirror images. - Press S with Example 15.1 open and watch the pair on every shape; on the trefoil, look for the shared ring.
Recap
- Every point P = (x, y) has a mirror image −P = (x, p − y); a point plus its mirror image is 𝒪.
- 02 and 03 in front of the same x name the two mirror images: one has an even y, the other an odd y.
- On the donut −P is the reflection in the middle plane (edge-on in the side view); on the flat map it is a flip about y = p/2; every other shape keeps it a reflection.





