A27 of 29
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 y=m1x+b1 and y=m2x+b2. 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?

Name it

Two ways to solve

Take

3x+2y=12x−y=−1

Substitution. Solve one equation for one unknown and put it into the other. From the second, x=y−1. Then 3(y−1)+2y=12, so 5y=15, y=3, and x=2.

Elimination. Scale the equations so that adding them cancels an unknown. Doubling the second gives 2x−2y=−2; adding it to the first cancels y: 5x=10, so x=2. Then y=x+1=3.

Always check by putting the answer back into both: 3(2)+2(3)=12 and 2−3=−1.

When there's exactly one answer

For the general pair

ax+by=ecx+dy=f

elimination gives

x=ed−bfad−bcy=af−ecad−bc

This is Cramer's rule, and the shared bottom, ad−bc, 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

(R1+R2)I1−R2I2=V1−R2I1+(R2+R3)I2=V2

The R2 terms couple the loops: it's the resistor they share. Solving the pair gives both currents at once.

Worked example

Solve 5I1−2I2=10 and −2I1+6I2=4, with the currents in amperes.

Show the solution
  1. Scale the first equation. Multiply it by 3 to eliminate I2: 15I1−6I2=30
  2. Add the second equation. 13I1=34I1=3413=2.615A
  3. Back-substitute. Put I1 into the second equation: 6I2=4+2(2.615)=9.231 so I2=1.538 A.
  4. Check with Cramer's rule. The determinant is 5×6−(−2)(−2)=26, so I1=10×6−(−2)(4)26=6826=2.615A

Answer I1=2.615 A and I2=1.538 A.

Worked example

A battery with E = 9 V and r = 0.5 Ω drives a 4 Ω load. Find the current by solving the battery's line and the load's line together.

Show the solution
  1. Write both lines. The battery gives V=9−0.5I, and the load gives V=4I.
  2. Set them equal. Both hold, so 4I=9−0.5I4.5I=9I=2A
  3. Voltage. V=4×2=8V 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 2x+4y=8 and x+2y=5. What does the answer mean if these are two ideal voltage sources tied together?

Show the solution
  1. Double the second equation. 2x+4y=10
  2. Subtract the first. That leaves 0=2 which can't be true, so there's no solution.
  3. See it on the graph. The lines have the same slope, −12, and different intercepts, so they're parallel and never meet.
  4. 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.
  5. 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 3x+4y=26 and 1x−2y=−8. What is x?

Check

Solve 2x+5y=6 and 4x+1y=−6. What is y?

Check

What is the determinant ad−bc of 3x+(1)y=1 and (2)x+7y=2?

Check

Which pair has no solution?

Check

Loop analysis of a circuit gives 6I1−1I2=12 and −1I1+9I2=3 (resistances in ohms, voltages in volts). What is I1?

Write units the way you normally would: 1.5 A, 1500 mA and 0.0015 kA are the same answer.

Check

Where do y=2x+(1) and y=−4x+7 cross? Give x.

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 V the shared voltage, the battery currents satisfy V=12−0.1I1=11.8−0.2I2 and the load takes I1+I2=V/1.

(a)

What is the shared voltage V?

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 ax+by=p and cx+dy=q in general, by elimination.

Step 1

Multiply the first equation by d and the second by b, subtract, and solve for x.

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°.

Explain why

What does a determinant of zero mean for two linear equations, in terms of their lines?

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.