SIMULTANEOUS LINEAR EQUATIONS | CONCEPT OVERVIEW The TOPIC of SIMULTANEOUS LINEAR EQUATIONS is not one that is directly referenced in the NCEES Supplied Reference Handbook, Version 9.4 for Computer Based Testing. However, itβs a situation where knowing how to deal with SIMULTANEOUS LINEAR EQUATIONS can be a major contributor the success on any given problem. For this reason, we will break it down despite it being neglected from the NCEES Supplied Reference Handbook.
CONCEPT INTRO: Given any NUMBER of LINEAR EQUATIONS each having a unique set of UNKNOWN SHARED VARIABLES, such that π΄π₯! + π΅π₯! + πΆπ₯! + . . . +ππ₯! = π¦! π·π₯! + πΈπ₯! + πΉπ₯! + . . . +ππ₯! = π¦! πΊπ₯! + π»π₯! + πΌπ₯! + . . . +ππ₯! = π¦! Where: β’ π₯! , π₯! , π₯! , β¦ , π₯! are UNKNOWN SHARED VARIABLES β’ π΄, π΅, πΆ, β¦ , π are KNOWN COEFFICIENTS and β’ π¦! , π¦! , πππ π¦! are KNOWN QUANTITIES
Made with
by Prepineer | Prepineer.com
We can solve this set of equations using one of a two approaches, either: 1. Solve them using the method of LINEAR ELIMINATION or LINEAR COMBINATIONβ¦this is a manual process done By hand, acceptable, but too time consuming for the more complex systems. 2. Solve using your NCEES APPROVED CALCULATORβ¦using MATRICES or the SYSTEM SOLVER, both a standard functionality of the calculator which will significantly decrease our time solving these problems. Letβs lay out each of these approaches. LINEAR ELIMINATION: In the LINEAR ELIMINATION method, we will take a set of equations, line them up in a VERTICAL manner and either ADD or SUBTRACT the equations with the goal of simplifying it down to one equation with one single VARIABLE. We can then take that defined VARIABLE and work our way back up our CHAIN of work to define the remaining UNKNOWN VARIABLES, until ultimately, all are defined giving us the whole SOLUTION to the set of SIMULTANEOUS LINEAR EQUATIONS. MATRIX FORMAT: Itβs possible to take a set of SIMULATRENOUS LINEAR EQUATIONS and place them in to a specific MATRIX FORMAT, such that:
Made with
by Prepineer | Prepineer.com
π΄π = π΅ Where each of these VARIABLES represent a UNIQUE MATRIX developed through the definition of each of our EQUATIONS, such that: β’ The matrix βAβ is the COEFICIENT MATRIX of the system used to represent the coefficients of variables in an equation. These will be the numbers in front of the variables on the left side of the equal sign. β’ The matrix βXβ is the MATRIX OF VARIABLES used to represent the variables in the equation, which are usually X, Y, and Z. These will be any variables on the left side of the equal sign. β’ The matrix βBβ is the MATRIX OF CONSTANTS used to represent the constants that are on the other side of the equal signs for each equation. These are usually the numbers on the right side of the equal sign. Visually how this all plays out is pretty straight forward, letβs revisit our set of equations defined above, limiting it to three unknown variables, such that we have: π΄π₯! + π΅π₯! + πΆπ₯! = π¦! π·π₯! + πΈπ₯! + πΉπ₯! = π¦! πΊπ₯! + π»π₯! + πΌπ₯! = π¦! Laying this out in the MATRIX FORM: π΄π = π΅
Made with
by Prepineer | Prepineer.com
We get: π΄ π· πΊ
π΅ πΈ π»
πΆ πΉ πΌ
π₯! π¦! π₯! = π¦! π₯! π¦!
Where: β’ The COEFICIENT MATRIX, A, would represent the coefficients of variables in the equations, which in this case, are the variables A,B,C etc, all on the left side of the equation. β’ The MATRIX OF VARIABLES, X, would represent the variables in the equation, which are x1, x2, and x3. β’ The MATRIX OF CONSTANTS, B, would represent the constants on the right side of the equation, D, H, and L. Once we have written the SYSTEM OF LINEAR EQUATIONS in the form AX=B, we can now SOLVE for the MATRIX OF VARIABLES, X, by MULTIPLYING each side by the INVERSE OF MATRIX A. This will isolate the matrix of variables on the left side, making the matrix operation: π΄!! π΄π = π΄!! π΅
Made with
by Prepineer | Prepineer.com
It is important to remember that a matrix multiplied by the inverse of itself will produce the identity matrix, which gives us: π = π΄!! π΅ This may be a simple definition problem on the exam, so remember that. Now that we know how to write an equation to solve for the MATRIX OF VARIABLES, we need to figure out how to calculate the INVERSE OF MATRIX A and then MULTIPLY it by MATRIX B. The inverse of any matrix is defined as:
π΄!! =
πππ(π΄) π΄
Where: β’ Adj(A) is the ADJOINT of MATRIX A obtaining by replacing π΄! elements with their cofactors β’ |A| is the determinant of the matrix [A] We arenβt going to worry about learning how to calculate the MATRIX INVERSE, the ADJOIINT or the DETERMINANT of a MATRIX, itβs confusing and the calculator can do it super easily!
Made with
by Prepineer | Prepineer.com
If we can HACK a problem, then we are going to HACK IT, thatβs the way we roll. So thatβs the basic workflow, to recap: Express the set of SIMULATANEOUS LINEAR EQUATIONS compactly in the matrix form: π΄π = π΅ Pre-multiply both sides by the INVERSE MATRIX such that: π΄!! π΄π = π΄!! π΅ Since π΄!! π΄π₯ = πΌπ₯ = π₯, the expression can equivalently be written as: π = π΄!! π΅ So as long as π΄!! exists, the MATRIX OF VARIABLES, X, can be fully solved. If the inverse does not exist, then the set of SIMULATANEOUS LINEAR EQUATIONS does not have a unique solution. We will work this process by hand as we make our way through our practice problems, but will reiterate over and over the importance of knowing it can be HACKED and learning that HACK in itβs most intimate form.
Made with
by Prepineer | Prepineer.com
SIMULTANEOUS LINEAR EQUATIONS | CONCEPT EXAMPLE The following problem introduces the concept reviewed within this module. Use this content as a primer for the subsequent material. Solve the following set of linear equations: βπ₯ + 5π¦ = 4 2π₯ + 5π¦ = β2 A. π₯ = 5 and π¦ = 6 B. π₯ = 0 and π¦ = 3 C. π₯ = 3 and π¦ = 3 D. π₯ = β2 and π¦ =
! !
SOLUTION: The TOPIC of SIMULTANEOUS LINEAR EQUATIONS is not one that is directly referenced in the NCEES Supplied Reference Handbook, Version 9.4 for Computer Based Testing. However, itβs a situation where knowing how to deal with SIMULTANEOUS LINEAR EQUATIONS can be a major contributor the success on any given problem. For this reason, we will break it down despite it being neglected from the NCEES Supplied Reference Handbook.
Made with
by Prepineer | Prepineer.com
Given any NUMBER of LINEAR EQUATIONS each having a unique set of UNKNOWN SHARED VARIABLES, such that π΄π₯! + π΅π₯! + πΆπ₯! + . . . +ππ₯! = π¦! π·π₯! + πΈπ₯! + πΉπ₯! + . . . +ππ₯! = π¦! πΊπ₯! + π»π₯! + πΌπ₯! + . . . +ππ₯! = π¦! Where: β’ π₯! , π₯! , π₯! , β¦ , π₯! are UNKNOWN SHARED VARIABLES β’ π΄, π΅, πΆ, β¦ , π are KNOWN COEFFICIENTS and β’ π¦! , π¦! , πππ π¦! are KNOWN QUANTITIES We can solve this set of equations using one of a two approaches, either: 1. Solve them using the method of LINEAR ELIMINATION or LINEAR COMBINATIONβ¦this is a manual process done By hand, acceptable, but too time consuming for the more complex systems. 2. Solve using your NCEES APPROVED CALCULATORβ¦using MATRICES or the SYSTEM SOLVER, both a standard functionality of the calculator which will significantly decrease our time solving these problems. In this problem, we will deploy our knowledge of MATRICES, solving it by hand, but illustrating how it is set up so you can HACK it using your CALCULATORβ¦which is always our go to approach.
Made with
by Prepineer | Prepineer.com
But for edification purposes, we will solidify an understanding of the process behind the scenes, so letβs get in to it. Itβs possible to take any set of SIMULATRENOUS LINEAR EQUATIONS and place them in to a specific MATRIX FORMAT, such that: π΄π = π΅ Where each of these VARIABLES represent a UNIQUE MATRIX developed through the definition of each of our EQUATIONS, such that: β’ The matrix βAβ is the COEFICIENT MATRIX of the system used to represent the coefficients of variables in an equation. These will be the numbers in front of the variables on the left side of the equal sign. β’ The matrix βXβ is the MATRIX OF VARIABLES used to represent the variables in the equation, which are usually X, Y, and Z. These will be any variables on the left side of the equal sign. β’ The matrix βBβ is the MATRIX OF CONSTANTS used to represent the constants that are on the other side of the equal signs for each equation. These are usually the numbers on the right side of the equal sign. In this problem, we are given: βπ₯ + 5π¦ = 4 2π₯ + 5π¦ = β2
Made with
by Prepineer | Prepineer.com
Our first step would be to always ensure that the equations are in STANDARD FORM, meaning all the VARIABLES are on the left side and all the CONSTANTS are on the right side of the equation. We are good, lets move forward. Laying this out in the MATRIX FORM: π΄π = π΅ We get: β1 2
5 π₯ 4 = π¦ β2 5
Where: β’ The COEFICIENT MATRIX, A, would represent the coefficients of variables in the equations, which in this case, are the variables -1, 5, 2, and 5β¦all on the left side of the equation. β’ The MATRIX OF VARIABLES, X, would represent the variables in the equation, which are x and y. β’ The MATRIX OF CONSTANTS, B, would represent the constants on the right side of the equation, which are 4 and -2.
Made with
by Prepineer | Prepineer.com
Once we have written the SYSTEM OF LINEAR EQUATIONS in the form AX=B, we can now SOLVE for the MATRIX OF VARIABLES, X, by MULTIPLYING each side by the INVERSE OF MATRIX A. This will isolate the MATRIX OF VARIABLES on the left side, making the matrix operation: π΄!! π΄π = π΄!! π΅ It is important to remember that a matrix multiplied by the inverse of itself will produce the identity matrix, which gives us: π = π΄!! π΅ This may be a simple definition problem on the exam, so remember that. Now that we know how to write an equation to solve for the MATRIX OF VARIABLES, we need to figure out how to calculate the INVERSE OF MATRIX A and then MULTIPLY it by MATRIX B. The inverse of any matrix is defined as:
π΄!! =
πππ(π΄) π΄
Made with
by Prepineer | Prepineer.com
Where: β’ Adj(A) is the ADJOINT of MATRIX A obtaining by replacing π΄! elements with their cofactors β’ |A| is the determinant of the matrix [A] The ADJOINT of a MATRIX is a complex term made extremely simple when viewing the GENERAL FORMULA expressed as: πππ(π΄) = (π΄! )! Where: β’ π΄! represents the COEFFICIENT MATRIX of MATRIX A β’ (π΄! )! represents the TRANSPOSE of the COEFFICIENT MATRIX A To find the ELEMENTS of a COEFFICIENT MATRIX, you will go ELEMENT by ELEMENT of the ORIGINAL MATRIX, replacing the ELEMENT with the new ELEMENT represented in the COEFFICIENT MATRIX. Letβs illustrate this with our current problem.
Made with
by Prepineer | Prepineer.com
We are given the MATRIX: β1 2
5 5
The ADJOINT of this MATRIX will then be is found by first swapping the leading diagonal of the 2 π₯ 2 matrix and switching the signs of the other two elements such that: 5 β2
β5 β1
Now to define the DETERMINATE of βπ΄β, we proceed as we would with any COFACTOR, such that: π΄ = 5 β1 β β5 β2 Or: π΄ = β15 This gives us what we need to determine the INVERSE MATRIX, which is:
π΄!! = β
1 5 15 β2
β5 β1
Made with
by Prepineer | Prepineer.com
Or:
π΄!!
1 3 = 2 15 β
1 3 1 15
With everything defined to carry out our OPERATION, we can determine the SOLUTIONS to this set of SIMULTANEOUS LINEAR EQUATIONS but plugging in what we have up to this point, which gives us: 1 3 π= 2 15 β
1 4 3 1 β2 15
Carrying out our standard MATRIX OPERATIONS, we get: β2 π₯= 2 5 The SOLUTION to our set of SIMULTANEOUS LINEAR EQUATIONS is: π₯ = β2 π¦=
2 5
Made with
by Prepineer | Prepineer.com
We can do a quick confirmation of these results by plugging them in to the original equations, such that:
β β2 + 5
2 =2+2=4 5
2 β2 + 5
2 = β4 + 2 = β2 5 π
The correct answer choice is D. π = βπ πππ
π = π
Made with
by Prepineer | Prepineer.com