Matrix Scalar Multiplication Calculator Formula

Understand the math behind the matrix scalar multiplication calculator. Each variable explained with a worked example.

Formulas Used

Ka

ka = scalar * a

Kb

kb = scalar * b

Kc

kc = scalar * c

Kd

kd = scalar * d

New Det

new_det = pow(scalar, 2) * (a * d - b * c)

Variables

VariableDescriptionDefault
scalarScalar (k)3
aa (row 1, col 1)1
bb (row 1, col 2)2
cc (row 2, col 1)3
dd (row 2, col 2)4

How It Works

Scalar Multiplication of a Matrix

Rule

k × [[a, b], [c, d]] = [[ka, kb], [kc, kd]]

Multiply every element by the scalar.

Properties

  • det(kA) = k^n × det(A) for an n×n matrix (k² × det for 2×2)
  • Scalar multiplication distributes over addition: k(A + B) = kA + kB
  • (jk)A = j(kA)
  • Worked Example

    Multiply [[1,2],[3,4]] by scalar 3.

    scalar = 3a = 1b = 2c = 3d = 4
    1. 013 × [[1,2],[3,4]] = [[3,6],[9,12]]
    2. 02Original det = 1×4 - 2×3 = -2
    3. 03New det = 9 × (-2) = -18 = 3² × (-2)