2.5. Chapter 2 Exercises#
You should try the following exercise questions first, then check with the answers.
For detailed solutions, you can download the full solutions for Chapter 2 Exercises.
Exercise 2.1
Simplify the following expressions used to calculate \(z\), and find the real and imaginary components of \(z\):
\(\displaystyle z=\frac{4+3\i}{3-4\i}\),
\(\displaystyle z=e^{\i\theta}-e^{-\i\theta}\),
\(\displaystyle z=e^{\i 2\theta} \cdot e^{-\i\theta}\),
\(\displaystyle z=\frac{2e^{\i\theta}(e^{\i\theta}-1)}{3e^{\i\theta}-1}\).
Solution to
\(z=\i\)
\(z=\i 2\sin\theta\)
\(z=\cos\theta+\i\sin\theta\)
\(z=\dfrac{4\cos\theta-\cos 2\theta-3}{5-3\cos\theta}+\i\dfrac{4\sin\theta-\sin 2\theta}{5-3\cos\theta}\)
Exercise 2.2
For the following second-order homogeneous linear difference equation
prove that
is the solution to the equation.
Solution to
According to the question, the members of the sequence at \(n\), \(n+1\) and \(n+2\) are:
\(y_n = c_1 a^n + c_2 n a^n\)
\(y_{n+1} = c_1 a^{n+1} + c_2 (n+1) a^{n+1}\)
\(y_{n+2} = c_1 a^{n+2} + c_2 (n+2) a^{n+2}\)
Substitute the above three members into the left hand side (LHS) of the equation, so
Q.E.D.
Exercise 2.3
For each of the following difference equations, find the characteristic equation, and from its roots determine the corresponding general solution:
\(y_{j+1}=y_{j-1}\)
\(y_{j+1}=4y_j-3y_{j-1}\)
\(y_{j+1}=2y_{j-1}-y_j\)
\(y_{j+1}+9y_j - 9y_{j-1}-y_{j-2}=0\)
Solution to
\(y_j = c_1 + c_2 (-1)^j\)
\(y_j = c_1 + c_2 (3)^j\)
\(y_j = c_1 + c_2 (-2)^j\)
\(y_j = c_1 + c_2 \left(-5+2\sqrt{6}\right)^j+c_3\left(-5-2\sqrt{6}\right)^j\)
Exercise 2.4
For each of the following difference equations, find the characteristic equation, and from its roots determine the corresponding general solution:
\(y_{n+2}-9y_{n+1}+20y_n=0\)
\(y_{n+2}+y_{n+1}+y_{n}=0\)
\(y_{n+2}=\dfrac{y_{n+1}+y_{n-1}}{2}\)
\(y_{n+2}=-\dfrac{y_{n+1}+y_{n-1}}{2}\)
\(y_{n+4}-16 y_n=0\)
\(y_{n+4}+16 y_n=0\)
Solution to
\(y_n=c_1 (4)^n + c_2 (5)^n\)
\(y_n=c_1 \left(\dfrac{-1+\sqrt{3}\i}{2}\right)^n + c_2 \left(\dfrac{-1-\sqrt{3}\i}{2}\right)^n\)
\(y_n=c_1+c_2 \left(\dfrac{-1+\sqrt{7}\i}{4}\right)^n + c_3 \left(\dfrac{-1-\sqrt{7}\i}{4}\right)^n\)
\(y_n=c_1 (-1)^n+c_2 \left(\dfrac{1+\sqrt{7}\i}{4}\right)^n + c_3 \left(\dfrac{1-\sqrt{7}\i}{4}\right)^n\)
\(y_n = c_1 (2)^n + c_2 (-2)^n + 2^n \left(c_3 \cos\dfrac{n\pi}{2}+c_4 \sin\dfrac{n\pi}{2}\right)\)
\(y_n=2^n\left(c_1\cos\dfrac{n\pi}{4}+c_2\sin\dfrac{n\pi}{4}\right)+2^n\left(c_3\cos\dfrac{3n\pi}{4}+c_4\sin\dfrac{3n\pi}{4}\right)\)
Exercise 2.5
Find the general solution to the difference equation
where \(y_0=0\) and \(y_1=1\).
Solution to
\(\displaystyle y_n=\frac{1}{\sqrt{5}}\left[ \left(\frac{1+\sqrt{5}}{2}\right)^n - \left(\frac{1-\sqrt{5}}{2}\right)^n \right]\)