3 problems found
Let \(R_{\alpha}\) be the \(2\times2\) matrix that represents a rotation through the angle \(\alpha\) and let $$A=\begin{pmatrix}a&b\\b&c\end{pmatrix}.$$
Solution: \begin{questionparts} \item \begin{align*} R_{-\alpha}AR_{\alpha} &= \begin{pmatrix} \cos \alpha & \sin\alpha \\ -\sin \alpha & \cos \alpha \end{pmatrix}\begin{pmatrix} a & b \\ b & c \end{pmatrix} \begin{pmatrix} \cos \alpha & -\sin\alpha \\ \sin \alpha & \cos \alpha \end{pmatrix} \\ &= \begin{pmatrix} \cos \alpha & \sin\alpha \\ -\sin \alpha & \cos \alpha \end{pmatrix} \begin{pmatrix} a\cos \alpha + b \sin \alpha & -a\sin\alpha + b \cos\alpha \\ b\cos\alpha + c \sin\alpha & c\cos\alpha-b\sin\alpha \end{pmatrix} \\ &= \begin{pmatrix} a\cos^2\alpha+2b\sin\alpha\cos\alpha+c\sin^2\alpha & -a\sin\alpha\cos \alpha+b\cos^2\alpha +c\sin\alpha\cos\alpha-b\sin^2 \alpha\\ (c-a)\sin\alpha\cos \alpha +b(\cos^2\alpha-\sin^2 \alpha) & a\sin^2 \alpha -2b\sin\alpha\cos\alpha+c\cos^2\alpha \end{pmatrix} \\ &= \begin{pmatrix} * & \frac{c-a}{2}\sin2\alpha+b \cos 2\alpha\\\frac{c-a}{2}\sin2\alpha+b \cos 2\alpha & * \end{pmatrix} \end{align*} Therefore this will be diagonal if \(\tan 2\alpha = \frac{2b}{a-c} \Rightarrow \alpha = \frac12 \tan^{-1} \l \frac{2b}{a-c} \r\) \item \begin{align*} x^2+(y+2x\cot2\theta)^2 &= x^2(1 + 4\cot^22\theta) + 4\cot2\theta xy + y^2 \\ &= \begin{pmatrix}x&y\end{pmatrix}\begin{pmatrix} 1 + 4\cot^22\theta & 2\cot 2\theta \\ 2\cot 2\theta & 1 \end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix} \end{align*} Plugging this \(\mathbf{A}\) in our result from before we discover \begin{align*} \frac12 \tan^{-1} \l \frac{2b}{a-c} \r &= \frac12 \tan^{-1} \l \frac{4\cot 2\theta}{1 + 4\cot^22\theta-1} \r \\ &= \frac12 \tan^{-1} \l \tan 2 \theta \r \\ &= \theta \end{align*} Therefore, the matrix will be: \begin{align*} & \textrm{diag}\begin{pmatrix} (1+4\cot^2 2\theta)\cos^2 \theta + 4\cot2\theta \sin\theta\cos\theta + \sin^2 \theta \\ (1+4\cot^2 2\theta)\sin^2 \theta - 4\cot2\theta \sin\theta\cos\theta + \cos^2 \theta \end{pmatrix} \\ =& \textrm{diag}\begin{pmatrix} \cos^2\theta + \frac{\cos^2 2\theta}{\sin^2 \theta} + 2\cos 2\theta + \sin^2 \theta \\ \sin^2\theta + \frac{\cos^2 2\theta}{\cos^2 \theta} - 2\cos 2\theta + \cos^2 \theta \end{pmatrix} \\ =& \textrm{diag}\begin{pmatrix} 1 + \cos 2\theta \l \frac{\cos2\theta}{\sin^2 \theta} + 2\r \\ 1 + \cos 2\theta \l \frac{\cos2\theta}{\cos^2 \theta} - 2\r \\ \end{pmatrix} \\ =& \textrm{diag}\begin{pmatrix} 1 + \cos 2\theta \l \frac{\cos^2 \theta + \sin^2 \theta}{\sin^2 \theta}\r \\ 1 -\cos 2\theta \l \frac{-\cos^2 \theta - \sin^2 \theta}{\cos^2 \theta}\r \\ \end{pmatrix} \\ =& \textrm{diag}\begin{pmatrix} 1 + (\cos^2\theta - \sin^2 \theta) \cosec^2 \theta \\ 1 - (\cos^2\theta - \sin^2 \theta) \sec^2 \theta \\ \end{pmatrix} \\ =& \textrm{diag}\begin{pmatrix} \cot^2 \theta \\ \tan^2 \theta \\ \end{pmatrix} \\ \end{align*} Therefore this is a rotation of an ellipse with equation: \((\cot \theta x)^2 + (\tan \theta y)^2 = 1\), ie the shortest side and longest side are \(\cot \theta\) and \(\tan \theta\) respectively, but we know since \(0 < \theta < \tfrac{1}{4}\pi\) the shortest will be \(\tan \theta\) and the longest \(\cot \theta\).
Verify that if \[ \mathbf{P}=\begin{pmatrix}1 & 2\\ 2 & -1 \end{pmatrix}\qquad\mbox{ and }\qquad\mathbf{A}=\begin{pmatrix}-1 & 8\\ 8 & 11 \end{pmatrix} \] then \(\mathbf{PAP}\) is a diagonal matrix. Put $\mathbf{x}=\begin{pmatrix}x\\ y \end{pmatrix}\( and \)\mathbf{x}_{1}=\begin{pmatrix}x_{1}\\ y_{1} \end{pmatrix}.$ By writing \[ \mathbf{x}=\mathbf{P}\mathbf{x}_{1}+\mathbf{a} \] for a suitable vector \(\mathbf{a},\) show that the equation \[ \mathbf{x}^{\mathrm{T}}\mathbf{Ax}+\mathbf{b}^{\mathrm{T}}\mathbf{x}-11=0, \] where $\mathbf{b}=\begin{pmatrix}18\\ 6 \end{pmatrix}\( and \) \mathbf{x}^{\mathrm{T}} \( is the transpose of \)\mathbf{x},$ becomes \[ 3x_{1}^{2}-y_{1}^{2}=c \] for some constant \(c\) (which you should find).
Solution: \begin{align*} \mathbf{PAP} &= \begin{pmatrix}1 & 2\\ 2 & -1 \end{pmatrix}\begin{pmatrix}-1 & 8\\ 8 & 11 \end{pmatrix}\begin{pmatrix}1 & 2\\ 2 & -1 \end{pmatrix} \\ &= \begin{pmatrix}1 & 2\\ 2 & -1 \end{pmatrix}\begin{pmatrix}15 & -10\\ 30 & 5 \end{pmatrix} \\ &= \begin{pmatrix}75 & 0\\ 0 & -25 \end{pmatrix} \end{align*} Which is diagonal as required. Letting \(\mathbf{x}=\mathbf{P}\mathbf{x}_{1}+\mathbf{a}\) \begin{align*} && \mathbf{x}^{\mathrm{T}}\mathbf{Ax}+\mathbf{b}^{\mathrm{T}}\mathbf{x}-11&=0 \\ \Leftrightarrow && (\mathbf{P}\mathbf{x}_{1}+\mathbf{a})^T\mathbf{A}(\mathbf{P}\mathbf{x}_{1}+\mathbf{a}) + \mathbf{b}^T(\mathbf{P}\mathbf{x}_{1}+\mathbf{a}) - 11 &= 0 \\ \Leftrightarrow && \mathbf{x}_{1}^T\mathbf{PAP}\mathbf{x}_1 + \mathbf{x}_{1}^T\mathbf{PAa} + \mathbf{a}^T\mathbf{AP}\mathbf{x}_{1}+\mathbf{a}^T\mathbf{Aa} + \mathbf{b}^T(\mathbf{P}\mathbf{x}_{1}+\mathbf{a}) - 11 &= 0 \\ \Leftrightarrow && \mathbf{x}_{1}^T\mathbf{PAP}\mathbf{x}_1 +(2\mathbf{a}^T\mathbf{A}+\mathbf{b}^T)\mathbf{P}\mathbf{x}_{1}+\mathbf{a}^T\mathbf{Aa} + \mathbf{b}^T\mathbf{a} - 11 &= 0 \\ \end{align*} It would be nice if we picked \(\mathbf{a}\) such that \(2\mathbf{a}^T\mathbf{A}+\mathbf{b}^T = 0\), if \(\mathbf{a} = \begin{pmatrix} a_1 \\a_2 \end{pmatrix}\) then this equation becomes: \begin{align*} && 2\begin{pmatrix}-a_1 + 8a_2 & 8a_1+11a_2 \end{pmatrix} + \begin{pmatrix}18 & 6 \end{pmatrix} &= 0 \\ \Rightarrow && a_1 = 1, a_2 = -1 \end{align*} So our equation is now \begin{align*} && \mathbf{x}_{1}^T\mathbf{PAP}\mathbf{x}_1 +(2\mathbf{a}^T\mathbf{A}+\mathbf{b}^T)\mathbf{P}\mathbf{x}_{1}+\mathbf{a}^T\mathbf{Aa} + \mathbf{b}^T\mathbf{a} - 11 &= 0 \\ \Leftrightarrow && \mathbf{x}_{1}^T\mathbf{PAP}\mathbf{x}_1-6 +12 - 11 &= 0 \\ \Leftrightarrow && 25(3x_1^2 - y_1^2) &= 5 \\ \Leftrightarrow && 3x_1^2 - y_1^2 &= \frac{1}{5} \end{align*}
In a crude model of population dynamics of a community of aardvarks and buffaloes, it is assumed that, if the numbers of aardvarks and buffaloes in any year are \(A\) and \(B\) respectively, then the numbers in the following year at \(\frac{1}{4}A+\frac{3}{4}B\) and \(\frac{3}{2}B-\frac{1}{2}A\) respectively. It does not matter if the model predicts fractions of animals, but a non-positive number of buffaloes means that the species has become extinct, and the model ceases to apply. Using matrices or otherwise, show that the ratio of the number of aardvarks to the number of buffaloes can remain the same each year, provided it takes one of two possible values. Let these two possible values be \(x\) and \(y\), and let the numbers of aardvarks and buffaloes in a given year be \(a\) and \(b\) respectively. By writing the vector \((a,b)\) as a linear combination of the vectors \((x,1)\) and \((y,1),\) or otherwise, show how the numbers of aardvarks and buffaloes in subsequent years may be found. On a sketch of the \(a\)-\(b\) plane, mark the regions which correspond to the following situations
Solution: If the population in a given year is \(\mathbf{v} = \begin{pmatrix}A \\ B \end{pmatrix}\) then the population the next year is \(\mathbf{Mv}\) where \(\mathbf{M} = \begin{pmatrix} \frac14 & \frac34 \\ -\frac12 &\frac32 \end{pmatrix}\) The ratio is the same if \(\mathbf{Mv} = \lambda \mathbf{v}\) ie if \(\mathbf{v}\) is an eigenvector of \(\mathbf{M}\). The eigenvalues will be \(1\) and \(\frac38\) (by inspection) so we should be able to solve for the eigenvectors: \(\lambda = 1\) we have \(\frac14A + \frac34B = A \Rightarrow A = B\) a ratio of \(1\). \(\lambda = \frac38\) we have \(\frac14A + \frac34B = \frac38A \Rightarrow \frac34B = \frac18A \Rightarrow A = 6B\) a ratio of \(6\). If we write \(\begin{pmatrix} a \\ b \end{pmatrix}\) as \(x_1 \begin{pmatrix} 1 \\ 1 \end{pmatrix} + x_6 \begin{pmatrix} 6 \\ 1 \end{pmatrix}\) we find that after \(n\) years, we have: \(x_1 \begin{pmatrix} 1 \\ 1 \end{pmatrix} + \l \frac38 \r^n x_6 \begin{pmatrix} 6 \\ 1 \end{pmatrix}\) for the populations. Therefore if \(x_1\) is \(< 0\) then in finite time we will end up with one population being 0. If \(x_1 > 0\) are positive we tend to a finite population and if \(x_1 = 0\) then over time the population will tend to \(0\) at infinity. In our diagram these areas correspond to (red) - die out in finite time, (green) population stable and the thick black line where the population goes extinct as \(t \to \infty\)