Square on graph of cubic

282 Views Asked by At

Source of the problem: Mathematics Education Innovation

Let $k>0$ be some real constant and consider $f_k(x) = x^3 - k \, x$ for real $x$. Then one can show that for $k \geq \sqrt{8}$ there is a (tilted) square centered at $(0,0)$ with all its corners on the graph of $f_k$. (For $k=\sqrt{8}$ there is exactly one such square, for $k>\sqrt{8}$ there are two.) This minimal $k$ can be derived from a computation with resultants or Gröbner bases on the system of equations $$f_k(x)-y, \ f_k(y)+x, \ (3x^2 - k)(3y^2 - k)+1$$ and using $x,y \neq 0$ where required. (The third equation expresses that the curves given by the first two equations touch in a corner of the square.)

Now for the actual question: how could $k=\sqrt{8}$ be derived using only high school level mathematics? This is not a very precise question, but resultants and Gröbner bases are definitely out. Equations of “high” degree without apparent structure should be avoided as well.

Playing with the equations above leads to many derived equalities but getting rid of $x$ and $y$ by just playing around is not so simple it seems. (One such equation is $k^2=3x^2 y^2-1$ which suggests to somehow derive $x^2y^2=3$.)

Any method is acceptable by the way, it doesn’t have to be purely algebraic as sketched above. Here’s a nice picture for $k=\sqrt{8}$.

Square on cubic

2

There are 2 best solutions below

2
On

Here is how I would do it.

Consider a pair of perpendicular lines passing through the origin, rendered here as $y=mx$ and $y=-x/m$. Combining each of these linear equations with $y=x^3-kx$ gives in turn the following non-origin intersections, where $L$= length if the "diagonal" between each pair of intersections:

$y=mx \rightarrow x_1=\pm\sqrt{k+m},L_1=2\sqrt{(1+m^2)(k+m)}$

$y=-x/m \rightarrow x_2=\pm\sqrt{k-(1/m)},L_2=\frac{2\sqrt{(1+m^2)(k-(1/m))}}{|m|}$

To make a square we then just render the diagonal congruent, thus $L_1=L_2$. After removing common factors, clearing fractions and squaring we ultimately arrive at a polynomial equation:

$m^4+km^3-km+1=0$

This looks ugly, but note that any line which solves this equation for a given $k$ must be accompanied by its perpendicular line. Then the quartic polynomial in the slope $m$ must have pairs of roots with product $-1$ forcing this factorization:

$m^4+km^3-km+1=(m^2+am-1)(m^2+bm-1)=0$

Matching both cubic and linear terms then gives $a+b=k$, while matching quadratic terms yields $ab=2$.

Now to get a single pair of perpendicular lines, corresponding to a single "inscribed" square, we need $a=b$ making the factors identical. Then from the matching equations given above either

$a=b=\sqrt{2},k=2\sqrt{2}$

or

$a=b=-\sqrt{2},k=-2\sqrt{2}$.

The second root gives no square in the real plane; instead the vertices of that square have imaginary coordinates. The first root is the one giving a single square in the real plane. The corresponding slopes of the lines for this case, obtained by solving $m^2+(\sqrt{2})m-1=0$, are $m=(-\sqrt{2}\pm\sqrt{6})/2$.

4
On

how could $k=\sqrt{8}$ be derived using only high school level mathematics?

The following is a somewhat speculative argument that "something happens" at $\,k=2 \sqrt{2}\,$.

To start with the speculation, the central symmetry of the cubic suggests that an inscribed square might be centered at the origin (though it doesn't prove that it has to). Let $\,(a,b)\,$ be one vertex of such a square, then the other three would be $\,(-b,a), (-a,-b), (b,-a)\,$. The last two follow by symmetry, and the relevant conditions for the first two vertices to lie on the cubic are;

$$ \begin{align} \begin{cases} b = a^3 - ka \\ a = -b^3 + kb \end{cases} \end{align} $$

Eliminating (for example) $\,a\,$ between the equations:

$$ b = a\left(a^2 - k\right) = -b\left(b^2-k\right)\left(b^2\left(b^2-k\right)^2-k\right) $$

Canceling out the $\,b\,$ factor, then expanding and collecting:

$$ b^8 - 3 k b^6 + 3 k^2 b^4 - k (k^2 +1) b^2 + k^2 + 1 = 0 \\[10px] \iff\quad P(c) = c^4 - 3 k c^3 + 3 k^2 c^2 - k (k^2 +1) c + k^2 + 1 = 0 \quad\quad \style{font-family:inherit}{\text{where}} \;\; c = b^2 $$

The latter quartic cannot have negative real roots by Descartes' rule of signs, and the nature of the roots can only change at points where there is a double root. Writing the condition as either the discriminant vanishing, or $\,\deg \gcd(P, P') \ge 1\,$ gives after routine (albeit tedious) calculations:

$$ 0 = 4 k^6 - 60 k^4 + 192 k^2 + 256 = 4 (k^2 - 8)^2 (k^2 + 1) $$

The negative root $\,k = -2 \sqrt{2}\,$ is uninteresting since $\,f(x)\,$ is an increasing function when $\,k \lt 0\,$. However, the positive root $\,k = 2 \sqrt{2}\,$ does in fact lead to explicit solutions for $\,c\,$, then $\,b\,$ and $\,a\,$.