# Science:Math Exam Resources/Courses/MATH307/December 2010/Question 05 (b)

MATH307 December 2010
Other MATH307 Exams

### Question 05 (b)

Define a sequence x0, x1, ... by the initial conditions x0 = a, x1 = b and x2 = c together with the recursion relation

${\displaystyle \displaystyle x_{n+3}=x_{n+2}+x_{n+1}+x_{n}}$

for n = 0, 1, 2, ...

(b) If the matrix A from part (a) is defined in MATLAB/Octave, we can do the following calculations

>eig(A)
ans =
1.83929 + 0.00000i
-0.41964 + 0.60629i
-0.41964 - 0.60629i

>abs(eig(A))
ans =
1.83929
0.73735
0.73735


Describe how you could make further use of the eig command and other MATLAB/Octave commands to determine all (possibly complex) initial values a, b and c for which ${\displaystyle x_{n}\to 0}$ as ${\displaystyle n\to \infty }$.

 Make sure you understand the problem fully: What is the question asking you to do? Are there specific conditions or constraints that you should take note of? How will you know if your answer is correct from your work only? Can you rephrase the question in your own words in a way that makes sense to you? If you are stuck, check the hints below. Read the first one and consider it for a while. Does it give you a new idea on how to approach the problem? If so, try it! If after a while you are still stuck, go for the next hint.

 Checking a solution serves two purposes: helping you if, after having used all the hints, you still are stuck on the problem; or if you have solved the problem and would like to check your work. If you are stuck on a problem: Read the solution slowly and as soon as you feel you could finish the problem on your own, hide it and work on the problem. Come back later to the solution if you are stuck or if you want to check your work. If you want to check your work: Don't only focus on the answer, problems are mostly marked for the work you do, make sure you understand all the steps that were required to complete the problem and see if you made mistakes or forgot some aspects. Your goal is to check that your mental process was correct, not only the result.