# Seeking for help with complex conjugate of bra|ket

I have 2 vectors: $$|a\rangle=\begin{pmatrix} 2+i & 2+2i\end{pmatrix}$$ and $$|b\rangle=\begin{pmatrix} 1+i & 1+2i\end{pmatrix}$$ So basically I need to show that $$\langle a| b\rangle=\langle b| a\rangle^*$$

Attempt of solution: So when I multiply matrices I get for left side: $$\langle a| b\rangle=\begin{pmatrix} 2-i \\ 2-2i \end{pmatrix}\begin{pmatrix} 1+i & 1+2i\end{pmatrix}=(2-i)(1+i)+(2-2i)(1+2i)=2+2i-i+1+2+4i-2i+4=9+3i$$ for the right side I have: $$\langle b| a\rangle=\begin{pmatrix} 1-i \\ 1-2i \end{pmatrix}\begin{pmatrix} 2+i & 2+2i\end{pmatrix}=(1-i)(2+i)+(1-2i)(2+2i)=2+i+2-2i+1+2i-4i+4=9-3i$$ But I expected to get (I have an answer given by professor) $$\langle a| b\rangle=9-3i$$ and$$\langle b| a\rangle=9+3i$$.

So I dont know, did I make a mistake, or professor?

• Even though i showed that left side is complex conjugate of right side, but still confused Commented May 23, 2020 at 23:35
• Shouldn't your ket be column vectors and the bra be row vectors? Commented May 24, 2020 at 0:46
• Thormund, you are right. Kostya Komless, bra is row vector, ket is column vector. However Kostya, your answer is correct. Commented May 24, 2020 at 3:28
• Okay, thanks to you people^) Commented May 24, 2020 at 7:24