Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Vector Scalar Multiplication


Symbolic visualization of k · A = C, cell by cell.

Length of u?A scalar is a single number — not a vector or matrix. Multiplying by a scalar k preserves shape: the result has the same dimensions as the input, and every entry equals k times the corresponding input entry. The same idea applies to vectors and to matrices — only the shape of the operand differs.
ulength4
k·
u1×4
u1,1
u1,2
u1,3
u1,4
=
w1×4
?
?
?
?
Step 1 / 6

Step explanations

1Scalar multiplication
k is a scalar — a single number. To compute w = k · u, multiply every entry of u by k. w has the same length as u (4).







Getting Started with the Visualizer

Set the length of vv and watch kv=wkv = w build one component at a time.

• Use the Dimensions stepper to set the length of vv (1 to 5 components)
ww inherits the same length automatically
• Hover the ? icon for a reminder of what a scalar is and why the length is preserved
• Press play or step manually through the scene player; the speed selector and step log let you control pace and review

The scalar kk is shown symbolically in front of vv. The visualizer focuses on the structural rule — every component of vv gets multiplied by the same kk — not on any specific numerical value of kk.
Learn More

Reading the Scene Player

Each scene focuses on one component of ww.

• The active component in vv is highlighted primary; the destination component in ww is highlighted accent
• A curved arrow flows from viv_i into wiw_i, showing the scalar being applied
• Each filled component of ww shows its symbolic content kvik \cdot v_i
• The step log on the right keeps a record of completed components

By the final scene, every component of ww holds its symbolic product and the operation is complete.
Learn More

Choosing Vector Length

The dimension stepper controls the length of vv, and ww follows automatically.

• Start with length 22 or 33 to see the per-component flow clearly — these match vectors in the plane and in 3D space
• Increase to 44 or 55 to see how the same rule scales to higher dimensions; total scenes equal the length nn
• Symbolic content in ww shrinks automatically as the vector grows, so kvik \cdot v_i stays readable
• Both row and column orientations follow identical rules — scalar multiplication has no length restriction
Learn More

What Scalar Multiplication Is

Scalar multiplication takes a number kk and a vector vv and produces a vector kvkv of the same length, with every component multiplied by kk:

(kv)i=kvi(kv)_i = k \cdot v_i


It's the simplest non-trivial vector operation. There are no length restrictions — any vector can be scaled. The result has the same length as vv, and every component depends only on kk and its own value in vv.

Geometrically, scalar multiplication stretches or shrinks a vector along its direction (and flips it when kk is negative). Together with vector addition, scalar multiplication is what makes Rn\mathbb{R}^n a vector space.

For comprehensive theory, see vector operations.
Learn More

Key Properties

Scalar multiplication satisfies clean algebraic rules.

Associativity with scalars: (kl)v=k(lv)(kl)v = k(lv)
Distributivity over vector addition: k(u+v)=ku+kvk(u + v) = ku + kv
Distributivity over scalar addition: (k+l)v=kv+lv(k + l)v = kv + lv
Identity scalar: 1v=v1 \cdot v = v
Zero scalar: 0v=00 \cdot v = 0 (zero vector of the same length)
Sign flip: (1)v=v(-1) \cdot v = -v
Compatibility with the dot product: (kv)u=k(vu)(kv) \cdot u = k(v \cdot u)
Effect on magnitude: kv=kv\|kv\| = |k| \cdot \|v\|

These properties are exactly the eight vector-space axioms for scalar multiplication.
Learn More

Why It Matters

Scalar multiplication is the operation that lets vectors form a vector space, and it appears everywhere combinations of vectors appear.

Linear combinations: any expression c1v1+c2v2++cnvnc_1 v_1 + c_2 v_2 + \cdots + c_n v_n uses scalar multiplication
Normalization: dividing vv by its norm produces a unit vector v/vv / \|v\|
Sign changes: v-v is just scalar multiplication by 1-1, pointing in the opposite direction
Geometric transformations: scaling by kk stretches or shrinks length while preserving direction
Physics: force, velocity, and momentum vectors are routinely rescaled by dimensionless constants
Gradient descent and optimization: the step θθηL\theta \leftarrow \theta - \eta \nabla L uses scalar multiplication of the gradient vector by the learning rate η\eta
Learn More

Worked Example

Take vv as a vector in R3\mathbb{R}^3 and k=3k = 3:

v=(124)v = \begin{pmatrix} 1 \\ -2 \\ 4 \end{pmatrix}


Then 3v3v multiplies every component by 3:

3v=(3612)3v = \begin{pmatrix} 3 \\ -6 \\ 12 \end{pmatrix}


With k=1k = -1 instead:

v=(124)-v = \begin{pmatrix} -1 \\ 2 \\ -4 \end{pmatrix}


And with k=0k = 0, the result is the zero vector in R3\mathbb{R}^3.

Geometrically, 3v3v points the same direction as vv but is three times as long, while v-v has the same length but points the opposite way. Set the visualizer to length 33 and step through to see this animated symbolically.
Learn More

Common Mistakes

A few mistakes recur.

Multiplying only the first componentkk multiplies *every* component, not just one
Confusing scalar multiplication with the dot product — scalar multiplication uses one number and returns a vector; the dot product uses two vectors and returns a number
Confusing scalar multiplication with the Hadamard productkvkv uses a single scalar; component-wise multiplication uses an entire vector of multipliers
Thinking the length changeskvkv always has the same number of components as vv, regardless of kk
Forgetting sign flips count as scalar multiplicationv-v is (1)v(-1) \cdot v
Confusing magnitude with components — multiplying by kk scales the magnitude by k|k|, but each component is scaled by kk itself, sign and all
Learn More

Related Concepts

Vector addition — the component-wise additive operation; pairs with scalar multiplication to make vectors a vector space.

Dot product — the bilinear operation that takes two vectors and returns a scalar.

Hadamard product — component-wise multiplication of two vectors; the vector-by-vector analogue of scalar multiplication.

Linear combinationc1v1++cnvnc_1 v_1 + \cdots + c_n v_n, the central object built from scalar multiplication and addition.

Vector space — the abstract structure vectors form under addition and scalar multiplication.

Unit vector — a vector of norm 11, obtained by multiplying vv by the scalar 1/v1/\|v\|.

Zero vector — the result of multiplying any vector by the scalar 00.

Magnitude (norm)kv=kv\|kv\| = |k| \cdot \|v\| links scalar multiplication directly to length.
Learn More