3x3 matrix with complex numbers

Click For Summary

Homework Help Overview

The discussion revolves around solving for the variables x and y in a 3x3 matrix with complex numbers, specifically focusing on the determinant of the matrix being equal to 2j. Participants express their struggles with the calculations and understanding of the determinant involving complex numbers.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants attempt to calculate the determinant using standard methods, leading to various expressions involving x and y. Some question the correctness of their calculations and the presence of extra terms. Others suggest comparing real and imaginary parts to find relationships between x and y.

Discussion Status

The discussion is active, with participants providing feedback on each other's calculations and pointing out potential mistakes. There is an ongoing exploration of the determinant's properties and the implications of complex numbers in the context of the problem.

Contextual Notes

Some participants note the challenges of calculating determinants with complex numbers and the potential for errors in the process. There is also mention of the tedious nature of these calculations and the use of programming tools to assist in solving the problem.

CJovaras
Messages
3
Reaction score
2
Homework Statement
Solve for x and y if

| 1 1+2j 0 |
| 1-j -1 -1 | = 2j
| x 0 yj |


j represents imaginary numbers and x and y represent variables. My entire class is struggling with understanding this.
Relevant Equations
none
The attempt at a solution:

I tried the normal method to find the determinant equal to 2j. I ended up with:
2j = -4yj -2xj -2j -x +y

then I tried to see if I had to factorize with j so I didn't turn the j^2 into -1 and ended up with 2 different options:

1) 0= y(-4j-j^2) -x(2j-1) -2j

2) -2j(2y +x +1) +y -x

After that I get stuck, I've spent at least 8 hours staring at this problem and googling how to find a solution but nothing makes sense to me.
 
  • Like
Likes   Reactions: Pradeep1234
Physics news on Phys.org
CJovaras said:
Homework Statement:: Solve for x and y if

| 1 1+2j 0 |
| 1-j -1 -1 | = 2j
| x 0 yj |j represents imaginary numbers and x and y represent variables. My entire class is struggling with understanding this.
Relevant Equations:: none

The attempt at a solution:

I tried the normal method to find the determinant equal to 2j. I ended up with:
2j = -4yj -2xj -2j -x +y
Let's see.
$$
\begin{align*}
\det\begin{pmatrix}1&1+2i&0\\1-i&-1&-1\\x&0&yi\end{pmatrix}&=-iy-(1+2i)((1-i)iy+x)\\
&=-iy-(1+2i)(iy+y+x)\\&=-iy-iy-y-x+2y-2iy-2ix\\&=(-x-y)+i(-2x-4y)
\end{align*}
$$
Looks as if one of us made a mistake. (I developed the determinant along the first row.)

Edit (for future readers): Correction (see discussion below):
the determinant is ##(-x+y)+i(-2x-4y)## since I have forgotten to add the ##+2y## term.
Here is explained how you can type formulas on PF: https://www.physicsforums.com/help/latexhelp/
CJovaras said:
then I tried to see if I had to factorize with j so I didn't turn the j^2 into -1 and ended up with 2 different options:

1) 0= y(-4j-j^2) -x(2j-1) -2j

2) -2j(2y +x +1) +y -x

After that I get stuck, I've spent at least 8 hours staring at this problem and googling how to find a solution but nothing makes sense to me.
 
Last edited:
  • Like
Likes   Reactions: Pradeep1234 and CJovaras
fresh_42 said:
Let's see.
$$
\begin{align*}
\det\begin{pmatrix}1&1+2i&0\\1-i&-1&-1\\x&0&yi\end{pmatrix}&=-iy-(1+2i)((1-i)iy+x)\\
&=-iy-(1+2i)(iy+y+x)\\&=-iy-iy-y-x+2y-2iy-2ix\\&=(-x-y)+i(-2x-4y)
\end{align*}
$$
Looks as if one of us made a mistake. (I developed the determinant along the first row.)
You made a mistake too on the sign of the first y :smile:
$$
\ldots =
(-x+y)+i(-2x-4y)
$$
 
fresh_42 said:
Here is explained how you can type formulas on PF: https://www.physicsforums.com/help/latexhelp/
@CJovaras -- you can also see the LaTeX that fresh_42 used for his math. Right-click your mouse over the LaTeX and "copy" it to your clipboard, then paste it into a *.txt file to study. :smile:
 
  • Like
Likes   Reactions: scottdave
CJovaras said:
2) -2j(2y +x +1) +y -x
Assuming you get the correct equation here, you can then continue by comparing real and imaginary parts. For instance, you will get ##y-x = 0## by comparing the real parts. You can then use that to solve for ##x## using the imaginary parts.
 
  • Like
Likes   Reactions: PeroK
DrClaude said:
You made a mistake too on the sign of the first y :smile:
$$
\ldots =
(-x+y)+i(-2x-4y)
$$
I did not. It is ## (-1) \cdot (-i) \cdot (iy) = (-1)^2 i^2 y = -y##
 
  • Like
Likes   Reactions: Pradeep1234
fresh_42 said:
I did not.
fresh_42 said:
$$
\begin{align*}
\det\begin{pmatrix}1&1+2i&0\\1-i&-1&-1\\x&0&yi\end{pmatrix}&=-iy-(1+2i)((1-i)iy+x)\\
&=-iy-(1+2i)(iy+y+x)\\&=-iy-iy-y-x+2y-2iy-2ix\\&=(-x-y)+i(-2x-4y)
\end{align*}
$$
You have ##-y## and ##+2y## on the penultimate row:
$$
-iy-iy-y-x+2y-2iy-2ix = (-x+y)+i(-2x-4y)
$$
 
fresh_42 said:
And you ignored the minus in front of ##(1+2i)##!
I don't want us to derail this thread, but
(1) the last two lines in post #2 do not form an equality, so one of them is incorrect

(2) when I calculate the determinant (independent of what you wrote) I get (-x+y)+i(-2x-4y)
 
  • Like
Likes   Reactions: scottdave
DrClaude said:
I don't want us to derail this thread, but
(1) the last two lines in post #2 do not form an equality, so one of them is incorrect

(2) when I calculate the determinant (independent of what you wrote) I get (-x+y)+i(-2x-4y)
I didn't make a sign error! I lost a complete term (##2y##)! That's why I didn't understand you.
 
  • Like
Likes   Reactions: DrClaude
  • #10
berkeman said:
@CJovaras -- you can also see the LaTeX that fresh_42 used for his math. Right-click your mouse over the LaTeX and "copy" it to your clipboard, then paste it into a *.txt file to study. :smile:
thank you!!!
 
  • #11
CJovaras said:
Homework Statement:: Solve for x and y if

| 1 1+2j 0 |
| 1-j -1 -1 | = 2j
| x 0 yj |j represents imaginary numbers and x and y represent variables. My entire class is struggling with understanding this.
Relevant Equations:: none

The attempt at a solution:

I tried the normal method to find the determinant equal to 2j. I ended up with:
2j = -4yj -2xj -2j -x +y
You're very close here, but you have an extra term. The equation from the determinant simplifies to -4yj -2xj -x +y = 2j. Your equation has an extra term of -2j in it. Calculating the determinant is very tedious and you can easily make a mistake.
Check your determinant again.
CJovaras said:
then I tried to see if I had to factorize with j so I didn't turn the j^2 into -1 and ended up with 2 different options:
It's a mistake to not replace ##j^2## by -1.
CJovaras said:
1) 0= y(-4j-j^2) -x(2j-1) -2j

2) -2j(2y +x +1) +y -x

After that I get stuck, I've spent at least 8 hours staring at this problem and googling how to find a solution but nothing makes sense to me.
As it turns out, x and y have the same value, but I won't say more than that. Once I got my solution, I replaced x and y with the values I found, and calculated the determinant. My result was 2j, which verified that my solution was correct. As mentioned, calculating the determinant was tedious, so I wrote a Python program to do the grunt work for me, using the SymPy library.
 
  • #12
Mark44 said:
You're very close here, but you have an extra term. The equation from the determinant simplifies to -4yj -2xj -x +y = 2j. Your equation has an extra term of -2j in it. Calculating the determinant is very tedious and you can easily make a mistake.
Check your determinant again.It's a mistake to not replace ##j^2## by -1.

As it turns out, x and y have the same value, but I won't say more than that. Once I got my solution, I replaced x and y with the values I found, and calculated the determinant. My result was 2j, which verified that my solution was correct. As mentioned, calculating the determinant was tedious, so I wrote a Python program to do the grunt work for me, using the SymPy library.
Please tell me you're joking?!?! I found an answer where x and y were equal to one another in the first 30 minutes of working on the problem but I had assumed I had made a mistake! Thank you lol.
 
  • Like
Likes   Reactions: scottdave
  • #13
Wolfram can do this for you. Edit: I'm on my phone, hard to switch back-forth between sites.
 
  • #14
WWGD said:
Wolfram can do this for you. Edit: I'm on my phone, hard to switch back-forth between sites.
https://www.symbolab.com/solver/matrix-calculator is better. But I think it is important to know the formula instead of using websites. They should be used after people learned all about determinants, their computation included.
 
  • Like
Likes   Reactions: DaveE
  • #15
Now, a more interesting question to me is the interpretation of a Complex determinant. Can't use volume, area, etc. And linear dependence in Complexes is also different in a Complex vector space ( Complexes over themselves).
 
  • #16
WWGD said:
Now, a more interesting question to me is the interpretation of a Complex determinant. Can't use volume, area, etc. And linear dependence in Complexes is also different in a Complex vector space ( Complexes over themselves).
My thoughts about this are here:
https://www.physicsforums.com/insights/an-overview-of-complex-differentiation-and-integration/

The apparent ambiguity occurs only because we insist that volumes are real. Let them be complex and everything is fine. We have complex Graßmann algebras, too.

If we want real volumes, then forget about complex integration.
 
  • Like
Likes   Reactions: scottdave and WWGD
  • #17
Volumes are Real, but their names have been changed to protect the innocent;).
 
  • Haha
Likes   Reactions: topsquark
  • #18
How about an argument using Complexification, or Extension by Scalars?
 
  • #19
WWGD said:
How about an argument using Complexification, or Extension by Scalars?
I think this discussion now exceeds the limits of this thread tremendously.

Time to close the debate here.
 
  • Like
Likes   Reactions: DaveE

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K