Using an array to solve a system of equations

Click For Summary
SUMMARY

This discussion focuses on solving a system of equations using an array instead of a matrix, specifically the equations 2x + 3y = 12 and 3x - 4y = 14. Participants clarify that while arrays and matrices are often confused, an array in computer science typically refers to a list, whereas a matrix is a mathematical construct. Cramer's Rule is identified as a method for solving such systems, particularly when determinants are involved. The conversation emphasizes the importance of understanding the terminology and concepts related to arrays and matrices for effective problem-solving.

PREREQUISITES
  • Understanding of linear equations and systems of equations
  • Familiarity with Cramer's Rule and its application
  • Basic knowledge of arrays and matrices in mathematics
  • Concept of determinants and their role in linear algebra
NEXT STEPS
  • Research the application of Cramer's Rule in solving linear equations
  • Learn about the differences between arrays and matrices in both computer science and mathematics
  • Study the concept of determinants and how they affect the solvability of linear systems
  • Explore augmented matrices and their use in solving systems of equations
USEFUL FOR

Students and professionals in mathematics, computer science, and engineering who are looking to deepen their understanding of solving systems of equations using different mathematical constructs.

barryj
Messages
856
Reaction score
51
TL;DR
I was given a problem to use an array, not a matrix, to solve a system of equations. I have not heard of doing this and can not find any reference to how to do it.
I was given a problem to use an array, not a matrix, to solve a system of equations. I have not heard of doing this and can not find any reference to how to do it.

like... 2x+3y = 12, and 3x-4y = 14 How is this solved using an array or grid?
 
Physics news on Phys.org
Sorry, I can't help. I know a lot about this subject, but I don't know what the difference is between an array and a matrix. They are the same thing to me. Maybe you need to ask for clarification from your instructor?

As an aside, I spent some time in my career as an EE working with other good EEs that were educated in other countries. They knew what they were doing, because you probably wouldn't be working for our company if you didn't. But we were often confused by the jargon each used and their approach to problems. What ALWAYS worked was to go back to the basic physics, then everyone was on the same page.

PS: I think they are referring to Cramer's Rule; OTOH, no, IDK either.
 
It may not be obvious but when you solve that problem with a matrix, you are also using vectors. The statement of the problem is ## \begin{bmatrix} 2 & 3\\ 3 & -4 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 12 \\ 14 \end{bmatrix}##. That might be what they are meaning.
 
barryj said:
I was given a problem to use an array, not a matrix
"Array" is more of a computer science term, where an ordinary array is a list, and a two-dimensional array corresponds to a matrix. AFAIK, "array" not so much a term used in mathematics.
 
  • Like
Likes   Reactions: FactChecker
Does anybody ever use determinants to solve a system of linear equations?
 
gleem said:
Does anybody ever use determinants to solve a system of linear equations?
Yes. Cramer's rule, which is my first choice for simple systems. Especially if there are zeros in the matrix.

Also especially good if you only need the solution to one of the variables, which is never actually the case, in my experience.
 
Last edited:
  • Like
Likes   Reactions: jasonRF
Obviously, if \mathbf{A}\mathbf{x}=\mathbf{y} then \mathbf{x}=\mathbf{A}^{-1}\mathbf{y} as long as \mathbf{A}^{-1} exists. Usually, this just means that det(\mathbf{A})\neq 0.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K