Question #34945

can u please help me solve this equation. i have the answer in my book but can u help me solve it
i have a 3x3 matrix
1=p(1,1) + p(2,1)*e^ix + p(3,1)*e^-ix
cos x = p(2,1) + p(2,2)*e^ix +p(3,2)*e^-ix
sin x= p(1,3) +p(2,3)*e^ix + p(3,3)*e^-ix
where p is a 3 by 3 matrix

Expert's answer

Answer on question #34945 – Math – Linear Algebra

can u please help me solve this equation. i have the answer in my book but can u help me solve it

i have a 3x3 matrix


1=p(1,1)+p(2,1)∗e∧ix+p(3,1)∗e∧−ix1 = p(1,1) + p(2,1) * e^{\wedge}ix + p(3,1) * e^{\wedge} - ixcos⁡x=p(2,1)+p(2,2)∗e∧ix+p(3,2)∗e∧−ix\cos x = p(2,1) + p(2,2) * e^{\wedge}ix + p(3,2) * e^{\wedge} - ixsin⁡x=p(1,3)+p(2,3)∗e∧ix+p(3,3)∗e∧−ix\sin x = p(1,3) + p(2,3) * e^{\wedge}ix + p(3,3) * e^{\wedge} - ix


where p is a 3 by 3 matrix

Answer:

As we know


eix=cos⁡x+isin⁡xe^{ix} = \cos x + i \sin xe−ix=cos⁡x−isin⁡xe^{-ix} = \cos x - i \sin x


So we get


1=p(1,1)+p(2,1)∗eix+p(3,1)∗e−ix==p(1,1)+(p(2,1)+p(3,1))cos⁡x+i(p(2,1)−p(3,1))sin⁡x\begin{array}{l} 1 = p(1,1) + p(2,1) * e^{ix} + p(3,1) * e^{-ix} = \\ = p(1,1) + (p(2,1) + p(3,1)) \cos x + i(p(2,1) - p(3,1)) \sin x \\ \end{array}


It holds when p(1,1)=1,p(2,1)=p(3,1)=0p(1,1) = 1, p(2,1) = p(3,1) = 0.


cos⁡x=p(2,1)+p(2,2)∗eix+p(3,2)∗e−ix==p(2,1)+(p(2,2)+p(3,2))cos⁡x+i(p(2,2)−p(3,2))sin⁡x\begin{array}{l} \cos x = p(2,1) + p(2,2) * e^{ix} + p(3,2) * e^{-ix} = \\ = p(2,1) + (p(2,2) + p(3,2)) \cos x + i(p(2,2) - p(3,2)) \sin x \\ \end{array}


It holds when p(2,1)=0,p(2,2)=p(3,2)=0.5p(2,1) = 0, p(2,2) = p(3,2) = 0.5.


cos⁡x=p(1,3)+p(2,3)∗eix+p(3,3)∗e−ix==p(1,3)+(p(2,3)+p(3,3))cos⁡x+i(p(2,3)−p(3,3))sin⁡x\begin{array}{l} \cos x = p(1,3) + p(2,3) * e^{ix} + p(3,3) * e^{-ix} = \\ = p(1,3) + (p(2,3) + p(3,3)) \cos x + i(p(2,3) - p(3,3)) \sin x \\ \end{array}


It holds when p(2,1)=0,p(2,2)=12i,p(3,2)=−1/2ip(2,1) = 0, p(2,2) = \frac{1}{2i}, p(3,2) = -1/2i.

Therefore we get


p=(10000.50.5012i−12i).p = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 0.5 & 0.5 \\ 0 & \frac{1}{2i} & -\frac{1}{2i} \end{pmatrix}.
LATEST TUTORIALS
APPROVED BY CLIENTS