Linear-Algebra-Done-Right Β· Unit 1 Β· Video 2 Β· Interactive Practice

Lists and Fⁿ: Coordinate Addition and a First Proof

IKey Formulas

FormulaNameWhat it says
Fn={(x1,…,xn):xk∈FΒ forΒ k=1,…,n}\mathbf{F}^n = \{(x_1, \dots, x_n) : x_k \in \mathbf{F} \text{ for } k = 1, \dots, n\}The space Fn\mathbf{F}^nAll lists of length nn of scalars; xkx_k is the kthk^\text{th} coordinate
(x1,…,xn)+(y1,…,yn)=(x1+y1,…,xn+yn)(x_1, \dots, x_n) + (y_1, \dots, y_n) = (x_1 + y_1, \dots, x_n + y_n)Addition in Fn\mathbf{F}^nAdd corresponding coordinates
x+y=y+xx + y = y + x for all x,y∈Fnx, y \in \mathbf{F}^nCommutativityInherited from commutativity in F\mathbf{F}
0=(0,…,0)0 = (0, \dots, 0), Β x+0=x\ x + 0 = xZero listThe additive identity of Fn\mathbf{F}^n

Key Insight: A property of addition in Fn\mathbf{F}^n is proved one coordinate at a time, from the same property of addition in F\mathbf{F}.

IIVisualization 1 β€” Lists versus Sets

Two lists are equal only with the same length and the same entries in the same order; sets ignore both.

List A List B

πŸ’‘ Every list has a finite length, so (x1,x2,… )(x_1, x_2, \dots) is not a list, while the empty list ( )(\,) of length 00 is one.

IIIVisualization 2 β€” Adding Corresponding Coordinates

Addition in Fn\mathbf{F}^n is nn separate scalar sums, one per coordinate, so it works for every nn.

IVVisualization 3 β€” The Proof of Commutativity

Commutativity in Fn\mathbf{F}^n is commutativity in F\mathbf{F}, applied once in each coordinate.

LineGeneral: x,y∈Fnx, y \in \mathbf{F}^nInstance in C2\mathbf{C}^2: x=(2+i,Β βˆ’3)x = (2 + i,\ -3), y=(1βˆ’4i,Β 5)y = (1 - 4i,\ 5)
1x+y=(x1,…,xn)+(y1,…,yn)x + y = (x_1, \dots, x_n) + (y_1, \dots, y_n)x+y=(2+i,Β βˆ’3)+(1βˆ’4i,Β 5)x + y = (2 + i,\ -3) + (1 - 4i,\ 5)

VQuiz Questions

Problem 1 · Addition in R⁴

Given: x=(1,βˆ’2,0,3)x = (1, -2, 0, 3) and y=(4,5,βˆ’1,βˆ’3)y = (4, 5, -1, -3) in R4\mathbf{R}^4 β€” find x+yx + y.

βœ… Correct! Each coordinate of x+yx + y is the sum of the matching coordinates: 1+41 + 4, βˆ’2+5-2 + 5, 0+(βˆ’1)0 + (-1), 3+(βˆ’3)3 + (-3).
❌ Check the signs. One coordinate sum has a sign slip: βˆ’2+5=3-2 + 5 = 3 and 3+(βˆ’3)=03 + (-3) = 0.
❌ Not quite. 77 is the total of all eight entries, a single number. The sum of two elements of R4\mathbf{R}^4 is again a list of length 44.
❌ Not quite. Add corresponding coordinates, one at a time.
Show solution

By the definition of addition in R4\mathbf{R}^4:

x+y=(1+4,Β βˆ’2+5,Β 0+(βˆ’1),Β 3+(βˆ’3))=(5,3,βˆ’1,0).x + y = (1 + 4,\ -2 + 5,\ 0 + (-1),\ 3 + (-3)) = (5, 3, -1, 0).

The answer is a list of length 44, not a number: addition in Fn\mathbf{F}^n never mixes different coordinates.

Problem 2 Β· Lists or Sets?

Which of these equalities is true?

βœ… Correct! A set ignores order and repetition, so {7,2,7}\{7, 2, 7\} and {2,7}\{2, 7\} have exactly the same elements.
❌ Not quite. In a list order matters: the first coordinates are 33 and 55, which differ.
❌ Not quite. In a list repetition has meaning: these lists have lengths 22 and 33, so they are not equal. (The sets {4,4}\{4, 4\} and {4,4,4}\{4, 4, 4\} are equal.)
❌ Not quite. ( )(\,) has length 00, while (0)(0) is a list of length 11 whose only entry is the number 00.
❌ Not quite. Lists are equal exactly when they have the same length and the same elements in the same order.
Show solution
  • (a) False: same length 22, but the first coordinates 3β‰ 53 \ne 5.
  • (b) False: lengths 2β‰ 32 \ne 3.
  • (c) False: lengths 0β‰ 10 \ne 1.
  • (d) True: both sets have exactly the elements 22 and 77; writing 77 twice adds nothing.

Problem 3 Β· Sum and Zero in CΒ²

Given: x=(2+i,Β 3i)x = (2 + i,\ 3i) and y=(1βˆ’i,Β 4)y = (1 - i,\ 4) in C2\mathbf{C}^2 β€” find x+yx + y, and the element w∈C2w \in \mathbf{C}^2 with x+w=xx + w = x.

What is x + y?

Which w satisfies x + w = x?

βœ… Correct! x+y=(3,Β 4+3i)x + y = (3,\ 4 + 3i), and the zero list (0,0)(0, 0) is the additive identity: x+(0,0)=(2+i+0,Β 3i+0)=xx + (0, 0) = (2 + i + 0,\ 3i + 0) = x.
❌ Check the first coordinate. (2+i)+(1βˆ’i)=3+(iβˆ’i)=3(2 + i) + (1 - i) = 3 + (i - i) = 3.
❌ Not quite. 3i+43i + 4 is the complex number 4+3i4 + 3i; a real part and an imaginary part do not combine into 7i7i.
❌ Not quite. That adds all four entries into one complex number. The sum of two elements of C2\mathbf{C}^2 is a list of length 22.
❌ Not quite. Adding ww must leave every coordinate of xx unchanged.
❌ Not quite. The sum of an element of C2\mathbf{C}^2 and a number has not been defined, so x+0x + 0 only makes sense with 00 the zero list (0,0)(0, 0).
❌ Not quite. That ww is βˆ’x-x: it gives x+w=(0,0)x + w = (0, 0), not xx.
Show solution

Sum. Add corresponding coordinates, using complex addition in each:

x+y=((2+i)+(1βˆ’i),Β 3i+4)=(3,Β 4+3i).x + y = \big((2 + i) + (1 - i),\ 3i + 4\big) = (3,\ 4 + 3i).

Identity. Write w=(w1,w2)w = (w_1, w_2). Then x+w=(2+i+w1,Β 3i+w2)x + w = (2 + i + w_1,\ 3i + w_2), which equals xx exactly when 2+i+w1=2+i2 + i + w_1 = 2 + i and 3i+w2=3i3i + w_2 = 3i, that is w1=w2=0w_1 = w_2 = 0. So w=(0,0)w = (0, 0), the zero list of C2\mathbf{C}^2.

Problem 4 Β· Transfer: Associativity

Given: the proof that (x+y)+z=x+(y+z)(x + y) + z = x + (y + z) for x,y,z∈Fnx, y, z \in \mathbf{F}^n, written like the commutativity proof:

(x+y)+z=((x1+y1)+z1,…,(xn+yn)+zn)=(x1+(y1+z1),…,xn+(yn+zn))=x+(y+z).\begin{aligned}(x + y) + z &= \big((x_1 + y_1) + z_1, \dots, (x_n + y_n) + z_n\big)\\ &= \big(x_1 + (y_1 + z_1), \dots, x_n + (y_n + z_n)\big)\\ &= x + (y + z).\end{aligned}

Which fact justifies the middle equality?

βœ… Correct! Each coordinate changes from (xk+yk)+zk(x_k + y_k) + z_k to xk+(yk+zk)x_k + (y_k + z_k), which is associativity of scalars, and lists with equal coordinates are equal.
❌ Not quite. No two terms change places in the middle line; only the grouping of the parentheses changes.
❌ Not quite. That is the statement being proved, so using it would be circular.
❌ Not quite. The definition of addition in Fn\mathbf{F}^n produces the first and last equalities. The middle one changes what happens inside each coordinate.
❌ Not quite. Look at what changes inside a single coordinate.
Show solution

The first equality applies the definition of addition in Fn\mathbf{F}^n twice (first x+yx + y, then adding zz). In the middle equality, coordinate kk changes from (xk+yk)+zk(x_k + y_k) + z_k to xk+(yk+zk)x_k + (y_k + z_k), which is associativity of addition in F\mathbf{F}. It is used nn times, once per coordinate, and lists whose coordinates agree are equal. The last equality reads the definition of addition in Fn\mathbf{F}^n from right to left.

The pattern is the same as in the commutativity proof: the property in Fn\mathbf{F}^n is inherited coordinate by coordinate from the same property in F\mathbf{F}.

Solved: 0 / 4