Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Solve for linear equation with multiple variables

Rating
-
Sold
-
Pages
7
Uploaded on
26-04-2025
Written in
2024/2025

Solve for linear equation with multiple variables by using different methods like Gauss Elimination, LU Decomposition, Cramer's Rule and so on.

Institution
Course

Content preview

Method 1&2 Graphical method and Cramer's Rule

There are several methods appropriate for solving
small (n  3) sets of simultaneous equations

Method 1: Graphical method
This method is to draw the equation's line then
find the interception points.
We won't show it here.

Method 2: Cramer's Rule

These equations will be solved by using different methods
later.
Step 1: Express the equation in matrix form.




Step 2: Find the determinant of [A]



Step 3: Find the determinant of xi, i = 1, 2, 3
To define [xi], replace the 'i' column of [A] to [B], the other column is same with [A]




Step 4: Find xi by




CLO2 Linear eqns with multiple variables solving Page 1

, Method 3: Gauss Elimination

Method 3: Gauss Elimination
There are two phases of Gauss Elimination
• Forward Elimination
• Back substituting




Step 1: Forward Elimination



Step 1.1: Express the equation in matrix form.




Step 1.2: Row 3 of [A] and [B] - a31/a11 * Row 1 of [A] and [B]. This step is to make a31 = 0.



Step 1.3: Row 2 - a21/a11 * Row 1. This step is to make a21 = 0.



Step 1.3: Row 3 - a32'/a22' * Row 2. This step is to make a32 = 0. (a32' and a22' are the new a after step 1.2 and step 1.3)




Now, we have completed forward elimination, our matrix now is


Step 2: Back substituting
Step 2.1: Multiply Row 3 of [A] with {x}.
We can get 5.3519*x3 = -32.1111, then we can solve for x3.
x3 = -32.1111/5.3519 = -6

Step 2.2: Multiply Row 2 of [A] with {x}.
We can get -5.4*x2 + 1.7*x3 = -53.4, we know that x3 = -6
then we can solve for x2
x2 = (-53.4 - 1.7*-6)/-5.4 = 8

Step 2.3: Multiply Row 1 of [A] with {x}.
We can get 10*x1 + 2*x2 - *x3 = 27, we know that x2 = 8 and

CLO2 Linear eqns with multiple variables solving Page 2

Written for

Institution
Course

Document information

Uploaded on
April 26, 2025
Number of pages
7
Written in
2024/2025
Type
Class notes
Professor(s)
-
Contains
Clo2

Subjects

$3.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
bht1

Get to know the seller

Seller avatar
bht1 UCSI
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions