Difference between revisions of "Tutorial Week 6"
From UBCMATH WIKI
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
===Worksheet Questions=== | ===Worksheet Questions=== | ||
− | + | You can print the [[Media:Tutorial7Worksheet.pdf|PDF]]. This worksheet relates to material from weeks 6 and 7. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | <ol> | |
− | + | <li> Find the general solution to the following linear system of differential equations | |
− | + | \begin{equation} | |
− | + | \mathbf{x}'= | |
− | + | \left( | |
− | \end{ | + | \begin{array}{cc} |
− | + | 2&-1\\ | |
− | + | 1&4 | |
− | + | \end{array} | |
− | + | \right)\mathbf{x} | |
− | + | \end{equation}</li> | |
− | + | ||
− | + | ||
− | [[ | + | <li> |
+ | Consider the following system | ||
+ | \begin{equation*} | ||
+ | \mathbf{x}'= | ||
+ | \left( | ||
+ | \begin{array}{cc} | ||
+ | 1&-2\\ | ||
+ | 2&-4 | ||
+ | \end{array} | ||
+ | \right)\mathbf{x}+ | ||
+ | \mathbf{b},\quad | ||
+ | |||
+ | \text{where} \quad | ||
+ | |||
+ | \mathbf{b}= | ||
+ | \left( | ||
+ | \begin{array}{c} | ||
+ | b_1\\ | ||
+ | b_2 | ||
+ | \end{array} | ||
+ | \right) | ||
+ | \end{equation*} </li> | ||
+ | |||
+ | <ol> | ||
+ | <li>Determine the general solution when $b_1=1$ and $b_2=2$.</li> | ||
+ | |||
+ | <li>In part (a), $b_1$ and $b_2$ were specially chosen in that the row reduced form of the matrix equation had a full row of zeros (including the RHS) and therefore a solution. Write down an equation for $b_1$ and $b_2$ that ensures this will happen. </li> | ||
+ | |||
+ | <li>Now consider the case with $b_1=3$ and $b_2=3$. Because this $\mathbf{b}$ does not satisfy the | ||
+ | equation from part (b), a different form for your particular guess is needed. By analogy with second order systems, we guess $\mathbf{x_p} = t \mathbf{v}+\mathbf{w}$. Now we take the following steps to find out the general solution for this case: | ||
+ | |||
+ | <ol> | ||
+ | |||
+ | <li>Plugging this $\mathbf{x_p} $ | ||
+ | into the system of ODEs, we find that we must have | ||
+ | $\mathbf{v} = t \mathbf{A} \mathbf{v}+ \mathbf{A} \mathbf{w} + \mathbf{b}$ | ||
+ | for all $t$. This requires that $\mathbf{A} \mathbf{v}=0$ and $\mathbf{A} \mathbf{w}=\mathbf{v}-\mathbf{b};$ </li> | ||
+ | |||
+ | <li> $\mathbf{A} \mathbf{v}=0$ has a whole family of | ||
+ | solutions. In fact , since $0$ is an eigenvalue of $\mathbf{A} $, $\mathbf{v}$ should be a corresponding eigenvector; </li> | ||
+ | |||
+ | <li> Next consider the equation $\mathbf{A} \mathbf{w}=\mathbf{v}-\mathbf{b}$ which we must solve for $\mathbf{w}$. Notice | ||
+ | that for any vector $\mathbf{w}$, $\mathbf{A} \mathbf{w}$ will always have a second component equal to twice | ||
+ | its first component. Thus, to be able to solve $\mathbf{A} \mathbf{w}=\mathbf{v}-\mathbf{b}$ , we must make sure | ||
+ | that $\mathbf{v}-\mathbf{b}$ has second component equal to twice its first component. Find the vector $\mathbf{v}$ from the family of solutions to $\mathbf{A} \mathbf{v}=0$ that does this. Then find $\mathbf{w}$ and write down the general solution for this case. | ||
+ | |||
+ | </li> | ||
+ | </ol> | ||
+ | |||
+ | |||
+ | </li> | ||
+ | </ol> | ||
+ | </ol> | ||
+ | |||
+ | <!-- See history of "Tutorial Week 7" for solutions --> | ||
+ | |||
+ | [[Tutorial Week 6 Solutions]] |
Latest revision as of 23:06, 30 December 2020
Worksheet Questions
You can print the PDF. This worksheet relates to material from weeks 6 and 7.
- Find the general solution to the following linear system of differential equations \begin{equation} \mathbf{x}'= \left( \begin{array}{cc} 2&-1\\ 1&4 \end{array} \right)\mathbf{x} \end{equation}
- Consider the following system \begin{equation*} \mathbf{x}'= \left( \begin{array}{cc} 1&-2\\ 2&-4 \end{array} \right)\mathbf{x}+ \mathbf{b},\quad \text{where} \quad \mathbf{b}= \left( \begin{array}{c} b_1\\ b_2 \end{array} \right) \end{equation*}
- Determine the general solution when $b_1=1$ and $b_2=2$.
- In part (a), $b_1$ and $b_2$ were specially chosen in that the row reduced form of the matrix equation had a full row of zeros (including the RHS) and therefore a solution. Write down an equation for $b_1$ and $b_2$ that ensures this will happen.
- Now consider the case with $b_1=3$ and $b_2=3$. Because this $\mathbf{b}$ does not satisfy the
equation from part (b), a different form for your particular guess is needed. By analogy with second order systems, we guess $\mathbf{x_p} = t \mathbf{v}+\mathbf{w}$. Now we take the following steps to find out the general solution for this case:
- Plugging this $\mathbf{x_p} $ into the system of ODEs, we find that we must have $\mathbf{v} = t \mathbf{A} \mathbf{v}+ \mathbf{A} \mathbf{w} + \mathbf{b}$ for all $t$. This requires that $\mathbf{A} \mathbf{v}=0$ and $\mathbf{A} \mathbf{w}=\mathbf{v}-\mathbf{b};$
- $\mathbf{A} \mathbf{v}=0$ has a whole family of solutions. In fact , since $0$ is an eigenvalue of $\mathbf{A} $, $\mathbf{v}$ should be a corresponding eigenvector;
- Next consider the equation $\mathbf{A} \mathbf{w}=\mathbf{v}-\mathbf{b}$ which we must solve for $\mathbf{w}$. Notice that for any vector $\mathbf{w}$, $\mathbf{A} \mathbf{w}$ will always have a second component equal to twice its first component. Thus, to be able to solve $\mathbf{A} \mathbf{w}=\mathbf{v}-\mathbf{b}$ , we must make sure that $\mathbf{v}-\mathbf{b}$ has second component equal to twice its first component. Find the vector $\mathbf{v}$ from the family of solutions to $\mathbf{A} \mathbf{v}=0$ that does this. Then find $\mathbf{w}$ and write down the general solution for this case.