Are X & Y Equal in Matrix Equations?

  • Thread starter Thread starter Mathman23
  • Start date Start date
  • Tags Tags
    Matrix
Click For Summary
SUMMARY

The discussion centers on the equality of matrices X and Y derived from the equations CTX = K and YCT = K, where C and K are defined square matrices. It is established that X does not necessarily equal Y, as substituting K from the second equation into the first leads to the expression CTX = YCT. The participants conclude that to find Y, one should solve the linear system for its components rather than relying on the inverse of CT.

PREREQUISITES
  • Understanding of matrix operations, specifically matrix multiplication and inversion.
  • Familiarity with linear algebra concepts, including linear systems and matrix equality.
  • Knowledge of specific matrices and their properties, particularly square matrices.
  • Experience with computational tools for matrix calculations, such as graphing calculators or software like MATLAB.
NEXT STEPS
  • Learn how to compute the inverse of a matrix, specifically using CT in matrix equations.
  • Study the properties of matrix equality and the implications of component-wise equality.
  • Explore solving linear systems using methods such as Gaussian elimination or matrix row reduction.
  • Investigate computational tools for matrix operations, focusing on software like MATLAB or Python libraries such as NumPy.
USEFUL FOR

Mathematicians, students of linear algebra, and anyone involved in computational mathematics or engineering who needs to understand matrix equations and their properties.

Mathman23
Messages
248
Reaction score
0
Hi

I have this following problem:

Two matrix equations are given

C^{T} X = K \ \ Y C^{T} = K

where K, X,Y and C are square matrices. If I want to calculate X in equation 1 and Y in equation 2 I multiply with {C^{T}}^{(-1)} one both sides of each equation.

The resulting matrix X in equation is still equal to Matrix Y in equation two ??

/Fred
 
Last edited:
Physics news on Phys.org
Not necessarily!
Substitute into equation 1 the expression for K from equation 2:
C^{T}X=YC^{T}
which, assuming invertibility of C^{T} can be rewritten as:
C^{T}X(C^{T})^{(-1)}=Y
Why should we have X=Y?
 
Hi but how do I calculate Y in equation 2 ?

Hope You can help to understand why X could equal Y ?

Sincerley and Best Regards,

Fred

p.s.

Here are the matrices used in the equations..

C = \left[ \begin{array}{ccc} 1 & 1 & 2 \\1 & 2 & 4 \\ 2 & -5 & 2 \end{array} \right] and K = \left[ \begin{array}{ccc} 1 & 2 & 4 \\-3 & 2 & 0 \\ -1 & -1 & 2 \end{array} \right]

arildno said:
Not necessarily!
Substitute into equation 1 the expression for K from equation 2:
C^{T}X=YC^{T}
which, assuming invertibility of C^{T} can be rewritten as:
C^{T}X(C^{T})^{(-1)}=Y
Why should we have X=Y?
 
Mathman23 said:
Hi but how do I calculate Y in equation 2 ?

Hope You can help to understand why X could equal Y ?

Sincerley and Best Regards,

Fred

p.s.

Here are the matrices used in the equations..

C = \left[ \begin{array}{ccc} 1 & 1 & 2 \\1 & 2 & 4 \\ 2 & -5 & 2 \end{array} \right] and K = \left[ \begin{array}{ccc} 1 & 2 & 4 \\-3 & 2 & 0 \\ -1 & -1 & 2 \end{array} \right]

Given these two, you can calculate X and Y explicitly and compare them. They are not equal
 
Hi and Thank You for Your answer,

Does Y = K {C^{T}}^{(-1)} ?

OlderDan said:
Given these two, you can calculate X and Y explicitly and compare them. They are not equal
 
Mathman23 said:
Hi and Thank You for Your answer,

Does Y = K ]{C^{T}}^{(-1)} ?
Correct; however, if you haven't got the explicit expression for (C^{T})^{(-1)}
it is better to solve the linear system for the 9 components of Y instead

(In order for two matrices to be equal, their components must be equal; this gives you 9 equations.)
 
arildno said:
Correct; however, if you haven't got the explicit expression for (C^{T})^{(-1)}
it is better to solve the linear system for the 9 components of Y instead

(In order for two matrices to be equal, their components must be equal; this gives you 9 equations.)

Good point. After a long period of doing other things my introduction to these calculators the students all now have has been fairly recent. Punching in a 3 by 3 and hitting the T and -1 buttons is now such a trivial exercise I didn't even think of doing it by hand :smile:
 
Calculators??
Are those the things with frills and pink ribbons about them?
I don't like that..
 
Hi

I got the correct result now.

Thanks for Your answers,

/Fred

arildno said:
Calculators??
Are those the things with frills and pink ribbons about them?
I don't like that..
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
885
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 3 ·
Replies
3
Views
907
  • · Replies 40 ·
2
Replies
40
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
3
Views
987
  • · Replies 13 ·
Replies
13
Views
1K