Processing math: 73%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

5.E: Systems of ODEs (Exercises)

( \newcommand{\kernel}{\mathrm{null}\,}\)

These are homework exercises to accompany Libl's "Differential Equations for Engineering" Textmap. This is a textbook targeted for a one semester first course on differential equations, aimed at engineering students. Prerequisite for the course is the basic calculus sequence.

3.1 Introduction to Systems of ODEs

Exercise 5.E.3.1.1

Find the general solution of x1=x2x1+t,x2=x2.

Exercise 5.E.3.1.2

Find the general solution of x1=3x1x2+et,x2=x1.

Exercise 5.E.3.1.3

Write ay+by+cy=f(x) as a first order system of ODEs.

Exercise 5.E.3.1.4

Write x+y2yx3=sin(t),y+(x+y)2x=0 as a first order system of ODEs.

Exercise 5.E.3.1.5

Suppose two masses on carts on frictionless surface are at displacements x1 and x2 as in Example 3.1.3. Suppose that a rocket applies force F in the positive direction on cart x1. Set up the system of equations.

Example 5.E.3.1.6

Suppose the tanks are as in Example 3.1.2, starting both at volume V, but now the rate of flow from tank 1 to tank 2 is r1, and rate of flow from tank 2 to tank one is r2. Notice that the volumes are now not constant. Set up the system of equations.

Exercise 5.E.3.1.7

Find the general solution to y1=3y1,y2=y1+y2,y3=y1+y3.

Answer

y1=C1e3x, y2=y(x)=C2ex+C12e3x, y3=y(x)=C3ex+C12e3x

Exercise 5.E.3.1.8

Solve y=2x,x=x+y,x(0)=1,y(0)=3.

Answer

x=53e2t23et, y=53e2t+43et

Exercise 5.E.3.1.9

Write x=x+t as a first order system.

Answer

x1=x2, x2=x3, x3=x1+t

Exercise 5.E.3.1.10

Write y1+y1+y2=ty2+y1y2=t2 as a first order system.

Answer

y3+y1+y2=t, y4+y1y2=t2, y1=y3, y2=y4

Exercise 5.E.3.1.11

Suppose two masses on carts on frictionless surface are at displacements x1 and x2 as in Example 3.1.3. Suppose initial displacement is x1(0)=x2(0)=0, and initial velocity is x1(0)=x2(0)=a for some number a. Use your intuition to solve the system, explain your reasoning.

Answer

x1=x2=at. Explanation of the intuition is left to reader.

Exercise 5.E.3.1.12

Suppose the tanks are as in Example 3.1.2 except that clean water flows in at the rate s liters per second into tank 1, and brine flows out of tank 2 and into the sewer also at the rate of s liters per second.

  1. Draw the picture.
  2. Set up the system of equations.
  3. Intuitively, what happens as t goes to infinity, explain.
Answer
  1. Left to reader
  2. x1=rV(x2x1), x2=rVx1rsVx2.
  3. As t goes to infinity, both x1 and x2 go to zero, explanation is left to reader.

3.2: Matrices and linear systems

Exercise 5.E.3.2.1

Solve [1234]x=[56] by using matrix inverse.

Exercise 5.E.3.2.2

Compute determinant of [9268361026].

Exercise 5.E.3.2.3

Compute determinant of [12314050607080101]. Hint: Expand along the proper row or column to make the calculations simpler.

Exercise 5.E.3.2.4

Compute inverse of [123111010].

Exercise 5.E.3.2.5

For which h is [12345678h] not invertible? Is there only one such h? Are there several? Infinitely many?

Exercise 5.E.3.2.6

For which h is [h110h011h] not invertible? Find all such h.

Exercise 5.E.3.2.7

Solve [9268361026]x=[123].

Exercise 5.E.3.2.8

Solve [537844633]x=[200].

Exercise 5.E.3.2.9

Solve [3230333302422343]x=[2041].

Exercise 5.E.3.2.10

Find 3 nonzero 2×2 matrices A,B, and C such that AB=AC but BC.

Exercise 5.E.3.2.11

Compute determinant of [111235110]

Answer

15

Exercise 5.E.3.2.12

Find t such that [1t12] is not invertible.

Answer

2

Exercise 5.E.3.2.12

Solve [1111]x=[1020].

Answer

x=[155]

Exercise 5.E.3.2.12

Suppose a,b,c are nonzero numbers. Let M=[a00b],N=[a000b000c].

  1. Compute M1.
  2. Compute N1.
Answer
  1. [1a001b]
  2. [1a0001b0001c]
Exercise 5.E.3.3.1

Write the system x1=2x13tx2+sint and x2=etx13x2+cost in the form x=P(t)x+f(t).

Exercise 5.E.3.3.2
  1. Verify that the system x=[1331]x has the two solutions [11]e4t and [11]e2t.
  2. Write down the general solution.
  3. Write down the general solution in the form x1=?,x2=? (i.e. write down a formula for each element of the solution).
Exercise 5.E.3.3.3

Verify that [11]et and [11]et are linearly independent. Hint: Just plug in t=0.

Exercise 5.E.3.3.4

Verify that [110]et and [111]et and [111]e2t are linearly independent. Hint: You must be a bit more tricky than in the previous exercise.

Exercise 5.E.3.3.5

Verify that[tt2] and [t3t4] are linearly independent.

Exercise 5.E.3.3.6

Take the system x1+x2=x1, x1x2=x2.

  1. Write it in the form Ax=Bx for matrices A and B.
  2. Compute A1 and use that to write the system in the form x=Px.
Exercise 5.E.3.3.7

Are [e2tet] and [ete2t] linearly independent? Justify.

Answer

Yes.

Exercise 5.E.3.3.8

Are [cosh(t)1], [et1] and [et1]linearly independent? Justify.

Answer

No. 2[cosh(t)1][et1][et1]=0

Exercise 5.E.3.3.9

Write x=3xy+et and y=tx in matrix notation.

Answer

[xy]=[31t0][xy]+[et0]

Exercise 5.E.3.3.10
  1. Write x1=2tx2 and x2=2tx2 in matrix notation.
  2. Solve and write the solution in matrix notation.Add exercises text here.
Answer
  1. x=[02t02t]x
  2. x=[C2et2+C1C2et2]
Exercise 5.E.3.4.1: (easy)

Let A be a 3×3 matrix with an eigenvalue of 3 and a corresponding eigenvector v=[113]. Find Av.

Exercise 5.E.3.4.2
  1. Find the general solution of x1=2x1,x2=3x2 using the eigenvalue method (first write the system in the form x=Ax ).
  2. Solve the system by solving each equation separately and verify you get the same general solution.
Exercise 5.E.3.4.3

Find the general solution of x1=3x1+x2,x2=2x1+4x2 using the eigenvalue method.

Exercise 5.E.3.4.4

Find the general solution of x1=x12x2,x2=2x1x2 using the eigenvalue method. Do not use complex exponentials in your solution.

Exercise 5.E.3.4.5
  1. Compute eigenvalues and eigenvectors of A=[9268361026].
  2. Find the general solution of x=Ax.
Exercise 5.E.3.4.6

Compute eigenvalues and eigenvectors of [211321310].

Exercise 5.E.3.4.7

Let a,b,c,d,e,f be numbers. Find the eigenvalues of [abc0de00f].

Exercise 5.E.3.4.8
  1. Compute eigenvalues and eigenvectors of A=[103101202].
  2. Solve the system x=Ax.
Answer
  1. Eigenvalues: 4,0,1 Eigenvectors: [101], [010], [352]
  2. x=C1[101]e4t+C2[010]+C3[352]
Exercise 5.E.3.4.9
  1. Compute eigenvalues and eigenvectors of A=[1110].
  2. Solve the system x=Ax.
Answer
  1. Eigenvalues: 1+3i2, 13i2, Eigenvectors: [213i], [21+3i]
  2. x=C1et/2[2cos(3t2)cos(3t2)+3sin(3t2)]+C2et/2[2sin(3t2)sin(3t2)3cos(3t2)]
Exercise 5.E.3.4.10

Solve x1=x2,x2=x1 using the eigenvalue method.

Answer

x=C1[11]et+C2[11]et

Exercise 5.E.3.4.11

Solve x1=x2,x2=x1 using the eigenvalue method.

Answer

x=C1[cos(t)sin(t)]+C2[sin(t)cos(t)]

3.5: Two dimensional systems and their vector fields

Exercise 5.E.3.5.1

Take the equation mx+cx+kx=0, with m>0,c0,k>0 for the mass-spring system.

  1. Convert this to a system of first order equations.
  2. Classify for what m, c, k do you get which behavior.
  3. Can you explain from physical intuition why you do not get all the different kinds of behavior here?
Exercise 5.E.3.5.2

Can you find what happens in the case when P=[1101]? In this case the eigenvalue is repeated and there is only one eigenvector. What picture does this look like?

Exercise 5.E.3.5.3

Can you find what happens in the case when P=[1111]? Does this look like any of the pictures we have drawn?

Exercise 5.E.3.5.4

Which behaviors are possible if P is diagonal, that is P=[a00b]? You can assume that a and b are not zero.

Exercise 5.E.3.5.5

Take the system from Example 3.1.2, x1=rV(x2x1), x2=rV(x1x2). As we said, one of the eigenvalues is zero. What is the other eigenvalue, how does the picture look like and what happens when t goes to infinity.

Exercise 5.E.3.5.6

Describe the behavior of the following systems without solving:

  1. x=x+y,y=xy
  2. x1=x1+x2,x2=2x2
  3. x1=2x2,x2=2x1
  4. x=x+3y,y=2x4y
  5. x=x4y,y=4x+y
Answer
  1. Two eigenvalues: ±2 so the behavior is a saddle.
  2. Two eigenvalues: 1 and 2, so the behavior is a source.
  3. Two eigenvalues: ±2i, so the behavior is a center (ellipses).
  4. Two eigenvalues: 1 and 2, so the behavior is a sink.
  5. Two eigenvalues: 5 and 3, so the behavior is a saddle.
Exercise 5.E.3.5.7

Suppose that x=Ax where A is a 2×2 matrix with eigenvalues 2±i. Describe the behavior.

Answer

Spiral source.

Exercise 5.E.3.5.8

Take [xy]=[0100][xy]. Draw the vector field and describe the behavior. Is it one of the behaviours that we have seen before?

Answer

clipboard_ef527940574ef75ea56300e88e501a1c5.png

The solution does not move anywhere if y=0. When y is positive, the solution moves (with constant speed) in the positive x direction. When y is negative, the solution moves (with constant speed) in the negative x direction. It is not one of the behaviors we saw. Note that the matrix has a double eigenvalue 0 and the general solution is x=C1t+C2 and y=C1, which agrees with the description

3.6: Second order systems and applications

Exercise 5.E.3.6.1

Find a particular solution to

x=[3122]x+[02]cos(2t).

Exercise 5.E.3.6.2: challenging

Let us take the example in Figure 3.6.3 with the same parameters as before: m1=2,k1=4, and k2=2, except for m2, which is unknown. Suppose that there is a force cos(5t) acting on the first mass. Find an m2 such that there exists a particular solution where the first mass does not move.

Note

This idea is called dynamic damping. In practice there will be a small amount of damping and so any transient solution will disappear and after long enough time, the first mass will always come to a stop.

Example 5.E.3.6.3

Let us take the Example 3.6.2, but that at time of impact, cart 2 is moving to the left at the speed of 3ms.

  1. Find the behavior of the system after linkup.
  2. Will the second car hit the wall, or will it be moving away from the wall as time goes on?
  3. At what speed would the first car have to be traveling for the system to essentially stay in place after linkup?
Exercise 5.E.3.6.4

Let us take the example in Figure 3.6.2 with parameters m1=m2=1,k1=k2=1. Does there exist a set of initial conditions for which the first cart moves but the second cart does not? If so, find those conditions. If not, argue why not.

Exercise 5.E.3.6.5

Find the general solution to

[100020003]x=[300240063]x+[cos(2t)00].

Answer

x=[111](a1cos(3t)+b1sin(3t))+[012](a2cos(2t)+b2sin(2t))+[001](a3cos(t)+b3sin(t))+[11/22/3]cos(2t)

Exercise 5.E.3.6.6

Suppose there are three carts of equal mass m and connected by two springs of constant k (and no connections to walls). Set up the system and find its general solution.

Answer

[m000m000m]x=[kk0k2kk0kk]x.

Solution: x=[121](a1cos(3k/mt)+b1sin(3k/mt))+[101](a2cos(k/mt)+b2sin(k/mt))+[111](a3t+b3).

Exercise \PageIndex{3.6.7}

Suppose a cart of mass 2\text{ kg} is attached by a spring of constant k=1 to a cart of mass 3\text{ kg}, which is attached to the wall by a spring also of constant k=1. Suppose that the initial position of the first cart is 1 meter in the positive direction from the rest position, and the second mass starts at the rest position. The masses are not moving and are let go. Find the position of the second mass as a function of time.

Answer

x_{2}=\left(\frac{2}{5}\right)\cos\left(\sqrt{\frac{1}{6}}t\right)-\left(\frac{2}{5}\right)\cos (t)

3.7: Multiple Eigenvalues

Exercise \PageIndex{3.7.1}

Let A = \begin{bmatrix} 5&-3 \\3&-1 \end{bmatrix} . Find the general solution of \vec{x}' = A\vec{x}.

Exercise \PageIndex{3.7.2}

Let A =\begin{bmatrix} 5&-4&4\\ 0&3&0 \\-2&4&-1\end{bmatrix}.

  1. What are the eigenvalues?
  2. What is/are the defect(s) of the eigenvalue(s)?
  3. Find the general solution of \vec{x}' = A\vec{x} .
Exercise \PageIndex{3.7.3}

Let A = \begin{bmatrix} 2&1&0\\0&2&0\\0&0&2\end{bmatrix} .

  1. What are the eigenvalues?
  2. What is/are the defect(s) of the eigenvalue(s)?
  3. Find the general solution of \vec{x}' = A\vec{x} in two different ways and verify you get the same answer.
Exercise \PageIndex{3.7.4}

Let A = \begin{bmatrix}0&1&2 \\ -1&-2&-2\\-4&4&7 \end{bmatrix} .

  1. What are the eigenvalues?
  2. What is/are the defect(s) of the eigenvalue(s)?
  3. Find the general solution of \vec{x}' = A\vec{x} .
Exercise \PageIndex{3.7.5}

Let A = \begin{bmatrix} 0&4&-2\\-1&-4&1\\0&0&-2 \end{bmatrix} .

  1. What are the eigenvalues?
  2. What is/are the defect(s) of the eigenvalue(s)?
  3. Find the general solution of \vec{x}' = A \vec{x} .
Exercise \PageIndex{3.7.6}

Let \begin{bmatrix} 2&1&-1\\ -1&0&2\\-1&-2&4 \end{bmatrix} .

  1. What are the eigenvalues?
  2. What is/are the defect(s) of the eigenvalue(s)?
  3. Find the general solution of \vec{x}' = A \vec{x}.
Exercise \PageIndex{3.7.7}

Suppose that A is a 2 \times 2 matrix with a repeated eigenvalue \lambda. Suppose that there are two linearly independent eigenvectors. Show that A = \lambda I.

Exercise \PageIndex{3.7.8}

Let A = \begin{bmatrix} 1&1&1\\1&1&1\\1&1&1 \end{bmatrix} .

  1. What are the eigenvalues?
  2. What is/are the defect(s) of the eigenvalue(s)?
  3. Find the general solution of \vec{x}' = A \vec{x} .
Answer
  1. 3,\:0,\:0
  2. No defects.
  3. \vec{x}=C_{1}\left[\begin{array}{c}{1}\\{1}\\{1}\end{array}\right]e^{3t}+C_{2}\left[\begin{array}{c}{1}\\{0}\\{-1}\end{array}\right]+C_{3}\left[\begin{array}{c}{0}\\{1}\\{-1}\end{array}\right]
Exercise \PageIndex{3.7.9}

Let A = \begin{bmatrix} 1&3&3 \\ 1&1&0 \\-1&1&2\end{bmatrix} .

  1. What are the eigenvalues?
  2. What is/are the defect(s) of the eigenvalue(s)?
  3. Find the general solution of \vec{x}' = A \vec{x} .
Answer
  1. 1,\:1,\:2
  2. Eigenvalue 1 has a defect of 1
  3. \vec{x}=C_{1}\left[\begin{array}{c}{0}\\{1}\\{-1}\end{array}\right]e^{t}+C_{2}\left(\left[\begin{array}{c}{1}\\{0}\\{0}\end{array}\right]+t\left[\begin{array}{c}{0}\\{1}\\{-1}\end{array}\right]\right)e^{t}+C_{3}\left[\begin{array}{c}{3}\\{3}\\{-2}\end{array}\right]e^{2t}
Exercise \PageIndex{3.7.10}

Let A = \begin{bmatrix} 2&0&0 \\-1&-1&9\\0&-1&5\end{bmatrix} .

  1. What are the eigenvalues?
  2. What is/are the defect(s) of the eigenvalue(s)?
  3. Find the general solution of \vec{x}'= A \vec{x}.
Answer
  1. 2,\:2,\:2
  2. Eigenvalue 2 has a defect of 2
  3. \vec{x}=C_{1}\left[\begin{array}{c}{0}\\{3}\\{1}\end{array}\right]e^{2t}+C_{2}\left(\left[\begin{array}{c}{0}\\{-1}\\{0}\end{array}\right]+t\left[\begin{array}{c}{0}\\{3}\\{1}\end{array}\right]\right)e^{2t}+C_{3}\left(\left[\begin{array}{c}{1}\\{0}\\{0}\end{array}\right]+t\left[\begin{array}{c}{0}\\{-1}\\{0}\end{array}\right]+\frac{t^{2}}{2}\left[\begin{array}{c}{0}\\{3}\\{1}\end{array}\right]\right)e^{2t}
Exercise \PageIndex{3.7.11}

Let A = \begin{bmatrix} a&a\\b&c\end{bmatrix} , where a, b, and c are unknowns. Suppose that 5 is a doubled eigenvalue of defect 1, and suppose that \begin{bmatrix} 1\\0 \end{bmatrix} is the eigenvector. Find A and show that there is only one solution.

Answer

A=\left[\begin{array}{cc}{5}&{5}\\{0}&{5}\end{array}\right]

3.8: Matrix Exponentials

Exercise \PageIndex{3.8.1}

Using the matrix exponential, find a fundamental matrix solution for the system , x' = 3x +y, y' = x+ 3y .

Exercise \PageIndex{3.8.2}

Find e^{tA} for the matrix A = \begin{bmatrix} 2&3\\0&2 \end{bmatrix} .

Exercise \PageIndex{3.8.3}

Find a fundamental matrix solution for the system , x'_1 =7x_1 +4x_2 +12x_3,~~~ x'_2= x_1 + 2x_2 +x_3,~~~x'_3 = -3x_1 - 2x_2 -5x_3 . Then find the solution that satisfies \vec{x} = \begin{bmatrix}0\\1\\-2\end{bmatrix} .

Exercise \PageIndex{3.8.4}

Compute the matrix exponential e^A for A = \begin{bmatrix} 1&2\\0&2\end{bmatrix} .

Exercise \PageIndex{3.8.5}: (challenging)

Suppose AB=BA . Show that under this assumption, e^{A+B} = e^A e^B .

Exercise \PageIndex{3.8.6}

Use Exercise \PageIndex{3.8.5} to show that (e^A)^{-1} = e^{-A} . In particular this means that e^A is invertible even if A is not.

Exercise \PageIndex{3.8.7}

Suppose A is a matrix with eigenvalues -1, 1, and corresponding eigenvectors \begin{bmatrix} 1\\1\end{bmatrix} , \begin{bmatrix}0\\1\end{bmatrix} .

  1. Find matrix A with these properties.
  2. Find the fundamental matrix solution to \vec{x}' = A \vec{x} .
  3. Solve the system in with initial conditions \vec{x}(0) = \begin{bmatrix} 2\\3 \end{bmatrix} .
Exercise \PageIndex{3.8.8}

Suppose that A is an n \times n matrix with a repeated eigenvalue \lambda of multiplicity n. Suppose that there are n linearly independent eigenvectors. Show that the matrix is diagonal, in particular A = \lambda \mathit{I} . Hint: Use diagonalization and the fact that the identity matrix commutes with every other matrix.

Exercise \PageIndex{3.8.9}

Let A =\begin{bmatrix} -1&-1\\1&-3 \end{bmatrix} .

  1. Find e^{tA} .
  2. Solve \vec{x}' = A \vec{x} , \vec{x}(0) = \begin{bmatrix} 1\\-2 \end{bmatrix} .
Exercise \PageIndex{3.8.10}

Let A = \begin{bmatrix} 1&2\\3&4 \end{bmatrix} . Approximate e^{tA} by expanding the power series up to the third order.

Exercise \PageIndex{3.8.11}

For any positive integer n, find a formula (or a recipe) for A^{n} for the following matrices:

  1. \left[\begin{array}{cc}{3}&{0}\\{0}&{9}\end{array}\right]
  2. \left[\begin{array}{cc}{5}&{2}\\{4}&{7}\end{array}\right]
  3. \left[\begin{array}{cc}{0}&{1}\\{0}&{0}\end{array}\right]
  4. \left[\begin{array}{cc}{2}&{1}\\{0}&{2}\end{array}\right]
Exercise \PageIndex{3.8.12}

Compute e^{tA} where A = \begin{bmatrix} 1&-2\\-2&1\end{bmatrix} .

Answer

e^{tA}=\left[\begin{array}{cc}{\frac{e^{3t}+e^{-t}}{2}}&{\frac{e^{-t}-e^{3t}}{2}}\\{\frac{e^{-t}-e^{3t}}{2}}&{\frac{e^{3t}+e^{-t}}{2}}\end{array}\right]

Exercise \PageIndex{3.8.13}

Compute e^{tA} where A=\begin{bmatrix} 1&-3&2\\-2&1&2\\-1&-3&4 \end{bmatrix} .

Answer

e^{tA}=\left[\begin{array}{ccc}{2e^{3t}-4e^{2t}+3e^{t}}&{\frac{3e^{t}}{2}-\frac{3e^{3t}}{2}}&{-e^{3t}+4e^{2t}-3e^{t}}\\{2e^{t}-2e^{2t}}&{e^{t}}&{2e^{2t}-2e^{t}}\\{2e^{3t}-5e^{2t}+3e^{t}}&{\frac{3e^{t}}{2}-\frac{3e^{3t}}{2}}&{-e^{3t}+5e^{2t}-3e^{t}}\end{array}\right]

Exercise \PageIndex{3.8.14}
  1. Compute e^{tA} where A = \begin{bmatrix} 3& -1\\1&1\end{bmatrix} .
  2. Solve \vec{x} ' = A \vec{x} for \vec{x}(0) = \begin{bmatrix} 1\\2 \end{bmatrix} .
Answer
  1. e^{tA}=\left[\begin{array}{cc}{(t+1)e^{2t}}&{-te^{2t}}\\{te^{2t}}&{(1-t)e^{2t}}\end{array}\right]
  2. \vec{x}=\left[\begin{array}{c}{(1-t)e^{2t}}\\{(2-t)e^{2t}}\end{array}\right]
Exercise \PageIndex{3.8.15}

Compute the first 3 terms (up to the second degree) of the Taylor expansion of e^{tA} where A =\begin{bmatrix} 2&3\\2&2 \end{bmatrix} (Write as a single matrix). Then use it to approximate e^{0.1A} .

Answer

\left[\begin{array}{cc}{1+2t+5t^{2}}&{3t+6t^{2}}\\{2t+4t^{2}}&{1+2t+5t^{2}}\end{array}\right] e^{0.1A}\approx\left[\begin{array}{cc}{1.25}&{0.36}\\{0.24}&{1.25}\end{array}\right]

Exercise \PageIndex{3.8.16}

For any positive integer n, find a formula (or a recipe) for A^{n} for the following matrices:

  1. \left[\begin{array}{cc}{7}&{4}\\{-5}&{-2}\end{array}\right]
  2. \left[\begin{array}{cc}{-3}&{4}\\{-6}&{-7}\end{array}\right]
  3. \left[\begin{array}{cc}{0}&{1}\\{1}&{0}\end{array}\right]
Answer
  1. \left[\begin{array}{cc}{5(3^{n})-2^{n+2}}&{4(3^{n})-2^{n+2}}\\{5(2^{n})-5(3^{n})}&{5(2^{n})-4(3^{n})}\end{array}\right]
  2. \left[\begin{array}{cc}{3-2(3^{n})}&{2(3^{n})-2}\\{3-3^{n+1}}&{3^{n+1}-2}\end{array}\right]
  3. \left[\begin{array}{cc}{1}&{0}\\{0}&{1}\end{array}\right] if n is even, and \left[\begin{array}{cc}{0}&{1}\\{1}&{0}\end{array}\right] if n is odd.

3.9: Nonhomogeneous Systems

Exercise \PageIndex{3.9.1}

Find a particular solution to x'=x+2y+2t,\: y'=3x+2y-4,

  1. using integrating factor method,
  2. using eigenvector decomposition,
  3. using undetermined coefficients.
Exercise \PageIndex{3.9.2}

Find the general solution to x'=4x+y-1,\: y'=x+4y-e^t,

  1. using integrating factor method,
  2. using eigenvector decomposition,
  3. using undetermined coefficients.
Exercise \PageIndex{3.9.3}

Find the general solution to x_1''=-6x_1+3x_2+ \cos(t),\: x''_2=2x_1-7x_2+ 3 \cos(t),

  1. using eigenvector decomposition,
  2. using undetermined coefficients.
Exercise \PageIndex{3.9.4}

Find the general solution to x''_1=-6x_1+3x_2 + \cos(2t),\: x''_2=2x_1-7x_2+ \cos(2t) ,

  1. using eigenvector decomposition,
  2. using undetermined coefficients.
Exercise \PageIndex{3.9.5}

Take the equation

\vec{x}' = \left[ \begin{array}{cc} \frac{1}{t} & -1\\ 1 & \frac{1}{t} \end{array} \right] \vec{x}+ \left[ \begin{array}{c} t^2 \\ -t \end{array} \right].

  1. Check that \vec{x}_c = c_1\left[ \begin{array}{c} t \sin t\\ -t \cos t \end{array} \right] + c_2\left[ \begin{array}{c} t \cos t\\ t \sin t \end{array} \right] is the complementary solution.
  2. Use variation of parameters to find a particular solution.
Exercise \PageIndex{3.9.6}

Find a particular solution to x' = 5x +4y+t,\: y'=x+8y-t,

  1. using integrating factor method,
  2. using eigenvector decomposition,
  3. using undetermined coefficients.
Answer

The general solution is (particular solutions should agree with one of these): x(t)=C_{1}e^{9t}+4C_{2}e^{4t}-\frac{t}{3}-\frac{5}{54}, y(t)=C_{1}e^{9t}-C_{2}e^{4t}+\frac{t}{6}+\frac{7}{216}

Exercise \PageIndex{3.9.7}

Find a particular solution to x'=y+e^t,\: y'=x+e^t,

  1. using integrating factor method,
  2. using eigenvector decomposition,
  3. using undetermined coefficients.
Answer

The general solution is (particular solutions should agree with one of these): x(t)=C_{1}e^{t}+C_{2}e^{-t}+te^{t}, y(t)=C_{1}e^{t}-C_{2}e^{-t}+te^{t}

Exercise \PageIndex{3.9.8}

Solve x'_1=x_2+t, x'_2=x_1+t with initial conditions x_1(0)=1, x_2(0)=2, using eigenvector decomposition.

Answer

\vec{x}=\left[\begin{array}{c}{1}\\{1}\end{array}\right]\left(\frac{5}{2}e^{t}-t-1\right)+\left[\begin{array}{c}{1}\\{-1}\end{array}\right]\frac{-1}{2}e^{-t}

Exercise \PageIndex{3.9.9}

Solve x''_1=-3x_1+x_2+t, x''_2=9x_1+5x_2 +\cos(t) with initial conditions x_1(0)=0, x_2(0)=0, x'_1(0)=0, x'_2(0)=0, using eigenvector decomposition.

Answer

\vec{x}=\left[\begin{array}{c}{1}\\{9}\end{array}\right]\left(\left(\frac{1}{140}+\frac{1}{120\sqrt{6}}\right)e^{\sqrt{6}t}+\left(\frac{1}{140}+\frac{1}{120\sqrt{6}}\right)e^{-\sqrt{6}t}-\frac{t}{60}-\frac{\cos (t)}{70}\right) +\left[\begin{array}{c}{1}\\{-1}\end{array}\right]\left(\frac{-9}{80}\sin (2t)+\frac{1}{30}\cos (2t)+\frac{9t}{40}-\frac{\cos (t)}{30}\right)


This page titled 5.E: Systems of ODEs (Exercises) is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Jiří Lebl.

Support Center

How can we help?