A2 · Lesson 7 · Two equations in two unknowns
Where two lines cross
A circuit with two unknown currents gives you two equations, one for each loop, and each equation alone allows infinitely many answers. Only one pair of currents satisfies both. On a graph, each equation is a line and the answer is where they cross. Solving pairs of equations by hand is the step before matrices (A7) and circuit analysis (C1), which do the same thing with more unknowns.
Play
- The two lines are and . The dot is where they cross.
- Make the slopes nearly equal. What happens to the crossing point?
- Make them exactly equal. Is there still an answer?
Predict
Two lines have the same slope but different intercepts. How many points satisfy both equations?
None. Lines with the same slope are parallel, so they never cross, and no pair satisfies both. If they had the same intercept too, they'd be the same line, and every point on it would work. A pair of linear equations has one solution, none, or infinitely many, and the slopes tell you which.
Name it
Two ways to solve
Take
Substitution. Solve one equation for one unknown and put it into the other. From the second, . Then , so , , and .
Elimination. Scale the equations so that adding them cancels an unknown. Doubling the second gives ; adding it to the first cancels : , so . Then .
Always check by putting the answer back into both: and .
When there's exactly one answer
For the general pair
elimination gives
This is Cramer's rule, and the shared bottom, , is the determinant. If it's zero, the two lines have the same slope: either parallel (no solution) or the same line (infinitely many). Otherwise there's exactly one answer.
In circuits
Loop analysis of a two-loop circuit (in C1) produces equations like
The terms couple the loops: it's the resistor they share. Solving the pair gives both currents at once.
Worked example
Solve and , with the currents in amperes.
Show the solution
- Scale the first equation. Multiply it by 3 to eliminate :
- Add the second equation.
- Back-substitute. Put into the second equation: so A.
- Check with Cramer's rule. The determinant is , so
Answer A and A.
Worked example
A battery with = 9 V and = 0.5 Ω drives a 4 Ω load. Find the current by solving the battery's line and the load's line together.
Show the solution
- Write both lines. The battery gives , and the load gives .
- Set them equal. Both hold, so
- Voltage. That's the crossing point of the two lines from lesson 3, found with algebra in place of a graph.
Answer 2 A flows, with 8 V across the load.
Worked example
Solve and . What does the answer mean if these are two ideal voltage sources tied together?
Show the solution
- Double the second equation.
- Subtract the first. That leaves which can't be true, so there's no solution.
- See it on the graph. The lines have the same slope, , and different intercepts, so they're parallel and never meet.
- Read it as a circuit. Two ideal sources of different voltages connected in parallel give exactly this: each insists on its own voltage, and no current satisfies both.
- Real sources. They have internal resistance, which tilts their lines so they cross, and the current that flows at the crossing can be large.
Answer there's no solution, because the lines are parallel. For two ideal sources tied together, that means no current satisfies both; real sources settle at a crossing, where the current can be large.
Check
Solve and . What is ?
Check
Solve and . What is ?
Check
What is the determinant of and ?
Check
Which pair has no solution?
Check
Loop analysis of a circuit gives and (resistances in ohms, voltages in volts). What is ?
Write units the way you normally would: 1.5 A, 1500 mA and 0.0015 kA are the same answer.
Check
Where do and cross? Give .
Check
Two batteries are wired in parallel across a 1 Ω load. One has EMF 12 V and internal resistance 0.1 Ω, the other 11.8 V and 0.2 Ω. With the shared voltage, the battery currents satisfy and the load takes .
(a)
What is the shared voltage ?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
What current does the first battery deliver?
(c)
What current does the second battery deliver? (A negative answer means it's being charged.)
Check
Solve and in general, by elimination.
Step 1
Multiply the first equation by and the second by , subtract, and solve for .
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Eliminate the same way and solve for .
Explain why
What does a determinant of zero mean for two linear equations, in terms of their lines?
The determinant is zero exactly when the two equations' and coefficients are in the same ratio, which means the two lines have the same slope. Lines with the same slope are either parallel, so they never meet and there's no solution, or they're the same line, so every point on it is a solution. Either way there isn't a single answer.
Practice
Keep practicing
11 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.