Algebra Examples
2x+2y=62x+2y=6 , x+2y>9x+2y>9
Step 1
Introduce slack variables uu and vv to replace the inequalities with equations.
x+2y-Z=9x+2y−Z=9
2x+2y-6=02x+2y−6=0
Step 2
Add 66 to both sides of the equation.
x+2y-Z=9,2x+2y=6x+2y−Z=9,2x+2y=6
Step 3
Write the system of equations in matrix form.
[12092206][12092206]
Step 4
Step 4.1
Perform the row operation R2=R2-2R1R2=R2−2R1 to make the entry at 2,12,1 a 00.
Step 4.1.1
Perform the row operation R2=R2-2R1R2=R2−2R1 to make the entry at 2,12,1 a 00.
[12092-2⋅12-2⋅20-2⋅06-2⋅9][12092−2⋅12−2⋅20−2⋅06−2⋅9]
Step 4.1.2
Simplify R2R2.
[12090-20-12][12090−20−12]
[12090-20-12][12090−20−12]
Step 4.2
Multiply each element of R2R2 by -12−12 to make the entry at 2,22,2 a 11.
Step 4.2.1
Multiply each element of R2R2 by -12−12 to make the entry at 2,22,2 a 11.
[1209-12⋅0-12⋅-2-12⋅0-12⋅-12][1209−12⋅0−12⋅−2−12⋅0−12⋅−12]
Step 4.2.2
Simplify R2R2.
[12090106][12090106]
[12090106][12090106]
Step 4.3
Perform the row operation R1=R1-2R2R1=R1−2R2 to make the entry at 1,21,2 a 00.
Step 4.3.1
Perform the row operation R1=R1-2R2R1=R1−2R2 to make the entry at 1,21,2 a 00.
[1-2⋅02-2⋅10-2⋅09-2⋅60106][1−2⋅02−2⋅10−2⋅09−2⋅60106]
Step 4.3.2
Simplify R1R1.
[100-30106][100−30106]
[100-30106][100−30106]
[100-30106][100−30106]
Step 5
Use the result matrix to declare the final solutions to the system of equations.
x=0
y=6