Linear Algebra and Vector Geometry 201-SN4-RE • CEGEP, Montreal
Corrected exercises: applications of linear algebra in science (201-SN4-RE)
This is the corrected exercise set of Linear Algebra and Vector Geometry, 201-SN4-RE (formerly 201-NYC), devoted to applications in the natural sciences. It is the fifth element of the course competency in the Ministry's course description, the one that asks you to apply the methods of the course to physics and chemistry problems: equilibrium of forces, torques and biomechanics, work, balancing chemical equations, mixing solutions, Kirchhoff's laws, centre of mass. It is written for CEGEP students in the Science program; students taking linear algebra in the mathematics profile of Social Science (201-105) will find the same methods here.
The risk in this chapter is not the computation. Once the system is set up, Gauss-Jordan is mechanical and you have already practised it. The student who loses marks has almost never failed at the pivot: they failed to choose their unknowns and to write one equation per constraint. Three concurrent forces, a two-loop circuit, a chemical equation to balance, a mix of three solutions to a required concentration: four unrelated problems that give the same kind of augmented matrix. It is the SETUP that costs the marks.
The set also uses what linear algebra says beyond calculus. A system with no solution means the problem is physically impossible, infinitely many solutions means a constraint is missing, and it is the RANK that decides which. This reading, which turns a failed computation into a diagnosis (exercises 2, 6 and 10), together with the sign check that the algebra ignores (exercise 9), is the real tool the course gives to the natural sciences.
Self-checking setType your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.
•Setting up a science problem as a linear system, three steps in order: name one unknown per quantity the statement does not give, write ONE equation per constraint, then arrange the coefficients in an augmented matrix. A constraint is a component direction in mechanics, a conserved quantity in chemistry, a junction or a loop in electricity.
•Rouché-Capelli consistency theorem: the system AX=B has solutions if and only if rank(A)=rank([A∣B]). If this common rank equals the number of unknowns, the solution is unique; if it is smaller, there are infinitely many solutions and the number of free parameters is the number of unknowns minus the rank.
•Physical reading of the three cases. Unique solution: the problem is well posed. Infinitely many solutions: a constraint is missing, or the free parameter itself has a meaning, like the scale of a chemical reaction. No solution: the situation described is impossible, and you must look for the false assumption rather than redo the row reduction.
•Equilibrium of a POINT in the plane: two constraints, one per axis. Equilibrium of a RIGID BODY in the plane: three constraints, two for the resultant and one for the torque. Writing the torque equation about a second point never adds rank: it is a linear combination of the first three. The choice of point only decides which unknown disappears from the row.
•Work done by a constant force along a straight displacement: W=F⋅d=∥F∥∥d∥cosθ, in joules. Only the component of F PARALLEL to d does work; the orthogonal component does EXACTLY zero work, however large it is.
•Torque of a force: M=r×F, a CROSS product, of magnitude ∥r∥∥F∥sinθ. This time it is the component PERPENDICULAR to the arm that carries everything, and the parallel component gives nothing. The dot product and the cross product select complementary parts.
•Balancing a chemical equation: put the species in columns and the elements in rows, with the sign + for reactants and − for products. The coefficients you want form the null space of A, and dimkerA=n−rank(A). A dimension of 1 signals a well-posed reaction; a dimension of 2 signals a forgotten conservation law, usually conservation of CHARGE in a redox reaction.
•Kirchhoff's laws: a circuit with n junctions provides only n−1 independent junction rules, since the sum of all of them is the identity 0=0. Writing the n-th row does not increase the rank, so a system with more equations than unknowns is not necessarily overdetermined.
•Centre of mass of weighted points: OG=∑mi1∑miOAi, which is equivalent to ∑miGAi=0. The coefficients ∑mjmi are positive and add up to 1: G is a CONVEX combination of the points, so it always lies in their convex hull.
•What the algebra ignores: sign constraints. A mass, a concentration, a one-way flow are positive. A system can be perfectly consistent and have no admissible solution, so every answer is checked twice, first by the rank, then by the physical domain.
Part A: the basics (/50)
Exercise 1: Naming the unknowns and counting the constraints
Three science situations with nothing in common. In all three, NOTHING more than the setup is asked: name the unknowns, count the constraints, write the augmented matrix. Do not solve.
Situation 1, mechanics: a 400 N cart is held at rest on a ramp inclined at 25∘ by a cable parallel to the ramp. The ramp exerts a force N perpendicular to its surface, and the cable a tension T parallel to the ramp, pointing up the slope.
Situation 2, chemistry: you want to prepare 600 g of a 25% (by mass) salt solution from three stock solutions at 10%, 20% and 50%, and the lab requires twice as much of the 20% solution as of the 10% solution.
Situation 3, electricity: a 12 V source in series with R1=4Ω feeds two resistors in parallel, R2=6Ω and R3=3Ω. Let I1 be the current through R1, I2 the current through R2 and I3 the current through R3.
The figure shows situation 1.
a) Situation 1: how many unknowns, how many constraints? Write the two component equations along the horizontal axis and the vertical axis, with the x-axis horizontal to the right and the y-axis vertical and upward.
b) Write the augmented matrix of situation 1 and compute the determinant of its coefficient matrix. What does this determinant guarantee?
c) Situation 2: define the unknowns, say how many there are and how many constraints the statement provides, then write the augmented matrix. Do not solve.
d) Situation 3: define the unknowns and write the augmented matrix of the system formed by the junction rule and the two loop rules. Do not solve.
e) What do the three setups have in common? What must be counted, BEFORE any computation, to know whether a problem is well posed?
Show the solution
Answers
a)2 unknowns, 2 constraints; Tcos25∘=Nsin25∘ and Tsin25∘+Ncos25∘=400
e)One equation per constraint, then compare the RANK with the number of unknowns
a)
Two unknowns, T and N, and two constraints: the equilibrium of a point gives exactly two equations in the plane, one per axis. The cable is parallel to the ramp, so its direction makes 25∘ with the horizontal: T=T(cos25∘,sin25∘). The force N is perpendicular to the ramp, so at 115∘ from the horizontal: N=N(−sin25∘,cos25∘). The weight is (0,−400). Taking components, Tcos25∘−Nsin25∘=0 along x and Tsin25∘+Ncos25∘=400 along y.
b)
The augmented matrix is [cos25∘sin25∘−sin25∘cos25∘0400]. Its determinant is cos225∘+sin225∘=1, by the Pythagorean identity, and not some approximate value from the calculator. This is no accident: the coefficient matrix is a ROTATION matrix, the one that takes the horizontal-vertical frame to the frame attached to the ramp. A determinant equal to 1, hence non-zero, guarantees a unique solution whatever the right-hand side. In physical terms: whatever the weight, there is one and only one pair (T,N) that holds the cart.
c)
Three unknowns, the masses x1, x2 and x3 taken from the 10%, 20% and 50% solutions, in grams. Three constraints: the total mass, the mass of salt, and the lab condition. The total mass gives x1+x2+x3=600. The salt brought in is 0.10x1+0.20x2+0.50x3, and the target contains 0.25×600=150 g. The lab condition reads x2=2x1, that is −2x1+x2=0. Once the second row is multiplied by 10 to clear the decimals, the augmented matrix is 11−212115060015000.
d)
Three unknowns, I1, I2 and I3. The junction gives I1=I2+I3, that is I1−I2−I3=0. The loop through the source, R1 and then R2 gives 12−4I1−6I2=0, that is 4I1+6I2=12. The loop formed by the two parallel branches gives 6I2−3I3=0, the two resistors being across the same voltage. Hence 140−166−10−30120.
e)
The three setups follow the same protocol, and that is the whole point of the chapter. First name the unknowns, one per quantity the statement does not give. Then write ONE equation per constraint: one per axis in mechanics, one per conserved or imposed quantity in chemistry, one per junction and one per independent loop in electricity. Finally arrange the coefficients in a matrix, and from then on no trace of the context remains: Gauss-Jordan treats the three systems the same way, without knowing whether the letters stand for newtons, grams or amperes. What must be counted before any computation is the number of unknowns on one side and the RANK of the system on the other. As many pivots as unknowns, and the answer is unique; fewer pivots, a constraint is missing and the solution set is infinite; a row of the form [000∣c] with c=0, and the statement contradicts itself. Counting equations is never enough, because two equations can say only one thing.
The thread of this set: linear algebra does not solve the science problem, it SETS IT UP, and the setup is where the marks are lost.
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
Exercise 2: Equilibrium of a point: from the diagram to the system
A 200 N light fixture hangs from point O on two cables attached to a horizontal ceiling. Cable OA makes 30∘ with the horizontal, cable OB makes 60∘. Let T1 and T2 be the tensions in the two cables, with the x-axis horizontal to the right and the y-axis vertical and upward.
a) Write the components of the three forces acting at O, then the two component equations that express equilibrium.
b) Write the system in the form AX=B with X=(T1,T2) and compute detA exactly.
c) Solve by Cramer's rule. Give T1 exactly and T2 to the nearest tenth of a newton.
d) Check that the sum of the three forces is zero, component by component.
e) The two cables are replaced by two HORIZONTAL cables. Write the new system, compute its rank and the rank of its augmented matrix, and say what the result means physically.
Show the solution
Answers
a)−T1cos30∘+T2cos60∘=0 and T1sin30∘+T2sin60∘=200
b)detA=−sin90∘=−1
c)T1=100 N, T2=1003≈173.2 N
d)Along x: 0; along y: 50+150=200
e)rank(A)=1, rank([A∣B])=2: inconsistent, so physically impossible
a)
Cable OA leaves O toward the upper left, so T1=T1(−cos30∘,sin30∘). Cable OB leaves toward the upper right, so T2=T2(cos60∘,sin60∘). The weight is P=(0,−200). A tension always PULLS the point toward the attachment: that is the first mistake to avoid, the sign mistake. The equilibrium T1+T2+P=0 gives −T1cos30∘+T2cos60∘=0 along x and T1sin30∘+T2sin60∘=200 along y.
b)
A=(−cos30∘sin30∘cos60∘sin60∘) and B=(0200). Then detA=−cos30∘sin60∘−cos60∘sin30∘=−(sin60∘cos30∘+cos60∘sin30∘)=−sin(60∘+30∘)=−sin90∘=−1. The addition formula avoids every decimal, and the exact result −1 comes from the two cables being PERPENDICULAR, 30∘+60∘=90∘.
c)
Cramer gives T1=detA10200cos60∘sin60∘=−1−200cos60∘=200cos60∘=100 N, and T2=detA1−cos30∘sin30∘0200=−1−200cos30∘=200cos30∘=1003≈173.2 N. The cable closer to the vertical carries more, which matches intuition. The most costly mistake here is to believe the two tensions share the 200 N: their sum is 273.2 N, well above the weight, because they are VECTORS and their horizontal components cancel each other.
d)
Along x: −100cos30∘+173.205cos60∘=−86.603+86.603=0. Along y: 100sin30∘+173.205sin60∘=50+150=200, which exactly balances the weight. The term 1003×23=150 comes out exact, a sign that the exact computation was worth more than the rounded value.
e)
With two horizontal cables, the directions become (−1,0) and (1,0). The system is −T1+T2=0 along x and 0T1+0T2=200 along y. The matrix A=(−1010) has a zero row, so rank(A)=1, while the augmented matrix [−10100200] has rank 2: its second row says 0=200. The two ranks differ, so the system is INCONSISTENT, and the Rouché-Capelli theorem concludes that there is no solution. This is not a computing mistake, it is physical information: two horizontal cables have no vertical component, so no tension, however large, can balance a weight. A system with no solution in a science problem does not signal an algebra error, it signals that the situation described is impossible.
Exercise 3: Work is a dot product, and the perpendicular component does no work
The work done by a constant force F along a straight displacement d is W=F⋅d, in joules when the force is in newtons and the displacement in metres. It is a dot product, hence a NUMBER, and the 201-SN4-RE chapter on orthogonal decomposition explains on its own why some forces never do any work.
First take F=(40,−15,25) N and d=(6,2,−3) m.
a) Compute the work W done by F along d.
b) Compute the angle between F and d, to the nearest tenth of a degree. Is the work positive (driving) or negative (resisting)?
c) Decompose F=F∥+F⊥ along the direction of d. Check that F⊥⋅d=0, then that F∥⋅d gives back the work of a).
d) Application: a 30 kg crate is pulled 8.0 m across a horizontal floor by a rope at 35∘ to the horizontal, with tension 120 N. Compute the work done by the tension, by the weight and by the normal force of the floor.
e) Why does the perpendicular component do no work? And what is it for, then?
Show the solution
Answers
a)W=135 J
b)θ≈67.1∘, positive (driving) work
c)F∥=49135d≈(16.53,5.51,−8.27), F⊥⋅d=0
d)WT≈786.4 J, WP=0, WN=0
e)Work EXACTLY zero; the perpendicular part changes the normal force, hence the friction
a)
W=F⋅d=40×6+(−15)×2+25×(−3)=240−30−75=135 J. The dot product is computed component by component, without any angle, and this is the safest form: it needs neither a norm nor a cosine.
b)
∥F∥=1600+225+625=2450≈49.497 N and ∥d∥=36+4+9=49=7 m. So cosθ=49.497×7135≈0.38963 and θ≈67.1∘. The angle is acute, the dot product is positive, the work is POSITIVE (driving): the force goes along with the displacement. The sign of the work is read from the sign of the dot product alone, without computing the angle, and that is the reflex to keep on a test.
c)
The projection of F onto d is F∥=∥d∥2F⋅dd=49135(6,2,−3)≈(16.531,5.510,−8.265). By subtraction, F⊥=F−F∥≈(23.469,−20.510,33.265). Check: F⊥⋅d≈140.82−41.02−99.80=0, up to rounding, and the exact computation gives zero. Finally F∥⋅d=49135×49=135 J, the same work as in a). The classic trap is to divide by ∥d∥ instead of ∥d∥2: you then get a vector seven times too long, and everything after it is wrong.
d)
Work done by the tension: WT=120×8.0×cos35∘≈786.4 J. Work done by the weight: the weight is vertical and the displacement horizontal, so the angle is 90∘ and WP=0 J. Work done by the normal force: it is vertical too, so WN=0 J, whatever its value, and its value is not even needed to say so. On a test, computing the normal force before concluding that it does no work is wasted time; the dot product answers before the computation.
e)
Because the dot product of two orthogonal vectors is zero by definition: F⊥⋅d=0, so W=F⋅d=(F∥+F⊥)⋅d=F∥⋅d: only the part parallel to the displacement counts, and it counts in full. This is not a small amount of work, it is EXACTLY zero. But the perpendicular component is not useless: for the crate, F⊥=120sin35∘≈68.8 N relieves the floor, which now exerts only N=30×9.8−68.8≈225.2 N. Friction, proportional to N, decreases accordingly. The perpendicular component supplies no energy, but it changes the other forces, hence the final balance. Confusing the two, saying that a force that does no work is useless, is the most costly reasoning error of the chapter.
Exercise 4: Torque: a cross product, not a dot product
The torque (moment) of a force F applied at point P, taken about point O, is the vector M=r×F where r=OP. It is a CROSS PRODUCT, hence a vector, and its magnitude is ∥r∥∥F∥sinθ.
A 0.30 m wrench tightens a bolt located at O. A 150 N force is applied at its end, at an angle of 60∘ to the handle.
a) Compute the magnitude of the torque about the bolt, to the nearest hundredth of a newton-metre.
b) What would this magnitude be if the force were perpendicular to the handle? What percentage of the effort is lost at 60∘?
c) Place the handle along the x-axis and the force in the xy-plane: r=(0.30,0,0) and F=150(cos60∘,sin60∘,0). Compute r×F and recover a).
d) Decompose F into a part parallel to the handle and a perpendicular part, then compute the torque of each. What do you notice, and how does it connect with the previous exercise?
e) A bolt is now tightened with an offset wrench: r=(0.25,0,0.10) m and F=(0,200,0) N. Compute M and its magnitude to the nearest hundredth. Why does the result have TWO non-zero components, and what does that mean for the bolt?
Show the solution
Answers
a)∥M∥≈38.97 N⋅m
b)45 N⋅m; about 13.4% lost
c)M=(0,0,38.97) N⋅m
d)Torque of the parallel part zero, the perpendicular part carries it all
e)M=(−20,0,50) N⋅m, ∥M∥≈53.85 N⋅m: two axes of rotation
a)
∥M∥=rFsinθ=0.30×150×sin60∘=45×0.866025≈38.97 N⋅m. Another reading, the lever arm: the distance from O to the line of action of the force is 0.30sin60∘≈0.2598 m, and 0.2598×150≈38.97 N⋅m. Both readings give the same number because the sine can be attached either to the length or to the force.
b)
Perpendicular, sin90∘=1 and ∥M∥=0.30×150=45 N⋅m. The ratio is sin60∘≈0.8660, so 13.4% of the useful effect is missing. This is exactly why you pull perpendicular to the handle: any departure from 90∘ is muscle spent for nothing.
c)
F=(75,129.904,0). The cross product is r×F=(0×0−0×129.904,0×75−0.30×0,0.30×129.904−0×75)=(0,0,38.97). Only the z-component survives, as expected: r and F both lie in the xy-plane, so their cross product is perpendicular to that plane. Its magnitude is indeed 38.97 N⋅m, and its positive sign says that the bolt turns counterclockwise as seen from the z-axis.
d)
F∥=(75,0,0) and F⊥=(0,129.904,0). The torque of the parallel part is r×F∥=(0.30,0,0)×(75,0,0)=0, since two parallel vectors have a zero cross product. The torque of the perpendicular part is (0,0,0.30×129.904)=(0,0,38.97), that is, the whole torque. The parallel with the previous exercise is exact and worth remembering: for work, only the component PARALLEL to the displacement counts and the perpendicular one gives nothing; for torque it is the reverse, only the component PERPENDICULAR to the arm counts and the parallel one gives nothing. The dot product and the cross product select complementary parts, and that is why confusing the two costs the whole question.
e)
M=(0.25,0,0.10)×(0,200,0)=(0×0−0.10×200,0.10×0−0.25×0,0.25×200−0×0)=(−20,0,50) N⋅m. Its magnitude is 400+2500=2900≈53.85 N⋅m. Two non-zero components mean that the force tends to turn the system about TWO axes at once: about z, which actually tightens the bolt, and about x, which tends to tip the wrench out of its plane. The component Mz=50 is the only useful one; the component Mx=−20 is a parasitic load that the assembly must absorb. The torque vector therefore carries more information than a number: its DIRECTION is the axis of rotation, and when the torque is oblique, part of it works against the assembly.
Exercise 5: Balancing a chemical equation means finding the null space of a matrix
Balancing a reaction means finding coefficients xi such that every element is conserved. With the species as COLUMNS and the elements as ROWS, the sign + for reactants and − for products, all the conservation laws are written at once as AX=0: the coefficients you are looking for form the NULL SPACE of A.
Balance x1Al+x2HCl→x3AlCl3+x4H2.
a) Write the conservation matrix A. State what its rows and columns represent, and give its size.
b) Compute the rank of A, then the dimension of the null space by the rank theorem.
c) Give a basis of the null space, then the smallest positive integer coefficients. Write the balanced equation and check each element.
d) Same work for the reaction in acidic solution x1MnO4−+x2Fe2++x3H+→x4Mn2++x5Fe3++x6H2O, writing ONLY the four element conservations. What is the dimension of the null space, and why is the equation not determined?
e) Add conservation of CHARGE as a fifth row. Recompute the rank and the dimension of the null space, then give the smallest integer coefficients.
Show the solution
Answers
a)A is 3×4: rows = elements, columns = species
b)rank(A)=3, dimkerA=1
c)(2,6,2,3): 2Al+6HCl→2AlCl3+3H2
d)dimker=2: two parameters, charge is not yet imposed
e)Rank 5, dimker=1, (1,5,8,1,5,4)
a)
The rows are the ELEMENTS, the columns the SPECIES, in the order Al, HCl, AlCl3, H2. Aluminum: x1−x3=0. Hydrogen: x2−2x4=0. Chlorine: x2−3x3=0. Hence A=100011−10−30−20, of size 3×4: three elements, four species. The right-hand side is the zero vector, always, because a conservation law says that what goes in equals what comes out.
b)
R3→R3−R2 gives (0,0,−3,2). The echelon form is 100010−10−30−22, with three pivots: rank(A)=3. The rank theorem gives dimkerA=4−3=1. So there is exactly one direction of solutions, a line in R4, and that is why a chemical equation balances in only one way UP TO SCALE.
c)
Let x4=t. The third row gives −3x3+2t=0, so x3=32t; the second gives x2=2t; the first x1=x3=32t. The null space is spanned by (32,2,32,1), or more conveniently by (2,6,2,3), taking t=3. The smallest positive integers are therefore x1=2, x2=6, x3=2, x4=3, and the balanced equation is 2Al+6HCl→2AlCl3+3H2. Check: aluminum, 2 on the left and 2 on the right; hydrogen, 6 and 6; chlorine, 6 and 6. The trap is to take t=1 by reflex: you get thirds, and the whole family then has to be multiplied. The free parameter need not be 1; the common denominator decides.
d)
Column order: MnO4−, Fe2+, H+, Mn2+, Fe3+, H2O. Manganese: x1−x4=0. Oxygen: 4x1−x6=0. Iron: x2−x5=0. Hydrogen: x3−2x6=0. The matrix 140000100001−100000−100−10−2 is 4×6. A single operation, R2→R2−4R1, puts it in echelon form with pivots in columns 1, 2, 3 and 4: rank=4, so dimker=6−4=2, and the free unknowns are x5 and x6. Setting x6=4a and x5=b gives x1=a, x4=a, x3=8a, x2=b, that is, the family (a,b,8a,a,b,4a). Two free parameters, so the equation is NOT determined: a=1,b=0 gives MnO4−+8H+→Mn2++4H2O and a=0,b=1 gives Fe2+→Fe3+, two equations that conserve every atom and that no chemist would accept. The dimension of the null space has just said exactly what is missing: a constraint.
e)
Charge is a conserved quantity just like an element, so it is one more ROW. Charges, in column order: −1, +2, +1 for the reactants, +2, +3, 0 for the products, hence the row (−1,2,1,−2,−3,0). Applied to the previous family, it gives −a+2b+8a−2a−3b=0, that is 5a−b=0 and b=5a. The rank goes up to 5, the dimension of the null space drops to 6−5=1, and the equation is determined again. With a=1: x1=1, x2=5, x3=8, x4=1, x5=5, x6=4, that is MnO4−+5Fe2++8H+→Mn2++5Fe3++4H2O. Charge check: −1+10+8=17 on the left, 2+15=17 on the right. This is the lesson of the whole chapter: the dimension of the null space does not merely count the solutions, it DIAGNOSES the statement. A dimension of 1 signals a well-posed reaction; a dimension of 2 or more signals that a conservation law was forgotten, here charge; and an inconsistent system would signal an impossible reaction.
Part B: problems and reasoning (/50)
Exercise 6: Kirchhoff's laws: the rank tells what is redundant and what is impossible
The circuit below has two junctions, A at the top and B at the bottom, joined by three branches. The left branch carries an 18 V source in series with R1=3Ω, the middle branch carries only R2=6Ω, and the right branch carries a 15 V source in series with R3=2Ω. Both sources push their current from B toward A; let I1, I2 and I3 be the currents in the three branches, counted in the direction of the arrows.
a) Write the TWO junction rules, at A and then at B, and the two loop rules. That makes four equations for three unknowns.
b) Write the 4×4 augmented matrix and row reduce it. Give the rank of A and the rank of [A∣B].
c) Deduce I1, I2 and I3, then check them in both loops.
d) Why was one of the two junction rules necessarily redundant? Generalize: how many independent junction rules does a circuit with n junctions provide?
e) A technician connects an ammeter in the middle branch and reads 3.0 A. The equation I2=3 is therefore added to the system. Compute the two ranks of the five-equation system and conclude, in physics rather than in mathematics.
Show the solution
Answers
a)I1−I2+I3=0, its negative at B, 3I1+6I2=18, 6I2+2I3=15
b)rank(A)=rank([A∣B])=3: unique solution
c)I1=1.50 A, I2=2.25 A, I3=0.75 A
d)The sum of the junction rules is 0=0; n−1 of them are independent
e)rank(A)=3, rank([A∣B])=4: inconsistent, one piece of data is false
a)
Junction rule at A: the currents I1 and I3 come in, I2 goes out, so I1−I2+I3=0. Junction rule at B: I2 comes in, I1 and I3 go out, so −I1+I2−I3=0. Left loop, traversed from B to A through branch 1 and then from A to B through the middle branch: 18−3I1−6I2=0, that is 3I1+6I2=18. Right loop, in the same way: 15−2I3−6I2=0, that is 6I2+2I3=15.
b)
With X=(I1,I2,I3), the augmented matrix is 1−130−11661−102001815. Adding row 1 to row 2 wipes out the second row entirely, right-hand side included. Then row 3 minus 3 times row 1 gives (0,9,−3∣18), and 3 times row 4 minus 2 times the new row 3 gives (0,0,12∣9). Once the zero row is moved to the bottom, three pivots remain: rank(A)=3 and rank([A∣B])=3. The two ranks are equal and equal to the number of unknowns, so the solution exists and is unique. Four equations did not overdetermine the problem, because the RANK, not the number of rows, measures the information actually provided.
c)
The last row gives 12I3=9, so I3=0.75 A. Then 9I2−3×0.75=18, so I2=920.25=2.25 A. Finally I1=I2−I3=1.50 A. Check in the left loop: 3×1.50+6×2.25=4.5+13.5=18. In the right loop: 6×2.25+2×0.75=13.5+1.5=15. And at the junction: 1.50+0.75=2.25. All three currents are positive, so the directions assumed on the figure were the right ones.
d)
Because the sum of the junction rules of a circuit is always the equation 0=0. Each branch current leaves one junction and enters another: it appears once with a + sign and once with a − sign among all the rules. Adding up all the junction rows therefore cancels them term by term, which is precisely the definition of a linear dependence relation among those rows. With two junctions, the second row is the negative of the first, and the rank of the junction rows is 1. In general, a circuit with n junctions provides exactly n−1 independent junction rules. That count, together with the number of independent loops, tells how many equations to write: no fewer, or the system is underdetermined, and no more, since extra rows add nothing to the rank.
e)
The fifth row is (0,1,0∣3). The coefficient matrix gains no pivot: its rank stays 3, since three unknowns cap the rank at 3. The augmented matrix, however, changes: the first four rows already force I2=2.25, and the fifth demands I2=3. Row reduction produces the row [000∣0.75], so rank([A∣B])=4. The two ranks differ, the system is INCONSISTENT. The conclusion is not mathematical, it is physical, and it is useful: the stated component values and the measurement cannot all be true at once. Either a resistor does not have its marked value, or a source has dropped, or the ammeter is wired wrong or its internal resistance is not negligible. That is how troubleshooting is done in the lab: you do not look for a solution to an inconsistent system, you look for the false assumption.
Exercise 7: Problem: the shoulder, the deltoid and the point you take torques about
An arm held out horizontally carries a 60 N load in the hand, 0.60 m from the shoulder joint. The arm itself weighs 30 N, its centre of gravity being 0.28 m from the joint. The deltoid attaches 0.15 m from the joint and pulls in a direction making 15∘ with the bone, upward and toward the shoulder.
Place the origin at the joint, the x-axis along the arm toward the hand, the y-axis upward. The unknowns are the tension T in the deltoid and the two components Rx and Ry of the force the joint exerts on the arm.
a) List the forces and say how many constraints the equilibrium of a rigid body provides in the plane.
b) Write the three equations, the two component equations and the torque equation about the JOINT, then put the system in the form AX=B with X=(T,Rx,Ry).
c) Compute detA and solve. Give T, Rx and Ry to the nearest newton.
d) Compute the magnitude of the joint force to the nearest newton, and compare it with the load held.
e) Take the torque equation again, but about the deltoid's ATTACHMENT POINT. Write it, check that it gives back Ry, then show that it is a linear combination of the three previous equations. What does this tell you about the rank of the system?
c)detA=0.15sin15∘≈0.0388; T≈1144 N, Rx≈1105 N, Ry=−206 N
d)∥R∥≈1124 N, about 19 times the load
e)−0.15Ry=30.9 gives Ry=−206 N; the rank stays 3
a)
Four forces act on the arm: the deltoid tension T, applied at (0.15,0) and directed along (−cos15∘,sin15∘); the weight of the arm (0,−30) at (0.28,0); the load (0,−60) at (0.60,0); the joint reaction (Rx,Ry) at (0,0). The equilibrium of a RIGID BODY in the plane provides three constraints, two for the resultant and one for the torque, and that is exactly the number of unknowns. A particle would give only two: that is the difference between this exercise and the light fixture one.
b)
Component along x: −Tcos15∘+Rx=0. Component along y: Tsin15∘+Ry−30−60=0, that is Tsin15∘+Ry=90. Torques about the joint: the reaction R is applied there, so its torque is zero, which is the whole point of choosing this point; the component −Tcos15∘ lies along the x-axis, which passes through the origin, so it gives nothing either; what remains is 0.15Tsin15∘−0.28×30−0.60×60=0, that is 0.15Tsin15∘=8.4+36=44.4. Hence A=−cos15∘sin15∘0.15sin15∘100010 and B=09044.4.
c)
Expand detA along the third row, which has a single term: detA=0.15sin15∘×1001=0.15sin15∘≈0.038823, non-zero, so the solution is unique. The third row gives directly Tsin15∘=0.1544.4=296 N, then T=sin15∘296≈1144 N. The first row gives Rx=Tcos15∘≈1105 N. The second gives Ry=90−296=−206 N. The negative sign has a meaning: the joint PUSHES the arm downward, it does not hold it up, because the deltoid already pulls upward much harder than the total weight.
d)
∥R∥=1104.72+2062=1220333+42436≈1124 N, almost 19 times the load held. The result is not absurd: the deltoid works with a lever arm of 0.15sin15∘≈0.039 m against 0.60 m for the load, a ratio of more than 15, and the joint absorbs almost all of that tension. This is the mechanical reason why holding a light object at arm's length quickly hurts, and why shoulder injuries are compression injuries.
e)
About the attachment point (0.15,0), the deltoid tension no longer contributes, and the reaction appears instead. The vector from the attachment point to the joint is (−0.15,0), and the torque of R is (−0.15)Ry−0×Rx=−0.15Ry. The weight of the arm is 0.13 m from the attachment point and the load 0.45 m, hence −0.15Ry−0.13×30−0.45×60=0, that is −0.15Ry=3.9+27=30.9 and Ry=−206 N. That is indeed the value from c). It is no coincidence: writing Ey for the second equation and Eτ for the torque equation about the joint, one checks that Eτ−0.15Ey gives 0.15Tsin15∘−44.4−0.15Tsin15∘−0.15Ry+13.5=−0.15Ry−30.9, exactly the new equation. The torque equation about another point is therefore a LINEAR COMBINATION of the first three. Conclusion about the rank: however many points you take torques about, the rank of the system stays 3, and not one more. Writing torques about four points never gives four pieces of information, only four ways of writing the same one. The choice of point adds nothing, it only chooses WHICH unknown disappears from the row, that is, which pivot you give yourself: torques about the joint eliminate Rx and Ry and isolate T, torques about the attachment point eliminate T and isolate Ry.
Exercise 8: Five statements to correct
Each of the five statements below is FALSE. For each one, give the numerical counterexample asked for, then write the correct statement.
These are the five confusions seen most often when linear algebra meets a science problem.
a) “A system that comes from a physics problem necessarily has a solution, since the situation exists.” Take the light fixture of exercise 2 with two horizontal cables and give the rank of the augmented matrix.
b) “To balance a chemical equation, you need as many equations as chemical species.” Take Al+HCl→AlCl3+H2 and give the dimension of the null space.
c) “A force perpendicular to the displacement does a small but non-zero amount of work.” Give the work, in joules, done by the normal force on the crate of exercise 3.
d) “The torque of a force is computed with the dot product r⋅F.” Take r=(0.30,0,0) m and F=(0,150,0) N, and give the magnitude of the TRUE torque.
e) “Writing the junction rule at every junction of a circuit gives as many independent equations as there are junctions.” For the two-junction circuit of exercise 6, give the number of independent junction rules.
Show the solution
Answers
a)rank([A∣B])=2>rank(A)=1: no solution, impossible situation
b)dimker=1: you need FEWER equations than species
c)WN=0 J exactly, not small
d)r⋅F=0 but ∥M∥=45 N⋅m: it is a cross product
e)Only 1 independent rule; in general n−1
a)
False. With two horizontal cables, rank(A)=1 while rank([A∣B])=2: the row [00∣200] says 0=200, and the system has no solution. The correct statement: an inconsistent system does not signal a computing error, it signals that the situation DESCRIBED is impossible, here because horizontal cables have no vertical component. Treating inconsistency as a row-reduction mistake and redoing the computation three times is the most common waste of time on a test.
b)
False, and in fact impossible. There are four species and three elements, so three equations for four unknowns, and dimker=4−3=1. The correct statement: the balancing system is HOMOGENEOUS and must have strictly fewer independent equations than species, otherwise the only solution would be the trivial one, all coefficients zero, which describes no reaction. It is precisely the existence of a free parameter that lets you write the equation, and that parameter is the scale of the reaction.
c)
False. WN=N⋅d=0 J exactly, since N is vertical and d horizontal. The correct statement: the work done by a force orthogonal to the displacement is zero, not small, and this depends neither on the magnitude of the force nor on the length of the displacement. The confusion is costly because it leads you to compute N for nothing, then to add it to an energy balance where it does not belong.
d)
False. Here r⋅F=0.30×0+0×150+0×0=0, whereas r×F=(0,0,45) and ∥M∥=45 N⋅m, the largest possible value for this wrench. The dot product therefore gives zero exactly where the torque is largest: the two products are not merely different, they are complementary. The correct statement: M=r×F, a CROSS product, whose magnitude is rFsinθ and not rFcosθ.
e)
False. With two junctions, there is only ONE independent rule: the second is the negative of the first, term by term. The correct statement: a circuit with n junctions provides n−1 independent junction rules, because the sum of all these rules is the identity 0=0, each branch current appearing once with each sign. Writing the n-th one does not raise the rank, and believing otherwise leads you to call a system overdetermined when it is perfectly determined.
Exercise 9: Problem: three stock solutions, one target, and what the rank allows
A lab has three salt solutions at 10%, 20% and 50% by mass. You want to prepare 600 g of a 25% solution. Let x1, x2 and x3 be the masses taken, in grams.
The protocol also requires twice as much of the 20% solution as of the 10% solution.
a) Set up the three equations and write the augmented matrix, multiplying the salt row by 10 to clear the decimals.
b) Solve by Gauss-Jordan elimination. Give the three masses.
c) Check the total mass and the mass of salt, then the percentage obtained.
d) The protocol constraint is dropped. Two equations remain for three unknowns. Give the rank, the dimension of the solution set, and the family parametrized by x3. Which values of x3 are physically admissible?
e) Keep the same two equations but aim for 600 g at 60%. Is the system inconsistent? Is the problem solvable all the same? Explain the difference.
d)Rank 2, one parameter: (3t−300,900−4t,t) with t∈[100,225]
e)Consistent, rank 2, but no admissible solution: you cannot exceed 50%
a)
Total mass: x1+x2+x3=600. Mass of salt: 0.10x1+0.20x2+0.50x3=0.25×600=150, which is multiplied by 10 to get x1+2x2+5x3=1500. Protocol: x2=2x1, that is −2x1+x2=0. The augmented matrix is 11−212115060015000. Multiplying a whole row by 10 is one of the three allowed elementary operations, so the new system is equivalent; forgetting to multiply the right-hand side AS WELL is the mistake that ruins everything.
b)
R2→R2−R1 gives (0,1,4∣900). R3→R3+2R1 gives (0,3,2∣1200). Then R3→R3−3R2 gives (0,0,−10∣−1500), so x3=150. Back substitution: x2=900−4×150=300, then x1=600−300−150=150. So you take 150 g of the 10% solution, 300 g of the 20% solution and 150 g of the 50% solution.
c)
Total mass: 150+300+150=600 g. Mass of salt: 0.10×150+0.20×300+0.50×150=15+60+75=150 g. Percentage: 600150=0.25, that is 25%. And the protocol is respected, 300=2×150. The three checks are independent of the computation before them, which is the only way to catch a pivot error.
d)
What remains is [1112156001500]. After R2→R2−R1, there are two pivots, so rank=2, equal to the rank of the augmented matrix: the system is consistent, with 3−2=1 free parameter. Take x3=t: the second row gives x2=900−4t and the first x1=600−(900−4t)−t=3t−300. The family is therefore (3t−300,900−4t,t), a LINE in R3. For t=150 you get back (150,300,150). But a mass cannot be negative, and here physics adds what the algebra ignores: 3t−300≥0 gives t≥100 and 900−4t≥0 gives t≤225. The admissible values are therefore t∈[100,225], a SEGMENT of the line of solutions. At either end, one of the three stock solutions is no longer used: t=100 removes the 10% solution and t=225 the 20% solution.
e)
No, the system is not inconsistent, and that is the subtle point. The second equation becomes x1+2x2+5x3=10×0.60×600=3600, and after R2→R2−R1 you get x2+4x3=3000: two pivots, no 0=c, so rank(A)=rank([A∣B])=2 and there are infinitely many solutions, (3t−2400,3000−4t,t). Yet the problem has NO physical solution: 3t−2400≥0 requires t≥800, whereas x3≤600 since the total mass is 600 g. No value of t works. Chemically, this was predictable without any computation: the most concentrated solution is at 50%, so no mixture can exceed 50%. The difference to remember is this: algebra decides CONSISTENCY, but it knows nothing about sign constraints. A consistent system can have no admissible solution, and of course an inconsistent system cannot have any. Two checks are therefore always needed, the rank and the physical domain.
Exercise 10: Problem: the centre of mass as a linear combination of the positions
Three point masses are fixed at the vertices of a rigid plate of negligible mass: 2.0 kg at A1(0,0), 3.0 kg at A2(8,0) and 5.0 kg at A3(4,5), the coordinates being in decimetres.
The centre of mass is the point G defined by OG=m1+m2+m31(m1OA1+m2OA2+m3OA3).
a) Compute the coordinates of G.
b) Check that m1GA1+m2GA2+m3GA3=0, component by component. This is the property that defines the barycentre.
c) Write OG as a linear combination of OA1, OA2 and OA3, give the three coefficients and compute their sum. What can you deduce about the position of G relative to the triangle?
d) A fourth mass of 4.0 kg is added at a point P to be determined, so that the centre of mass of the whole set moves to (5,2). Write the system satisfied by the coordinates of P and solve it.
e) An assembly constraint requires this fourth mass to be fixed ON the bar A1A2, so at a point with y-coordinate zero. Write the system of three equations in two unknowns, compare its two ranks and conclude.
Show the solution
Answers
a)G(4.4,2.5)
b)Zero sum along x and along y
c)0.2, 0.3 and 0.5, adding up to 1: a convex combination, so G is in the triangle
d)P(6.5,0.75)
e)Ranks 2 and 3: inconsistent system, no position on the bar works
a)
The total mass is 2+3+5=10 kg. The x-coordinate of G is 102×0+3×8+5×4=100+24+20=4.4, the y-coordinate 102×0+3×0+5×5=1025=2.5. So G(4.4,2.5). Each coordinate is handled separately: the centre of mass of a planar system is nothing but two weighted averages computed side by side.
b)
GA1=(0−4.4,0−2.5)=(−4.4,−2.5), GA2=(3.6,−2.5) and GA3=(−0.4,2.5). Along x: 2×(−4.4)+3×3.6+5×(−0.4)=−8.8+10.8−2=0. Along y: 2×(−2.5)+3×(−2.5)+5×2.5=−5−7.5+12.5=0. The weighted sum is indeed zero. It is this equality, not the average formula, that defines the barycentre in full generality, and it explains why an object suspended at its centre of mass stays in equilibrium in every position.
c)
OG=102OA1+103OA2+105OA3=0.2OA1+0.3OA2+0.5OA3. The coefficients are positive and their sum is 0.2+0.3+0.5=1. A linear combination with positive coefficients adding up to 1 is called a CONVEX combination, and the resulting point necessarily lies in the convex hull of the three points, here the triangle A1A2A3, edges included. The centre of mass of a system of points can therefore never leave the polygon that contains them, which gives a free check on any answer: a G outside the triangle is a wrong answer.
d)
The total mass becomes 14 kg. The definition gives 14OG′=10OG+4OP, that is 4OP=14(5,2)−10(4.4,2.5)=(70−44,28−25)=(26,3). The system is therefore 4Px=26 and 4Py=3, diagonal, with determinant 16=0: unique solution P(6.5,0.75). Check: 1410×4.4+4×6.5=1444+26=5 and 1410×2.5+4×0.75=1425+3=2. The point P lies inside the bounding rectangle, which makes sense: to pull the centre of mass to the right and down, the new mass must go at the lower right.
e)
The constraint Py=0 is added to the previous system, which becomes 4Px+0Py=26, 0Px+4Py=3 and 0Px+Py=0. The coefficient matrix 400041 has two columns, so its rank is at most 2, and it is exactly 2. The augmented matrix 4000412630 gives, by R3→4R3−R2, the row [00∣−3]: its rank is 3. The two ranks differ, the system is INCONSISTENT. Physical conclusion: no 4.0 kg mass placed on the bar A1A2 can bring the centre of mass to (5,2), and there is no point searching. The reason can also be seen without algebra: all the masses then have their y-coordinate in [0,5] and the required centre of mass demands 1425+4Py=2, that is 4Py=3 and Py=0.75, a non-zero value. To get there, you would have to change the added mass, or accept placing it off the bar. The rank has played its role of referee here: it did not say how to do it, it said that it cannot be done.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, 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 work on 201-SN4-RE at the real level of the tests, from turning a physics or chemistry problem into equations to reading the rank.