5.E: Systems of ODEs (Exercises)
- Last updated
- Feb 27, 2022
- Save as PDF
- Page ID
- 98066
( \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 x′1=x2−x1+t,x′2=x2.
Exercise 5.E.3.1.2
Find the general solution of x′1=3x1−x2+et,x′2=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″+y2y′−x3=sin(t),y″+(x′+y′)2−x=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 y′1=3y1,y′2=y1+y2,y′3=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=53e2t−23e−t, y=53e2t+43e−t
Exercise 5.E.3.1.9
Write x‴=x+t as a first order system.
- Answer
-
x′1=x2, x′2=x3, x′3=x1+t
Exercise 5.E.3.1.10
Write y″1+y1+y2=ty″2+y1−y2=t2 as a first order system.
- Answer
-
y′3+y1+y2=t, y′4+y1−y2=t2, y′1=y3, y′2=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 x′1(0)=x′2(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.
- Draw the picture.
- Set up the system of equations.
- Intuitively, what happens as t goes to infinity, explain.
- Answer
-
- Left to reader
- x′1=rV(x2−x1), x′2=rVx1−r−sVx2.
- 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 [9−2−6−83610−2−6].
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 [9−2−6−83610−2−6]→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 B≠C.
Exercise 5.E.3.2.11
Compute determinant of [11123−51−10]
- Answer
-
−15
Exercise 5.E.3.2.12
Find t such that [1t−12] is not invertible.
- Answer
-
−2
Exercise 5.E.3.2.12
Solve [111−1]→x=[1020].
- Answer
-
→x=[15−5]
Exercise 5.E.3.2.12
Suppose a,b,c are nonzero numbers. Let M=[a00b],N=[a000b000c].
- Compute M−1.
- Compute N−1.
- Answer
-
- [1a001b]
- [1a0001b0001c]
Exercise 5.E.3.3.1
Write the system x′1=2x1−3tx2+sint and x′2=etx1−3x2+cost in the form →x′=P(t)→x+→f(t).
Exercise 5.E.3.3.2
- Verify that the system →x′=[1331]→x has the two solutions [11]e4t and [1−1]e−2t.
- Write down the general solution.
- 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 [1−1]et are linearly independent. Hint: Just plug in t=0.
Exercise 5.E.3.3.4
Verify that [110]et and [1−11]et and [1−11]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 x′1+x′2=x1, x′1−x′2=x2.
- Write it in the form A→x′=B→x for matrices A and B.
- Compute A−1 and use that to write the system in the form →x′=P→x.
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 [e−t1]linearly independent? Justify.
- Answer
-
No. 2[cosh(t)1]−[et1]−[e−t1]=→0
Exercise 5.E.3.3.9
Write x′=3x−y+et and y′=tx in matrix notation.
- Answer
-
[xy]′=[3−1t0][xy]+[et0]
Exercise 5.E.3.3.10
- Write x′1=2tx2 and x′2=2tx2 in matrix notation.
- Solve and write the solution in matrix notation.Add exercises text here.
- Answer
-
- →x′=[02t02t]→x
- →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=[1−13]. Find A→v.
Exercise 5.E.3.4.2
- Find the general solution of x′1=2x1,x′2=3x2 using the eigenvalue method (first write the system in the form →x′=A→x ).
- 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 x′1=3x1+x2,x′2=2x1+4x2 using the eigenvalue method.
Exercise 5.E.3.4.4
Find the general solution of x′1=x1−2x2,x′2=2x1x2 using the eigenvalue method. Do not use complex exponentials in your solution.
Exercise 5.E.3.4.5
- Compute eigenvalues and eigenvectors of A=[9−2−6−83610−2−6].
- Find the general solution of →x′=A→x.
Exercise 5.E.3.4.6
Compute eigenvalues and eigenvectors of [−2−1−1321−3−10].
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
- Compute eigenvalues and eigenvectors of A=[103−101202].
- Solve the system →x′=A→x.
- Answer
-
- Eigenvalues: 4,0,−1 Eigenvectors: [101], [010], [35−2]
- →x=C1[101]e4t+C2[010]+C3[35−2]
Exercise 5.E.3.4.9
- Compute eigenvalues and eigenvectors of A=[11−10].
- Solve the system →x′=A→x.
- Answer
-
- Eigenvalues: 1+√3i2, 1−√3i2, Eigenvectors: [−21−√3i], [−21+√3i]
- →x=C1et/2[−2cos(√3t2)cos(√3t2)+√3sin(√3t2)]+C2et/2[−2sin(√3t2)sin(√3t2)−√3cos(√3t2)]
Exercise 5.E.3.4.10
Solve x′1=x2,x′2=x1 using the eigenvalue method.
- Answer
-
→x=C1[11]et+C2[1−1]e−t
Exercise 5.E.3.4.11
Solve x′1=x2,x′2=−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,c≥0,k>0 for the mass-spring system.
- Convert this to a system of first order equations.
- Classify for what m, c, k do you get which behavior.
- 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, x′1=rV(x2−x1), x′2=rV(x1−x2). 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:
- x′=x+y,y′=x−y
- x′1=x1+x2,x′2=2x2
- x′1=−2x2,x′2=2x1
- x′=x+3y,y′=−2x−4y
- x′=x−4y,y′=−4x+y
- Answer
-
- Two eigenvalues: ±√2 so the behavior is a saddle.
- Two eigenvalues: 1 and 2, so the behavior is a source.
- Two eigenvalues: ±2i, so the behavior is a center (ellipses).
- Two eigenvalues: −1 and −2, so the behavior is a sink.
- Two eigenvalues: 5 and −3, so the behavior is a saddle.
Exercise 5.E.3.5.7
Suppose that →x=A→x 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
-
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″=[−312−2]→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.
- Find the behavior of the system after linkup.
- Will the second car hit the wall, or will it be moving away from the wall as time goes on?
- 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″=[−3002−4006−3]→x+[cos(2t)00].
- Answer
-
→x=[1−11](a1cos(√3t)+b1sin(√3t))+[01−2](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″=[−kk0k−2kk0k−k]→x.
Solution: →x=[1−21](a1cos(√3k/mt)+b1sin(√3k/mt))+[10−1](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}.
- What are the eigenvalues?
- What is/are the defect(s) of the eigenvalue(s)?
- 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} .
- What are the eigenvalues?
- What is/are the defect(s) of the eigenvalue(s)?
- 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} .
- What are the eigenvalues?
- What is/are the defect(s) of the eigenvalue(s)?
- 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} .
- What are the eigenvalues?
- What is/are the defect(s) of the eigenvalue(s)?
- 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} .
- What are the eigenvalues?
- What is/are the defect(s) of the eigenvalue(s)?
- 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} .
- What are the eigenvalues?
- What is/are the defect(s) of the eigenvalue(s)?
- Find the general solution of \vec{x}' = A \vec{x} .
- Answer
-
- 3,\:0,\:0
- No defects.
- \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} .
- What are the eigenvalues?
- What is/are the defect(s) of the eigenvalue(s)?
- Find the general solution of \vec{x}' = A \vec{x} .
- Answer
-
- 1,\:1,\:2
- Eigenvalue 1 has a defect of 1
- \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} .
- What are the eigenvalues?
- What is/are the defect(s) of the eigenvalue(s)?
- Find the general solution of \vec{x}'= A \vec{x}.
- Answer
-
- 2,\:2,\:2
- Eigenvalue 2 has a defect of 2
- \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} .
- Find matrix A with these properties.
- Find the fundamental matrix solution to \vec{x}' = A \vec{x} .
- 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} .
- Find e^{tA} .
- 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:
- \left[\begin{array}{cc}{3}&{0}\\{0}&{9}\end{array}\right]
- \left[\begin{array}{cc}{5}&{2}\\{4}&{7}\end{array}\right]
- \left[\begin{array}{cc}{0}&{1}\\{0}&{0}\end{array}\right]
- \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}
- Compute e^{tA} where A = \begin{bmatrix} 3& -1\\1&1\end{bmatrix} .
- Solve \vec{x} ' = A \vec{x} for \vec{x}(0) = \begin{bmatrix} 1\\2 \end{bmatrix} .
- Answer
-
- e^{tA}=\left[\begin{array}{cc}{(t+1)e^{2t}}&{-te^{2t}}\\{te^{2t}}&{(1-t)e^{2t}}\end{array}\right]
- \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:
- \left[\begin{array}{cc}{7}&{4}\\{-5}&{-2}\end{array}\right]
- \left[\begin{array}{cc}{-3}&{4}\\{-6}&{-7}\end{array}\right]
- \left[\begin{array}{cc}{0}&{1}\\{1}&{0}\end{array}\right]
- Answer
-
- \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]
- \left[\begin{array}{cc}{3-2(3^{n})}&{2(3^{n})-2}\\{3-3^{n+1}}&{3^{n+1}-2}\end{array}\right]
- \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,
- using integrating factor method,
- using eigenvector decomposition,
- using undetermined coefficients.
Exercise \PageIndex{3.9.2}
Find the general solution to x'=4x+y-1,\: y'=x+4y-e^t,
- using integrating factor method,
- using eigenvector decomposition,
- 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),
- using eigenvector decomposition,
- 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) ,
- using eigenvector decomposition,
- 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].
- 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.
- 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,
- using integrating factor method,
- using eigenvector decomposition,
- 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,
- using integrating factor method,
- using eigenvector decomposition,
- 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)