doPhysics.in
All chapters
Algebra for Physics · Lesson 2 of 6

Simultaneous Linear Equations

15 min read3 ideas6 checks1 figure to playBy Asheshanand Acharya
What you will learn 0 / 3
Simultaneous linear equations
Look around
One equation, two unknowns

On an air track in a school laboratory in Kota, a \(2\,\text{kg}\) trolley moving at \(4\,\text{m/s}\) strikes a \(1\,\text{kg}\) trolley at rest. Momentum is conserved, so \(2 \times 4 = 2v_1 + v_2\). This one equation has two unknowns. The pair \(v_1 = 2\), \(v_2 = 4\) fits the equation. So do \(v_1 = 1\), \(v_2 = 6\) and endless other pairs. Which pair really happens?

you will solve two or three linear equations together, and you will find both velocities after this collision.

Two unknowns need two equations

Simultaneous equations must all hold at once. One linear equation in two unknowns fixes only a relation between them. For every value of \(v_1\) there is a \(v_2\) that fits. To fix both, a second fact is needed, and it must be a new fact, not the first one written again. For the trolleys the second fact is the coefficient of restitution, from the chapter Collisions: \(v_2 - v_1 = e(u_1 - u_2)\). The trolleys have \(e = 0.5\), so \(v_2 - v_1 = 2\).

Elimination

Now there are two equations: \(2v_1 + v_2 = 8\) and \(v_2 - v_1 = 2\). Both contain \(v_2\) once, with the same sign. Subtract the second equation from the first, side by side. The \(v_2\) terms cancel and leave \(3v_1 = 6\), so \(v_1 = 2\,\text{m/s}\). Put this back into either equation: \(v_2 = 2 + 2 = 4\,\text{m/s}\). This is elimination: add or subtract whole equations, multiplied by suitable numbers, until one unknown cancels.

Substitution

A second route, substitution, gives the same answer. Make one unknown the subject of one equation, and substitute it into the other. From \(v_2 - v_1 = 2\), \(v_2 = v_1 + 2\). Then \(2v_1 + (v_1 + 2) = 8\), so \(3v_1 = 6\) and \(v_1 = 2\,\text{m/s}\) again. Use whichever route is shorter for the equations in front of you.

principle 6.2
Solving linear equations together

Two independent linear equations in two unknowns have exactly one solution. Eliminate one unknown, by adding or subtracting multiples of the equations or by substitution, and solve for the other. Substitute that value back to find the first unknown. Check the pair in both of the original equations.

RememberTwo linear equations in two unknowns
\[ \begin{gathered} a_1x+b_1y=c_1, \qquad a_2x+b_2y=c_2 \\ x=\dfrac{c_1b_2-c_2b_1}{a_1b_2-a_2b_1}, \qquad y=\dfrac{a_1c_2-a_2c_1}{a_1b_2-a_2b_1} \end{gathered} \]
Holds whenwhenever \(a_1b_2 - a_2b_1 \ne 0\). If \(a_1b_2 - a_2b_1 = 0\), the equations are not independent: there is no solution or there are endless ones.
Symbols\(x\) and \(y\) the unknowns, \(a_1, b_1, c_1\) and \(a_2, b_2, c_2\) the known numbers of the two equations
Unitseach unknown takes the unit that makes every term of its equation agree
Deriving \(x = \dfrac{c_1b_2 - c_2b_1}{a_1b_2 - a_2b_1}\) step 1 of 4
1

\[ a_1b_2\,x + b_1b_2\,y = c_1b_2 \]

Why. multiply the first equation by \(b_2\), so that \(y\) carries the factor \(b_1b_2\).

For the trolleys, \(a_1 = 2\), \(b_1 = 1\), \(c_1 = 8\) and \(a_2 = -1\), \(b_2 = 1\), \(c_2 = 2\). The denominator is \(2 \times 1 - (-1) \times 1 = 3\). Then \(v_1 = (8 - 2)/3 = 2\) and \(v_2 = (4 + 8)/3 = 4\), as before. The formula is useful to check a hand solution, but writing the equations and eliminating by hand keeps the physics in view.

The Atwood machine of the chapter Accelerated Objects is solved by elimination too. Its two equations are \(m_1g - T = m_1a\) and \(T - m_2g = m_2a\). The tension appears with opposite signs, so adding the equations removes it: \((m_1 - m_2)g = (m_1 + m_2)a\). The acceleration follows, and then the tension from either equation.

CheckpointUnanswered

For the Atwood machine, \(m_1g - T = m_1a\) and \(T - m_2g = m_2a\). Which single step removes the tension \(T\)?

Checkpoint · numericUnanswered

Blocks of \(5\,\text{kg}\) and \(3\,\text{kg}\) hang over a smooth light pulley. Take \(g = 10\,\text{m/s}^2\). Solve the two equations of the blocks together and find the tension, in newtons.

N± 2 %
Each equation is a straight line

Each equation is a straight line

Plot \(v_2\) against \(v_1\). Every pair that obeys \(2v_1 + v_2 = 8\) lies on one straight line. Every pair that obeys \(v_2 - v_1 = 4e\) lies on another. The only pair that obeys both is the point where the two lines cross. In the figure below, a slider changes \(e\). The restitution line moves, and the crossing slides along the momentum line.

Each equation is a line; the answer is where they crossA graph of the velocity v2 of a struck 1 kilogram ball against the velocity v1 of the 2 kilogram ball that struck it at 4 metres per second. Every pair of velocities that conserves momentum lies on the line 2 v1 + v2 = 8, which runs from v2 = 8 on the upright axis to v1 = 4 on the level axis. Every pair with a coefficient of restitution e lies on the line v2 minus v1 = 4 e, of slope one. A slider sets e from 0 to 1. The two lines cross at one point, the only pair that obeys both equations, and dashed lines drop from it to the two axes. At e = 0.5 the crossing is at v1 = 2 and v2 = 4 metres per second. At e = 0 the balls move together at 2.67 metres per second; at e = 1 the velocities are 1.33 and 5.33 metres per second. The crossing slides along the momentum line as e changes.12342468Ov1 (m/s)v2 (m/s) 2v1 + v2 = 8 v2 − v1 = 4e e = 0.50: v1 = 2.00, v2 = 4.00 m/s
SimThe collision of the \(2\,\text{kg}\) trolley at \(4\,\text{m/s}\) with the \(1\,\text{kg}\) trolley at rest. The orange line holds every pair that conserves momentum, and the blue line every pair with the coefficient of restitution \(e\). Move the slider. At \(e = 0\) the trolleys move together at \(2.67\,\text{m/s}\). At \(e = 1\) they leave at \(1.33\) and \(5.33\,\text{m/s}\).

The picture also shows when two equations fail. Two parallel lines never cross, so the equations contradict each other and have no solution. Two lines that lie on top of each other cross everywhere. Then the second equation is the first one written again, such as \(4v_1 + 2v_2 = 16\), and it adds nothing. In both cases \(a_1b_2 - a_2b_1 = 0\), the denominator of the formula.

ExampleThis is the worked example of Collisions, lesson 4, done with the tool

A \(2\,\text{kg}\) ball moving at \(4\,\text{m/s}\) strikes a \(1\,\text{kg}\) ball at rest, head-on, with \(e = 0.5\). Find both velocities after the collision and the kinetic energy lost.

Reveal one step at a time and finish the rest yourself.
CheckpointUnanswered

What can you say about the pair of equations \(2x + y = 8\) and \(4x + 2y = 10\)?

Checkpoint · numericUnanswered

A \(1\,\text{kg}\) ball moving at \(6\,\text{m/s}\) strikes a \(2\,\text{kg}\) ball at rest, head-on, with \(e = 0.5\). Find the velocity of the \(2\,\text{kg}\) ball after the collision, in m/s.

m/s± 2 %
Three unknowns one at a time

Three unknowns

Three unknowns need three independent equations. The method is the same, applied twice. Use one equation to remove one unknown from the other two. That leaves two equations in two unknowns, which you already know how to solve. Often a lucky sum removes two unknowns at once.

A train of three blocks shows the lucky sum. Blocks of \(1\), \(2\) and \(3\,\text{kg}\) lie on a smooth table, joined by light strings, and \(30\,\text{N}\) pulls the front block. The unknowns are the tensions \(T_1\) and \(T_2\) and the common acceleration \(a\). Fig 2.1 draws each block alone with its own forces and its own equation.

Three blocks, three unknowns, three equationsThree blocks of 1, 2 and 3 kilograms on a smooth table, joined in a line by light strings and pulled forward by a force of 30 newtons on the front block. The blocks are drawn in three rows, rear block at the top, so that each shows the horizontal forces on it alone. The rear block has only the tension T1 forward. The middle block has T1 backward and T2 forward. The front block has T2 backward and the 30 newton pull forward. An arrow above says that all three share one acceleration a. Beside each block is its own equation of motion: T1 = 1 a, T2 minus T1 = 2 a, and 30 minus T2 = 3 a. a, the same for all three 1 kg T1 T1 = 1a 2 kg T1 T2 T2 − T1 = 2a 3 kg T2 30 N 30 − T2 = 3a
Fig 2.1The three blocks drawn in three rows, the rear block at the top, each with the horizontal forces on it alone. Each string pulls the block behind it forward and the block ahead of it backward. Beside each block is its own equation of motion.

Add the three equations. Each tension appears once with a plus sign and once with a minus sign, so both cancel: \(30 = 6a\), and \(a = 5\,\text{m/s}^2\). The rear block's equation then gives \(T_1 = 1 \times 5 = 5\,\text{N}\). The middle block's gives \(T_2 = T_1 + 2a = 15\,\text{N}\). The front block checks the answer: \(30 - 15 = 15 = 3 \times 5\).

ExampleThis is the second network of Circuits: Kirchhoff's Laws, Networks and RC Transients, lesson 4, solved by loops

A \(10\,\text{V}\) cell with an internal resistance of \(1\,\Omega\) and a \(4\,\text{V}\) cell with \(2\,\Omega\) are joined in parallel across a \(2\,\Omega\) load. Their positive terminals are joined together. Find the three branch currents.

Reveal one step at a time and finish the rest yourself.
Checkpoint · numericUnanswered

Blocks of \(2\), \(3\) and \(5\,\text{kg}\) lie in a line on a smooth table, joined by light strings. A force of \(40\,\text{N}\) pulls the \(5\,\text{kg}\) block at the front. Find the tension in the string between the \(3\,\text{kg}\) and \(5\,\text{kg}\) blocks, in newtons.

N± 2 %
CheckpointUnanswered

For an Atwood machine, a student writes an equation for each block. The student then adds a third equation for the two blocks together. How many unknowns can these three equations fix?

Common mistake

Count only independent equations. An equation made by adding or scaling others, such as the equation of a whole system, tells nothing new. Also keep one sign convention for every unknown. A negative answer, like \(I_2 = -1\,\text{A}\) above, is not an error: it means the unknown points the other way.

In the world
Where this tool works in physics

Linear equations solved together run through mechanics. The Atwood machine, a block on a table pulled by a hanging mass and trains of blocks all give one equation per body. The same holds for a heavy pulley, a block hanging from a wheel, a yo-yo and a cylinder on a moving plank. There the equation of rotation joins the equations of motion. Every head-on collision is two equations, momentum and restitution. In circuits, Kirchhoff's rules and the nodal method give one equation per loop or junction, and a cell's internal resistance comes from two readings. Two resonance lengths give the speed of sound, and an orbit's radius and speed come from two conditions of the Bohr atom.

Exam traps
  1. Subtracting when the unknown has opposite signs.
    Look at the signs first. Add the equations when the unknown appears as \(+T\) in one and \(-T\) in the other; subtract when the signs are the same.
  2. Stopping after finding one unknown.
    Substitute it back into one equation for the other unknown, then check the pair in the other equation.
  3. Counting an equation that is the sum of others.
    Only independent equations count. The equation of a whole system is the sum of the equations of its parts.

Where this tool works in the book

The physics that leans on this lesson. Each card opens the topic where the tool is at work.