666 Followers Question

Geometry Level 5

2 x y + y z + z 1 x 2 y 2 z 2 \sqrt{2}xy+yz+z\sqrt{1-x^2-y^2-z^2}

If x , y x,y and z z are positive reals satisfying x 2 + y 2 + z 2 1 x^2+y^2+z^2 \leq 1 , and that the maximum value of the expression above is equal to cos ( π n ) \cos\left(\dfrac \pi n\right) for some positive integer n n , find n n .

Bonus Question : Find the maximal value of the expression below. 2 x 1 x 2 + k = 2 n 1 x k x k + 1 + x n 1 k = 1 n x k 2 \sqrt{2}x_1x_2+\sum_{k=2}^{n-1}x_kx_{k+1}+x_n \sqrt{1-\sum_{k=1}^{n}x_k^2}


The answer is 8.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Mark Hennings
Jan 12, 2016

For any n N n \in \mathbb{N} , consider the ( n + 1 ) × ( n + 1 ) (n+1)\times(n+1) matrix A [ n ] A[n] , where A [ n ] r s = { 2 r = 1 , s = 2 or r = 2 , s = 1 , 1 r = j , s = j + 1 or r = j + 1 , s = j for 2 j n , 0 otherwise A[n]_{rs} \; = \; \left\{ \begin{array}{lll} \sqrt{2} & \qquad & r=1,s=2 \mbox{ or } r=2, s=1, \\ 1 & \qquad & r=j,s=j+1 \mbox{ or } r=j+1,s=j \quad \mbox{ for } 2 \le j \le n, \\ 0 & \qquad & \mbox{otherwise} \end{array} \right. so that x T A [ n ] x = 2 ( 2 x 1 x 2 + r = 2 n x r x r + 1 ) \mathbf{x}^T A[n] \mathbf{x} \; = \; 2\left(\sqrt{2}x_1x_2 + \sum_{r=2}^n x_r x_{r+1}\right) for any x R n + 1 \mathbf{x} \in \mathbb{R}^{n+1} .

For α R \alpha \in \mathbb{R} define the vector x ( α ) R n + 1 \mathbf{x}(\alpha) \in \mathbb{R}^{n+1} by x ( α ) r = { 1 2 r = 1 cos ( r 1 ) α 2 r n + 1 \mathbf{x}(\alpha)_r \; = \; \left\{ \begin{array}{lll} \tfrac{1}{\sqrt{2}} & \qquad & r = 1 \\ \cos(r-1)\alpha & \qquad & 2 \le r \le n+1 \end{array} \right. For then [ A [ n ] x ( α ) ] r = { 2 x ( α ) 2 = 2 cos α x ( α ) 1 r = 1 2 x ( α ) 1 + x ( α ) 3 = 2 cos α x ( α ) 2 r = 2 x ( α ) r 1 + x ( α ) r + 1 = 2 cos α x ( α ) r 3 r n x ( α ) n = 2 cos α x ( α ) n + 1 cos ( n + 1 ) α r = n + 1 \big[A[n]\mathbf{x}(\alpha)\big]_r \; = \; \left\{\begin{array}{lll} \sqrt{2}\mathbf{x}(\alpha)_2 \; = \; 2\cos\alpha \mathbf{x}(\alpha)_1 & \qquad & r = 1 \\ \sqrt{2}\mathbf{x}(\alpha)_1 + \mathbf{x}(\alpha)_3 \; = \; 2\cos\alpha \mathbf{x}(\alpha)_2 & \qquad & r = 2 \\ \mathbf{x}(\alpha)_{r-1} + \mathbf{x}(\alpha)_{r+1} \; = \; 2\cos\alpha \mathbf{x}(\alpha)_r & \qquad & 3 \le r \le n \\ \mathbf{x}(\alpha)_n \; = \; 2\cos\alpha \mathbf{x}(\alpha)_{n+1} - \cos(n+1)\alpha & \qquad & r = n+1 \end{array} \right. so that A [ n ] x ( α ) = 2 cos α x ( α ) A[n]\mathbf{x}(\alpha) \,=\, 2\cos\alpha \mathbf{x}(\alpha) provided that cos ( n + 1 ) α = 0 \cos(n+1)\alpha = 0 . Thus the matrix A [ n ] A[n] has n + 1 n+1 distinct real eigenvalues 2 cos ( 2 k + 1 ) π 2 ( n + 1 ) 2\cos\tfrac{(2k+1)\pi}{2(n+1)} , with corresponding eigenvector x ( ( 2 k + 1 ) π 2 ( n + 1 ) ) \mathbf{x}\big(\tfrac{(2k+1)\pi}{2(n+1)}\big) , for k = 0 , 1 , 2 , , n k \,=\, 0,1,2,\ldots,n .

The maximum value of x T A [ n ] x \mathbf{x}^T A[n] \mathbf{x} over all x R n + 1 \mathbf{x} \in \mathbb{R}^{n+1} for which x 2 = 1 \Vert\mathbf{x}\Vert^2 = 1 is the largest eigenvalue of A [ n ] A[n] , namely 2 cos π 2 ( n + 1 ) 2\cos \tfrac{\pi}{2(n+1)} . Thus the largest value of F ( x 1 , x 2 , , x n ) = 2 x 1 x 2 + r = 2 n 1 x r x r + 1 + x n 1 r = 1 n x r 2 F(x_1,x_2,\ldots,x_n) \;=\; \sqrt{2}x_1x_2 + \sum_{r=2}^{n-1} x_rx_{r+1} + x_n\sqrt{1 - \sum_{r=1}^nx_r^2} for all x 1 , x 2 , , x n x_1,x_2,\ldots,x_n such that x 1 2 + x 2 2 + + x n 2 1 x_1^2 + x_2^2 + \cdots + x_n^2 \le 1 is cos π 2 ( n + 1 ) \cos \tfrac{\pi}{2(n+1)} . We are just introducing an extra variable x n + 1 x_{n+1} so that x n + 1 2 = 1 x 1 2 x 2 2 x n 2 x_{n+1}^2 = 1 - x_1^2 - x_2^2 - \cdots - x_n^2 . The fact that F ( x 1 , x 2 , , x n ) F(x_1,x_2,\ldots,x_n) always requires x n + 1 x_{n+1} to be positive is unimportant, since x T A [ n ] x = ( x ) T A [ n ] ( x ) \mathbf{x}^TA[n]\mathbf{x} = (-\mathbf{x})^TA[n](-\mathbf{x}) , and one of x \mathbf{x} and x -\mathbf{x} must have positive last coefficient. Thus we can always achieve the maximum value of x T A [ n ] x \mathbf{x}^TA[n]\mathbf{x} with an x \mathbf{x} with positive last coefficient.

For the first part of the question we have n = 3 n=3 , so the largest eigenvalue is cos π 8 \cos\tfrac{\pi}{8} . The answer to the question is 8 \boxed{8} .

Yes, this is a wonderful solution, careful and clear! Thank you!

One can shorten the work a bit by using the theory of Chebyshev polynomials of the first kind, but yours is a great solution "from first principles"! I will post the Chebyshev approach when I get around to it (or somebody else in invited to do so).

You might enjoy this similar problem

Otto Bretscher - 5 years, 5 months ago

What motivated this approach?

Calvin Lin Staff - 5 years, 5 months ago

Log in to reply

Otto is very fond of maximizing quadratic forms over spheres, and so introducing the extra variable to make the constraint an identity and the main function a quadratic form was clear.

How to handle the matrix all of whose nonzero coefficients are 1 1 , is pretty standard. I am using the identity cos ( u 1 ) θ + cos ( u + 1 ) θ = 2 cos θ cos u θ \cos(u-1)\theta + \cos(u+1)\theta = 2\cos\theta\cos u\theta (which can be expressed in terms of the Chebyshev polynomials as T u 1 ( x ) + T n + 1 ( x ) = 2 x T n ( x ) T_{u-1}(x) + T_{n+1}(x) = 2xT_n(x) with x = cos u x = \cos u , of course) to spot the eigenvalues, and it only took a little fiddling to work out what to do with the first coefficient, in order to handle the 2 \sqrt{2} terms. Using Chebyshev polynomials, the eigenvectors are ( 1 2 T 0 ( ξ ) T 1 ( ξ ) T 2 ( ξ ) T n ( ξ ) ) \left( \begin{array}{c}\frac{1}{\sqrt{2}}T_0(\xi) \\ T_1(\xi) \\ T_2(\xi) \\ \vdots \\ T_n(\xi)\end{array} \right) for eigenvalue ξ = 2 cos ( 2 k + 1 ) π 2 ( n + 1 ) \xi = 2\cos \tfrac{(2k+1)\pi}{2(n+1)} , 0 k n 0 \le k \le n .

Mark Hennings - 5 years, 5 months ago
Otto Bretscher
Jan 13, 2016

Here is a brief solution of the "bonus question" for those who know about Chebyshev polynomials.

If we introduce an auxiliary variable x n + 1 = 1 k = 1 n x k 2 x_{n+1}=\sqrt{1-\sum_{k=1}^{n}x_k^2} , then our problem amounts to finding the maximum of the quadratic form q ( x 1 , . . . , x n + 1 ) = 2 x 1 x 2 + k = 2 n x k x k + 1 q(x_1,...,x_{n+1})=\sqrt{2}x_1x_2+\sum_{k=2}^{n}x_kx_{k+1} subject to the constraint k = 1 n + 1 x k 2 = 1 \sum_{k=1}^{n+1}x_k^2=1 .

Let A A be the symmetric matrix of q q ; the largest eigenvalue of A A is the maximal value of q q . It turns out that the characteristic polynomial of A A is a constant multiple of the Chebyshev polynomial of the first kind T n + 1 ( x ) T_{n+1}(x) . The zeros of T n + 1 ( x ) T_{n+1}(x) , of the form cos ( ( 2 k 1 ) π 2 ( n + 1 ) ) \cos\left(\frac{(2k-1)\pi}{2(n+1)}\right) for k = 1 , . . . , n + 1 k=1,...,n+1 , are the eigenvalues of A A . The largest eigenvalue, cos ( π 2 ( n + 1 ) ) \cos\left(\frac{\pi}{2(n+1)}\right) , is the maximal value of q q we seek.

A small typo in your above post ( T n + 1 T_{n+1} should have n + 1 n+1 zeros). I see how your argument works...

If A [ n ] A[n] is the matrix of my post then, expanding the determinant by the bottom row (and calculating the second cofactor by expanding it by the last column): d e t ( λ I n + 1 A [ n ] ) = λ d e t ( λ I n A [ n 1 ] ) d e t ( λ I n 1 A [ n 2 ] ) \mathrm{det}\big(\lambda I_{n+1} - A[n]\big) \; = \; \lambda \mathrm{det}\big(\lambda I_n - A[n-1]\big) - \mathrm{det}\big(\lambda I_{n-1} - A[n-2]\big) for all n 2 n \ge 2 . Thus the characteristic χ n ( λ ) \chi_n(\lambda) of A [ n ] A[n] satisfies the recurrence relation χ n ( λ ) = λ χ n 1 ( λ ) χ n 2 ( λ ) \chi_n(\lambda) \; = \; \lambda \chi_{n-1}(\lambda) - \chi_{n-2}(\lambda) for n 2 n \ge 2 . In addition, χ 0 ( λ ) = λ \chi_0(\lambda) = \lambda and χ 1 ( λ ) = λ 2 2 \chi_1(\lambda) = \lambda^2 - 2 . From this we deduce that χ n ( 2 λ ) = 2 T n + 1 ( λ ) , n 1 . \chi_n(2\lambda) \; = \; 2T_{n+1}(\lambda) \;, \qquad \qquad n \ge 1 \;. Thus the eigenvalues of A [ n ] A[n] are 2 cos ( 2 k + 1 ) π 2 ( n + 1 ) 2\cos\tfrac{(2k+1)\pi}{2(n+1)} for 0 k n 0 \le k \le n , giving us the required answer (my A [ n ] A[n] is twice your A A ).

Provided that we can do the general determinant calculation to obtain the recurrence relation (and λ I n + 1 A [ n ] \lambda I_{n+1} - A[n] is tridiagonal, so this is moderately standard), this is a nice method.

Mark Hennings - 5 years, 5 months ago

Log in to reply

Yes, exactly. My starting point was the well-developed theory of tri-diagonal Otto Toeplitz matrices; the eigenvalues are known in that case. Then I "fiddled with" the first coefficient, as you put it, to make the characteristic polynomial come out to be T n T_{n} , up to a constant multiple. Since T 2 ( x ) = 2 x 2 1 T_2(x)=2x^2-1 , we need 1 2 \frac{1}{\sqrt{2}} in the 1-2 and 2-1 entries of A A .

Guess what happens when we apply this method to k = 1 n x k x k + 1 \sum_{k=1}^{n}x_kx_{k+1} , the problem that motivated this whole discussion, inspired by @Aareyan Manzoor ? See this problem

Thanks for spotting the typo. I'm doing this in a hurry before removing 20 cm of snow from my drive way and then heading to work

Otto Bretscher - 5 years, 5 months ago

Log in to reply

well... the tag doesnt seem to work after edit(i wasnt notified).I dont know how to apply linear algebra... and the previous one i got lucky because i put wrong values in calc! Its really awkward i am having trouble solving what i inspired......

Aareyan Manzoor - 5 years, 5 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...