Differential Equations 5.5: Repeated Eigenvalues

Differential Equations

Units and Topics

Unit 5. Linear Systems

5.5 Repeated Eigenvalues

When the characteristic equation of the matrix has one repeated root, the matrix has only one eigenvalue. Most such matrices have only one direction of eigenvectors, so the method of Topic 5.3 gives only one solution. This topic covers the second solution, which contains the factor t, and the pictures in the phase plane.

You need Topics 5.2 and 5.3 for this topic. The topic uses the repeated roots of Topic 3.3.

1. One Repeated Eigenvalue

The characteristic equation λ² − Tλ + D = 0 has one repeated root when its discriminant T² − 4D is 0. The root is λ = T/2.

For example, the matrix A = 11−13 has the trace 4 and the determinant 3 + 1, which is 4.

λ² − 4λ + 4 = 0the characteristic equation(λ − 2)² = 0the left side is a squareλ = 2the only eigenvalueA − 2I = −11−11subtract 2 from the entries on the diagonal−v₁ + v₂ = 0both rows give this equationv = 11the eigenvector

All eigenvectors are multiples of 11. The matrix has only one line of eigenvectors, and the method of Topic 5.3 gives only the solution e2t11 and its multiples. A general solution needs a second solution that is not a multiple of the first one.

2. The Two Cases

A matrix with a repeated eigenvalue λ belongs to one of two cases.

CaseMatrixEigenvectors
1A = λI, a multiple of the identity matrixEach vector except the zero vector
2Any other matrix with a repeated eigenvalueOne line through the origin

In case 1, the system is x′ = λx, y′ = λy. The two equations are not coupled, and the solution is x = eλtx(0). Each trajectory is a straight line through the origin. The picture is called a star node. It is stable when λ is negative and unstable when λ is positive.

Case 2 is the usual one, and the rest of this topic covers it. The matrix A − λI is then not the zero matrix.

3. The Second Solution

For the equation y″ − 2ry′ + r²y = 0 with the repeated root r, Topic 3.3 found the second solution tert. For a system, the function teλtv alone is not a solution. The correct form has one more term with an unknown constant vector w.

x = teλtv + eλtw

Substitute this form in x′ = Ax.

x′ = eλtv + λteλtv + λeλtwthe product rule for the first termAx = teλtAv + eλtAwmultiply by AAx = λteλtv + eλtAwbecause Av = λvv + λw = Awset x′ equal to Ax, cancel the equal terms, and divide by eλt(A − λI)w = vmove λw to the right side

The second solution. Let λ be a repeated eigenvalue with the eigenvector v, and let w be a solution of (A − λI)w = v. Then teλtv + eλtw is a solution, and the general solution is x = c₁eλtv + c₂eλt(tv + w).

The vector w is called a generalized eigenvector. The equation for w always has solutions in case 2, although the determinant of A − λI is 0. The solution is not unique: if w is a solution, then w plus any multiple of v is also a solution. Any one of them can be used.

4. A Complete Example

Solve x′ = Ax for A = 11−13 with x(0) = 2 and y(0) = 5. Part 1 found λ = 2 and v = 11.

−11−11w = 11the equation (A − 2I)w = v−w₁ + w₂ = 1both rows give this equationw = 01choose w₁ = 0x = c₁e2t11 + c₂e2t(t11 + 01)the general solutionc₁11 + c₂01 = 25the initial condition at t = 0c₁ = 2the first entriesc₂ = 3the second entries, from c₁ + c₂ = 5

Written with the two functions, the solution is x = e2t(2 + 3t) and y = e2t(5 + 3t). The check of the first equation x′ = x + y:

x′ = 2e2t(2 + 3t) + 3e2tthe product rulex′ = e2t(7 + 6t)collectx + y = e2t(7 + 6t)add the two functions, which agrees

5. The Trajectories

In case 2 there is only one straight line of trajectories, the line along v. For large t, the term with tv is the largest term of the solution, so each trajectory becomes parallel to v. The trajectories look like those of a node, with the two eigenvector lines merged into one. The picture is called an improper node.

Repeated eigenvalue. The origin is a stable node when λ is negative and an unstable node when λ is positive. When A = λI, it is a star node, and each trajectory is a straight line. Otherwise it is an improper node, with one straight line of trajectories.

When λ is negative, the factor eλt decreases faster than t grows, so teλt approaches 0, and each solution approaches the origin.

A repeated eigenvalue is the border between two real eigenvalues and two complex eigenvalues. An improper node is the border between a node and a spiral: the trajectories begin to turn, but they do not complete a turn around the origin.

Try it: a repeated eigenvalue

The matrix is λk0λ, which has the repeated eigenvalue λ and the eigenvector 10. For k = 0 it is λI. The sliders set λ and k. The gray curves are trajectories. Drag the point to choose the start of the blue trajectory.

6. An Example from Physics

The oscillator x″ + 2x′ + x = 0 has critical damping, which Topic 3.6 covered. Its system is x′ = v, v′ = −x − 2v, with the matrix A = 01−1−2. The trace is −2, and the determinant is 1.

λ² + 2λ + 1 = 0the characteristic equation(λ + 1)² = 0the left side is a squareA + I = 11−1−1for the eigenvalue λ = −1v = 1−1from the row v₁ + v₂ = 0w₁ + w₂ = 1the first row of (A + I)w = vw = 01choose w₁ = 0xv = c₁e−t1−1 + c₂e−t(t1−1 + 01)the general solution

The first entries give x = e−t(c₁ + c₂t), the solution of Topic 3.3 for the repeated root −1. The second entries give v = e−t(−c₁ + c₂ − c₂t), which is the derivative of x.

The origin is a stable improper node. The block returns to the equilibrium position without oscillating. With less damping, the eigenvalues are complex and the origin is a spiral. With more damping, the eigenvalues are real and different, and the origin is a node.

A second example is a body with no force: x″ = 0. The system is x′ = v, v′ = 0, with the matrix 0100. The repeated eigenvalue is 0, with v = 10 and w = 01. The general solution is x = c₁ + c₂t and v = c₂: the body moves with a constant velocity.

Common Mistakes

  • Using teλtv alone as the second solution. The second solution is teλtv + eλtw, with the generalized eigenvector w.
  • Solving (A − λI)w = 0 for w. That equation gives the eigenvector again. The right side for w is the eigenvector v.
  • Scaling v after w is found. The vector w belongs to one certain v. If v is multiplied by a number, w must be multiplied by the same number.
  • Assuming that a repeated eigenvalue always has only one line of eigenvectors. For A = λI, each vector is an eigenvector, and no factor t appears.
  • Leaving out the term c₂w in the initial condition. At t = 0 the solution is c₁v + c₂w.

Summary

ItemResult
Repeated eigenvalueλ = T/2, when T² − 4D = 0
A = λIx = eλtx(0), a star node
Generalized eigenvector wA solution of (A − λI)w = v
General solutionx = c₁eλtv + c₂eλt(tv + w)
Initial conditionc₁v + c₂w = x(0)
λ negativeStable improper node
λ positiveUnstable improper node

Practice

Work each problem on paper first. Then open the answer to check your work.

1. Show that 31−11 has a repeated eigenvalue, and find its eigenvector.

λ² − 4λ + 4 = 0the characteristic equation, with T = 4 and D = 3 + 1(λ − 2)² = 0the left side is a square, so λ = 2A − 2I = 11−1−1subtract 2 from the entries on the diagonalv = 1−1from the row v₁ + v₂ = 0

2. Find a generalized eigenvector and the general solution for the matrix of Problem 1.

w₁ + w₂ = 1the first row of (A − 2I)w = vw = 10choose w₂ = 0x = c₁e2t1−1 + c₂e2t(t1−1 + 10)the general solution

3. Solve the system of Problem 2 with x(0) = 1 and y(0) = 2.

c₁1−1 + c₂10 = 12the initial condition at t = 0−c₁ = 2the second entriesc₁ = −2multiply by −1c₂ = 3the first entries, from c₁ + c₂ = 1x = e2t(1 + 3t)the first entries of the solutiony = e2t(2 − 3t)the second entries of the solution

4. Solve x′ = −3x, y′ = −3y with x(0) = 2 and y(0) = −1. Which kind of point is the origin?

The matrix is −3I, so the equations are not coupled: x = 2e−3t and y = −e−3t.

The trajectory is a straight line to the origin. The origin is a stable star node.

5. Find the general solution of x′ = Ax for A = −210−2.

(λ + 2)² = 0the characteristic equation, with T = −4 and D = 4A + 2I = 0100for the eigenvalue λ = −2v = 10from the row v₂ = 0w = 01from the row w₂ = 1 of (A + 2I)w = vx = c₁e−2t10 + c₂e−2t(t10 + 01)the general solution

The functions are x = e−2t(c₁ + c₂t) and y = c₂e−2t. The origin is a stable improper node.

6. The oscillator x″ + 6x′ + 9x = 0 starts at x(0) = 1 with v(0) = 0. Solve its system.

The matrix is 01−9−6, with T = −6 and D = 9, so (λ + 3)² = 0.

v = 1−3from the row 3v₁ + v₂ = 0 of A + 3Iw = 01from the row 3w₁ + w₂ = 1c₁1−3 + c₂01 = 10the initial conditionc₁ = 1 and c₂ = 3from the first entries, and from −3c₁ + c₂ = 0x = e−3t(1 + 3t)the first entries of the solutionv = −9te−3tthe second entries, from −3(1 + 3t) + 3

Python Practice

Step 1. A repeated eigenvalue

The discriminant of the characteristic equation is T² − 4D. The code below calculates it for the matrix of Part 1 and prints the eigenvalue T/2.

Python

The discriminant is 0, and the eigenvalue is 2. Now do the same for the matrix of the oscillator in Practice 6, with the rows 0, 1 and −9, −6. The discriminant should be 0, and the eigenvalue should be −3.

Python

Step 2. Check the eigenvector and the generalized eigenvector

The matrix np.eye(2) is the identity matrix. The code below checks the vectors of Part 4. The first product should be the zero vector, and the second product should be the eigenvector.

Python

The first product is the zero vector, and the second product has the entries 1 and 1. Now check the vectors of Practice 1 and 2: the matrix with the rows 3, 1 and −1, 1, the eigenvalue 2, the eigenvector with the entries 1 and −1, and the generalized eigenvector with the entries 1 and 0.

Python

Step 3. The solution at a later time

The code below calculates the solution of Part 4, with c₁ = 2 and c₂ = 3, at t = 0.5. The second line of the output is the formula x = e2t(2 + 3t), y = e2t(5 + 3t).

Python

Both lines show 9.514 and 17.669. Now calculate the solution of Practice 3 at t = 0.5: the eigenvector has the entries 1 and −1, the generalized eigenvector has the entries 1 and 0, and the constants are c₁ = −2 and c₂ = 3. The values should be 6.796 and 1.359.

Python

Step 4. Check with the method of Euler

The code below solves the system of Part 4 with the method of Euler from the start with the entries 2 and 5 until t = 0.5, with 50000 small steps.

Python

The values are close to 9.514 and 17.669 of Step 3. Now solve the critically damped oscillator of Part 6, with the rows 0, 1 and −1, −2, from the start x = 1, v = 0 until t = 0.5. The formula x = e−t(1 + t), v = −te−t gives 0.910 and −0.303.

Python

Step 5. The function teλt

For a negative eigenvalue, the solutions contain teλt, which first grows and then approaches 0. The code below finds the largest value of te−t and the time at which it is reached.

Python

The largest value is 0.368 at t = 1, and the value at t = 20 is very small. Now do the same for λ = −3. The largest value should be 0.123 at t = 0.333, which is −1/λ.

Python

Quiz

This quiz has 5 questions on this topic. A question asks you either to choose one answer or to type numbers. The page grades your answers and explains each one. A number can be typed as a whole number, a decimal, a fraction such as 1/3, or a calculation such as sqrt(18)/2 or arccos(1/2). The page shows the value of a calculation next to the box. Angles in a calculation are in degrees. The Calculator button under each question opens a calculator. Your answers are saved in your browser, so they are still on the page when you come back to it.

Choose how your answers are checked

1. The matrix 51−13 has one repeated eigenvalue. Find it.

2. The matrix A has the repeated eigenvalue λ with the eigenvector v and only one line of eigenvectors. Which equation does the generalized eigenvector w satisfy?

3. Which function is the second solution for a repeated eigenvalue λ with the eigenvector v and the generalized eigenvector w?

4. For A = 2102, the eigenvector is 10 and the generalized eigenvector is 01. The solution with x(0) = 3 and y(0) = 4 is x = e2t(a + bt), y = 4e2t. Find a and b.

5. Which kind of point is the origin for the system x′ = −4x, y′ = −4y?

Next: Topic 5.6, The Phase Plane