Linear Algebra and Vector Geometry 201-SN4-RE • CEGEP, Montreal
Revision sheet: linear combinations, linear dependence and bases (201-SN4-RE)
This sheet does not repeat the course on sets of vectors: you have it in your notes. It deals with what the course never says and what still decides the grade: the exact error that costs two marks, the system to set up for each question, and the write-up the 201-SN4-RE (formerly 201-NYC) grader expects word for word.
It is written for CEGEP students in the Science program, and for Social Science students in the mathematics profile who meet the same chapter in 201-105. Once the sheet is read, the corrected exercise set of the same chapter puts every reflex to the test.
Mark this sheet as read or add it to your favourites: a free account, no password, keeps your read sheets and favourites from one visit to the next, tells you which chapter to tackle next and lets you ask for the method or exercise you are missing. Create your space, an email is enough.
The thread of the chapter
Every question of the chapter is the SAME linear system: what changes from one question to the next is not the method, it is the right-hand side. A linear combination is AX=w; an independent set is AX=0; coordinates relative to a basis are again AX=v.
•Put the vectors of the set IN COLUMNS in a matrix A, and every question of the chapter becomes a system AX=B. Only B changes.
•“Is w a linear combination of the set?”: B=w, and the answer is yes if the system is consistent.
•“Is the set linearly independent?”: B=0, and the answer is yes if the ONLY solution is zero.
•“What are the coordinates of v relative to the basis B?”: B=v, with the vectors of B in columns, and the unique solution gives the coordinates.
•“Does the set span Rn?”: the system must be consistent for EVERY right-hand side, which amounts to n pivots.
Two collinear vectors only reach a line; two non-collinear vectors tile the whole plane. Same number of vectors, a completely different span.
Writing “let au+bv=w, which gives the system ...” before computing almost always earns half a mark for method, even if the rest is wrong.
Independent, dependent, spanning, basis: the four exact words
•INDEPENDENT: a1v1+⋯+akvk=0 implies a1=⋯=ak=0. It is an implication, not an observation on one example.
•DEPENDENT: there is a relation whose coefficients are not all zero. In other words, AT LEAST ONE vector can be written in terms of the others, not necessarily all of them.
•SPANNING E: every vector of E can be written as a linear combination of the set.
•BASIS: independent AND spanning. In Rn, a basis has EXACTLY n vectors, never one more nor one less.
•Relative to a basis, the coordinates of a vector are UNIQUE. In a set that spans but is dependent, they are not: that is exactly what separates the two notions.
In the plane: one vector alone is independent but only spans a line; two non-collinear vectors form a basis; a third one keeps the set spanning but makes it dependent, here w=u+v.
A set containing 0 is always dependent, and two proportional vectors always make the set dependent: two free verdicts to look for before any computation.
The count that settles the question without computing
•In Rn: more than n vectors, the set is DEPENDENT, without the slightest computation.
•In Rn: fewer than n vectors, the set does NOT span, without the slightest computation.
•Exactly n vectors of Rn: a single determinant decides everything. If it is non-zero, the set is independent, spanning, and therefore a basis.
•In R2, two vectors are dependent if and only if they are collinear, that is, if det(a1b1a2b2)=0.
Two vectors of R2: the determinant is the signed area of their parallelogram. Non-zero, a real area and a basis; zero, the figure flattens and the set is dependent.
This count never says that a set IS independent: three vectors of R4 may be independent or dependent, and you have to compute.
The mistakes that cost marks
These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.
1.Reading “the set is dependent” as “the vectors are all collinear”
2 marks, and the next question with them, since you then look for a collinearity that does not exist.
What not to write
“{u,v,w} is dependent, so the three vectors are pairwise collinear.”
What to write
“The set is dependent: AT LEAST one vector can be written in terms of the others. Here w=2u−v, while u and v are not collinear.”
None of these three vectors is collinear with another, and yet the set is dependent: w is built by following 2u then −v, as the dashed path shows.
Why: Collinearity is about TWO vectors; dependence is about the whole set. Three vectors can be dependent without any pair being collinear.
2.Reading a linear combination by eye, without setting up the system
the whole question, since 3u+v=(7,5) and not (7,4).
What not to write
“w=(7,4), u=(2,1), v=(1,2): I can see that w=3u+v.”
What to write
“Let au+bv=w, that is {2a+b=7a+2b=4, hence b=31 and a=310.”
3u+v (dashed path) ends at (7,5), in red, next to w. The system gives 310u then 31v (the green path), which lands exactly on w=(7,4).
Why: The first component comes out right by chance one time in two. The system imposes BOTH components at once, and that is what you are graded on.
3.Computing a determinant of a matrix that is not square
1 mark for rigour, plus ten minutes spent looking for a formula that does not exist.
What not to write
“Three vectors of R2: I form the 3×2 matrix and compute its determinant to test independence.”
What to write
“A determinant exists only for a SQUARE matrix. Three vectors in a space of dimension 2 always form a dependent set: the answer is immediate, with no computation.”
Why: The determinant test is reserved for the case “n vectors in Rn”. Outside that case, the count of vectors answers, or Gaussian elimination does.
4.Giving the standard components as the coordinates relative to another basis
3 marks, that is the whole question, and often the next one that reuses the result.
What not to write
“v=(3,3), so its coordinates relative to B={u1,u2} are (3,3).”
What to write
“(3,3) are the components in the STANDARD basis. Relative to B, I solve au1+bu2=v and get (2,1), since 2u1+u2=(3,3).”
One vector, two readings: (3,3) on the standard grid, (2,1) relative to the oblique basis B, as the dashed path 2u1 then u2 shows.
Why: A pair of numbers means nothing on its own: you must know IN WHICH BASIS it is read. The same vector has as many expressions as there are bases.
5.Promoting an independent set of two vectors to a basis of space
2 marks, and the question on coordinates becomes impossible to finish.
What not to write
“u and v are not collinear, so {u,v} is a basis of R3.”
What to write
“{u,v} is independent, so it is a basis of the PLANE span{u,v}. It is not a basis of R3, which needs exactly three vectors.”
The combinations of u and v stay in the shaded plane; w leaves it and is reached by none of them. The set is independent, and yet it does not span R3.
Why: Independent and spanning are two separate requirements. Two vectors of R3 cannot span space: a whole direction is missing.
6.Hoping that a set containing the zero vector is independent
the whole proof question, often 4 marks.
What not to write
“{0,u,v}: since u and v are not collinear, the set is independent.”
What to write
“Every set containing 0 is dependent: 1⋅0+0⋅u+0⋅v=0 is a relation whose coefficients are not all zero.”
Why: ONE non-trivial relation is enough to make the set dependent. The coefficient 1 in front of 0 provides it for free, whatever the other vectors.
7.Testing independence with the wrong right-hand side
3 marks, the whole proof being about the wrong object.
What not to write
“The system au+bv=w has a solution, so {u,v} is independent.”
What to write
“This system says that w∈span{u,v}, nothing more. Independence is tested on the HOMOGENEOUS system au+bv=0.”
au+bv=w has solutions, and yet v=2u: the set is dependent. Consistent does not mean independent: only the right-hand side 0 tests independence.
Why: This is the thread of the chapter: the right-hand side changes the question. A non-zero right-hand side asks about the span, a zero right-hand side asks about independence.
8.Claiming that coordinates are unique for any set
2 marks, and above all the understanding of what a basis adds.
What not to write
“The coordinates of a vector are always unique, so it does not matter whether the set is dependent.”
What to write
“Uniqueness holds RELATIVE TO A BASIS. With u=(1,0), v=(0,1) and w=(1,1), we have (2,2)=2u+2v and also (2,2)=u+v+w: two expressions for the same vector.”
With w=u+v, two paths reach (2,2): 2u+2v in blue, u+v+w in orange. A dependent set: the coordinates are no longer unique.
Why: Uniqueness of the expression is EXACTLY what independence adds to spanning. That is why a basis is useful and a dependent spanning set is not.
Which method to choose
Which system to set up, depending on what the question asks
The vectors always go in columns in A. The only choice to make is the RIGHT-HAND SIDE, and the verb of the question dictates it.
If “Is w a linear combination of v1,…,vk?” → solve AX=w; the answer is yes if the system is consistent
Example: {2a+b=7a+2b=4 is consistent, so w∈span{u,v}
If “is the set linearly independent?” or “show that the set is linearly independent” → solve the HOMOGENEOUS system AX=0; independent if the only solution is X=0
Example: detA=3=0 is enough when the matrix is square
If “what are the coordinates of v relative to the basis B?” → solve AX=v with the vectors of B in columns; the unique solution IS the pair of coordinates
Example: 2u1+u2=(3,3) gives the coordinates (2,1)
If “does the set span Rn?” → row reduce A and count the pivots: spanning if and only if there are n pivots
No need to carry a general right-hand side: counting the pivots is enough.
If “is it a basis of Rn?” → first check that there are EXACTLY n vectors, then a single non-zero determinant concludes
If the number of vectors is not n, the answer is no and there is nothing to compute.
No branch applies? Then the set lives in Pn or in Mm×n: write each vector in the standard basis of that space (the monomials, the elementary matrices) and you are back to an ordinary system.
What counting alone settles, before any computation
Compare the number k of vectors with the dimension n of the space, and look at the set without computing.
If k>n in Rn → the set is DEPENDENT, the question is settled
Example: three vectors of R2, four vectors of R3
If k<n in Rn → the set does NOT span, so it is not a basis
Example: two vectors of R3 only span a plane
If the set contains 0 → it is DEPENDENT, whatever the other vectors
If two vectors of the set are proportional → it is DEPENDENT, without looking at the others
Example: v2=−3v1 provides the relation 3v1+v2=0
If k=n in Rn → compute detA: non-zero gives independent, spanning and a basis in one go
It is the only case where a determinant is legitimate, and it saves the whole Gaussian elimination.
This count NEVER proves that a set is independent when k<n: three vectors of R4 may be independent or dependent, and you have to row reduce.
How the answer is expected to be written
A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.
Showing that a set is linearly independent
When to use it: The question says “show that the set is linearly independent”, “show that the vectors are linearly independent”, or “show that B is a basis”.
1Open with the set-up sentence: “Let a, b, c be real numbers such that au+bv+cw=0.” Without it, what follows has no logical status.
2Translate this vector equation into a system, ONE EQUATION PER COMPONENT, and write it out in full.
3Announce the method used, determinant or Gaussian elimination, and carry it through to the end.
4Conclude on the solution of the system, saying explicitly that it is the ONLY one.
5If the question asked for a basis of Rn, add the count: the set is independent and has n vectors, so it is a basis.
Concluding sentence
The only solution of the system is a=b=c=0, so the set {u,v,w} is linearly independent; since it has 3 vectors in R3, it is a basis of R3.
The trap: Writing “suppose the set is dependent” and then looking for a contradiction. It is not wrong, but it is three times longer and the conclusion is almost always badly quantified. The direct proof is the one expected.
Marking: 0.5 mark for the set-up sentence, 1 mark for the correct system, 1 mark for solving it, 0.5 mark for the conclusion with the word “only”.
Finding the coordinates of a vector relative to a basis
When to use it: The question gives a non-standard basis B and asks for “the coordinates of v relative to B”.
1First check that B really is a basis, with the determinant, and SAY it: what follows only makes sense if the expression is unique.
2Write v=au1+bu2 with named unknowns, then write the system component by component.
3Solve, keeping exact values rather than decimals.
4Check by recomputing au1+bu2 and getting v back, then write this check on your paper.
5Conclude with the coordinate notation, recalling the basis they are read in.
Concluding sentence
The coordinates of v relative to the basis B are (2,1), in other words v=2u1+u2.
The trap: Missing the reverse question. When the question gives the coordinates and asks for the components, there is NO system to solve: multiply and add, that is all.
Marking: 0.5 mark for checking that B is a basis, 1.5 marks for the system and its solution, 0.5 mark for the conclusion written in the right basis.
Check before you hand in
Five minutes of checking recover more marks than one more problem started in a hurry.
Substitute the coefficients back in
Take the a and b you found and recompute au+bv component by component. The result must be exactly the right-hand side, on ALL the components.
a=310 and b=31 give back (320+31,310+32)=(7,4). Getting (7,5) signals that the second equation was forgotten.
Count before believing the result
Compare the number of vectors with the dimension. A set of 4 vectors of R3 announced as independent is certainly wrong, without rereading a single line of the computation.
A paper concludes “these four vectors of R3 are independent”: that is impossible, the error is in the row reduction.
Recompute the determinant along another row
Expand the 3×3 determinant along ANOTHER row or another column, preferably the one with the most zeros. The two values must agree.
On the calculator, TI: MATRIX→MATH→det(; Casio: menu MAT then Det. A sign difference betrays a cofactor with the wrong sign.
Check the size of the system you set up
The system must have as many EQUATIONS as the vectors have components, and as many UNKNOWNS as there are vectors in the set. A square system when the set is not square is the symptom of a set-up error.
Three vectors of R2 give 2 equations in 3 unknowns, so at least one free unknown, so a dependent set: the count confirms the result.
Look at the picture in the plane
In dimension 2, sketch the vectors freehand. Two collinear vectors show up immediately, and a third vector can never escape the plane.
u=(2,1) and v=(4,2) lie on the same line: no need to compute the determinant, the set is dependent.
The typical problem, taken apart
An oblique basis of the plane, in both directions
Let u1=(2,1), u2=(−1,1) and v=(3,3) in R2 with its standard basis.
1) Show that B={u1,u2} is a basis of R2.
2) Find the coordinates of v relative to the basis B.
3) The vector w has coordinates (1,−2) relative to B. Give its components in the standard basis.
The three vectors of the problem on the standard grid: question 2 asks how to reach v by walking only along u1 and u2.
Step 1
det(21−11)=2×1−(−1)×1=3=0, so {u1,u2} is linearly independent.
Why
Two vectors of R2: the case k=n, the only one where a determinant is legitimate. It answers in one line where the homogeneous system would take five.
Step 2
The set is independent and has 2 vectors in R2, which has dimension 2: it is therefore a basis.
Why
This is the counting argument, and it is worth half a mark on its own. Without it, you have proved independence but not spanning, so not the basis.
Step 3
Let v=au1+bu2, which gives {2a−b=3a+b=3.
Why
One equation per component, never just one. This is where question 2 is decided: the right-hand side is v, not 0.
Step 4
Adding the two equations: 3a=6, so a=2, then b=3−a=1.
Why
Adding eliminates b with no manipulation: it is the elementary row operation R1→R1+R2, the one Gaussian elimination would perform anyway.
Step 5
Check: 2u1+u2=(4,2)+(−1,1)=(3,3)=v.
Why
Substituting back costs ten seconds and catches every sign error, the most frequent accident when the basis contains a −1.
The reverse direction, so NO system: the coordinates are given, you only multiply and add. Recognizing this direction saves five minutes.
Step 7
Check: solving 2a−b=4 and a+b=−1 gives 3a=3, that is a=1 and b=−2, the starting coordinates.
Why
Going there and back is the only check that tests both questions at once, and it uses the same system, so it costs almost nothing.
The conclusion, written out
B is a basis of R2; the coordinates of v relative to B are (2,1), and the vector w has components (4,−1) in the standard basis.
The classic mistake on this problem: Answering (3,3) to question 2, that is, copying the standard components, and treating question 3 as a system when it only asks for a direct computation.
Learn by heart
•The vectors go IN COLUMNS in A. After that, only the right-hand side changes from one question to the next.
•Independence is tested on AX=0. Membership in the span and coordinates are tested on AX=b.
•Dependent means that AT LEAST one vector depends on the others, not that all of them are collinear.
•In Rn: more than n vectors, always DEPENDENT. Fewer than n, never SPANNING. Exactly n, one determinant decides.
•A basis of Rn has EXACTLY n vectors, and it is independent and spanning.
•Every set containing 0 is dependent, without computation.
•Coordinates are unique RELATIVE TO A BASIS, and only there.
•det(acbd)=ad−bc, and it is written only for a SQUARE matrix.
Frequently asked questions
How do I know if three vectors are linearly independent?
Write a zero linear combination of the three vectors, turn it into a system of equations, one per component, and solve it. The set is linearly independent if the only solution is the one where every coefficient equals zero. In three-dimensional space, it is enough to check that the determinant of the matrix of their components is not zero.
What is the difference between a linearly independent set and a spanning set?
An independent set contains no redundancy: no vector can be written from the others. A spanning set reaches the whole space: every vector of the space is a combination of the set. A basis is both at once, and that is what makes the expression of each vector unique.
How do I find the coordinates of a vector relative to a basis?
Write the vector as a linear combination of the basis vectors, with unknown coefficients, then solve the resulting system component by component. The coefficients you find are the coordinates. Careful: they are not the usual components of the vector, unless the basis is the standard basis.
Can two vectors form a basis of three-dimensional space?
No. A basis of three-dimensional space has exactly three vectors. Two non-collinear vectors form a basis of the plane they span, but a whole direction is missing for them to reach all of space. Counting the vectors is enough to answer, with no computation at all.
Why are three vectors of the plane always linearly dependent?
Because the plane has dimension two: a linearly independent set in it has at most two vectors. The associated system then has three unknowns for only two equations, so it has infinitely many solutions, and in particular a non-zero one. The set is dependent, without the slightest computation.
What is the determinant used for in this CEGEP chapter?
It gives an immediate verdict when the number of vectors equals the dimension of the space. A non-zero determinant means that the set is linearly independent, spanning, and therefore a basis, all in a single computation. It exists only for a square matrix: outside that case, you have to use Gaussian elimination.
Practise it
Corrected exercises: Linear combinations, linear dependence and bases, 201-SN4-RE
A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.
Something missing from this sheet?A method, a trap, an exercise to practise it, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.
Get in touch for a first session. We go over the moves that cost marks on the linear algebra exam, from reading a system to writing a proof about independent sets, then we test them on exercises at the real level of CEGEP tests.