StatGardenREF. DESK
Calculators/Maths/2×2 matrix operations
Maths

2×2 matrix operations calculator

Add, subtract or multiply two 2×2 matrices, and scale one by a constant.

What this calculator does

2×2 matrix operations works out add, subtract or multiply two 2×2 matrices, and scale one by a constant. Enter your own figures above and the answer updates as you type: nothing is fixed in the code, so the result reflects exactly the numbers you supply.

The formula this calculator evaluates is printed under the tool and explained below, so you can check the working by hand or reuse it in a spreadsheet.

The formula

Formula(A+B)ᵢⱼ = Aᵢⱼ+Bᵢⱼ; (AB)ᵢⱼ = Σₖ Aᵢₖ·Bₖⱼ; scalar: (kA)ᵢⱼ = k·Aᵢⱼ

The inputs explained

FieldWhat to enter
A row 1, col 1A number. Starts at 1.
A row 1, col 2A number. Starts at 2.
A row 2, col 1A number. Starts at 3.
A row 2, col 2A number. Starts at 4.
B row 1, col 1A number. Starts at 5.
B row 1, col 2A number. Starts at 6.
B row 2, col 1A number. Starts at 7.
B row 2, col 2A number. Starts at 8.
Scalar kA number. Starts at 2.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How the answer changes with a row 1, col 1

Every other input is held at the calculator’s starting values while a row 1, col 1 varies. Select any row to load that scenario into the calculator.

How the answer changes with a row 1, col 1
A row 1, col 1A + BA − BA × B
0.5[ 5.50, 8.00 ; 10.00, 12.00 ][ -4.50, -4.00 ; -4.00, -4.00 ][ 16.50, 19.00 ; 43.00, 50.00 ]
0.75[ 5.75, 8.00 ; 10.00, 12.00 ][ -4.25, -4.00 ; -4.00, -4.00 ][ 17.75, 20.50 ; 43.00, 50.00 ]
1[ 6.00, 8.00 ; 10.00, 12.00 ][ -4.00, -4.00 ; -4.00, -4.00 ][ 19.00, 22.00 ; 43.00, 50.00 ]
1.5[ 6.50, 8.00 ; 10.00, 12.00 ][ -3.50, -4.00 ; -4.00, -4.00 ][ 21.50, 25.00 ; 43.00, 50.00 ]
2[ 7.00, 8.00 ; 10.00, 12.00 ][ -3.00, -4.00 ; -4.00, -4.00 ][ 24.00, 28.00 ; 43.00, 50.00 ]
3[ 8.00, 8.00 ; 10.00, 12.00 ][ -2.00, -4.00 ; -4.00, -4.00 ][ 29.00, 34.00 ; 43.00, 50.00 ]