Coordinate by coordinate; the additive identity is (0,0,0,…)
(f+g)(x)=f(x)+g(x), (λf)(x)=λf(x)
Operations on FS
Point by point, for all x∈S
0(x)=0, (−f)(x)=−f(x)
Identity and inverse in FS
The zero function and the negative of f, for all x∈S
Key Insight: A vector space is a set V with an addition and a scalar multiplication on V satisfying six properties (commutativity, associativity, additive identity, additive inverse, multiplicative identity, distributive properties) and nothing more, so its vectors may be lists, sequences or functions.
IIVisualization 1 — Testing the Six Properties
A set with two operations is a vector space only if all six properties hold for every choice of vectors and scalars.
💡 A check at chosen values can refute a property but never prove it; a proof must cover all u,v,w∈V and all a,b∈F.
IIIVisualization 2 — Pointwise Operations in R[0,1]
In R[0,1] the vectors are functions, and sums and scalar multiples are computed one point x at a time.
IVVisualization 3 — Lists as Functions
A list x∈Fn is the function k↦xk on {1,…,n}, so coordinate addition is pointwise addition.
VQuiz Questions
Problem 1 · A Coordinate in R^∞
Given:x=(1,2,3,…) with xk=k, and y=(1,−1,1,−1,…) with yk=(−1)k+1, both in R∞ — find the fourth coordinate of 2x+3y.
✅ Correct! Operations on R∞ act coordinate by coordinate: 2x4+3y4=2⋅4+3⋅(−1)=5.
❌ Check the sign of y4.y4=(−1)4+1=(−1)5=−1, not 1.
❌ That is the third coordinate.2x3+3y3=6+3=9; the fourth uses x4=4 and y4=−1.
❌ The scalars do not combine like that.15=(2+3)(4−1), but the coordinate is 2x4+3y4: each scalar multiplies its own sequence.
❌ Not quite. Compute 2x4 and 3y4 separately, then add.
Show solution
Scalar multiplication and addition in R∞ work coordinate by coordinate, so the kth coordinate of 2x+3y is 2xk+3yk.
x4=4,y4=(−1)5=−12x4+3y4=2⋅4+3⋅(−1)=8−3=5
Indeed 2x+3y=(5,1,9,5,13,…), whose fourth coordinate is 5.
Problem 2 · A Hidden Failure
Given:V=R2 with the usual addition but the scalar multiplication λ(x1,x2)=(λx1,x2) — which property fails?
✅ Correct!(a+b)v=((a+b)x1,x2) but av+bv=((a+b)x1,2x2): the second coordinate is counted twice.
❌ That one holds.1(x1,x2)=(1⋅x1,x2)=(x1,x2).
❌ That one holds. Both sides equal (abx1,x2), since the second coordinate is never touched.
❌ That one holds.a(u+v)=(a(u1+v1),u2+v2) and au+av=(au1+av1,u2+v2) agree.
❌ Not quite. Compute both sides of each property in the second coordinate.
Show solution
Addition is the usual one, so commutativity, associativity of addition, the additive identity (0,0) and additive inverses all hold. Check the properties that involve scalars, with u=(u1,u2) and v=(x1,x2):
1v=(x1,x2)=v ✓
(ab)v=(abx1,x2) and a(bv)=a(bx1,x2)=(abx1,x2) ✓
(a+b)v=((a+b)x1,x2), but av+bv=(ax1,x2)+(bx1,x2)=((a+b)x1,2x2) ✗
Counterexample: a=b=1, v=(0,1) gives 2v=(0,1) but v+v=(0,2). So V is not a vector space, and only the second distributive property fails.
Problem 3 · Functions on a Three-Point Set
Given:S={1,2,3} and f,g∈RS with f(k)=k2−2 and g(k)=3−k — find the values of h=2f+(−1)g and the additive inverse of f.
What is (h(1),h(2),h(3))?
Which function is −f?
✅ Correct!h=(−4,3,14) point by point, and f(k)+(2−k2)=0 at every k∈S, so −f is k↦2−k2.
❌ That is f−g. The scalar 2 multiplies every value of f: 2f=(−2,4,14).
❌ That is 2f+g. The scalar −1 turns g=(2,1,0) into (−2,−1,0).
❌ That is 2(f−g). Only f is doubled; g is multiplied by −1.
❌ That is a multiplicative inverse. The additive inverse must give f(k)+h(k)=0; at k=1, −1+(−1)=−2=0.
❌ Check the constant term.(k2−2)+(−k2−2)=−4, not 0: negate both terms.
❌ That is the additive identity.f+0=f, and f is not the zero function, since f(1)=−1; the inverse must give f+(−f)=0.
❌ Check h. Evaluate 2f(k)−g(k) at k=1,2,3.
❌ Check −f. It is defined by (−f)(k)=−f(k).
Show solution
Tabulate: f=(f(1),f(2),f(3))=(−1,2,7) and g=(2,1,0). The operations are pointwise, h(k)=2f(k)+(−1)g(k):
h(1)=2(−1)−2=−4,h(2)=2(2)−1=3,h(3)=2(7)−0=14
In formula form h(k)=2(k2−2)−(3−k)=2k2+k−7, which gives the same three values.
The additive inverse is defined by (−f)(k)=−f(k)=−(k2−2)=2−k2. Check: (f+(−f))(k)=(k2−2)+(2−k2)=0=0(k) for every k∈S, so f+(−f) is the zero function.
Problem 4 · A Vector Space of Positive Numbers
Given:V=(0,∞) with addition u⊕v=uv and scalar multiplication λ⊙v=vλ for λ∈R; with these operations V is a real vector space — find its additive identity and the additive inverse of 5.
What is the additive identity of V?
What is the additive inverse of 5?
✅ Correct!v⊕1=v⋅1=v, so the zero vector of V is the number 1, and 5⊕51=1.
❌ 0 is not in V=(0,∞). The zero vector is whatever element z∈V satisfies v⊕z=vz=v.
❌ The zero vector need not be the number 0. Solve v⊕z=v, that is vz=v, inside V.
❌ Test it.v⊕e=ev=v; for instance 2⊕e=2e. The zero vector z must satisfy v⊕z=vz=v.
❌ 0 is not in V=(0,∞). The inverse w must satisfy 5⊕w=5w=1, the zero vector of V.
❌ −5 is not in V. Also 5⊕(−5)=−25, which is not the additive identity.
❌ That is the additive identity.5⊕1=5; the inverse w must give 5⊕w=1.
❌ Check the identity. Solve vz=v for z.
❌ Check the inverse. Solve 5⊕w=5w=1.
Show solution
Identity. We need z∈V with v⊕z=v for all v∈V, that is vz=v. Dividing by v>0 gives z=1∈V.
Inverse. We need w∈V with 5⊕w=1 (the zero vector of V), that is 5w=1, so w=51∈V. In general the additive inverse of v is v1.
The other properties are laws of exponents: uv=vu, (uv)w=u(vw), (vb)a=vab, v1=v, (uv)a=uava and va+b=vavb. For instance 2⊙(3⊕4)=122=144=9⋅16=(2⊙3)⊕(2⊙4).