Инструменты сайта


Algebra: Problems and Solutions

Complex numbers. Polar form

A1. Compute $ \tan ( 7\varphi) $ if $ \tan ( \varphi)=\sqrt{2} $.

Solution. Apply the de Moivre's formula: $$ \cos(7\varphi)+ \mathbf i\, \sin(7\varphi)= \left[\cos(\varphi)+ \mathbf i \, \sin(\varphi)\right]^7 $$ then expand the right-hand side with the aid of binomial theorem $$ = \left[ \cos^7 ( \varphi) -21\, \cos^5 ( \varphi) \sin^2 \left( \varphi \right) +35\, \cos^3 ( \varphi) \sin^4 ( \varphi) -7\,\cos ( \varphi) \sin^6 ( \varphi) \right] $$ $$ + \left[ - \sin^7 ( \varphi) +21\, \cos^2 ( \varphi) \sin^5 ( \varphi ) -35\, \cos^4 ( \varphi) \sin^3 (\varphi) + 7\, \cos^6 (\varphi) \sin (\varphi)\right] \, \mathbf i \, . $$ Then $ \tan ( 7\varphi) $ can be represented as the fraction of the imaginary part and the real part of the last expression: $$ \tan ( 7\varphi) =\frac{ - \sin^7 ( \varphi) +21\, \cos^2 ( \varphi) \sin^5 ( \varphi ) -35\, \cos^4 ( \varphi) \sin^3 (\varphi) + 7\, \cos^6 (\varphi) \sin (\varphi)}{\cos^7 ( \varphi) -21\, \cos^5 ( \varphi) \sin^2 ( \varphi) +35\, \cos^3 ( \varphi) \sin^4 ( \varphi) -7\,\cos ( \varphi) \sin^6 ( \varphi)} \, . $$ Divide the numerator and the denominator of this fraction by $ \cos^7(\varphi) $: $$ =\frac{-\tan^7 (\varphi)+21\, \tan^5 (\varphi)-35 \, \tan^3 (\varphi) + 7\, \, \tan(\varphi)}{1-21\, \tan^2 (\varphi) +35\, \tan^4 (\varphi) - 7\,\tan^6 (\varphi)} $$ and substitute the value $ \tan ( \varphi)=\sqrt{2} $ from the statement of the problem.

Answer. $ \frac{13}{43} \sqrt{2} $.

Roots of a polynomial

E3. Find the degree $ 3 $ monic polynomial with the roots equal to squared roots of the polynomial $$ x^3-3\,x^2+1 \, . $$

1st solution. Denote by $\lambda_1,\lambda_2,\lambda_3 $ the roots of the polynomial $ f(x):=x^3-3\,x^2+1 $. Then Viète's formulas $$ \lambda_1+\lambda_2+\lambda_3=3,\ \lambda_1\lambda_2+ \lambda_1\lambda_3+ \lambda_2\lambda_3=0, \ \lambda_1 \lambda_2 \lambda_3=-1 $$ are valid. With these relations, similar formulas for the polynomial $ F(x):=x^3+A_1x^2+A_2x+A_3 $ possessing the roots $\lambda_1^2,\lambda_2^2,\lambda_3^2 $ can be deduced: $$ A_1=-(\lambda_1^2+\lambda_2^2+\lambda_3^2)=-(\lambda_1+\lambda_2+\lambda_3)^2+2\, (\lambda_1\lambda_2+ \lambda_1\lambda_3+ \lambda_2\lambda_3)=-9+0=-9 \ , $$ $$ A_2= \lambda_1^2\lambda_2^2+ \lambda_1^2\lambda_3^2+ \lambda_2^2\lambda_3^2= (\lambda_1\lambda_2+ \lambda_1\lambda_3+ \lambda_2\lambda_3)^2-2\, (\lambda_1^2\lambda_2\lambda_3+\lambda_1\lambda_2^2\lambda_3+\lambda_1\lambda_2\lambda_3^2) $$ $$ =0-2\cdot (-1) \cdot 3=6\, , $$ $$ A_3= -\lambda_1^2\lambda_2^2\lambda_3^2 = -1 \, . $$

2nd solution. If $ f(x)\equiv (x-\lambda_1)(x-\lambda_2)(x-\lambda_3) $ then $$ f(\sqrt{x}) \equiv (\sqrt{x}-\lambda_1)(\sqrt{x}-\lambda_2)(\sqrt{x}-\lambda_3) \quad \mbox{and} \quad f(-\sqrt{x}) \equiv (-\sqrt{x}-\lambda_1)(-\sqrt{x}-\lambda_2)(-\sqrt{x}-\lambda_3) \, . $$ Then $$ F(x)\equiv - f(\sqrt{x}) f(-\sqrt{x}) \, . $$ Since we know the polynomial $ f(x) $, one has $$ f(\sqrt{x}) \equiv x\sqrt{x} - 3 \, x +1 , \ f(-\sqrt{x}) \equiv -x\sqrt{x} -3 \, x +1 $$ and $$ F(x) \equiv -[(-3x+1)^2 - x\cdot x^2] \, . $$

3rd solution. (Feasible if the problem solver is acquainted with the notions of Tschirnhaus transformation and resultant).

One has $$ F(x)\equiv \mathcal R_{\lambda} (f(\lambda), x- \lambda^2) $$ where $ \mathcal R $ stands for the resultant of the polynomials treated with respect to $ \lambda $. If the resultant is represented as Sylvester's determinant, then $$ R_{\lambda} ( \lambda^3-3\,\lambda^2+1, x- \lambda^2) = - \left| \begin{array}{rrrrr} 1 & -3 & 0 & 1 & \\ & 1 & -3 & 0 & 1 \\ & & -1 & 0 & x \\ & -1 & 0 & x & \\ -1 & 0 & x & & \end{array} \right| $$ Here all the unspecified entries are assigned to $ 0 $. To compute the determinant, make the following elementary transformations with its columns. First add to the third column the first one multiplied by $ x $: $$ =-\left| \begin{array}{rrrrr} 1 & -3 & x & 1 & \\ & 1 & -3 & 0 & 1 \\ & & -1 & 0 & x \\ & -1 & 0 & x & \\ -1 & 0 & 0 & & \end{array} \right| $$ then expand the determinant by the last row $$ = \left| \begin{array}{rrrr} -3 & x & 1 & \\ 1 & -3 & 0 & 1 \\ & -1 & 0 & x \\ -1 & 0 & x & \end{array} \right| \, . $$ Again add to the third column the first one multiplied by $ x $: $$ = \left| \begin{array}{rrrr} -3 & x & 1-3x & \\ 1 & -3 & x & 1 \\ & -1 & 0 & x \\ -1 & 0 & 0 & \end{array} \right| $$ then expand the determinant by the last row $$ = \left| \begin{array}{rrrr} x & 1-3x & 0 \\ -3 & x & 1 \\ -1 & 0 & x \end{array} \right| = x^3-(1-3\,x)+3\,x (1-3\,x) $$

Remark. Algorithms outlined in the second and the third solutions are evidently extandable for the general problem of squaring the roots of arbitrary polynomial $ f(x) $.

Answer. $x^3-9\,x^2+6\,x-1$.

Matrices: basic notions

E1. Compute $$ 3 \left[ \left( \begin{array}{rr} 2 & 3 \\ 2 & 1 \\ 0 & 1 \end{array} \right) \left( \begin{array}{rrr} 1 & 2 & 3 \\ -3 & -2 & -1 \end{array} \right) +I \right]^{-1} - \left[ \left( [j-k]_{j,k=1}^3 \right)^3 + [(j+k) \mod 3 ]_{j,k=1}^3 \right]^{\top} \ . $$ Here $ I $ stands for the identity matrix.

Solution is started with the computation of the matrix in the first brackets $$ \left( \begin{array}{rr} 2 & 3 \\ 2 & 1 \\ 0 & 1 \end{array} \right) \left( \begin{array}{rrr} 1 & 2 & 3 \\ -3 & -2 & -1 \end{array} \right)=\left( \begin {array}{rrr} -7&-2&3\\ -1&2&5\\ -3&-2&-1\end {array} \right) $$ $$ \left( \begin {array}{rrr} -7&-2&3\\ -1&2&5\\ -3&-2&-1\end {array} \right)+ \left( \begin {array}{rrr} 1&0&0\\ 0&1&0\\ 0&0&1\end {array} \right)= \left( \begin {array}{rrr} -6&-2&3\\ -1&3&5\\ -3&-2&0\end {array} \right) $$ The determinant of the last matrix equals $3$, therefore its inversion exists: $$ \left( \begin {array}{rrr} -6&-2&3\\ -1&3&5\\ -3&-2&0\end {array} \right)^{-1}= \left( \begin {array}{ccc} \frac{10}3&-2&-\frac{19}{3} \\ -5&3&9\\ \frac{11}3&-2&-\frac{20}{3} \end {array} \right) \, . $$ We proceed then with the matrices in the second brackets $$ [j-k]_{j,k=1}^3 = \left( \begin {array}{rrr} 0&-1&-2\\ 1&0&-1 \\ 2&1&0 \end{array} \right) $$ and $$ \left( \begin {array}{rrr} 0&-1&-2\\ 1&0&-1 \\ 2&1&0 \end{array} \right)^2= \left( \begin{array}{rrr} -5&-2&1\\ -2&-2&-2 \\ 1&-2&-5\end{array} \right), \ \left( \begin{array}{rrr} -5&-2&1\\ -2&-2&-2 \\ 1&-2&-5\end{array} \right) \left( \begin {array}{rrr} 0&-1&-2\\ 1&0&-1 \\ 2&1&0 \end{array} \right)= \left( \begin{array}{rrr} 0&6&12\\ -6&0&6\\ -12&-6&0 \end{array} \right) \, . $$ Next $$ [(j+k) \mod 3 ]_{j,k=1}^3 = \left( \begin{array}{rrr} 2&0&1\\ 0&1&2\\ 1&2&0 \end{array} \right) $$ and $$ \left([j-k]_{j,k=1}^3 \right)^3 + [(j+k) \mod 3 ]_{j,k=1}^3 = \left( \begin{array}{rrr} 2&6&13\\ -6&1&8\\ -11&-4&0 \end{array} \right) \, . $$ Finally, $$ 3\left( \begin {array}{ccc} \frac{10}3&-2&-\frac{19}{3} \\ -5&3&9\\ \frac{11}3&-2&-\frac{20}{3} \end {array} \right) - \left( \begin{array}{rrr} 2&6&13\\ -6&1&8\\ -11&-4&0 \end{array} \right)^{\top}= \left( \begin{array}{rrr} 8&0&-8\\ -21&8&31\\ -2&-14&-20 \end{array} \right) \, . $$

Answer. $$ \left( \begin{array}{rrr} 8&0&-8\\ -21&8&31\\ -2&-14&-20 \end{array} \right) $$


E2. Solve the matrix equation $$ X^2= \left( \begin{array}{rr} -1 & 0 \\ 0 & 1 \end{array} \right) $$ with respect to the real matrix $ X_{2\times 2} $.

1st solution. Set $$ X= \left( \begin{array}{cc} x_{11} & x_{12} \\ x_{21} & x_{22} \end{array} \right) $$ with yet indetermined entries. Matrix equation can be rewritten as the system of linear equations: $$ \left\{ \begin{array}{ll} x_{11}^2+x_{12}x_{21}&=-1 \\ x_{11}x_{12}+x_{12}x_{22}&=0 \\ x_{21}x_{11}+x_{22}x_{21}&=0 \\ x_{21}x_{12}+x_{22}^2&=1 \end{array} \right. \qquad \qquad \begin{array}{c} {\color{Red}{ (1)} } \\ {\color{Red}{ (2)} } \\ {\color{Red}{ (3)} } \\ {\color{Red}{ (4)} } \end{array} $$ Take equations $ {\color{Red}{ (2)} } $ and $ {\color{Red}{ (3)} } $ $$ (x_{11}+x_{22})x_{12}=0, \ (x_{11}+x_{22})x_{21}=0 \, . $$ If $ x_{11}+x_{22} \ne 0 $, from these follows that $ x_{12}=0 $ and $ x_{21}=0 $. Substitution into equation $ {\color{Red}{ (1)} } $ results in equation $ x_{11}^2=-1 $ which is inconsistent in real numbers.

If $ x_{11}+x_{22} =0 $ then $ {\color{Red}{ (1)} } $ and $ {\color{Red}{ (4)} } $ are equivalent to $$ x_{11}^2+x_{12}x_{21}=-1,\ x_{21}x_{12}+x_{11}^2=1 $$ which is certainly inconsistent.

2nd solution. (Feasible if the problem solver is acquainted with the Binet-Cauchy theorem).

Compute the determinant of the both sides of the matrix equation: $$ \det (X^2)=\left[\det (X)\right]^2 = \det \left( \begin{array}{rr} -1 & 0 \\ 0 & 1 \end{array} \right) = -1 $$ which is impossible in real numbers.

Answer. Inconsistent

Matrix inverse

E3. Solve the matrix equation $$ (X+I)^{-1}(X-I)=I+X^{-1} $$ with respect to the unknown invertible matrix $ X $. Here $ I $ stands for the identity matrix.

Solution. Multiply the matrix equation from the left by $ (X+I) $: $$ X-I=(X+I)(I+X^{-1}) \quad \Rightarrow \quad X-I = X+I+I+X^{-1} \quad \Rightarrow \quad X^{-1}=-3\, I \, . $$

Answer. $ X=-\frac{1}{3} I $.

Cramer's formulas

A1. For the system of linear equations in $x_1,x_2,x_3,x_4$ $$ \left\{\begin{array}{rrrrrr} 2x_1& -x_2&+3x_3&+4x_4 &=&5\\ 4x_1& -2x_2&+5x_3&+6x_4 &=&7\\ 6x_1& -3x_2&+7x_3&+ {\color{Red} \alpha} x_4 &=&6\\ {\color{Red} \alpha} x_1& -4x_2&+9x_3&+10x_4 &=&11, \end{array}\right. $$ depending on the parameter $ {\color{Red} \alpha} \in \mathbb R $, evaluate the limit $$ \lim_{{\color{Red} \alpha} \to 8} \frac{x_3}{x_2} $$ for the ratio of two components of the solution.

Solution. The determinant of the system equals $$ \left|\begin{array}{rrrr} 2& -1&3&4 \\ 4& -2&5&6 \\ 6& -3&7&{\color{Red} \alpha} \\ {\color{Red} \alpha} & -4&9&10 \end{array}\right|= \left|\begin{array}{crrc} 2& -1&3&4 \\ 0& 0&-1&-2 \\ 0& 0&-2& {\color{Red} \alpha}-12 \\ {\color{Red} \alpha}-8 & 0&-3&-6 \end{array}\right|=\left|\begin{array}{crc} 0& -1&-2 \\ 0& -2& {\color{Red} \alpha}-12 \\ {\color{Red} \alpha}-8 & -3&-6 \end{array}\right| $$ $$ =-({\color{Red} \alpha}-8)^2 \, . $$

The system is consistent for $ {\color{Red} \alpha} \ne 8 $ due to Cramer's theorem. For $ {\color{Red} \alpha}=8 $, with the aid of Gaussian elimination it can be deduced that the system is inconsistent. Nevertheless, there exists (a finite) $$ \lim_{{\color{Red} \alpha} \to 8} \frac{x_3}{x_2} \, . $$ Indeed, for $ {\color{Red} \alpha} \ne 8 $, the values for the involved components of the solution are determined by Cramer's formulas: $$ x_2=\frac{2(2{\color{Red} \alpha}-13)}{{\color{Red} \alpha}-8} ,\ x_3=\frac{3({\color{Red} \alpha}-6)}{{\color{Red} \alpha}-8} \, . $$ Both values are unlimited as $ {\color{Red} \alpha} \to 8 $, however their ratio tends to the finite limit.

Answer. $ 1_{} $.


A2. Solve the system of equations $$ \left\{ \begin{array}{rrrrrrrrc} -3\,x_1&+x_2& & & & & & &=1, \\ 2\,x_1 &-3\,x_2 & +x_3 & & & & & &=0, \\ & 2\,x_2 & -3\,x_3 & + x_4 & &&& & = 0, \\ & & & \ddots & & & & & \vdots \\ & & & & & 2\,x_{n-2}&-3\,x_{n-1}& + x_n & = 0, \\ & & & & & & 2\,x_{n-1}&-3\,x_{n}&=0. \end{array} \right. \qquad {\color{Red}{ (1)} } $$

Solution is performed with the aid of Cramer's formulas. The tridiagonal determinant $$ \Delta_n := \left| \begin{array}{rrrrrrrr} -3& 1& 0 & 0 & 0 & \dots & 0& 0 \\ 2 &-3 & 1 & 0 & 0 & \dots & 0& 0 \\ 0 & 2 & -3 & 1 & 0 &&0& 0 \\ \vdots & & & \ddots & & & & \vdots \\ 0& 0 & & & \dots & 2&-3& 1 \\ 0& 0 & & & \dots & 0 & 2&-3 \end{array} \right| \qquad {\color{Red}{ (2)} } $$ can be computed recursively. Its expansion by the first row yields $$ \Delta_n=-3\Delta_{n-1}-2\, \Delta_{n-2} \quad \mbox{with} \quad \Delta_1=-3, \ \Delta_2 = \left| \begin{array}{rr} -3 & 1 \\ 2 & -3 \end{array} \right|=7 \, . $$ Characteristic polynomial of the recurrence equation $ \Delta_n+3\Delta_{n-1}+2\, \Delta_{n-2} = 0 $ is $ f(\lambda)=\lambda^2+3\lambda+2 $. It possess the zeros $ \lambda_1=-1,\lambda_2=-2 $, and the closed-form expression for $ \Delta_n $ can be obtained in the form $$ \Delta_n=C_1 \lambda_1^n + C_2 \lambda_2^n=(-1)^n C_1+(-2)^n C_2 $$ with yet indetermined parameters $ C_1 $ and $ C_2 $. For the latter one has the following system of equations obtained on applying the last relation for the values $ n=1 $ and $ n=2 $: $$ -3=-C_1-2\, C_2, \ 7=C_1+4\, C_2 \, . $$ This yields $ C_1=-1, C_2=2 $ and, therefore $$ \Delta_n =(-1)^n (2^{n+1}-1) \, . \qquad {\color{Red}{ (3)} } $$ Now denote by $ H_j $ the determinant obtained on replacing the $j$th column in $ {\color{Red}{ (2)} } $ by the column of the right-hand sides of the system $ {\color{Red}{ (1)} } $. Expansion of $$ H_1= \left| \begin{array}{rrrrrrrr} 1& 1& 0 & 0 & 0 & \dots & 0& 0 \\ 0 &-3 & 1 & 0 & 0 & \dots & 0& 0 \\ 0 & 2 & -3 & 1 & 0 &&0& 0 \\ \vdots & & & \ddots & & & & \vdots \\ 0& 0 & & & \dots & 2&-3& 1 \\ 0& 0 & & & \dots & 0 & 2&-3 \end{array} \right| $$ by the first column results in $$ H_1=\Delta_{n-1}=(-1)^{n-1} (2^{n}-1) \, . $$ Expansion of $$ H_2=\left| \begin{array}{rrrrrrrr} -3& 1& 0 & 0 & 0 & \dots & 0& 0 \\ 2 & 0 & 1 & 0 & 0 & \dots & 0& 0 \\ 0 & 0 & -3 & 1 & 0 &&0& 0 \\ \vdots & & & \ddots & & & & \vdots \\ 0& 0 & & & \dots & 2&-3& 1 \\ 0& 0 & & & \dots & 0 & 2&-3 \end{array} \right| $$ by the second column results in $$ -\left| \begin{array}{rrrrrrr} -2 & 1 & 0 & 0 & \dots & 0& 0 \\ 0 & -3 & 1 & 0 &&0& 0 \\ \vdots & & \ddots & & & & \vdots \\ 0& & & \dots & 2&-3& 1 \\ 0& & & \dots & 0 & 2&-3 \end{array} \right|_{(n-1)\times (n-1)} \, . $$ Expansion of the latter by the first column yields $$ -2 \left| \begin{array}{rrrrrr} -3 & 1 & 0 &&0& 0 \\ \vdots & \ddots & & & & \vdots \\ 0 & & \dots & 2&-3& 1 \\ 0 & & \dots & 0 & 2&-3 \end{array} \right|_{(n-2)\times (n-2)}=-2 \Delta_{n-2}=(-1)^{n-1} (2^{n}-2) \, . $$ Expansion of $ H_j $ by the first row results in the determinant of the following block structure $$ (-1)^{j+1}\left| \begin{array}{ll} K_{(j-1)\times (j-1)} & L_{(j-1)\times (n-j-2)} \\ \mathbb O_{(n-j-2)\times (j-1)} & M_{(n-j-2)\times (n-j-2)} \end{array} \right| $$ where $ K $ is the upper triangular matrix $$ K=\left[\begin{array}{rrrrrr} 2 & -3 & 1 & 0 & \dots & 0 \\ 0 & 2 & -3 & 1 & \dots & 0 \\ 0 & 0 & 2 & -3 & & 0 \\ \vdots & & && \ddots & \vdots \\ 0 & 0 & & \dots & 0 & 2 \end{array} \right] \ ; $$ $ \mathbb O $ stands for the zero matrix of the corresponding order, while $ \det (M) = \Delta_{n-j} $. Therefore, using $ {\color{Red}{ (3)} } $ we arrive at $$ H_j=(-1)^{j+1}\det (K) \cdot \det (M) = (-1)^{j+1} 2^{j-1} (-1)^{n-j}(2^{n-j+1}-1)=(-1)^{n+1} (2^n-2^{j-1}) $$

Answer. $$ x_j=\frac{2^{j-1}-2^{n}}{2^{n+1}-1} \quad \mbox{for} \ j \in\{1,\dots,n\} . $$

Interpolation

A1. Find the remainder of division of $ x^{81}+x^{48}+2\,x^{25}-x^8+x-3 $ by $ x^3-x $.

Solution. The direct computation of remainder $ r(x) $, by calculating the quotent $ q(x) $, is hardly feasible without computing facilities. However, this problem is assigned to the section Interpolation. This hints to the approach: $$ x^{81}+x^{48}+2\,x^{25}-x^8+x-3 \equiv (x^3-x) q(x) + r(x) , \quad \deg r(x)\le 2 \, . $$ At any zero $ \lambda $ of the polynomial $ x^3-x $, one has $$ \lambda^{81}+\lambda^{48}+2\,\lambda^{25}-\lambda^8+\lambda-3 = r(\lambda) \, . $$ Zeros of $ x^3-x $ are $\{0,1,-1\} $. Thus, $$ r(0)=-3,\ r(1)=1, \ r(-1)=-7 \, , $$ and these data permits one to find the unique polynomial $ r(x):=a_0x^2+a_1x+a_2 $. Indeterminate coefficients can be found from the system $$ a_2=-3,\ a_0+a_1+a_2=1,\ a_0-a_1+a_2=-7 \, . $$

Answer. $ 4\,x-3 $.


A2. Find the polynomial $ f(x) $ of the degree $ 3 $ with real coefficients that fits the following data $$ \begin{array}{r|rrc} x & -1 & 1 & \mathbf i\\ \hline f(x) & -4 & -2 & 3 - \mathbf i \end{array} $$

Solution. At the first glance, the data set looks like insufficient for the uniqueness of the required solution. Indeed, the polynomial of the degree less than or equal to $ 3 $ can be uniquelly determined with its $ 4 $ values. However, the statement of the problem indicates the reality of the coefficients for this polynomial, while one of the values of its variable is imaginary. It is the known fact that if for a polynomial $ f(x) $ with real coefficients one has $$ \mbox{if} \quad f(\alpha + \beta \, \mathbf i) = A+ B \, \mathbf i \quad \mbox{where} \quad \{\alpha, \beta, A, B \} \in \mathbb R, \ \beta \ne 0 $$ $$ \mbox{then} \quad f(\alpha - \beta \, \mathbf i) = A - B \, \mathbf i \, . $$ For our example, this feature results in an extra supplement to the data set $$ \begin{array}{r|rrcc} x & -1 & 1 & \mathbf i & -\mathbf i\\ \hline f(x) & -4 & -2 & 3 - \mathbf i & 3 + \mathbf i \end{array} $$ and this permits one to compute the required polynomial. The Lagrange method is preferable.

Answer. $ x^3-3\,x^2 $.

Quadratic forms

A1. Find the canonical form for $$ \sum_{j=1}^{n+1} x_j^2 -\frac{2}{n} \sum_{1\le j < k \le n+1} x_j x_k \, . $$

Solution. Matrix of the quadratic form is as follows $$ \mathbf A= \left(\begin{array}{ccccc} 1 & -1/n & -1/n & \dots & -1/n \\ -1/n & 1 & -1/n & \dots & -1/n \\ \dots & & & & \dots \\ -1/n & -1/n & -1/n & \dots & 1 \end{array} \right)_{(n+1)\times (n+1)} $$ Its leading principal minor of the order $ k $ $$ \mathbf A_k = \left|\begin{array}{cccc} 1 & -1/n & \dots & -1/n \\ -1/n & 1 & \dots & -1/n \\ \dots & & & \dots \\ -1/n & -1/n & \dots & 1 \end{array} \right|_{k\times k} $$ can be computed using the following transformation of the rows. Add all but the first rows to the first one: $$ = \left|\begin{array}{cccc} 1-(k-1)/n & 1-(k-1)/n & \dots & 1-(k-1)/n \\ -1/n & 1 & \dots & -1/n \\ \dots & & & \dots \\ -1/n & -1/n & \dots & 1 \end{array} \right| \ , $$ then extract the common factor from the entries of the first row $$ = \left( 1-(k-1)/n \right) \left|\begin{array}{cccc} 1 & 1 & \dots & 1 \\ -1/n & 1 & \dots & -1/n \\ \dots & & & \dots \\ -1/n & -1/n & \dots & 1 \end{array} \right| \, . $$ Next, add to all but the first rows the first one premultiplied by $ 1/n $ $$ \left( 1-(k-1)/n \right) \left|\begin{array}{cccc} 1 & 1 & \dots & 1 \\ 0 & 1+1/n & \dots & 0 \\ \dots & & & \dots \\ 0 & 0 & \dots & 1+1/n \end{array} \right| \, . $$ The obtained upper triangular determinant is computed trivially: $$ \mathbf A_k=\left( 1-\frac{k-1}{n} \right)\left(1+\frac{1}{n}\right)^{k-1} \quad \mbox{for} \ k \in \{1,\dots,n \} \, \quad \mbox{and} \ \mathbf A_{n+1} =0 \, . $$ Utilize Jacobi's formula for canonical form in the new variables $ y_1,\dots, y_n,y_{n+1} $ $$ \sum_{j=1}^{n+1} \frac{\mathbf A_{j}}{\mathbf A_{j-1}} y_j^2 \quad \mbox{where} \ \mathbf A_0:=1 \, . $$

Answer. $$ y_1^2+\frac{(n-1)(n+1)}{n^2} y_2^2+\frac{(n-2)(n+1)}{(n-1)n} y_3^2+\dots+\frac{2(n+1)}{3n} y_{n-1}^2 + \frac{(n+1)}{2n} y_n^2\, . $$

Inner product space

E1. Is it possible to define the inner product in $ \mathbb R^3 $ with the relation $$ \langle X,Y \rangle := X A Y^{\top} \quad \mbox{where} \ A:= \left( \begin{array}{rrr} 1 & 2 & -1 \\ 2 & 5 & 0 \\ -1 & 0 & 6 \end{array} \right), X:=\left(x_1, x_2, x_3 \right) , \ Y:=\left(y_1, y_2, y_3 \right) \, ? $$ If yes, then find the distance between $X_1=(1,1,1) $ and $X_2=(2,0,2) $.

Solution. Matrix $ A $ is positively definite since its leading principal minors $$ 1, \ \left|\begin{array}{rr} 1 & 2 \\ 2 & 5 \end{array} \right|=1, \ \det A=1 $$ are all positive (Sylvester's criterion). Therefore, all the axioms of the inner product are valid.

Next $$ \|X_1-X_2\|^2=\langle X_1-X_2,X_1-X_2 \rangle = (-1,1,-1) \left(\begin{array}{rrr} 1 & 2 & -1 \\ 2 & 5 & 0 \\ -1 & 0 & 6 \end{array} \right) \left(\begin{array}{r} -1\\ 1\\ -1 \end{array} \right)=(2,3,-5) \left(\begin{array}{r} -1\\ 1\\ -1 \end{array} \right) =6 \, . $$

Answer. Yes. $\sqrt{6} $.

Linear operator

E1. Linear operator $\mathcal A$ acts in $ \mathbb R^3 $ in the following way: $$ \mathcal A(1,2,1)=(-1,0,1),\ \mathcal A(-2,-3,-2)=(1,1,1),\ \mathcal A(0,1,0)=(-1,1,3) \, . $$ Find $ \mathcal A(0,0,1) $.

Solution. Any linear operator in 3-dimensional space is uniquely defined with its images at $3$ linear independent vectors. In the stated problem vectors $$ (1,2,1), \ (-2,-3,-2), \ (0,1,0) \qquad \qquad {\color{Red}{ (1)} } $$ are not independent. Due to definition of linear property, it is possible to find $ \mathcal A(X) $ if and only if the vector $ X $ is in the span of the the vectors $ {\color{Red}{ (1)} } $. This is not the case for $ X=(0,0,1)$.

Answer: ill posed problem (no solution).


A1. Linear operator $\mathcal A$ acts in the space $ \mathbb R_{(3)}[x] $ of the real polynomials of the degrees not exceeding $ 3 $ in the following way: $$ \mathcal A(f(x))=f(x) (x^2-2) \mod (x^4-x^3-x^2+x) \, . $$ Find linear independent eigenvectors of this operator. Is its matrix diagonalizable?

Solution. One has $$ g(x):=x^4-x^3-x^2+x \equiv x(x+1)(x-1)^2 \, . $$ A polynomial $ f(x)\in \mathbb R_{(3)}[x], f(x)\not\equiv 0 $ is an eigenvector of the operator $ \mathcal A $ if and only if $$ f(x) (x^2-2) \equiv \lambda f(x) \mod g(x) \quad \mbox{for some} \ \lambda \in \mathbb C \, . $$ Or, equivalently, $$ f(x) (x^2-2-\lambda) \equiv 0 \mod g(x) \, . $$ In other words, $ f(x) (x^2-2-\lambda) $ is divisible by $ g(x) $. Since $ \deg f(x) \le 3 $ while $ \deg g(x) = 4 $, this implies that $ x^2-2-\lambda $ must have a common root with $ g(x) $. So, the potential values for $ \lambda $ are $$ \lambda_1 =-2 , \ \lambda_2=-1 \, . $$ The polynomial $ f_1(x), \deg f_1(x) \le 3 , f_1(x) \not\equiv 0 $ such that $$ f_1(x) (x^2-2-\lambda_1)=f_1(x)x^2 $$ is divisible by $ g(x) $, is determined as $$ f_1(x)\equiv B_1 (x+1)(x-1)^2 \quad \mbox{for} \quad B_1 \in \mathbb C, B_1 \ne 0 \, . $$ The polynomial $ f_2(x), \deg f_2(x) \le 3 , f_2(x) \not\equiv 0 $ such that $$ f_2(x) (x^2-2-\lambda_2)=f_2(x)(x^2-1) $$ is divisible by $ g(x) $, is determined as $$ f_2(x)\equiv (C_1x+C_2)x(x-1) \quad \mbox{for} \quad \{C_1,C_2 \} \in \mathbb C, |C_1|+|C_2| \ne 0 \, . $$ No other polynomial from $ \mathbb R_{(3)}[x] $, being an eigenvector of $ \mathcal A $, is linearly independent of $$ f_1(x)=x^3-x^2-x+1, \ f_{2,1}(x)=x^2-x, \ f_{2,2}(x)=x^3-x^2 \, . $$ At the same time, $ \dim \mathbb R_{(3)}[x] = 4 $.

Answer. Linear independent eigenvectors are $$ x^3-x^2-x+1, \ x^2-x, \ x^3-x^2 $$ (one of the possible choices). Matrix of the operator is non-diagonizable.

Functions of a matrix

C1. Find positively definite $ \sqrt{A} $ for the matrix $$ A=\left(\begin{array}{rrr} 0.541667 & 0.205342 & -0.372008 \\ 0.205342 & 0.811004 & 0.166667 \\ -0.372008 & 0.166667 & 0.522329 \end{array} \right) $$ using the iterative matrix sequence $ \{X_j\}_{j=0}^{\infty}\subset \mathbb R^{3\times 3} $ where $$ X_0=\mathbb O, \ \left\{ X_{j}=X_{j-1}+\frac{1}{2}(A-X_{j-1}^2) \right\}_{j=1}^{\infty} \, . $$ Accuracy of the representation of entries of the matrix in question $ 10^{-3} $.

Answer. $$ X_{12}\approx\left(\begin{array}{rrr} 0.641 & 0.168& -0.315\\ 0.168 & 0.872 & 0.147\\ -0.315 & 0.147 & 0.630 \end{array} \right) $$

share/hw_edu/algebra_course/pr_sol.txt · Последние изменения: 2025/04/24 01:12 — au