L2 norm for complex valued vector

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 9K views
ericm1234
Messages
71
Reaction score
2
Let's say I have a vector (4+2i, 1-i), how do I take an L2 norm?
Dont tell me I simply do sqrt(16+4+1+1)..?
 
Physics news on Phys.org
ericm1234 said:
Let's say I have a vector (4+2i, 1-i), how do I take an L2 norm?
Dont tell me I simply do sqrt(16+4+1+1)..?
The short answer is yes, you simply do sqrt(16+4+1+1). Here is why:

The L2 norm of a vector [itex]v[/itex] is [itex]\sqrt{v^* v}[/itex], where [itex]v^*[/itex] is the conjugate transpose. In your case,
$$v = \left[\begin{matrix} 4 + 2i \\ 1 - i \end{matrix}\right]$$
so
$$v^* = \left[\begin{matrix} 4 - 2i & 1 + i \end{matrix}\right]$$
and
$$v^* v = \left[\begin{matrix} 4 - 2i & 1 + i \end{matrix}\right] \left[\begin{matrix} 4 + 2i \\ 1 - i \end{matrix}\right] = (4-2i)(4+2i) + (1+i)(1-i) = 16 + 4 + 1 + 1$$
and therefore
$$||v||_2 = \sqrt{v^H v} = \sqrt{16 + 4 + 1 + 1}$$
 
Last edited: