Webpage title: How to Solve a 3D Matrix Equation

  • Thread starter Thread starter mikeph
  • Start date Start date
  • Tags Tags
    3d Matrix
Click For Summary
SUMMARY

The discussion focuses on solving a 3D matrix equation represented as ai = bijkcjk, where the goal is to determine the values of c given a and b. Participants highlight the challenge of dealing with an underdetermined system, where the number of unknowns exceeds the number of equations. The solution involves transforming the indices into a single column vector, allowing for the application of standard linear algebra techniques to solve for c. Specifically, the transformation l = m(j - 1) + (k - 1) + 1 is crucial for simplifying the equation.

PREREQUISITES
  • Understanding of linear algebra concepts, particularly matrix equations
  • Familiarity with index notation in multi-dimensional arrays
  • Knowledge of vector transformations and their applications
  • Experience with solving underdetermined systems of equations
NEXT STEPS
  • Study the process of transforming multi-dimensional indices into single-dimensional vectors
  • Learn about underdetermined systems and methods for solving them
  • Explore standard linear algebra techniques for solving matrix equations
  • Investigate the implications of matrix dimension reduction on data integrity
USEFUL FOR

Mathematicians, data scientists, and engineers working with multi-dimensional data structures and seeking to solve complex matrix equations efficiently.

mikeph
Messages
1,229
Reaction score
18
Hi,

I'm pretty rusty with solving linear equations, my equations are:

ai = bijkcjk

i = 1,... n
j, k = 1,... m

Would like to know c, given a and b. Need somewhere to start, without having to cover 3 years of notes that I took 5 years ago, thanks if anyone can point me in the right direction!

Comments: I know I could compact j and k into a single dimension and reduce it to a "simple" matrix equation but this process discards valuable information that I need later on. Or at least makes it difficult to retrieve this information, so I'd like to explore a way of solving the equations outright. Thanks.
 
Physics news on Phys.org
I'm not sure that you can solve for the individual values of c. It looks to me like you will have more uknown values than equations. If the indices run from 1 to 3, c will have 9 values but because of the contraction on both i and k, you will have only three equations.
 
Good point, I forgot to mention that. Let's say n = m^2, and the equations are consistent.
 
Yep - I think HallsofIvey is correct. The term we could use here is an underdetermined system.
 
HallsofIvy said:
I'm not sure that you can solve for the individual values of c. It looks to me like you will have more uknown values than equations. If the indices run from 1 to 3, c will have 9 values but because of the contraction on both i and k, you will have only three equations.

Yeah for a system of equations (unless those are complex nums, which I thought on first glance) you need the num of differing equations= the num of variables.
 
Ok, that condition is satisfied by setting n=m^2, now i,j = 1,... m, k = 1,... m^2 so we have m^2 equations in m^2 unknowns.
 
If n = m^2, then this is simple. First you need to "unwrap" c_jk into a single column vector c_l, where l now runs from 1 to m^2. b_ijk must be similarly unwrapped into b_il. In both cases, this is easily accomplished by defining

l = 3(j-1) + (k-1) + 1 = 3j + k - 3

l now runs from 1 to 9 as j and k run from 1 to 3, with each value of j and k being mapped to a unique l. Notice all I've done here is expand l in base 3. For general m^2, you would have

l = m(j - 1) + (k - 1) + 1 = mj + k - m

Once you have re-written your equation as

a_i = b_il c_l

it is easy to solve by standard linear algebra.

Finally, since each (j,k) pair maps to a unique l, it is also easy to get back c_jk the way you want it.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K