2x2 Scalar Matrix Multiplication Calculator

Enter a scalar and a 2×2 matrix to multiply them.

How it is calculated

The matrix is entered row by row as [a b; c d], so a and b are the top row and c and d the bottom row, and the scalar is k. Every entry is multiplied by k: k × [a b; c d] = [ka kb; kc kd]. The result is shown as two rows, each with its two entries separated by a comma and a space. All five fields are required; an empty field gives no result. Any real number is allowed, including negatives and zero. A scalar of 0 gives a zero matrix and a scalar of −1 flips every sign. Entries show at most four decimals with trailing zeros removed, but a small non-zero product keeps its digits (up to 12 decimals) so it does not show as 0. A product above 9×1015 in size gives no result, because its digits could not be shown exactly.

Worked example

Multiply the matrix with top row 1, 4 and bottom row 0.5, −3 by the scalar −2.5. Top row: −2.5 × 1 = −2.5 and −2.5 × 4 = −10, shown as -2.5, -10. Bottom row: −2.5 × 0.5 = −1.25 and −2.5 × −3 = 7.5, shown as -1.25, 7.5. The new matrix has the same 2×2 shape; each entry is 2.5 times larger in size and has the opposite sign, because the scalar is negative.

Try this example →

Common mistakes

  • Multiplying only one row or one entry. Scalar multiplication changes every entry, so all four values must be scaled.
  • Mixing up the order of entries. The first two fields are the top row (a, b) and the last two are the bottom row (c, d), not the first column.
  • Forgetting that a negative scalar flips all the signs, including entries that were already negative; −3 becomes +7.5 here.
  • Confusing scalar multiplication with matrix multiplication. Multiplying by a number only scales entries; it does not mix rows and columns, and the determinant changes by k².
  • Reading the commas in the output as a list of four numbers. The result is two rows, with the comma separating the two entries of a row.

About this calculator

Scalar multiplication of a matrix is the simplest matrix operation: every single entry of the matrix is multiplied by the same number, called the scalar. For a 2×2 matrix with entries a, b, c, d, multiplying by scalar k gives a new 2×2 matrix with entries ka, kb, kc, kd — the matrix's shape never changes, only the size of every value inside it.

This operation is a building block for almost everything else done with matrices: scaling a matrix by a constant shows up when uniformly resizing a shape in computer graphics, adjusting the magnitude of a physical quantity represented as a matrix in physics and engineering, and combining scalar multiplication with matrix addition and multiplication is exactly how linear algebra courses introduce the vector space structure that matrices form.

Enter a scalar value and the four entries of a 2×2 matrix, and the calculator multiplies every entry by the scalar and returns the resulting matrix.

Was this helpful?

You can pick up to 3 reactions.

Comments (0)

  • Be the first to comment.

Popular calculators

All Calculators