~/tedtes/writing/math-foundations-for-reasoning-models

~/writing/math-foundations-for-reasoning-models $ ls

Vectors as Data

Scalar Multiplication

Scalar multiplication changes a vector by multiplying every component by one scalar.

~/writing/math-foundations-for-reasoning-models $ cat topic.md

Scalar Multiplication

Definition

Scalar multiplication multiplies every component of a vector by the same scalar.

Example:

3 * [2, 4] = [6, 12]

Because:

3 * 2 = 6
3 * 4 = 12

Scalar multiplication changes the size of a vector component by component.


Scaling Up

If the scalar is greater than 1, the vector becomes larger.

Example:

2 * [3, 5] = [6, 10]

Each component doubles.

Multiplying by a larger scalar scales the vector up.


Scaling Down

If the scalar is between 0 and 1, the vector becomes smaller.

Example:

0.5 * [8, 10] = [4, 5]

Each component is cut in half.

A fractional scalar scales the vector down.


Multiplying By Zero

Multiplying by 0 produces the zero vector.

Example:

0 * [8, 10] = [0, 0]

All component information is collapsed to zero.

Multiplying by zero removes the vector's component values.


Multiplying By Negative Values

A negative scalar flips the sign of each component.

Example:

-1 * [3, 5] = [-3, -5]

The vector points in the opposite direction.

Another example:

-2 * [3, 5] = [-6, -10]

This both scales and reverses direction.

Negative scalar multiplication changes size and direction.


Structure Is Preserved

Scalar multiplication does not change dimension.

Example:

[2, 4, 6]

has dimension 3.

After scaling:

5 * [2, 4, 6] = [10, 20, 30]

The result still has dimension 3.

Scalar multiplication changes values, not vector shape.


Why It Matters

Scalar multiplication lets computation adjust the strength of vector data.

Example:

original = [2, 4]
scaled   = 3 * original
scaled   = [6, 12]

The pattern is preserved, but the size changes.

Scaling changes magnitude while keeping component relationships aligned.


Final Summary

  • Scalar multiplication multiplies every component by one scalar.
  • It can scale a vector up or down.
  • Multiplying by zero produces the zero vector.
  • Negative scalars reverse direction.
  • Dimension stays the same.
  • Scaling changes size while preserving vector structure.

~/writing/math-foundations-for-reasoning-models $ open

Continue the series.

Zero Vector