Download Article
Download Article
A system of an equation is a set of two or more equations, which have a shared set of unknowns and therefore a common solution. For linear equations, which graph as straight lines, the common solution to a system is the point where the lines intersect. Matrices can be helpful for rewriting and solving linear systems.
Steps
-
Know your terminology. Linear equations have distinct components. The variable is the symbol (usually a letter like x or y) for a number you do not yet know. The constant is a number that remains consistent. The coefficient is a number before a variable, which is used to multiply it. [1] X Research source
- For example, in the linear equation 2x + 4y = 8, x and y are variables. The constant is 8. The numbers 2 and 4 are coefficients.
-
Recognize the form for a system of equations. A system of equations with two variables can be written as follows:
ax + by = p
cx + dy = q
Any of the constants (p, q) can be zero, with the exception that each equation must have at least one variable (x, y) in it. [2] X Research sourceAdvertisement -
Understand matrix equations. When you have a linear system, you can use a matrix to rewrite it, then use the algebraic properties of that matrix to solve it. To rewrite a linear system, you use A to represent the coefficients matrix, C to represent the constants matrix, and X to represent the unknown matrix. [3] X Research source
- The linear system above, for example, can be rewritten as a matrix equation as follows: A x X = C.
-
Understand augmented matrices. An augmented matrix is a matrix obtained by appending columns of two matrices. If you have two matrices, A and C, which looks like this:
You can create an augmented matrix by putting them together. The augmented matrix would look like this: [4] X Research source- For example, consider the following linear system:
2x + 4y = 8
x + y = 2
Your augmented matrix would be a 2x3 matrix that looks like this:
- For example, consider the following linear system:
Advertisement
-
Understand elementary operations. You can perform certain operations on a matrix to transform it while keeping it equivalent to the original. These are called elementary operations. To solve a 2x3 matrix, for example, you use elementary row operations to transform the matrix into a triangular one. Elementary operations include: [5] X Research source
- swapping two rows.
- multiplying a row by a number different from zero.
- multiplying one row and then adding to another row.
-
Multiply the second row by a non-zero number. You want to produce zero in your second row, so multiply in a way that lets you do that. [6] X Research source
- For example, say you have a matrix that looks like this:
You can keep the first row and use it to produce zero in the second row. To do that, first multiply the second row by two, as follows:
- For example, say you have a matrix that looks like this:
-
Multiply again. In order to get to zero for the first row, you may need to multiply again, using the same principle. [7] X Research source
- In the example above, multiply the second row by -1, as follows:
When you complete the multiplication, your new matrix looks like this:
- In the example above, multiply the second row by -1, as follows:
-
Add the first row to the second row. Next, add the first and second rows to produce zero in the first column of the second row.
- In the example above, add the two rows together as follows:
-
Write down the new linear system for the triangular matrix. At this point, you have a triangular matrix. You can use that matrix to get a new linear system. The first column corresponds to the unknown x, and the second column corresponds to the unknown y. The third column corresponds to the free member of an equation. [8] X Research source
- For the example above, your new system would therefore look like this:
-
Solve for one of the variables. Using your new system, determine which variable can be determined easily, and solve for it.
- In the example above, you’ll want to “backsolve” – moving from the last equation to the first when solving for your unknowns. The second equation gives you an easy solution for y; since the x has been removed, you can see that y = 2.
-
Substitute to solve for the second variable. Once you’ve determined one of the variables, you can substitute its value into the other equation to solve for the other variable. [9] X Research source
- In the example above, replace the y with a 2 in the first equation to solve for x as follows:
Advertisement
Community Q&A
Search
-
QuestionHow do I calculate the determinant of a 2x3 matrix?OrangejewsCommunity AnswerDeterminants are defined for square matrices, and that definition doesn't apply to non-squares like 2x3. You can compute the rank of any matrix to see if its rows are linearly independent.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Tips
- The elements arrayed in a matrix are typically called “scalars.”Thanks
- Remember that to solve a 2x3 matrix, you must stick to the elementary row operations. You cannot use column operations.Thanks
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement
Expert Interview
Thanks for reading our article! If you’d like to learn more about math, check out our in-depth interview with Grace Imson, MA .
References
- ↑ https://www.mathsisfun.com/algebra/systems-linear-equations-matrices.html
- ↑ https://www.mathsisfun.com/algebra/systems-linear-equations-matrices.html
- ↑ https://www.mathsisfun.com/algebra/matrix-multiplying.html
- ↑ https://tutorial.math.lamar.edu/Classes/Alg/AugmentedMatrix.aspx
- ↑ https://www.khanacademy.org/math/algebra-home/alg-matrices/alg-elementary-matrix-row-operations/a/matrix-row-operations
- ↑ https://www.youtube.com/watch?v=l--THwUU73g
- ↑ https://www.youtube.com/watch?v=l--THwUU73g
- ↑ https://www.youtube.com/watch?v=l--THwUU73g
- ↑ https://openstax.org/books/intermediate-algebra-2e/pages/4-5-solve-systems-of-equations-using-matrices
About This Article
Thanks to all authors for creating a page that has been read 115,418 times.
Advertisement