alg10

Table of contents

  1. Problem set 10 solution
  2. Section 6.7
  3. Section 8.5

1. Problem set 10 solution

1.1 Similarity and Jordan matrices

This subsection explores the conditions under which Jordan matrices are similar, specifically focusing on how block structures and invertibility affect similarity.

  • Similarity of Jordan matrices: Two Jordan matrices JJ and KK with the same eigenvalues are not necessarily similar if their block sizes differ.
  • Invertibility constraint: If JJ and KK are Jordan matrices such that M−1JM=KM^{-1}JM = K, then the matrix MM must be invertible; if the only matrices satisfying MK=JMMK = JM are non-invertible, then JJ and KK are not similar.
  • Eigenvector counts: Jordan matrices can share eigenvalues but differ in the number of eigenvectors provided by their respective blocks.

📝 For J=(010000000)J = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} and K=(100000000)K = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix}, even though they share eigenvalues, they are not similar because the requirement MK=JMMK = JM forces MM to be non-invertible 1.

1.2 Similarity to the transpose

Any square matrix AA is similar to its transpose ATA^T.

  • Jordan block similarity: A single Jordan block JiJ_i is similar to its transpose JiTJ_i^T via some matrix MiM_i.
  • Block-diagonal construction: For a matrix JJ composed of blocks JiJ_i, a block-diagonal matrix M0M_0 can be constructed from the individual MiM_i matrices such that M0−1JM0=JTM_0^{-1}JM_0 = J^T.
  • General matrix similarity: Since A=MJM−1A = MJM^{-1}, it follows that AT=(M−1)TJTMTA^T = (M^{-1})^T J^T M^T, making ATA^T similar to JTJ^T, and by extension, to AA.

📝 If A=MJM−1A = MJM^{-1}, then AT=(MT)−1JTMTA^T = (M^T)^{-1} J^T M^T, which demonstrates that ATA^T is similar to JTJ^T 2.

1.3 Properties of similar matrices 2 3

Similarity preserves certain algebraic structures while allowing others to vary.

PropertyStatus under similarity
EigenvaluesPreserved
Matrix powers (AkA^k and BkB^k)Preserved
InvertibilityPreserved
Geometric multiplicity of eigenvaluesPreserved
  • Matrix powers: If AA is similar to BB, then A2A^2 is similar to B2B^2 because A=M−1BMA = M^{-1}BM implies A2=M−1B2MA^2 = M^{-1}B^2M.
  • Non-similarity of squares: It is possible for A2A^2 and B2B^2 to be similar even if AA and BB are not similar.
  • Eigenvalue preservation via row/column swaps: Exchanging rows 1 and 2 and then columns 1 and 2 is equivalent to a similarity transformation MAM−1MAM^{-1} where MM is the permutation matrix, thus preserving eigenvalues.

📝 The zero matrix is the only matrix similar to itself; therefore, if A2=B2=0A^2 = B^2 = 0 but A≠BA \neq B, AA and BB cannot be similar 3.

1.4 Nilpotent matrices and the Cayley-Hamilton theorem

If an n×nn \times n matrix AA has all eigenvalues λ=0\lambda = 0, it is nilpotent.

  • Jordan block behavior: A Jordan block JiJ_i of size ii with eigenvalue 0 satisfies Jii=0J_i^i = 0 because the super-diagonal of 1s shifts out of the matrix after ii powers.
  • Nilpotency of AA: If all eigenvalues of AA are 0, then An=0A^n = 0 because AA is similar to a block-diagonal matrix of nilpotent Jordan blocks.
  • Cayley-Hamilton connection: The characteristic polynomial of such a matrix is xnx^n, and by the Cayley-Hamilton theorem, An=0A^n = 0.

📝 For a 3×33 \times 3 Jordan block with λ=0\lambda=0, J3J^3 will be the zero matrix 4.

1.5 Similarity in the shifted QR method

In the shifted QR method, the sequence of matrices maintains similarity.

  • Similarity of iterations: In the shifted QR method, A2A_2 is similar to A1A_1, ensuring that eigenvalues remain unchanged throughout the process.

📝 Given A2=R1Q1−cs2IA_2 = R_1Q_1 - cs^2I and A1=Q1R1−cs2IA_1 = Q_1R_1 - cs^2I, the relation Q1A2Q1−1=A1Q_1A_2Q_1^{-1} = A_1 proves similarity 4.

2. Section 6.7

2.1 Singular Value Decomposition (SVD) 5

The SVD decomposes a matrix into orthogonal components related to the eigenvalues of ATAA^T A and AATAA^T.

  • Eigenvalues of ATAA^T A: The eigenvalues of ATAA^T A and AATAA^T are identical.
  • SVD components: For a matrix AA, the decomposition is A=UΣVTA = U\Sigma V^T, where UU and VV are orthogonal matrices and Σ\Sigma is a diagonal matrix of singular values.
  • Orthogonal columns case: If AA has orthogonal columns wiw_i with lengths σi\sigma_i, then U=IU = I, Σ\Sigma contains σi\sigma_i, and the rows of VV are wi/σiw_i/\sigma_i.
CaseU matrixΣ\Sigma matrixV matrix
Nonzero orthogonal columnsIIdiag(σ1,…,σn\sigma_1, \dots, \sigma_n)rows are wi/σiw_i/\sigma_i
Some zero columnsCompleted orthogonal basisdiag(σ1,…,σn\sigma_1, \dots, \sigma_n)rows are wi/σiw_i/\sigma_i or uiu_i

📝 For the Fibonacci matrix A=(1110)A = \begin{pmatrix} 1 & 1 \\ 1 & 0 \end{pmatrix}, the eigenvalues of ATAA^T A are (3±5)/2(3 \pm \sqrt{5})/2, which are used to construct UU, Σ\Sigma, and VV 5.

2.2 Difference matrices and trigonometric SVD

The SVD of certain difference matrices reveals a deep connection to trigonometric functions.

  • First difference matrix: The matrix AA representing the first difference has singular vectors VV (sine vectors) and UU (cosine vectors).
  • Discrete derivative relationship: The operation Av=σuAv = \sigma u acts as the discrete analogue to the derivative ddx(sin⁡cx)=c(cos⁡cx)\frac{d}{dx}(\sin cx) = c(\cos cx).
  • Eigenvectors of ATAA^T A: The unit eigenvectors of ATAA^T A are the singular vectors of AA.

📝 For a 4×34 \times 3 first difference matrix AA, the columns of VV are sine vectors, and the columns of AVAV are orthogonal vectors σiui\sigma_i u_i 6.

3. Section 8.5

3.1 Problem 12: Differentiation matrix for trigonometric bases 8

The set of functions {1,cos⁡x,sin⁡x,cos⁡2x,sin⁡2x,… }\{1, \cos x, \sin x, \cos 2x, \sin 2x, \dots\} constitutes a basis for a Hilbert space. The derivatives of these basis functions can be expressed as linear combinations of the same set of functions, which allows for the construction of a differentiation matrix.

FunctionDerivative
1100
cos⁡x\cos x−sin⁡x-\sin x
sin⁡x\sin xcos⁡x\cos x
cos⁡2x\cos 2x−2sin⁡2x-2 \sin 2x
sin⁡2x\sin 2x2cos⁡2x2 \cos 2x

📝 For the first five functions in the basis, the 5×55 \times 5 differentiation matrix is: (0000000−100010000000−200020)\begin{pmatrix} 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & -1 & 0 & 0 \\ 0 & 1 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & -2 \\ 0 & 0 & 0 & 2 & 0 \end{pmatrix} 8.

3.2 Problem 13: Fourier coefficients of a square pulse 8

A square pulse F(x)F(x) centered at x=0x=0 is defined by its height 1/h1/h over the interval ∣x∣≤h/2|x| \le h/2 and is zero elsewhere. As the width hh approaches zero, the pulse approaches a delta function.

  • Fourier coefficients: The coefficients aka_k and bkb_k are determined by integrating the pulse against the trigonometric basis functions.
  • Symmetry: Due to the symmetry of the pulse, the sine coefficients bkb_k vanish.
  • Limiting behavior: As h→0h \to 0, the coefficients approach specific limits that characterize the delta function.
CoefficientIntegral ExpressionResult
a0a_01π∫−h/2h/2F(x) dx\frac{1}{\pi} \int_{-h/2}^{h/2} F(x) \, dxhπ\frac{h}{\pi}
aka_k1π∫−h/2h/2F(x)cos⁡kx dx\frac{1}{\pi} \int_{-h/2}^{h/2} F(x) \cos kx \, dx2sin⁡(kh/2)πhk\frac{2 \sin(kh/2)}{\pi hk}
bkb_k1π∫−h/2h/2F(x)sin⁡kx dx\frac{1}{\pi} \int_{-h/2}^{h/2} F(x) \sin kx \, dx00
  • Limits as h→0h \to 0:
  • a0→1πa_0 \to \frac{1}{\pi}.
  • ak→2πsin⁡(kh/2)kh/2→2πa_k \to \frac{2}{\pi} \frac{\sin(kh/2)}{kh/2} \to \frac{2}{\pi} (using the limit lim⁡x→0sin⁡xx=1\lim_{x \to 0} \frac{\sin x}{x} = 1).
  • bk→0b_k \to 0.

📝 If we evaluate the limit of aka_k as h→0h \to 0, we substitute x=kh2x = \frac{kh}{2} to find lim⁡h→02πsin⁡xx=2π⋅1=2π\lim_{h \to 0} \frac{2}{\pi} \frac{\sin x}{x} = \frac{2}{\pi} \cdot 1 = \frac{2}{\pi} 8.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also