Explainer: Systems of Linear Equations in Matrix Notation

In this explainer, we will learn how to express a system of linear equations as a matrix equation and how to write a set of simultaneous equations from a matrix equation.

When linear algebra was first being developed, one of the main motivating reasons was to help solve systems of linear equations. The reason for this was that many real-world problems of the age were initially written in a long, convoluted manner which included surprisingly few numbers. Suppose that we had the following question:

โ€œThe cost of buying three apples and eight bananas is 5 pounds and 10 pence. The cost of buying twelve apples and five bananas is 8 pounds and 25 pence. How much does it cost to buy a single apple or a single banana?โ€

This problem is easily solved by anybody who is familiar with simultaneous equations or linear algebra. Suppose that we were to let the variables ๐‘Ž and ๐‘, respectively, be the costs of a single apple and a single banana. Then the above question can be phrased as the following system of linear equations:

3๐‘Ž+8๐‘=5.112๐‘Ž+5๐‘=8.25.(1)

There are several clear advantages to writing the problem above as this system of linear equations. In choosing this format, no information about the problem is lost and we have written all of the relevant information in a way that is more succinct and hence easier to work with. Algebra can be used to quickly show that ๐‘Ž=0.5 and ๐‘=0.45.

For a problem such as the one above, it might appear that there is very little room for improvement over the form in the system of equations (1). If we are familiar with matrix multiplication, however, we can actually make a slight improvement to the statement of this problem by using the appropriate matrices. Although we will not justify our working just yet, we will soon see how it is possible to write the system of equations (1) in a form that is even more neat: ๏”38125๏ ๏“๐‘Ž๐‘๏Ÿ=๏”5.18.25๏ .

Writing the system of equations in this way allows us to think of the three matrices somewhat separately. The colossal toolkit of linear algebra can then be applied to any of these matrices independently, although practically we are usually most interested in the left-most matrix.

To justify how we achieved the above matrix representation, we will actually work in reverse by first constructing a different equation featuring matrices. Suppose that we had the following: ๏˜1โˆ’203โˆ’3115โˆ’77โˆ’24โˆ’1125๏ค๏›๐‘ฅ๐‘ฆ๐‘ง๐‘ค๏ง=๏˜โˆ’103๏ค.

The matrix multiplication ๐ด๐ต is only well defined if the matrix ๐ด has order ๐‘šร—๐‘› and the matrix ๐ต has order ๐‘›ร—๐‘, in which case that matrix ๐ด๐ต has order ๐‘šร—๐‘. In the case of the matrices above, the left-most matrix has order 3ร—4 and the middle matrix has order 4ร—1, which means that the matrix multiplication is well defined. Furthermore, the order of the resulting matrix will be 3ร—1, which is indeed the case for the right-most matrix.

The middle matrix contains the variables ๐‘ฅ, ๐‘ฆ, ๐‘ง, and ๐‘ค. Although we cannot know the possible values of these variables without further working, we can still choose to express the above matrix equation in terms of the matrix multiplications.

The first stage is to pair entries in the first row of the left matrix with the entries in the first and only column of the middle matrix, which will be equal to the entry in the first row and first column of the right matrix, as we have highlighted below: ๏˜1โˆ’203โˆ’3115โˆ’77โˆ’24โˆ’1125๏ค๏›๐‘ฅ๐‘ฆ๐‘ง๐‘ค๏ง=๏˜โˆ’103๏ค.

Pairing the entries in order, we use the definition of matrix multiplication to give 1ร—๐‘ฅ+(โˆ’2)ร—๐‘ฆ+0ร—๐‘ง+3ร—๐‘ค=โˆ’1. For reasons that will shortly become clear, we choose to write this equation in the very rigid form

๐‘ฅโˆ’2๐‘ฆ+3๐‘ค=โˆ’1.(2)

We can apply the same working with the second row of the left matrix: ๏˜1โˆ’203โˆ’3115โˆ’77โˆ’24โˆ’1125๏ค๏›๐‘ฅ๐‘ฆ๐‘ง๐‘ค๏ง=๏˜โˆ’103๏ค.

We have (โˆ’3)ร—๐‘ฅ+11ร—๐‘ฆ+5ร—๐‘ง+(โˆ’7)ร—๐‘ค=0, which we write in the same format that we used for equation (2):

โˆ’3๐‘ฅ+11๐‘ฆ+5๐‘งโˆ’7๐‘ค=0.(3)

Finally we turn to the third row of the left matrix: ๏˜1โˆ’203โˆ’3115โˆ’77โˆ’24โˆ’1125๏ค๏›๐‘ฅ๐‘ฆ๐‘ง๐‘ค๏ง=๏˜โˆ’103๏ค.

Pairing each of the entries gives 7ร—๐‘ฅ+(โˆ’24)ร—๐‘ฆ+(โˆ’11)ร—๐‘ง+25ร—๐‘ค=3. Now we write this expression in the same format that we used for equations (2) and (3):

7๐‘ฅโˆ’24๐‘ฆโˆ’11๐‘ง+25๐‘ค=3.(4)

Now that we have effectively completed the matrix multiplication, we can write the three equations (2)โ€“(4) together as one aligned system of linear equations: ๐‘ฅโˆ’2๐‘ฆ+3๐‘ค=โˆ’1,โˆ’3๐‘ฅ+11๐‘ฆ+5๐‘งโˆ’7๐‘ค=0,7๐‘ฅโˆ’24๐‘ฆโˆ’11๐‘ง+25๐‘ค=3.

Had we instead begun with this system of linear equations, then we could simply have reversed the steps in order to write the problem as the matrix equation that we were originally given. Realistically, there is seldom such a need to perform many steps in order to do this because, if performed correctly, the task is little more difficult than reading coefficients from a system of linear equations and then writing these coefficients into an appropriate matrix. This can be complicated if the system of linear equations is not written in a standard way, so it is good practice to always rewrite the system of linear equations into a standard form where the alignment and spacing will help to create the corresponding matrix equation with minimal risk of there being a transcription error.

Theorem: Matrix form of a System of Linear Equations

Consider a general system of linear equations in the variables ๐‘ฅ,๐‘ฅ,โ€ฆ,๐‘ฅ๏Šง๏Šจ๏Š and the coefficients ๐‘Ž๏ƒ๏…: ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘,๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘,โ‹ฎโ‹ฎโ‹ฎโ‹ฑโ‹ฎโ‹ฎโ‹ฎ๐‘Ž๐‘ฅ+๐‘Ž๐‘ฅโ‹ฏ๐‘Ž๐‘ฅ=๐‘.๏Šง๏Šง๏Šง๏Šง๏Šจ๏Šจ๏Šง๏Š๏Š๏Šง๏Šจ๏Šง๏Šง๏Šจ๏Šจ๏Šจ๏Šจ๏Š๏Š๏Šจ๏‰๏Šง๏Šง๏‰๏Šจ๏Šจ๏‰๏Š๏Š๏‰

Then this can equivalently be written as the matrix equation โŽกโŽขโŽขโŽฃ๐‘Ž๐‘Žโ‹ฏ๐‘Ž๐‘Ž๐‘Žโ‹ฏ๐‘Žโ‹ฎโ‹ฎโ‹ฑโ‹ฎ๐‘Ž๐‘Žโ‹ฏ๐‘ŽโŽคโŽฅโŽฅโŽฆโŽกโŽขโŽขโŽฃ๐‘ฅ๐‘ฅโ‹ฎ๐‘ฅโŽคโŽฅโŽฅโŽฆ=โŽกโŽขโŽขโŽขโŽฃ๐‘๐‘โ‹ฎ๐‘โŽคโŽฅโŽฅโŽฅโŽฆ.๏Šง๏Šง๏Šง๏Šจ๏Šง๏Š๏Šจ๏Šง๏Šจ๏Šจ๏Šจ๏Š๏‰๏Šง๏‰๏Šจ๏‰๏Š๏Šง๏Šจ๏Š๏Šง๏Šจ๏‰

The left-most matrix is typically referred to as the โ€œcoefficientโ€ matrix corresponding to the system of linear equations.

This theorem summarizes the general result behind the specific example that we just examined. Using this theorem, we can deduce some general properties that we will need to understand before beginning any examples. In the statement of the above theorem, the system of linear equations had ๐‘š equations, each featuring up to ๐‘› variables. The coefficient matrix corresponding to this system must therefore have order ๐‘šร—๐‘›, whereas the middle matrix will have order ๐‘›ร—1 and the right matrix will have order ๐‘šร—1. If we are presented with a system of linear equations, we should use this information as a guideline, to understand what the orders of the associated matrices must be. In the following two examples, we show how this theorem can be applied to encode two entirely different systems into matrix form.

Example 1: Calculating When a Systems of Linear Equations Is Inconsistent

Express the simultaneous equations 13๐‘ฅโˆ’23๐‘ฆ=5334๐‘ฆ+14๐‘ฅ=74 as a matrix equation.

Answer

Before we write these simultaneous equations in matrix form, it will be helpful to take the two given equations and then rewrite them in a form that is more useful. By aligning each variable in the same column and allowing some spacing between the entries, we choose the form

13๐‘ฅโˆ’23๐‘ฆ=5314๐‘ฅ+34๐‘ฆ=74.(5)

There are 2 simultaneous equations, meaning that the coefficient matrix must have 2 rows. Given that there are 2 variables, ๐‘ฅ and ๐‘ฆ, the coefficient matrix must have 2 columns. This means that we are trying to create a matrix equation of the following form: ๏’โˆ—โˆ—โˆ—โˆ—๏ž๏“๐‘ฅ๐‘ฆ๏Ÿ=๏’โˆ—โˆ—๏ž, where the โˆ— entries are unknowns that need to be found. The first equation of (5) is 13๐‘ฅโˆ’23๐‘ฆ=53, which means that we can populate the first row of the coefficient matrix as ๏˜13โˆ’23โˆ—โˆ—๏ค๏“๐‘ฅ๐‘ฆ๏Ÿ=๏˜53โˆ—๏ค.

The second equation of (5) is 14๐‘ฅ+34๐‘ฆ=74.

We can inject this information into the second row of the coefficient matrix without changing any entries in the first row. This is achieved as shown in the highlighted entries below: โŽกโŽขโŽขโŽฃ13โˆ’231434โŽคโŽฅโŽฅโŽฆ๏“๐‘ฅ๐‘ฆ๏Ÿ=โŽกโŽขโŽขโŽฃ5374โŽคโŽฅโŽฅโŽฆ.

This final equation represents the full matrix representation of the simultaneous equations and is entirely equivalent (provided that we understand the definition of matrix multiplication).

Example 2: A System of Linear Equations With 3 Variables and 3 Equations

Express the following set of simultaneous equations as a matrix equation: 7๐‘ฅโˆ’3๐‘ฆ+6๐‘ง=5,5๐‘ฅโˆ’2๐‘ฆ+2๐‘ง=11,2๐‘ฅโˆ’3๐‘ฆ+8๐‘ง=10.

Answer

Before we begin, we should note that there are 3 equations and 3 variables: ๐‘ฅ, ๐‘ฆ, and ๐‘ง. This means that the coefficient matrix will have the order of 3ร—3. Our goal will be to find the matrix equation of the form ๏–โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—๏ข๏—๐‘ฅ๐‘ฆ๐‘ง๏ฃ=๏–โˆ—โˆ—โˆ—๏ข which reproduces the system of linear equations in the statement of the question.

We begin by taking the first of the three given equations, which is 7๐‘ฅโˆ’3๐‘ฆ+6๐‘ง=5.

By using the definition of matrix multiplication, we can populate the first row of the coefficient matrix as ๏—7โˆ’36โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—๏ฃ๏—๐‘ฅ๐‘ฆ๐‘ง๏ฃ=๏—5โˆ—โˆ—๏ฃ.

We still need to take the second and third lines in the system of equations and write these into the coefficient matrix. The second equation is 5๐‘ฅโˆ’2๐‘ฆ+2๐‘ง=11, which we can embed into the second row of the coefficient matrix, crucially without changing the first row. This gives ๏˜7โˆ’365โˆ’22โˆ—โˆ—โˆ—๏ค๏—๐‘ฅ๐‘ฆ๐‘ง๏ฃ=๏˜511โˆ—๏ค.

Now we only have the third equation, 2๐‘ฅโˆ’3๐‘ฆ+8๐‘ง=10, which we can write into the third row of the coefficient matrix without affecting the entries in the two rows above. This gives ๏˜7โˆ’365โˆ’222โˆ’38๏ค๏—๐‘ฅ๐‘ฆ๐‘ง๏ฃ=๏˜51110๏ค.

This represents the full representation of the system of linear equations in matrix form.

In the above example, the original equations were written into matrix form, which has separated the coefficient matrix from the variables and the numbers on the right-hand side of each equation. In this situation we would probably be most interested in the coefficient matrix ๏˜7โˆ’365โˆ’222โˆ’38๏ค, because this matrix will encode vital information about the system of linear equations, such as whether or not a solution exists and, if so, whether the variables may take single values or infinitely many values.

Example 3: A System of Linear Equations with 3 Variables and 3 Equations

Which of the following shows the set of simultaneous equations that could be solved using the matrix ๏˜โˆ’14โˆ’2โˆ’2153โˆ’1โˆ’2๏ค๏—๐‘Ž๐‘๐‘๏ฃ=๏˜5711๏ค?

a. โˆ’2๐‘=7+๐‘Žโˆ’4๐‘โˆ’2๐‘Ž+๐‘=11+5๐‘โˆ’2๐‘=5+๐‘โˆ’3๐‘Ž

b. 2๐‘=7โˆ’๐‘Ž+4๐‘โˆ’2๐‘Ž+๐‘=11โˆ’5๐‘โˆ’2๐‘=5โˆ’๐‘+3๐‘Ž

c. 2๐‘=5โˆ’๐‘Ž+4๐‘2๐‘Ž+๐‘=7+5๐‘โˆ’2๐‘=11โˆ’๐‘+3๐‘Ž

d. โˆ’2๐‘=5+๐‘Žโˆ’4๐‘โˆ’2๐‘Ž+๐‘=7โˆ’5๐‘โˆ’2๐‘=11+๐‘โˆ’3๐‘Ž

e. 2๐‘=5โˆ’๐‘Ž+4๐‘โˆ’2๐‘Ž+๐‘=7+5๐‘โˆ’2๐‘=11โˆ’๐‘+3๐‘Ž

Answer

An efficient way to answer this problem would be to write the matrix equation ๏˜โˆ’14โˆ’2โˆ’2153โˆ’1โˆ’2๏ค๏—๐‘Ž๐‘๐‘๏ฃ=๏˜5711๏ค as a system of linear equations. The left-most matrix (the coefficient) has 3 rows, which means that there will be 3 equations. The coefficient matrix also has 3 columns, which means that there will be 3 variables, which in our example above are ๐‘Ž, ๐‘, and ๐‘. We can effectively turn each row of the coefficient matrix into an equation featuring these variables by performing the matrix equation in 3 stages. We begin by highlighting the first row of the left matrix and the first and only column of the middle matrix, which corresponds to the entry in the right matrix which is in the first row and first column: ๏˜โˆ’14โˆ’2โˆ’2153โˆ’1โˆ’2๏ค๏—๐‘Ž๐‘๐‘๏ฃ=๏˜5711๏ค.

The definition of matrix multiplication gives the equation

โˆ’๐‘Ž+4๐‘โˆ’2๐‘=5.(6)

Now, moving onto the second row of the left matrix, we will use the highlighted entries as shown: ๏˜โˆ’14โˆ’2โˆ’2153โˆ’1โˆ’2๏ค๏—๐‘Ž๐‘๐‘๏ฃ=๏˜5711๏ค.

This gives the second equation of the corresponding system of linear equations:

โˆ’2๐‘Ž+๐‘+5๐‘=7.(7)

Finally, we look at the third row of the coefficient matrix: ๏˜โˆ’14โˆ’2โˆ’2153โˆ’1โˆ’2๏ค๏—๐‘Ž๐‘๐‘๏ฃ=๏˜5711๏ค.

Expanding this out gives the final equation of the system:

3๐‘Žโˆ’๐‘โˆ’2๐‘=11.(8)

Now that we have the three equations of the corresponding system of linear equations in equations (6)โ€“(8), we can write them altogether as the complete system of linear equations โˆ’๐‘Ž+4๐‘โˆ’2๐‘=5,โˆ’2๐‘Ž+๐‘+5๐‘=7,3๐‘Žโˆ’๐‘โˆ’2๐‘=11.

Now that we have written the system of linear equations in standard form, we can compare it to the 5 possible options that were given in the question. We will work through each option in turn, aiming to dismiss each one as quickly as possible. In order for any of the options to be equal to the system of linear equations defined by the matrix equation in the question, the three equations must agree exactly. If at least one of the equations is different, then the two systems cannot be equal.

(a) The first equation of this system is โˆ’2๐‘=7+๐‘Žโˆ’4๐‘, which can be rearranged to give โˆ’๐‘Ž+4๐‘โˆ’2๐‘=7.

This disagrees with the first-line equation of the complete linear system that is given in equation (6) because the two numbers on the right-hand side of the equations are different. Therefore option (a) is not the correct choice.

(b) The first equation of this system is 2๐‘=7โˆ’๐‘Ž+4๐‘, which when rearranged gives ๐‘Žโˆ’4๐‘+2๐‘=7.

This equation is also different to that given in equation (6), so this cannot be the correct choice.

(c) In this system of linear equations, the first line is 2๐‘=5โˆ’๐‘Ž+4๐‘, which can equivalently be written as ๐‘Žโˆ’4๐‘+2๐‘=5.

The right-hand side of this equation agrees with the right-hand side of equation (6). However, the variables have opposite signs in both equations, so the equations are not equivalent and this cannot be the correct answer.

(d) For this system, the first line is โˆ’2๐‘=5+๐‘Žโˆ’4๐‘, which we write as โˆ’๐‘Ž+4๐‘โˆ’2๐‘=5.

This is exactly equal to equation (6), which is the first equation of the given linear system. Given that these two agree exactly, we now examine the second equation of (d), which is that โˆ’2๐‘Ž+๐‘=7โˆ’5๐‘, which can be written in the form โˆ’2๐‘Ž+๐‘+5๐‘=7.

It is an encouraging sign that this is equal to the second equation of the system, as given in equation (7) . We now only need to check the final equation of option (d), which is that โˆ’2๐‘=11+๐‘โˆ’3๐‘Ž. We choose to write this as 3๐‘Žโˆ’๐‘โˆ’2๐‘=11.

This equation agrees with that given in (8), meaning that option (d) is the correct option.

(e) Given that option (d) is the correct option and that option (e) is different from option (e), this cannot be correct.

In the following examples, we will not repeat the full method of writing a system of linear equations in matrix form (or vice versa), as this is very easy to do after some practice. Instead, the remaining questions will focus on demonstrating how to treat a system of linear equations that are not written in any standard form. When discussing such a system, there is no requirement to write this out in a way that is neatly formatted. As we will see, however, it is often very useful to take a system of linear equations and write them in a form that is neat and aligned, with all variables on the left-hand sides of the given equations. After having done so, writing the system as a matrix equation is a less risky task.

Example 4: A System of Linear Equations with 3 Variables and 3 Equations

Express the set of simultaneous equations 3๐‘ฅ=12+5๐‘ฆ+2๐‘ง๐‘ฅโˆ’5๐‘ฆ=2111๐‘ฅโˆ’8๐‘ฆ=โˆ’10+2๐‘ง as a matrix equation.

Answer

The first step is to take each equation in the given system and to rewrite this with all variables on the left-hand side of each equation and with each variable aligned in the same column: 3๐‘ฅโˆ’5๐‘ฆโˆ’2๐‘ง=12,๐‘ฅโˆ’5๐‘ฆ=21,11๐‘ฅโˆ’8๐‘ฆโˆ’2๐‘ง=โˆ’10.

Now that we have these three equations written in this format, we can equivalently encode this system by the matrix equation ๏˜3โˆ’5โˆ’21โˆ’5011โˆ’8โˆ’2๏ค๏—๐‘ฅ๐‘ฆ๐‘ง๏ฃ=๏˜1221โˆ’10๏ค.

In the final example that we will give, we will show how to take principles from the above explainer and then apply these in a slightly different way. The method will essentially be identical, with only cosmetic changes to the process that we would normally follow.

Example 5: A System of Linear Equations That Is Already Partially Written in Matrix Form

Write โŽกโŽขโŽขโŽขโŽฃ๐‘ฅโˆ’๐‘ฅ+2๐‘ฅ2๐‘ฅ+๐‘ฅ3๐‘ฅ3๐‘ฅ+3๐‘ฅ+๐‘ฅโŽคโŽฅโŽฅโŽฅโŽฆ๏Šง๏Šจ๏Šฉ๏Šฉ๏Šง๏Šฉ๏Šช๏Šจ๏Šง in the form ๐ดโŽกโŽขโŽขโŽฃ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅโŽคโŽฅโŽฅโŽฆ๏Šง๏Šจ๏Šฉ๏Šช where ๐ด is a matrix.

Answer

Let us begin by stating the question in a slightly more helpful way. We would like to find the matrix ๐ด such that ๐ดโŽกโŽขโŽขโŽฃ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅโŽคโŽฅโŽฅโŽฆ=โŽกโŽขโŽขโŽขโŽฃ๐‘ฅโˆ’๐‘ฅ+2๐‘ฅ2๐‘ฅ+๐‘ฅ3๐‘ฅ3๐‘ฅ+3๐‘ฅ+๐‘ฅโŽคโŽฅโŽฅโŽฅโŽฆ.๏Šง๏Šจ๏Šฉ๏Šช๏Šง๏Šจ๏Šฉ๏Šฉ๏Šง๏Šฉ๏Šช๏Šจ๏Šง

This allows us to determine the order of ๐ด by using the definition of matrix multiplication. The matrix multiplication ๐ด๐ต is only well defined if ๐ด has order ๐‘šร—๐‘› and ๐ต has order ๐‘›ร—๐‘, with the matrix product ๐ด๐ต having order ๐‘šร—๐‘. In the above equation, the middle matrix has order 4ร—1 and the right matrix has order 4ร—1, which means that ๐ด must have order 4ร—4. Therefore we are looking to produce a matrix equation of the following form: ๏›โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—๏งโŽกโŽขโŽขโŽฃ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅโŽคโŽฅโŽฅโŽฆ=โŽกโŽขโŽขโŽขโŽฃ๐‘ฅโˆ’๐‘ฅ+2๐‘ฅ2๐‘ฅ+๐‘ฅ3๐‘ฅ3๐‘ฅ+3๐‘ฅ+๐‘ฅโŽคโŽฅโŽฅโŽฅโŽฆ.๏Šง๏Šจ๏Šฉ๏Šช๏Šง๏Šจ๏Šฉ๏Šฉ๏Šง๏Šฉ๏Šช๏Šจ๏Šง

We refer to the matrix on the left as the coefficient matrix of the system of linear equations. It will be helpful to write the right-most matrix in a way which aligns the variables in the same columns: ๏›โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—โˆ—๏งโŽกโŽขโŽขโŽฃ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅโŽคโŽฅโŽฅโŽฆ=โŽกโŽขโŽขโŽขโŽฃ๐‘ฅโˆ’๐‘ฅ+2๐‘ฅ๐‘ฅ+2๐‘ฅ+3๐‘ฅ๐‘ฅ+3๐‘ฅ+3๐‘ฅโŽคโŽฅโŽฅโŽฅโŽฆ.๏Šง๏Šจ๏Šฉ๏Šช๏Šง๏Šจ๏Šฉ๏Šง๏Šฉ๏Šฉ๏Šง๏Šจ๏Šช

After having written the right matrix in this form, we deduce that the coefficient matrix on the left must be as follows: โŽกโŽขโŽขโŽฃ1โˆ’120102000301303โŽคโŽฅโŽฅโŽฆโŽกโŽขโŽขโŽฃ๐‘ฅ๐‘ฅ๐‘ฅ๐‘ฅโŽคโŽฅโŽฅโŽฆ=โŽกโŽขโŽขโŽขโŽฃ๐‘ฅโˆ’๐‘ฅ+2๐‘ฅ๐‘ฅ+2๐‘ฅ+3๐‘ฅ๐‘ฅ+3๐‘ฅ+3๐‘ฅโŽคโŽฅโŽฅโŽฅโŽฆ.๏Šง๏Šจ๏Šฉ๏Šช๏Šง๏Šจ๏Šฉ๏Šง๏Šฉ๏Šฉ๏Šง๏Šจ๏Šช

Earlier we stated that the matrix expression of a system of linear equations is particularly helpful, in that it standardizes the form in which such systems are written, eliminating any reference to variable names or any other extraneous information. Although it is not necessary to write a system in matrix form, it is frequently more helpful to do so. When written in matrix form, it is generally easier to perform advanced algorithms such as the Gaussโ€“Jordan method to find the solution of a system of linear equations. Just as helpful, we can separate the coefficient matrix from the rest of the system and treat this object separately. If the coefficient matrix is a square matrix, then we may be interested in finding the determinant and the matrix inverse, if it exists. Once we have the coefficient matrix, we may use this in conjunction with any other matrix that might be relevant to the problem at hand, allowing us to operate with this matrix using the rules of linear algebra. In this manner, the variables used to describe the system of linear equations are totally irrelevant and are just arbitrary labels, with the real mathematical understanding being derived from the coefficient matrix and the numbers which appear in the right-most matrix of the equivalent matrix expression.

Key Points

  • When given any system of linear equations, it is wisest to rewrite these expressions with all of the variables on the left-hand side and correctly aligned with the variables they refer to.
  • When written in this specific format, it is normally a seamless process to write the system in the matrix form.
  • If we are initially given a matrix equation of the same type as in this explainer, we can write this as a corresponding system of linear equations.
  • Writing a system of linear equations in matrix form allows us to treat the coefficient matrix independently and also shows that the variable labels are completely arbitrary.

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.