Web Analytics
MTH 215 Homework 5

MTH 215 — Intro to Linear Algebra

Kyle Monette
Spring 2026

Homework 5

Due Friday, April 24 at 11:59pm

Your work must follow the homework policies and submission guidelines in the Syllabus and on Brightspace.

Written Section
  • Solve the problems in this document. Your work must be handwritten (not typed).
  • You need to show all your work. Correct answers without supporting work will not receive credit.
  • Using techniques, theorems, definitions, etc. from material not covered in this assignment will not receive credit.
  • Your work must be written on the pdf document provided. You can get another copy in class if needed.
  • Submit your work as a pdf on Brightspace in the assignment titled “Homework 5-Written (pdf)”.
  • Use the filename YourLastName.pdf in your submission.
Some parts of some questions may require the use of MATLAB. For such questions, download the template files (.m script files) from Brightspace and type your code there. Submit your .m files to the Brightspace assignment titled “Homework 5-Written (MATLAB)”. Your .m files must follow the guidelines in the Homework Module on Brightspace. Note: Some questions utilizing MATLAB still require you to write work or solutions in this document.
Edfinity Section
  • Solve the problems on the software Edfinity. Edfinity grades are computed at the semester's end.
  • You do not show your work for these problems; the software only takes the final answer.
  • This portion—and only this portion—is submitted entirely on Edfinity.

Both sections (in their respective formats and locations described above) are due:

Friday, April 24 at 11:59pm
Late work will not be considered!

For All Questions: If you perform row operations, you must explicitly state all operations used and show the updated matrix at each step.
  1. Let $A = \mat{rrr} 5 & 1 & -1 \\ 1 & -3 & -2 \\ 0 & 5 & 3 \rix$.

    1. Compute $\Det (A)$. Is the matrix invertible or not? Why?
    2. Compute $\Det (A^T A)$ and $\Det (AA^T)$. Show all necessary steps.
    3. Suppose $B$ is an unknown $3\times 3$ matrix satisfying $\Det (2 B^T A A^T B) = 72$. What is $\Det (B)$?
  2. The vectors $\vec{v}_1$ and $\vec{v}_2$ are shown on the graph below (left), and $A \vec{v}_1$ and $A \vec{v}_2$ are shown on the right, where $A$ is some $2\times 2$ matrix.

    The plot of the vectors v_1 and v_2. The vector v_1 has its terminal point at approximately (1,2), and the vector v_2 has its terminal point at approximately (4,6).
    The plot of the vectors A times v_1 and A times v_2, where v_1 and v_2 are in the other image.
    1. Find the corresponding eigenvalues $\lambda_1$ and $\lambda_2$ so that $\vec{v}_1$ and $\vec{v}_2$ are eigenvectors of $A$, or argue that $\vec{v}_1, \vec{v}_2$ cannot be eigenvectors of $A$.
    2. If possible, find another eigenvector for $A$ parallel to $\vec{v}_2$ but not equal to $\vec{v}_2$.
    3. Compute $A \vec{y}$, where $\vec{y} = \mat{c} 25 \\ 36 \rix$, or state that more information is needed. Include all computations.
  3. Let $A = \mat{cc} a & b \\ c & d \rix$. In this problem, assume $A$ has real eigenvalues.

    1. Find the characteristic polynomial of $A$. Fully expand and simplify the polynomial. Do not solve it.
    2. The trace of a square matrix, denoted $\Trace (A)$, is defined as the sum of the main diagonal entries. The characteristic polynomial can be rewritten in terms of $\Trace (A)$ and $\Det (A)$. Verify this, and obtain a new version of the characteristic polynomial with them.
    3. Using the characteristic polynomial in part (b), solve for the eigenvalues using the quadratic formula.
    4. Take the eigenvalues in part (c) and add them. What do you get? Show your work.
    5. Take the eigenvalues in part (c) and multiply them. What do you get? Show your work.
  4. Let $A = \mat{ccc} a & b & c \\ d & e & f \\ g & h & i \rix$ be a $3\times 3$ matrix and let $\vec{z} = \mat{c} 1 \\ 1 \\ 1 \rix$.

    1. Compute $A \vec{z}$, and explain the result in a complete sentence.
    2. Suppose $B$ is a $3\times 3$ matrix with the property that each row sums to $0$. Show that $B$ has an eigenvalue of $0$, and find an associated eigenvector. Justify your work and thought process.
    3. In Homework 2, we investigated magic matrices and saw that $M = \mat{ccc} 4 & 9 & 2 \\ 3 & 5 & 7 \\ 8 & 1 & 6 \rix$ is a magic matrix. Without doing any computations, there is an obvious eigenvalue of $M$ you can find. What is it?
    4. The result from Question 3 Part (d) actually generalizes to $n\times n$ matrices. Using this fact, and the eigenvalue from part (c), what can be said of the other two eigenvalues of $M$? Justify your explanations. NOTE: You do NOT (and should not) have to find all eigenvalues of $M$ to answer this question!
  5. URI is concerned about its internal population of squirrels. With no fences or boundaries, the population can go up (if more outside squirrels join) or down (if URI squirrels want to go explore the rest of RI). Suppose each year, $10\%$ of the URI population leaves and $1\%$ of outside squirrels find their way in. Our question is: can we reach a stable level? Will the populations of both groups stay constant over time, where the number of squirrels leaving equals the number joining?

    Let $u_n$ be the population at URI in year $n$, and $r_n$ be the population in the rest of RI in year $n$. We get the following linear system: \[ \begin{aligned} 0.9 u_n + 0.01 r_n & \eq u_{n+1} \\ 0.1 u_n + 0.99 r_n & \eq r_{n+1} \end{aligned} \qquad \xrightarrow{\text{\normalsize corresponding to}} \qquad \mat{cc} 0.9 & 0.01 \\ 0.1 & 0.99 \rix \mat{c} u_n \\ r_n \rix \eq \mat{c} u_{n+1} \\ r_{n+1} \rix \] which we'll denote by $T \, \vec{p}_n = \vec{p}_{n+1} $.

    1. The population will be stable if $u_{n+1} = u_n$ and $r_{n+1} = r_n$. That is, if $\vec{p}_n = \vec{p}_{n+1} $. Explain why finding such a population $\vec{p}_n$ is equivalent to finding an eigenvector of $T$ associated with eigenvalue $1$.
    2. MATLAB Part Using MATLAB and the eig command, find the eigenvectors and eigenvalues of $T$ and write them in the space below. Then, scale the eigenvector for $\lambda =1$ so that the second component is $1$. Write this scaled version below as well. Remember to submit your .m file to Brightspace.
    3. Assume there are $100,\!000$ squirrels in the rest of RI. Using the scaled eigenvector from part (b), what must the URI population be so that the two populations remain stable?
    4. MATLAB Part Let $\vec{p}_0$ denote the initial population (i.e., at time $t=0$). Let's assume in 1892, when URI was founded, there were $12$ squirrels at URI and $50,\!000$ in the rest of Rhode Island. Using the equation $T \vec{p}_n = \vec{p}_{n+1} $, find the population of the two communities 50 years later. Compute your answer in MATLAB, and write it below.
  6. Suppose $\vec{x}$ is an eigenvector of $A$ with corresponding eigenvalue $\lambda $.

    1. Is $\vec{x}$ an eigenvector of the matrix $5I - A$? Why or why not? If so, what is the eigenvalue? Show your steps.
    2. Is $\vec{x}$ an eigenvector of $5I - 3A + A^2$? Why or why not? If so, what is the eigenvalue? Show your steps.
    3. Conjecture what the eigenvalues of the matrix polynomial $p(A) = c_0 I + c_1 A + c_2 A^2 + \dots + c_n A^n$ are in terms of the eigenvalues of $A$.
    1. First, suppose $A$ is an arbitrary $n\times n$ matrix with eigenvector $\vec{x}$ and eigenvalue $\lambda $. Fully simplify the following expression: $\dfrac{\vec{x}^T A \vec{x}}{\vec{x}^T \vec{x}} $. Show all your work.
    2. Now, let $A = \mat{cc} 5 & 2 \\ 2 & 2 \rix$. Compute the eigenvalues of $A$ by hand. Show your steps (including the characteristic polynomial). Is $\vec{x} = \mat{c} 1 \\ 0 \rix$ an eigenvector?
    3. MATLAB Part Store $A$ (in part (b)) and x0 $= \mat{c} 1 \\ 0 \rix$, and then compute the following vectors:

      x1 = A * x0,      x2 = A * x1,      x3 = A * x2,      x4 = A * x3

      Display them to the command window. Then, for each vector x1, x2, x3, x4, compute the corresponding expression in part (a) and write them in the space below (round to $6$ decimals).

      What do you observe? Write a sentence or two that summarizes your findings in which you explain the relevance of the vectors x1, x2, etc. you computed along with the term in part (a).