Chapter 8: Problem 2
In each case, find the exact eigenvalues and then approximate them using the QR-algorithm. a. \(A=\left[\begin{array}{ll}1 & 1 \\ 1 & 0\end{array}\right]\) b. \(A=\left[\begin{array}{ll}3 & 1 \\ 1 & 0\end{array}\right]\)
Short Answer
Expert verified
Eigenvalues for (a): \(\frac{1 \pm \sqrt{5}}{2}\); for (b): \(\frac{3 \pm \sqrt{5}}{2}\). QR approximates these values.
Step by step solution
01
Eigenvalues for Matrix A in (a)
First, we need to find the eigenvalues \( \lambda \) of the matrix \( A = \begin{bmatrix} 1 & 1 \ 1 & 0 \end{bmatrix} \). This requires solving the characteristic equation \( \det(A - \lambda I) = 0 \). We start by calculating \( A - \lambda I = \begin{bmatrix} 1-\lambda & 1 \ 1 & -\lambda \end{bmatrix} \). The determinant is calculated as: \((1-\lambda)(-\lambda) - 1 \). Simplifying, this becomes \(-\lambda^2 + \lambda - 1 \). We set this equal to zero to find \(-\lambda^2 + \lambda - 1 = 0 \).
02
Solving Characteristic Equation in (a)
To find the roots of the characteristic equation \(-\lambda^2 + \lambda - 1 = 0\), we rearrange it to \(\lambda^2 - \lambda + 1 = 0\). Solving using the quadratic formula \(\lambda = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\), where \(a = 1\), \(b = -1\), and \(c = -1\). Calculating this gives: \(\lambda = \frac{1 \pm \sqrt{1 + 4}}{2} = \frac{1 \pm \sqrt{5}}{2}\). Thus, the eigenvalues are \(\frac{1 + \sqrt{5}}{2}\) and \(\frac{1 - \sqrt{5}}{2}\).
03
Eigenvalues for Matrix A in (b)
Now, let's find eigenvalues for \( A = \begin{bmatrix} 3 & 1 \ 1 & 0 \end{bmatrix} \). We form \( A - \lambda I = \begin{bmatrix} 3-\lambda & 1 \ 1 & -\lambda \end{bmatrix} \). The determinant is \((3-\lambda)(-\lambda) - 1\). Expanding gives \(-\lambda^2 + 3\lambda - 1 = 0\).
04
Solving Characteristic Equation in (b)
The characteristic equation is \(-\lambda^2 + 3\lambda - 1 = 0\), which reduces to \(\lambda^2 - 3\lambda + 1 = 0\). Using the quadratic formula, we solve for \(\lambda\): \(\lambda = \frac{-(-3) \pm \sqrt{(-3)^2 - 4 \times 1 \times 1}}{2 \times 1}\). This yields \(\lambda = \frac{3 \pm \sqrt{9 - 4}}{2} = \frac{3 \pm \sqrt{5}}{2}\). Thus, the eigenvalues are \(\frac{3 + \sqrt{5}}{2}\) and \(\frac{3 - \sqrt{5}}{2}\).
05
QR Algorithm Approximation for (a)
To approximate the eigenvalues of \( A = \begin{bmatrix} 1 & 1 \ 1 & 0 \end{bmatrix} \) using the QR algorithm, we begin the iterative process where we decompose \( A = QR \) and update \( A \) to \( RQ \). After a sufficient number of iterations, the diagonal elements of \( A \) converge to the eigenvalues. Exact QR steps are computational and converge to approximately 1.618 and -0.618, confirming the exact values \(\lambda = \frac{1 \pm \sqrt{5}}{2}\).
06
QR Algorithm Approximation for (b)
Similarly, for the matrix \( A = \begin{bmatrix} 3 & 1 \ 1 & 0 \end{bmatrix} \), we perform the QR decomposition iteratively. After sufficient iterations, the approximate eigenvalues converge to about 3.618 and -0.618, supporting the eigenvalues \(\lambda = \frac{3 \pm \sqrt{5}}{2}\). This confirms the QR algorithm results are close to the exact eigenvalues calculated.
Unlock Step-by-Step Solutions & Ace Your Exams!
-
Full Textbook Solutions
Get detailed explanations and key concepts
-
Unlimited Al creation
Al flashcards, explanations, exams and more...
-
Ads-free access
To over 500 millions flashcards
-
Money-back guarantee
We refund you if you fail your exam.
Over 30 million students worldwide already upgrade their learning with Vaia!
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
Eigenvalues
In linear algebra, eigenvalues are a fundamental concept. These special numbers are associated with a square matrix and provide insight into its properties. Given a matrix \( A \), an eigenvalue \( \lambda \) is a scalar such that there exists a non-zero vector \( \mathbf{v} \) (called an eigenvector) satisfying the equation \( A\mathbf{v} = \lambda\mathbf{v} \). Essentially, this relationship shows how the matrix transforms the eigenvector by stretching or compressing it along a certain direction.
For example, eigenvalues can reveal whether a system of differential equations has stable solutions. In our matrix \( A = \begin{bmatrix} 1 & 1 \ 1 & 0 \end{bmatrix} \), we see the transformation properties by calculating its eigenvalues.
For example, eigenvalues can reveal whether a system of differential equations has stable solutions. In our matrix \( A = \begin{bmatrix} 1 & 1 \ 1 & 0 \end{bmatrix} \), we see the transformation properties by calculating its eigenvalues.
Characteristic Equation
To find the eigenvalues of a matrix, you need to solve its characteristic equation. This equation comes from subtracting \( \lambda \) multiplied by the identity matrix \( I \) from the matrix \( A \) and setting the determinant to zero: \( \det(A - \lambda I) = 0 \).
For instance, considering our matrix \( A = \begin{bmatrix} 1 & 1 \ 1 & 0 \end{bmatrix} \), we subtract \( \lambda \) times the identity matrix from \( A \), resulting in \( \begin{bmatrix} 1-\lambda & 1 \ 1 & -\lambda \end{bmatrix} \). Calculating the determinant, we get the characteristic equation \(-\lambda^2 + \lambda - 1 = 0\). Solving this gives us the requirements \( \lambda \) must satisfy.
For instance, considering our matrix \( A = \begin{bmatrix} 1 & 1 \ 1 & 0 \end{bmatrix} \), we subtract \( \lambda \) times the identity matrix from \( A \), resulting in \( \begin{bmatrix} 1-\lambda & 1 \ 1 & -\lambda \end{bmatrix} \). Calculating the determinant, we get the characteristic equation \(-\lambda^2 + \lambda - 1 = 0\). Solving this gives us the requirements \( \lambda \) must satisfy.
- The characteristic equation is always a polynomial in terms of \( \lambda \).
- Its degree equals the size of the matrix (for a \( 2 \times 2 \) matrix, the polynomial is quadratic).
QR Decomposition
QR decomposition is a matrix factorization technique crucial in approximating eigenvalues, especially with the QR algorithm. This method breaks down a matrix \( A \) into two matrices - \( Q \) and \( R \).
1. Decompose \( A \) into \( QR \) using an iterative process.2. Update \( A \) to become \( RQ \).3. Repeat until convergence.
This iterative refinement gradually results in the diagonal elements of \( A \) converging to approximate eigenvalues. This is how the QR algorithm estimates eigenvalues effectively without directly solving characteristic equations.
- \( Q \) is an orthogonal matrix, meaning its transpose is equal to its inverse.
- \( R \) is an upper triangular matrix, where all elements below the diagonal are zeros.
1. Decompose \( A \) into \( QR \) using an iterative process.2. Update \( A \) to become \( RQ \).3. Repeat until convergence.
This iterative refinement gradually results in the diagonal elements of \( A \) converging to approximate eigenvalues. This is how the QR algorithm estimates eigenvalues effectively without directly solving characteristic equations.
Quadratic Formula
The quadratic formula is an essential tool in solving quadratic equations, which frequently appear as characteristic equations in eigenvalue problems. It is expressed as:\[\lambda = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}\]where \( a \), \( b \), and \( c \) are coefficients in the quadratic equation \( ax^2 + bx + c = 0 \).
In the context of eigenvalues, once we obtain a characteristic equation like \(-\lambda^2 + \lambda - 1 = 0\), we can rearrange it into the standard quadratic form \( \lambda^2 - \lambda + 1 = 0 \). Applying the quadratic formula makes solving for \( \lambda \) straightforward:
In the context of eigenvalues, once we obtain a characteristic equation like \(-\lambda^2 + \lambda - 1 = 0\), we can rearrange it into the standard quadratic form \( \lambda^2 - \lambda + 1 = 0 \). Applying the quadratic formula makes solving for \( \lambda \) straightforward:
- Plug in \( a = 1, b = -1, c = -1 \) into the formula.
- Calculate the discriminant \( b^2 - 4ac \), which informs the nature of the roots.
- Compute \( \lambda \) to get the eigenvalues \( \frac{1 \pm \sqrt{5}}{2} \).