Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Complex Vectors in Symbolic Format' topicStudent Support Forum > General > Archives > "Complex Vectors in Symbolic Format"

Next Comment >Help | Reply To Topic
Author Comment/Response
Eric Burling
07/21/04 3:40pm

A simple problem, I hope!
I want to compute the inner product of 2 complex vectors u and v in symbolic format, such that
u = {z1,z2} and v = {z3,z4}. I want to define the elements of each vectors as follows:-
z1 = a+Ib ; z2 = c+Id ; z3 = e+If and z4 = g+Ih
I tried :-
ComplexExpand[u.v] but obtained the answer
ae-bf+cg-dh+I(be+af+dg+ch)
which is incorrect since the answer should be
Conjugate[z1]*z3 + Conjugate[z2]*z4
Does Mathematica have a built-in function or an add-on package to cope with this.

URL: ,

Subject (listing for 'Complex Vectors in Symbolic Format')
Author Date Posted
Complex Vectors in Symbolic Format Eric Burling 07/21/04 3:40pm
Re: Complex Vectors in Symbolic Format lotti 08/03/04 06:33am
Next Comment >Help | Reply To Topic