Linear Algebra, Interactive EditionXYZ Homework Edition

⇩ Download ▾

0.4 Scalar Multiples: Stretch, Shrink, Reverse

The second operation on vectors is multiplication by a number. Doubling a vector doubles its length and keeps its direction; halving it halves the length. A number used this way is called a scalar, because scaling is exactly what it does, and the product k๐ฏk\mathbf{v} is a scalar multiple of ๐ฏ\mathbf{v}. Two cases need a moment's thought. Multiplying by โˆ’1-1 gives โˆ’๐ฏ-\mathbf{v}, the vector of the same length pointing the opposite way โ€” the additive inverse of the last section โ€” and any negative scalar both scales and reverses. Multiplying by 00 gives the zero vector, whatever ๐ฏ\mathbf{v} was.

The figure keeps a fixed vector ๐ฏ=(2,1)\mathbf{v} = (2, 1) and draws k๐ฏk\mathbf{v} on a slider that runs through negative values, over the dashed line of all multiples.

Interactive figureScalar multiples of a vectorDrag the the scalar slider from -3 to 3.
A short red arrow from the origin to (2, 1), the vector v, and a longer blue arrow from the origin along the same direction to (2k, k), the vector kv, for a slider value k that starts at 1.5. A dashed gray line through the origin with slope one half runs across the whole figure, and the tip of the blue arrow stays on that line for every slider value. Dragging k toward zero shortens the blue arrow until it vanishes at k = 0; dragging k negative makes it reappear on the far side of the origin, pointing opposite to the red arrow, growing as k decreases; at k = 1 it lies exactly on top of the red arrow. Adjustable parameter: the scalar (k) = 1.5. Viewing window: x from -6.55 to 6.55, y from -3.79 to 3.79.
XYZ Graph · viewer build 5edf91b
The vector ๐ฏ=(2,1)\mathbf{v} = (2, 1) in red and its multiple k๐ฏk\mathbf{v} in blue, with kk on a slider. The dashed line through the origin is the set of all multiples of ๐ฏ\mathbf{v}.

Explore the figure

  1. At the starting value k=1.5k = 1.5, the blue arrow ends at (3,1.5)(3, 1.5): each component of ๐ฏ\mathbf{v} multiplied by 1.51.5. It points the way ๐ฏ\mathbf{v} points and is one and a half times as long.
  2. Drag kk to 0.50.5. The arrow is half of ๐ฏ\mathbf{v}, ending at the midpoint (1,0.5)(1, 0.5) of the red arrow. Now drag kk to 33: the arrow triples, to (6,3)(6, 3).
  3. Drag kk to 00. The blue arrow shrinks to nothing: 0๐ฏ0\mathbf{v} is the zero vector, with no length to draw and no direction to point.
  4. Drag kk to โˆ’1-1. The arrow reappears on the other side of the origin, ending at (โˆ’2,โˆ’1)(-2, -1), the same length as ๐ฏ\mathbf{v} and pointing the opposite way. That is โˆ’๐ฏ-\mathbf{v}; at k=โˆ’2k = -2 it is twice as long and still reversed.
  5. Sweep kk across its whole range and watch the blue tip. It never leaves the dashed line. The multiples of one nonzero vector fill exactly one line through the origin, and every point of that line is one of them.

Why components scale

The figure shows components scaling with the arrow, and a similar-triangles argument says why. The arrow ๐ฏ=(v1,v2)\mathbf{v} = (v_1, v_2) is the hypotenuse of a right triangle with legs v1v_1 and v2v_2 along the axes. Stretching the hypotenuse by a factor k>0k > 0 from the origin produces a similar triangle, with every side stretched by kk; its legs are kv1kv_1 and kv2kv_2, and those are the components of the stretched arrow. A negative kk reflects the triangle through the origin as well, which negates both legs. The same argument runs in space with three legs, and in โ„n\mathbb{R}^n we take the component rule as the definition:

k ๐ฏ = ( k v 1 , k v 2 , โ€ฆ , k v n ) k\mathbf{v} = (kv_1, \; kv_2, \; \dots, \; kv_n)

Length behaves as the picture promised. Squaring each component multiplies it by k2k^2, so |k๐ฏ|2=k2|๐ฏ|2|k\mathbf{v}|^2 = k^2 |\mathbf{v}|^2 and

| k ๐ฏ | = | k | | ๐ฏ | |k\mathbf{v}| = |k| \, |\mathbf{v}|

with the absolute value on kk because a length cannot be negative: โˆ’2๐ฏ-2\mathbf{v} is twice as long as ๐ฏ\mathbf{v}, not minus twice as long.

Two nonzero vectors that are scalar multiples of each other lie along one line, and we call them parallel โ€” which includes the case of pointing opposite ways. Conversely, if ๐ฐ\mathbf{w} lies on the line through ๐ฏ\mathbf{v} then ๐ฐ=k๐ฏ\mathbf{w} = k\mathbf{v} for the unique kk that scales ๐ฏ\mathbf{v} to the right length and sign. Testing for parallelism is therefore a component question: is there one number kk that works for every component at once?

Scalar multiplication brings the last four rules of vector arithmetic, again because each is a rule of ordinary numbers applied in every component. For all vectors ๐ฎ\mathbf{u}, ๐ฏ\mathbf{v} and scalars kk, pp:

The first is worth writing out once. The iith component of k(๐ฎ+๐ฏ)k(\mathbf{u} + \mathbf{v}) is k(ui+vi)=kui+kvik(u_i + v_i) = ku_i + kv_i, which is the iith component of k๐ฎ+k๐ฏk\mathbf{u} + k\mathbf{v}; and two vectors whose components all agree are the same vector. Together with the four rules for addition, these eight are everything the rest of the book uses about the two operations. That is worth saying precisely, because it is what Chapter 2 leans on: every argument there about spans, subspaces and independence is built from these eight rules and nothing else about what a vector is. Mathematicians take the same eight as the definition of a vector space, which is what lets the subject reach objects that are not lists of numbers at all โ€” functions, polynomials, matrices. This book stays inside โ„n\mathbb{R}^n, so that generalization is a door we point at rather than walk through.

[7โˆ’68]\begin{bmatrix}7 \\ -6 \\ 8\end{bmatrix}
The combination, computed โœ“ Computed ยท mojocas 0.1.0 โœ“ Agrees with the text The combination, computed, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The vector 3๐ฎ+๐ฏ3\mathbf{u} + \mathbf{v} of the worked example, with 3๐ฎ3\mathbf{u} written out as a column and ๐ฏ\mathbf{v} added by a computer algebra system: (7,โˆ’6,8)(7, -6, 8).

17\sqrt{17}
The length of v โœ“ Computed ยท mojocas 0.1.0 โœ“ Agrees with the text The length of v, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The length of ๐ฏ=(4,0,โˆ’1)\mathbf{v} = (4, 0, -1): 17\sqrt{17}.

3ยท173 \cdot \sqrt{17}
And the length of 3v โœ“ Computed ยท mojocas 0.1.0 โœ“ Agrees with the text And the length of 3v, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The same vector with every component tripled. The engine returns 3173\sqrt{17} rather than 153\sqrt{153}, so the two cards can be read side by side: scaling by 33 multiplied the length by exactly 33, which is the rule |k๐ฏ|=|k||๐ฏ||k\mathbf{v}| = |k|\,|\mathbf{v}| with the scalar left visible in the answer.

3ยท173 \cdot \sqrt{17}
A negative scalar gives the same length โœ“ Computed ยท mojocas 0.1.0 โœ“ Agrees with the text A negative scalar gives the same length, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

And โˆ’3๐ฏ-3\mathbf{v}, whose length is 3173\sqrt{17} too. That is the absolute value in the rule: a negative scalar reverses the arrow without shortening it, and a length is never negative.

11
Parallel vectors, as a rank โœ“ Computed ยท mojocas 0.1.0 โœ“ Agrees with the text Parallel vectors, as a rank, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The two rows ๐ฎ\mathbf{u} and ๐ฐ\mathbf{w} stacked into a matrix. A computer algebra system reports rank 11: the pair contains only one independent direction, which is what "parallel" means. Rank is Chapter 2's word for this; here it is only a machine-checkable form of the worked example's yes.

22
Not parallel, as a rank โœ“ Computed ยท mojocas 0.1.0 โœ“ Agrees with the text Not parallel, as a rank, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The rows ๐ฎ\mathbf{u} and ๐ณ\mathbf{z}: rank 22, two genuinely different directions. The worked example's no, certified.

An original work of XYZ Homework, built around interactive XYZ 3D figures. Its chapter sequence is aligned to Interactive Linear Algebra (Margalit & Rabinoff, Georgia Tech, GNU FDL); this work is original, copies nothing from it, and is not affiliated with or endorsed by its authors. License: CC-BY-NC-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.