Linear Algebra
Scalar × Matrix
Multiply every entry by a scalar.
Formula
Formula
C = k·A
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| k | scalar | real number (ℝ) | — | input |
| A | matrix | real matrix | — | input |
Try it yourself
Interactive calculator
Worked examples
Example 1
Givenscalar k = 3, A = 1, 2; 3, 4
Result
| 3 | 6 |
| 9 | 12 |
Example 2
Givenscalar k = -1, A = 5, 6; 7, 8
Result
| -5 | -6 |
| -7 | -8 |