# What do cones have to do with quadratics? Why is $2$ special?

I've always been nagged about the two extremely non-obviously related definitions of conic sections (i.e. it seems so mysterious/magical that somehow slices of a cone are related to degree 2 equations in 2 variables). Recently I came across the following pages/videos:

While 3B1B's video makes a lot of sense and is very beautiful from a geometric standpoint, it does not talk about any of the other conics, or discuss the relationship with "degree 2". Moreover, the 2nd 3B1B video I linked and then Bhargava's lecture highlights "degree 2" as something we understand well, compared to higher degrees (reminds me a little bit of Fermat's last theorem and the non-existence of solutions for $$n>2$$).

So, I suppose my questions are as follows:

1. Why, from an intuitive standpoint, should we expect cones to be deeply related to zero-sets of degree 2 algebraic equations?

and more generally:

1. Is there some deep reason why "$$2$$" is so special? I've often heard the quip that "mathematics is about turning confusing things into linear algebra" because linear algebra is "the only subject mathematicians completely understand"; but it seems we also understand a lot of nice things about quadratics as well -- we have the aforementioned relationship with cones, a complete understanding of rational points, and the Pythagorean theorem (oh! and I just thought of quadratic reciprocity). 2 is also special in all sorts of algebraic contexts, as well as being the only possible finite degree extension of $$\mathbb R$$, leading to in particular $$\mathbb C$$ being 2-dimensional.

Also interesting to note that many equations in physics are related to $$2$$ (the second derivative, or inverse square laws), though that may be a stretch. I appreciate any ideas you share!

$$\rule{5cm}{0.4pt}$$

EDIT 3/12/21: was just thinking about variances, and least squares regression. "$$2$$" is extremely special in these areas: Why square the difference instead of taking the absolute value in standard deviation?, Why is it so cool to square numbers (in terms of finding the standard deviation)?, and the absolutely mindblowing animation of the physical realization of PCA with Hooke's law: Making sense of principal component analysis, eigenvectors & eigenvalues.

In these links I just listed, seems like the most popular (but still not very satisfying to me) answer is that it's convenient (smooth, easy to minimize, variances sum for independent r.v.'s, etc), a fact that may be a symptom of a deeper connection with the Hilbert-space-iness of $$L^2$$. Also maybe something about how dealing with squares, Pythagoras gives us that minimizing reconstruction error is the same as maximizing projection variance in PCA. Honorable mentions to Qiaochu Yuan's answer about rotation invariance, and Aaron Meyerowitz's answer about the arithmetic mean being the unique minimizer of sum of squared distances from a given point. As for the incredible alignment with our intuition in the form of the animation with springs and Hooke's law that I linked, I suppose I'll chalk that one up to coincidence, or some sort of SF ;)

$$\rule{5cm}{0.4pt}$$

EDIT 2/11/22: I was thinking about Hilbert spaces, and then wondering again why they behave so nice, namely they have the closest point lemma (leading to orthogonal decomposition $$\mathcal H = \mathcal M \oplus \mathcal M^\perp$$ for closed subspaces $$\cal M$$), or orthonormal bases (leading to Parseval's identity, convergence of a series of orthogonal elements if and only if the sum of the squared lengths converge), and I came to the conclusion that the key result each time seemed to be the Pythagorean theorem (e.g. the parallelogram law is an easy corollary of Pythag). So that begs the questions, why is the Pythagorean theorem so special? The linked article in the accepted answer of this question: What does the Pythagorean Theorem really prove? tells us essentially the Pythagorean theorem boils down to the fact that right triangles can be subdivided into two triangles both similar to the original.

The fact that this subdivision is reached by projecting the vertex onto the hypotenuse (projection deeply related to inner products) is likely also significant... ahh, indeed by the "commutativity of projection", projecting a leg onto the hypotenuse is the same as projecting the hypotenuse onto the leg, but by orthogonality of the legs, the projection of the hypotenuse onto the leg is simply the leg itself! The square comes from the fact that projection scales proportionally to the scaling of each vector, and there are two vectors involved in the operation of projection.

I suppose this sort of "algebraic understanding" of the projection explains the importance of "2" more than the geometry, since just knowing about the "self-similarity of the subdivisions" of the right triangle, one then has to wonder why say tetrahedrons or other shapes in other dimensions don't have this "self-similarity of the subdivisions" property. However it is still not clear to me why projection seems to be so fundamentally "2-dimensional". Perhaps 1-dimensionally, there is the "objective" perception of the vector, and 2-dimensionally there is the "subjective" perception of one vector in the eyes of another, and there's just no good 3-dimensional perception for 3 vectors?

There might also be some connection between the importance of projection and the importance of the Riesz representation theorem (all linear "projections" onto a 1-dimensional subspace, i.e. linear functionals, are actually literal projections against a vector in the space).

$$\rule{5cm}{0.4pt}$$

EDIT 2/18/22: again touching on the degree 2 Diophantine equations I mentioned above, a classical example is the number of ways to write $$k$$ as the sum of $$n$$ squares $$r_n(k)$$. There are a number of nice results for this, the most famous being Fermat's 2-square theorem, and Jacobi's 4-square theorem. A key part of this proof was the use of the Poisson summation formula for the Euler/Jacobi theta function $$\theta(\tau) := \sum_{n=-\infty}^\infty e^{i \pi n^2 \tau}$$, which depends on/is heavily related to the fact that Gaussians are stable under the Fourier transform. I still don't understand intuitively why this is the case (see Intuitively, why is the Gaussian the Fourier transform of itself?), but there seems to be some relation to Holder conjugates and $$L^p$$ spaces (or in the Gaussian case, connections to $$L^2$$), since those show up in generalizations to the Hardy uncertainty principle (“completing the square”, again an algebraic nicety of squares, was used in the proof of Hardy, and the Holder conjugates may have to do with the inequality $$-x^p + xu \leq u^q$$ -— Problem 4.1 in Stein and Shakarchi’s Complex analysis, where the LHS basically comes from computing the Fourier transform of $$e^{-x^p}$$) Of course why the Gaussian itself appears everywhere is another question altogether: https://mathoverflow.net/questions/40268/why-is-the-gaussian-so-pervasive-in-mathematics.

This (squares leading to decent theory of $$r_n(k)$$, and squares leading to nice properties of the Gaussian) is probably also connected to the fact that $$\int_{\mathbb R} e^{-x^2} d x$$ has a nice explicit value, namely $$\sqrt \pi$$. I tried seeing if there was a connection between this value of $$\pi$$ and the value of $$\pi$$ one gets from calculating the area of a circle "shell-by-shell" $$\frac 1{N^2} \sum_{k=0}^N r_2(k) \to \pi$$, but I couldn't find anything: Gaussian integral using Euler/Jacobi theta function and $r_2(k)$ (number of representations as sum of 2 squares).

$$\rule{5cm}{0.4pt}$$

EDIT 10/13/22: I was recently learning about Riemannian geometry, and indeed the metric tensor is a bilinear form (cf. above discussion on inner products), and the Riemann curvature tensor (or curvature in general) is all about the second (covariant) derivative. Taking traces we arrive at the Ricci curvature tensor (used in no less important things than Einstein's general relativity, whose "classical approximation" Newtonian gravity follows an inverse square law; and Perelman's proof of the Poincare conjecture!) or scalar curvature, which can be interpreted geometrically as the second-order change in volume of balls/base of cones (see https://math.stackexchange.com/a/469005/405572 or Equation (10) of https://arxiv.org/pdf/2201.04923v1.pdf).

And of course like Ricci flow we also have the heat/diffusion differential equations (and the Schrodinger equation, quoting James Gleck, is "diffusion through imaginary time"), and endless equations involving the Laplacian, all second-order differential equations (how AMAZING that the two great pillars of 20th century physics, general relativity and quantum mechanics both have at their hearts second-order differential equations! And the fact that observables in quantum mechanics are modeled as operators on Hilbert spaces). Relating to the Laplacian, we have the important concept of harmonicity, with beautiful manifestations/consequences in complex analysis, or PDEs, in the form of elliptic regularity. Besides tensors of 2nd derivatives, we have the ever-present Hessian matrix of second derivatives. I'll end with some quotes from a MO answer I linked here in a comment several months ago (https://mathoverflow.net/a/171743/112504) which tries to argue that "Polynomials are useful because quadratic polynomials are useful.":

So the question becomes: why are quadratic polynomials useful? There seem to be two different but interacting reasons. The first is that quadratic functions of a real variable are always either convex or concave and therefore have a unique maximum or minimum. The second is that quadratic functions are intimately related to bilinear forms and therefore can be accessed using linear algebra. The combination of these two reasons seems to explain the success of quadratic algebra in analysis and geometry (e.g. Hilbert spaces, Riemannian manifolds)

• One aspect here is presumably the connection to quadratic forms, which are bilinear i.e. linear in both arguments. That is: Suppose I have a real symmetric matrix $M$, and I define $Q(u,v)=u^\top M v$ as a binary operation on vectors. Then $$Q(au_1+bu_2,v)=a Q(u_1,v)+b Q(u_2,v)$$ and similarly for the second argument. (More generally one can talk about -multilinear- functions, with the determinant as a key example.) Jan 5, 2021 at 5:40
• Dropping a comment halfway through the 3B1B video, but the argument for a hyperbola (the locus of points where the difference between the distances from it to two fixed points is constant) would be the same except one sphere would be inside the "top cone" and the other inside the "bottom cone". The case of the parabola would be different since there is only one sphere, but someone who has thought about this for more than five minutes might have a clearer explanation.
– user694818
Jan 5, 2021 at 6:50
• Degree 2 is just the next simplest case after degree 1 (straight lines). Curves of degree 3 (elliptic curves) and higher have been extensively studied, but classifying and understanding them becomes much more complex. Jan 5, 2021 at 16:06
• Regarding the alleged oddity of the number $2$, cf. mathoverflow.net/q/160811/27465, mathoverflow.net/q/915/27465, math.stackexchange.com/q/1573308/96384. Jan 5, 2021 at 21:02
• The question "Why are quadratic equations the same as right circular conic sections?" appears to be based on false notions; for a computational approach I would instead recommend looking for other related questions such as Equation of Conics, Confusion about the conic equation, or The general equation of a conic section in the plane of the conic. Jan 6, 2021 at 4:32

A cone itself is a quadratic! Just in three variables rather than two. More precisely, conical surfaces are "degenerate hyperboloids," such as

$$x^2 + y^2 - z^2 = 0.$$

Taking conic sections corresponds to intersecting a cone with a plane $$ax + by + cz = d$$, which amounts to replacing one of the three variables with a linear combination of the other two plus a constant, which produces a quadratic in two variables. The easiest one to see is that if $$z$$ is replaced by a constant $$r$$ then we get a circle $$x^2 + y^2 = r^2$$ (which is how you can come up with the above equation; a cone is a shape whose slice at $$z = \pm r$$ is a circle of radius $$r$$). Similarly if $$x$$ or $$y$$ is replaced by a constant we get a hyperbola.

I don't know that I have a complete picture to present about why quadratics are so much easier to understand than cubics and so forth. Maybe the simplest thing to say is that quadratic forms are closely related to square (symmetric) matrices $$M$$, since they can be written $$q(x) = x^T M x$$. And we have lots of tools for understanding square matrices, all of which can then be brought to bear to understand quadratic forms, e.g. the spectral theorem. The corresponding objects for cubic forms is a degree $$3$$ tensor which is harder to analyze.

Maybe a quite silly way to say it is that $$2$$ is special because it's the smallest positive integer which isn't equal to $$1$$. So quadratics are the simplest things that aren't linear and so forth.

What is a cone?

It is a solid so that every cross section perpendicular to its center axis is a circle, and the radii of the these cross section circles a proportional to the the distance from the cone's vertex.

And that's it. the surface of the cone are the points $$(x,y,z)$$ where $$z = h=$$ the height of the the cross-section $$= r =$$ the radius of the cross section. And $$(x,y)$$ are the points of the circle with radius $$r = h = z$$.

As the equation of a circle is $$\sqrt{x^2 +y^2} = r$$ or $$x^2 + y^2 = r^2$$ the equation of a cone is $$x^2 + y^2 = z^2$$.

Every conic section is a matter intersecting the cone with a plane. A plane is a restriction of the three variable to be related by restraint $$ax +by + cz= k$$ and that is a matter of expressing any third variable as a linear combination of the other two.

So the cross section of a plane and cone will be a derivation of the 2 degree equation $$x^2 = y^2 = z^2$$ where one of the variables will be linear combination of the other two. In other words a second degree equation with two variables.

And that's all there is to it.

Of course the real question is why is the equation of a circle $$x^2 + y^2 =r^2$$? and why is that such an important representation of a second degree equation?

And that is entirely because of the Pythagorean theorem. If we take any point $$(x,y)$$ on a plane and consider the three points $$(x,y), (x,0)$$ and $$(0,0)$$ they for the three vertices of a right triangle. The legs of this triangle are of lengths $$x$$ and $$y$$ and therefore by the Pythagorean theorem the hypotenuse will have length $$\sqrt{x^2 + y^2}=h$$ and that is the distance of $$(x,y)$$ to $$(0,0)$$.

Now a circle is the collection of points where the distance from $$(x,y)$$ to $$(0,0)$$ is the constant value $$r = h$$. And so it will be all the points $$(x,y)$$ where $$\sqrt{x^2 + y^2} =r$$.

And that's it. That's why: distances are related to right triangles, right triangles are related to 2nd degree equations, circles are related to distances, cones are related to circles and all of them are related to 2nd degree equations.

That's it.

The proximate reason is that cones are based on circles, and circles, in turn, are given by the quadratic equation

$$x^2 + y^2 = r^2$$

. Now, as for the reason that circles have this equation, that is because they are related to the Euclidean distance function, being the set of all points at a constant distance from a given center, here conventionally taken as the origin. In particular,

$$d(P, Q) = \sqrt{|Q_x - P_x|^2 + |Q_y - P_y|^2}$$

Insofar as why the Euclidean metric has this form, I would say that it comes down to the following. To get a little more insight into this, it is useful to consider the somewhat more general form of metrics

$$d_p(P, Q) := \left(|Q_x - P_x|^p + |Q_y - P_y|^p\right)^{1/p}$$

called the $$p$$-metrics which, in effect, result from asking "well, what happens if we let the power not be 2?", and so are just right for answering this question.

And it turns out that $$d_2$$ has a very special property. It is the only one for which you can take a geometric object, declare a point on it a pivot, then take any other point on that object and tag it, measure the distance from the pivot to the tag point, and now transform that object in such a way the center remains fixed, while the tag point comes to face a different direction at the same distance, and yet the whole object's overall size and shape remains unchanged. Or, to put it another way, that such a thing as "rotation" makes geometric sense as being a rigid motion.

So, what is the ultimate reason cones are quadratic? Because in Euclidean space, you can rotate things in any way you please without changing their size and shape.

There is a paper by David Mumford which may be hard to read depending upon your level of preparation.

The gist of that paper is to say that any system of polynomial equations can be replaced (by adding more variables and more equations) to a system of quadratic and linear equations.

One can probably generalise this further to show that if the polynomial system has parameters, then one can ensure that these parameters only appear in the linear equations.

The very special early case of this is the one you have mentioned.

A reason "2" is special for physics is Newton's second law, which relates force to acceleration (not velocity) and that's a second derivative. Well, there's also the role of "2" in inverse square laws.

The reason "2" is special in geometry through quadratic forms in several variables is that quadratic forms in several variables have a few nice properties.

1. Every quadratic form can be diagonalized to remove all cross terms, so you can focus on the case of diagonal quadratic forms $$a_1x_1^2 + \cdots + a_nx_n^2$$. (Strictly speaking this is not true for quadratic forms over fields of characteristic $$2$$, but you don't get geometric intuition from characteristic $$2$$.) In contrast to that, cubic forms may not be able to be diagonalized, even over $$\mathbf C$$. For example, the cubic form $$y^2z - x^3 + xz^2$$ (whose zero set in dehomogenized form is given by the equation $$y^2 = x^3 - x$$) can't be diagonalized over $$\mathbf C$$: see my comments here
1. Every nonsingular quadratic form has a large group of automorphisms thanks to the construction of reflections. It's called the orthogonal group of the quadratic form. In contrast to that, the "orthogonal group" of a higher-degree homogeneous polynomial $$f(\mathbf x)$$ (that means the group of linear transformations $$A$$ preserving the polynomial: $$f(A\mathbf x) = f(\mathbf x)$$) is often finite, e.g., the only isometries of $$x_1^n + \cdots + x_n^n$$ for $$n \geq 3$$ are coordinate permutations and multiplying coordinates by $$n$$th roots of unity.

2. Fundamental to geometry is the concept of orthogonality, which you want to be a symmetric bilinear relation: $$v \perp w$$ if and only if $$w \perp v$$, and if $$v \perp w$$ and $$v \perp w'$$ then $$v \perp (ax + a'w')$$ for all scalars $$a$$ and $$a'$$. This suggests looking at bilinear forms $$B(v,w)$$ on a vector space and asking when the relation $$B(v,w) = 0$$ (an abstract version of "$$v \perp w$$") is symmetric. It turns out this happens if and only if $$B$$ is symmetric or alternating. The first case is, outside of characteristic $$2$$, closely related to studying the quadratic form $$Q(v) = B(v,v)$$.

• I think conservative forces are far more significant than acceleration being a 2nd derivative, and inverse-square comes from the fact that our universe has 3 macroscopic spatial dimensions. Jan 5, 2021 at 23:47
• I think the square in the inverse law comes from the fact that we live in 3 dimensions. The set of points at a given distance has 1 dimension less, i.e. they form a surface. The surface increase like the square of the distance. Jan 6, 2021 at 12:35

The index number 2 is special in connection with the way that angles can be defined from distances.

There are many possible distance functions (norms) which can be defined, but most of them do not allow angles to be defined in a consistent way. Angles are defined from an inner product (dot product) and this is only defined if the norm obeys the quadratic expression $$||u+v||^2+||u-v||^2=2||u||^2+2||v||^2$$ for any vectors $$u$$ and $$v$$.

In a space with a different norm there are fewer rotations. There may be only a finite number of possible rotations of a circle or a sphere. A "cone" in 3d $$(x,y,z)$$ defined by $$||x+y||=||z||$$ can still be intersected by planes and a family of (nonquadratic) curves found.

In the usual geometry angles are defined, so there is a quadratic expression which must be satisfied by lengths.

# Why is 2 special?

The Maxwell equations are invariant under the group of Lorentz transformations. This insight into special relativity was the firebrand Minkowski used to fuse space and time into a new geometry of spacetime.

We can reformulate Minkowski's insight as follows. Let $$\mathcal{C}$$ be the conic represented by the equation $$z^2=0$$ (equivalently, we could choose the dual conic $$\mathcal{C}^\triangle:=a^2-b^2=0$$) then

Theoreom 1: The group of spacetime motions is isomorphic to the group of projective transformations that leaves $$\mathcal{C}$$ invariant.

This is essentially Cayley and Klein's insight that most standard geometries (euclidean, elliptic, hyperbolic, etc.) are subgeometries of projective spaces and that you can thus formulate them via projective metrics. The formulation each time boils down to choosing a fundamental conic, an act delimited by the spectral theorem, and then defining length and angle measurements in terms of how lines in the projective plane intersect this conic.

The conic $$\mathcal{C}$$ (and it's dual) is a degenerate conic consisting of two real points on a double line. However, closely related to theorem 1 is

Theorem 2: The group of projective transformations that leaves a nongenerate conic invariant is isomorphic to the group of transformations of the real projective line $$\mathbb{RP}^1$$.

Hence conics, aka quadratic forms, aka homogeneous degree $$2$$ polynomials, aka degree $$2$$ curves, are just plain old lines, up to how they projectively transform.

# Addendum, where $$2$$ borrows its light from $$3$$

Projective geometry starts from a simple, visually intuitive premise: all lines intersect in exactly one point, parallel lines being those that intersect on the line at infinity. It is one of the remarkable results of mathematics that from this premise we get

Theorem (Bézout): Let $$C_1$$ and $$C_2$$ be smooth curves in the plane with no common components, then $$\#(C_1\cap C_2)\leq (\deg C_1)(\deg C_2).$$

So, if we start from the visual intuition that all lines, aka degree $$1$$ curves, intersect in exactly one point, then the number of intersections of all smooth curves is bound by the product of their degrees!

From Bézout (and what is a nice exercise) we get the celebrated

Theorem (Cayley-Bacharach): Let $$C_1,C_2$$ be cubic curves meeting in nine points. If $$C$$ is another cubic curve passing through eight of these points then $$C$$ passes through the ninth point also.

Cayley-Bacharach is the key to associativity of the group of rational points on elliptic curves and thus is bound up, in a nascent sense, with such famous results as Mordell-Weil and modularity. Looking backwards, we find Pascal's mystic hexagon, another famous theorem of conics, is a degenerate form of Cayley-Bacharach (another good exercise) and thus Pappus's hexagon is a twice degenerate Cayley-Bacharach.

Taking stock, Pascal's theorem is a statement about a line and a conic, which can be evaluated as a single object, a cubic. At the start of this comment we said $$2$$ was special because all Cayley-Klein geometries, in particular the geometry of special relativity, are built out of degree $$2$$ curves. But really they are built out of intersections of conics and lines and so the measurements are all also cubic in nature!

We can go even more elementary still. A projective plane in which the pappus theorem holds is called pappian. Pappus also implies Desargues's theorem and similarly there are desarguesian and nondesarguesian planes. In Grundlagen der Geometrie Hilbert proved

Theorem (Hilbert): $$\mathbb{K}$$ is a field $$\iff \mathbb{KP}^2$$ is pappian. $$R$$ is a division ring $$\iff R\mathbb{P}^2$$ is desarguesian.

I'm not totally sure Hilbert proved the second part but whatever, from the first part we can say the real numbers are commutative under multiplication because two triangles that are doubly perspective are triply perspective.

Another path to Pappus, via Ceva’s theorem, involves gluing the edges of a hexagon together, which topologically turns it into a torus, so that again we are in the realm of cubic curves.

Yet another path to both Pascal and Pappus uses a powerful result in web geometry, which mixes projective and differential geometries to study $$d$$ families of level curves in projective spaces. The theorem characterises triviality of $$3$$-webs in the plane (web geometries only start at $$3$$ in the plane) via hexagonality!

There are several nontrivial consequences from Pascal’s theorem. Perhaps most surprising is the fact that hyperbolas and ellipses have four foci not two. One pair is generally hidden in the complex projective plane, but, if you continuously deform the conic, the two pairs continuously exchange the roles of visible and invisible. The proof of the four foci theorem naturally involves Brianchon’s theorem, the dual of Pascal.

Good ponders; I've also wondered some of these things, but I've never put them into words. Let me record some thoughts as a geometer. Observe $$2+2=2\cdot 2;$$

furthermore $$2$$ is the only nonzero number satisfying this property. Let's see how much geometry falls out of this stupid little observation. Note that Holder conjugates, those pairs $$p,q$$ satisfying $$1/p+1/q=1$$, can be rewritten as those pairs which satisfy $$p+q=pq$$. Our stupid little observation thus singles out $$L^2$$ as the only Hilbert space - the other ones fail the parallelogram law, which is just a rewriting of the Pythagorean theorem.

To me, what Pythagorean's theorem is saying is still a deep mystery - especially when contrasted alongside (e.g.) Fermat's last theorem. This is why geometers respect this theorem so much - despite the simplicity, it's such a deep and mysterious result.

Curvature is intuitively a 2nd order concept because it measures how tangent planes deviate from each other, and tangent planes are a first order concept. But curvature -is- geometry; if the Riemann tensor vanishes at a point, then your space is locally isometric to flat space.

Note that any metric can be made into a pointwise flat one by choosing geodesic normal coordinates at a point which vanish both the metric and its first derivatives. In other words, for any $$p\in M$$, we may vanish make the metric look Euclidean, and vanish the Christoffel symbols $$g_{ij}=\delta_{ij}$$ $$g_{ij,k}\equiv0.$$

What you cannot vanish under a change of coordinates are higher order terms, i.e. derivatives of the Christoffel symbols.

I guess the propaganda is the following: geometry is order $$2$$.