keisoku

Matrix Scalar Multiplication

Multiply a matrix by a scalar k, scaling every entry by k to get the result matrix.

Input

Each line is one row of the matrix. Separate entries with spaces or commas.

Result

Result of multiplying by k = 2

2 × 3

Size

2 × 3

Scalar k

2

Result matrix

246
81012

How it works

  • Scalar multiplication of a matrix multiplies every entry by the same number k (a scalar). The size of the matrix does not change.
  • For a matrix A with entries aᵢⱼ, the matrix kA has entries k·aᵢⱼ.
  • A negative or fractional k lets you flip signs or shrink/scale the matrix. If k=0, every entry becomes 0.
  • Enter one matrix row per line, separating entries with spaces or commas. Every row must have the same number of columns.

Reviews

Tell us what you think of this calculator.

Write a review

  1. Home
  2. Matrix Scalar Multiplication