Linear Equations in Two Unknowns (Lineare Gleichungen mit zwei Unbekannten)

35 min · 10 drills

The tasks in this topic all follow the same pattern. A short text sits at the top: one equation, a system of two equations, sometimes with a parameter, or a short word problem. Five claims follow underneath, and for each one you decide whether it holds; the tick column is headed "Richtig" (correct). The claims ask about the solution itself, about the number of solutions, about a single step of the calculation or about how two lines lie relative to each other.

The formula sheet (Formelsammlung) contains not a single formula for this topic, and it is worth knowing that before you look for one in the exam. The solution formula (1) is for quadratic equations and does not help here, because a linear equation contains no square. The interval notations describe sets on the number line, whereas the solution of a system is a point in the plane. Neither the three solution methods nor the criterion that tells you the number of solutions appears there. This article supplies both, and you have to carry both yourself.

Solved for y, the equation becomes a linear function

Linear equation in two unknowns (lineare Gleichung mit zwei Unbekannten)

An equation that can be brought into the form ax+by=c with real numbers a, b, c, where a and b are not both zero, is called a linear equation in the unknowns x and y. A solution is a pair of numbers (x,y) that turns the equation into a true statement when substituted. The first number of the pair always belongs to x, the second to y.

Take 2(x+1)=3y−4. Whether a pair satisfies the equation is decided by substitution, and the equation does not have to be rearranged first. For (3,4) the left side gives 2⋅4=8 and the right side 3⋅4−4=8: the pair is a solution. For (6,5) the left side gives 14 and the right side 11: not a solution. The first number of the pair always goes in for x, the second for y.

Rearranging the equation makes it clearer. 2x+2=3y−4 becomes 2x−3y=−6. Each value of x comes with exactly one y: x=−3 gives 3y=0, so y=0; x=0 gives 3y=6, so y=2; x=3 gives y=4. The table can be continued with any further x.

x−3036
y0246

Solve for y and you see what shape these pairs form:

2x−3y=−6⟺y=23 x+2

This is a linear function with slope (Steigung) k=23 and intercept (Achsenabschnitt) d=2. The pairs from the table are points of its graph. Every linear equation in which y occurs can be rearranged this way:

ax+by=c with b≠0⟺y=−ab x+cb

If b=0, what remains is ax=c, so x=ca, and y is arbitrary. In the coordinate system this is a vertical line, which has no form y=kx+d.

Your turn1 of 10

The equation 4x+6y=9 is solved for y. Which line results?

A system demands both equations at once, and its solutions lie on both lines

System of linear equations (lineares Gleichungssystem)

Two linear equations in the same unknowns x and y that are required to hold at the same time form a system of linear equations. A solution of the system is a pair (x,y) that satisfies both equations. The solution set (Lösungsmenge) is the set of all such pairs.

Geometrically, each equation belongs to a line, and a pair satisfies both equations exactly when it lies on both lines. The solution set is therefore what the two lines have in common.

Position of the linesCommon pointsSolutions of the system
intersectexactly oneexactly one
parallel and distinctnonenone
coincideevery point of the lineinfinitely many

The calculation shows why the table is complete. Removing one unknown, as the section on the methods demonstrates, leaves an equation of the form kx=m. It allows only three possibilities. If k≠0, then x=mk, together with a single y. If k=0 and m≠0, what remains is a false statement such as 0=5. If k=0 and m=0, what remains is 0=0, and every pair that satisfies one of the equations satisfies the other as well.

All of this assumes that each of the two equations really describes a line, that is, neither collapses on its own into a statement 0=c without unknowns. That can happen when a parameter makes both coefficients of an equation zero. 0=0 then imposes no restriction, and the system consists of the other equation alone; 0=5 means there is no solution.

Your turn2 of 10

Which statement about the solution set of the system 2x−y=3 and −6x+3y=−9 is true?

The coefficients reveal the case before you calculate

Which of the three cases applies can be read off without solving the system. To do so, bring both equations into the same form

a1x+b1y=c1,a2x+b2y=c2

and compare the left sides first. What matters is whether the second left side is a multiple of the first, that is, whether there is a number t with a2=t⋅a1 and b2=t⋅b1. The left sides are then called proportional.

Left sidesRight sidesCase
not proportionalanythingexactly one solution
proportional with factor tc2=t⋅c1infinitely many solutions
proportional with factor tc2≠t⋅c1no solution

The table assumes that neither equation has both coefficients equal to zero; otherwise the remark about 0=c above applies. If an equation is written differently, rearrange it first. Three possible second equations for the same first equation 3x−2y=4 show all the cases, and none of them is in the right form yet.

  • y=1.5x−2. Multiplied by 2 and rearranged, this becomes 3x−2y=4, exactly the first equation. Both describe the same line: infinitely many solutions, for instance (0,−2) and (2,1).
  • 4y=6x+1. Rearranged, this reads 6x−4y=−1. The left side is twice 3x−2y, but twice the right side would be 8, not −1. A pair satisfying the first equation always gives 8 on the left of the second: no solution, the lines are parallel and distinct.
  • 2y=x+4. Rearranged, this reads x−2y=−4. The factor in front of x would be 13, but in front of y it is 1: not proportional, exactly one solution. Subtracting the two rearranged equations removes y and gives 2x=8, so x=4 and y=4.

The same criterion can be read through the slope. Rearrange both equations into y=kx+d. Different slopes mean one point of intersection. Equal slopes with different intercepts mean parallel, distinct lines. Equal slopes with equal intercepts mean the same line. For 3x−2y=4 you get y=1.5x−2, for 4y=6x+1 you get y=1.5x+0.25: the same slope, different intercepts, no solution.

If you know the determinant (Determinante), you can also pack the comparison of the left sides into one number: D=a1b2−a2b1 is zero exactly when the left sides are proportional. You do not need it, since comparing the factors does the same job; the determinant is only a shortcut. For 3x−2y=4 and x−2y=−4 you get D=3⋅(−2)−1⋅(−2)=−4, for 3x−2y=4 and 6x−4y=−1 you get D=3⋅(−4)−6⋅(−2)=0.

Your turn3 of 10

Bring 2x−3y=6 into the form y=kx+d and compare it with the line y=23x−2. What does the comparison show?

Substitution, equating and elimination lead to the same pair

When there is exactly one solution, you compute it by removing one unknown. What remains is an equation in one unknown, which you solve as usual. Which method is fastest depends on the shape of the system.

Substitution method (Einsetzungsverfahren)

One equation is solved for one unknown, and the resulting expression is substituted into the other equation. It pays off when one equation already has the form y=… or x=….

In the system x=2y+1 and 3y−2x=−4 you replace x in the second equation by 2y+1, in brackets, because the factor −2 acts on the whole expression:

3y−2(2y+1)=−4  ⟹  3y−4y−2=−4  ⟹  −y=−2  ⟹  y=2

The first equation then gives x=2⋅2+1=5, and the solution is (5,2). Without the brackets you would have written 3y−4y+1=−4: the factor −2 would have reached only 2y and not the 1, and you would get y=5. The check (Probe) in both equations exposes this at once. For (5,2) the check works: 2⋅2+1=5 and 6−10=−4.

Equating method (Gleichsetzungsverfahren)

Both equations are solved for the same unknown, and the two expressions are set equal. This is the natural route when both equations are already in that shape, for instance as two lines in the form y=kx+d or as two expressions for x.

In the system x=3y−2 and x=y+6 the unknown x stands alone twice. Both right sides are the same value x, so:

3y−2=y+6  ⟹  2y=8  ⟹  y=4

Substituting gives x=4+6=10, and the other equation confirms it: 3⋅4−2=10. Here y was computed first, but the pair is still written in the order (x,y): the solution is (10,4). Writing the values down in the order in which they were found lands you on the wrong pair.

Elimination method (Additionsverfahren)

If necessary, the equations are multiplied by non-zero numbers so that one unknown carries opposite numbers in the two equations. The equations are then added, left side to left side and right side to right side, and that unknown drops out. If it carries equal numbers, you subtract instead.

In the system 3x+4y=10 and 2x+3y=7 no numbers match on their own. To remove x, multiply the first equation by 2 and the second by 3; then x carries 6 in both equations:

6x+8y=20and6x+9y=21

Equal numbers vanish when you subtract: the second minus the first gives y=1, and 3x+4=10 gives x=2. Adding would give 12x+17y=41 here and double x instead of removing it. The rule is simple: opposite numbers vanish when you add, equal ones when you subtract. And you always multiply the whole equation, both sides and every term: 2x+3y=7 times 3 is 6x+9y=21, not 6x+9y=7.

The same example shows what happens to the solution when an equation is replaced by such a combination. If, in the system 3x+4y=10 and 2x+3y=7, the first equation is replaced by the first minus the second, the result is the system x+y=3 and 2x+3y=7. With y=3−x this gives 2x+9−3x=7, so x=2 and y=1: the same pair as before.

The equation x+y=3 also serves as a quick check, because (2,1) satisfies it. On its own, however, it does not pin down the solution: (0,3) satisfies it too but does not solve the system, since 2⋅0+3⋅3=9≠7.

When multiplying an equation, only the factor zero is ruled out: multiplied by zero, 2x+3y=7 would turn into the statement 0=0, and the information in the equation would be lost.

Your turn4 of 10

In the system 4x+3y=5 and −6x+5y=−17 the unknown x is to drop out. Which step achieves that?

Your turn5 of 10

In the system y=2x−1 and 4x−3y=5, y is substituted into the second equation. Which equation results after multiplying out and collecting terms?

Fractions disappear when each equation is multiplied by the common denominator

If an equation contains fractions, first multiply it by the lowest common denominator (Hauptnenner). In the system

x+12−y5=1andx+y=8

the common denominator is 10. Every term of the first equation is multiplied by 10: 10⋅x+12=5(x+1), 10⋅y5=2y and 10⋅1=10. The first equation becomes 5(x+1)−2y=10, so 5x−2y=5. If the numerator is a sum, the factor reaches the whole sum: writing 5x+1 instead of 5x+5 means carrying on with a different equation. The right side is multiplied too; forgetting it gives 5x−2y=−4.

After that, everything proceeds as usual. The second equation gives y=8−x, substituting gives 5x−2(8−x)=5, so 7x=21, x=3 and y=5. The check belongs in the original equation with the fractions: 3+12−55=2−1=1. Decimals are handled the same way: 0.2x+0.5y=1.1 times 10 becomes 2x+5y=11.

Your turn6 of 10

The equation x−14−y−36=2 is multiplied by 12 and rearranged. What results?

With a parameter, the values that make the left sides proportional decide the case

If a letter such as a or k stands in a system in place of a number, the case depends on the value of this parameter. The question is then for which values the system has exactly one, no or infinitely many solutions. Always proceed in the same order:

  1. When are the left sides proportional? Compare the factors coefficient by coefficient, or, for lines of the form y=kx+d, simply the slopes. For all other values of the parameter there is exactly one solution, provided no equation collapses into 0=c; check separately any values at which both coefficients of an equation become zero.
  2. Check the right sides for each value found. If the factor fits on the right as well, there are infinitely many solutions, otherwise none. For lines this means: the same intercept or not.

Three examples with lines in the form y=kx+d show how the two steps work together.

The candidate leads to parallel lines. For y=ax+1 and y=3x+a the slopes are equal when a=3. The lines then read y=3x+1 and y=3x+3: equal slopes, different intercepts, so no solution at a=3.

The candidate leads to the same line. For y=ax−2 and 2y=6x+a−7, first bring the second equation into the form y=3x+a−72. Equal slopes require a=3, and then the intercept of the second line is 3−72=−2, just as for the first. At a=3 the lines coincide, and there are infinitely many solutions.

Two candidates. If the parameter appears squared, the first step can yield several values. For y=a2x+1 and y=9x+a, equal slopes require a2=9, so a=3 or a=−3. The second step is carried out for each value separately: at a=3 it is y=9x+1 against y=9x+3, at a=−3 it is y=9x+1 against y=9x−3. Both times the lines are parallel and distinct.

Your turn7 of 10

For which value of a do the lines y=(1−a)x+6 and y=3x−a have no point in common?

With three equations for two unknowns, the third one is a check

Sometimes three equations in the same two unknowns are given; such a system is called overdetermined (überbestimmt). The procedure: solve two of the equations and check whether their pair also satisfies the third. If it does not, the system has no solution.

Take the three lines y=3x−3, y=−2x+7 and y=12x+2. Equating the first two gives 3x−3=−2x+7, so 5x=10, x=2 and y=3. At x=2 the third line has the value 12⋅2+2=3, so it passes through the same point. The pair (2,3) satisfies all three equations: the three lines meet in one common point.

Your turn8 of 10

The lines y=2x+1 and y=−x+7 intersect. For which value of a does the line y=ax−1 also pass through this intersection point?

A word problem becomes a system of equations only once the unknowns are named

In a word problem the calculation is usually the easier part. What is harder is turning the text into two correct equations. Three steps help:

  1. Name the unknowns with their meaning and unit. For instance: "x is the cycling speed in km/h, y the walking speed in km/h." If the task already assigns them, stick to that assignment exactly.
  2. One equation for each piece of information. Every number belongs to exactly one unknown, and both sides of an equation carry the same unit.
  3. Read the answer back into the text. Are the numbers sensible, for instance non-negative whole counts, and do both pieces of information check out?

Cycling and walking. A hiker covers 75 km on one day, 4 hours by bike and 180 minutes on foot. On a second day she manages 55 km, 2 hours by bike and 5 hours on foot. Both paces are the same on both days. With x for the cycling speed and y for the walking speed, both in km/h, each stage gives speed times time, and for that the time has to be in hours: 180 minutes are 3 hours.

4x+3y=75,2x+5y=55

Multiplying the second equation by 2 gives 4x+10y=110, and subtracting the first removes x: 7y=35, so y=5, and 4x+15=75 then gives x=15. She cycles at 15 km/h and walks at 5 km/h. Check: 60+15=75 and 30+25=55. Two mistakes are tempting. Entering the 180 minutes unchanged gives 4x+180y=75 and mixes hours and minutes in one equation. And attaching the times to the wrong unknowns, say 3x+4y=75, calculates with 3 hours on the bike instead of 4.

Limited capacity. When a firm makes two products that pass through two stations, each unknown belongs to a product and each equation to a station. The equation of a station collects what each product uses there, and the capacity of that station stands on the right. The full example in the next section works this through. Mixtures follow the same bookkeeping: quantity times price per unit gives a value in euros, and an equation about values has euros on both sides, one about quantities the same unit of quantity on both sides.

Your turn9 of 10

A batch of biscuits needs 3 kg of flour and 1 kg of butter, a batch of cake 1 kg of flour and 2 kg of butter. There are 50 kg of flour and 40 kg of butter in stock, and both are to be used up. With x batches of biscuits and y batches of cake: which system describes this?

Five claims under time pressure

The five claims of a task are independent decisions. How many of them hold is open, but at least one always does. Scoring uses partial points: every correct tick earns a share, every wrong one costs a share, and a question never drops below zero. If only one claim is correct, the points come only for exactly that one tick, and any further tick sets the question to zero. A procedure that works:

  1. Determine the case first. A glance at the coefficients tells you whether there is exactly one, no or infinitely many solutions. That often settles two or three claims at once.
  2. With exactly one solution, compute the pair and check it in both equations. Test offered pairs by substitution, the first number for x.
  3. Redo calculation steps rather than judging them by feel. If a claim says that a step produces a certain equation, carry out the step yourself and compare term by term.
  4. With a parameter, check the candidates one by one, that is, the values at which the left sides become proportional. Only then decide claims containing "for every" or "there is".
  5. In word problems, read offered equations against the text. Does every number belong to the right unknown, and do both sides carry the same unit?

A full example. A workshop makes benches and stools. A bench needs 2 hours at the saw and 1 hour of sanding, a stool 1 hour at the saw and 3 hours of sanding. In one week 70 saw hours and 60 sanding hours are available, and both are to be used in full. Let x be the number of benches and y the number of stools.

  • For the saw, 2x+y=70. Correct. Each bench takes 2 hours at the saw, each stool 1 hour, 70 in total.
  • For sanding, x+3y=70. Wrong. The right side is the sanding capacity, 60 hours; the 70 hours belong to the saw. The correct equation is x+3y=60.
  • 30 benches are made. Correct. The first equation gives y=70−2x, substituting gives x+210−6x=60, so 5x=150, x=30 and y=10. Check: 60+10=70 and 30+30=60.
  • More stools than benches are made. Wrong, since 10<30.
  • With 80 instead of 70 saw hours the system would have no solution. Wrong. The left sides do not change and are not proportional: from 2x to x the factor is 12, but from y to 3y it is 3. There is still exactly one solution, namely x=36 and y=8.

Two claims depended on setting up the equations, two on the one computed pair and one on comparing the coefficients. That is typical: once you have drawn the equations cleanly from the text, determined the case and computed the pair, most of the decisions are already made.

Your turn10 of 10

A stall sells coffee at 3 euros and tea at 2 euros per cup. On one day 50 cups are sold and the takings are 130 euros. Let x be the number of cups of coffee and y the number of cups of tea. Which claim is correct?

Common mistakes

  • Writing the pair in the order of calculation. If y is computed first, it still goes in second place: (10,4) and (4,10) are different pairs.
  • Comparing only the left sides. Proportional left sides do not yet mean infinitely many solutions; if the right side does not fit, there are none.
  • Forgetting the brackets when substituting. If there is a factor or a minus in front of the replaced unknown, it acts on the whole substituted expression.
  • Mixing up adding and subtracting. Opposite coefficients vanish when you add, equal ones when you subtract.
  • Leaving out a term when multiplying. The right side is multiplied too, and if the numerator of a fraction is a sum, the whole sum is multiplied: 10⋅x+12=5x+5.
  • Mixing units. Both sides of an equation carry the same unit, not hours and minutes in the same equation.
  • Skipping the second step with a parameter. A candidate from the first step only says that the left sides become proportional; what follows is decided by the right sides.

What to take away

  • One equation ax+by=c with b≠0 can be written as y=kx+d; whether a pair satisfies it is shown by substitution.
  • The case is in the coefficients. Left sides not proportional: one point of intersection. Proportional and in the same ratio on the right: the same line. Proportional, but not on the right: parallel lines with no common point.
  • The methods. Substitution when one equation is already solved, equating when both are solved for the same unknown, adding or subtracting after suitable multiplication.
  • The check. The computed pair goes into both original equations, with fractions into the equation with the fractions.
  • The parameter. First find the values at which the left sides become proportional, then check the right sides for each of these values.
left sides not proportional⟺exactly one solution

Now practise it

Linear Equations in Two Unknowns (Lineare Gleichungen mit zwei Unbekannten)

Trainer · Mathematics

Practise
Next: Inequalities (Ungleichungen)
0/10

Was this article helpful?