A system from the text: one equation for each total

26 min · 4 drills

In the textbook: Ch. 6.3 Anwendungen linearer Gleichungssysteme

In the exam a system usually comes not as ready equations but as a text, for example about production. You set up the equations from that text yourself. The whole answer depends on this step: a correctly set-up system is not hard to solve after that.

A bakery has taken 80 orders, each either for bread or for cake. 45 orders are delivered, the rest are collected by the customers. Among the delivered ones, 30 are bread orders; among the collected ones, 12 are cake orders.

How many bread orders are there in total?

No number in the text answers the question on its own. The answer comes from how they are linked: the parts of each group add up to its total.

Split the orders by group. 80−45=35 orders are collected, 12 of them for cake, so 35−12=23 for bread. With delivery, 30 are for bread. Bread in total: 30+23=53 orders. Each “part plus part equals total” is one equation here. In harder tasks you write all of these equations down and solve them together as a system.

Check yourself. An exam-level task: one unit of P1 takes machine A for 3 hours and machine B for 1 hour, one unit of P2 takes A for 2 hours and B for 4 hours. There are 120 hours on A and 140 hours on B, and both machines are fully used. How many units of P1 are produced?

One equation for each given total

The bakery's orders are split by two features: how they reach the customer (delivery or collection) and what they contain (bread or cake). In the bakery's table in the example below, the rows are how an order reaches the customer and the columns what it contains. Each order sits in exactly one of its cells. So the cells of the row “delivery” together give all 45 delivered orders, and the cells of the column “bread” together give all bread orders. Each total in the task is an equation “cell plus cell equals total”.

given: 30, 45, 12 and 80

Table of the bakery's orders: rows delivery and collection, columns bread and cake, totals at the edgesbreadcaketotaldeliverycollectiontotal30451280
Step 1 of 4Enter the data

Rows “delivery” and “collection”, columns “bread” and “cake”, totals at the edges. Known: 80 in total, 45 delivered, “delivery, bread” 30, “collection, cake” 12.

Here each equation had one unknown, and subtraction was enough. In exam tasks the unknowns appear in several equations at once, and they are solved together, with Gaussian elimination. A system is always set up the same way:

  1. Name the unknowns. Usually it is what is asked, or what the thing asked is made of: x1 units of product P1, A million € in the first kind. Write in words what each one means.
  2. One equation for each given total. Look in the text for numbers that limit or sum something up: a stock of raw material, machine hours, the whole volume, an amount at the end of the term. On the left goes the sum of the contributions of all unknowns to that quantity, on the right the total itself.
  3. Check the count. There are as many equations as unknowns; if the task ends with a hint (German: Hinweis) that gives one quantity outright, that unknown is already a number.
  4. Solve and check with the equation you did not need. A negative number of units means the system was set up wrongly.

The machines from “Check yourself”: x1 is the number of units of P1, x2 the number of units of P2. The totals (120 and 140 hours) are given per machine, so the equation is written per machine. Machine A: 3x1+2x2=120, machine B: x1+4x2=140. From the second, x1=140−4x2; put into the first: 420−12x2+2x2=120, so x2=30 and x1=140−120=20. The text describes each product separately, and that is misleading: the hours of machine A add up from the contributions of both products. Whoever writes the equation per product (3x1+x2=120 and 2x1+4x2=140) gets x1=34: that is the trap.

Your turn1 of 4

One unit of P1 takes machine A for 2 hours and machine B for 3 hours, one unit of P2 takes A for 1 hour and B for 4 hours. There are 50 hours on A and 100 hours on B, and both are fully used. Which system describes the task (x1, x2 are the numbers of units of P1, P2)?

Quantities from the requirements table

The machines from “Check yourself” split their hours between two products. In the first exam task a stock is split the same way, only there are three kinds of everything and it all sits in one table:

Exam-style task

Für eine Hochzeit hat eine Floristin Blumen geliefert bekommen, die alle verarbeitet werden sollen. Sie bindet daraus Tischgestecke in drei Farben (Rosa, Weiß und Grün).

Vom Gesteck Weiß hat das Brautpaar genau 15 Stück bestellt.

RosaWeißGru¨ngeliefertRosen714568Nelken121191203Eukalyptus435475

Die Tabelle zeigt die Stiele je Gesteck und die gelieferten Mengen. Wie viele Tischgestecke werden es insgesamt, wenn keine Blume übrig bleibt?

  1. a)142
  2. b)97
  3. c)218
  4. d)112
  5. e)127

You recognise the task by a table “raw material × products” with the stock in the last column, the words “all to be used” and a hint giving one quantity. The unknowns are the numbers of arrangements of each colour: p pink, w white, g green. The total is given for each kind of flower (delivered), so one equation is written for each row: roses take 7 for each pink arrangement, 1 for a white one, 4 for a green one, 568 together.

one equation per kind of flower

Requirements table: rows kinds of flower, columns arrangements, delivered on the right; 15 is substituted into the white columnpinkwhitegreentotalrosescarnationseucalyptus714568121191203435475
Step 1 of 4One equation for each kind of flower

Roses: 7p+w+4g=568.

Carnations: 12p+11w+9g=1203.

Eucalyptus: 4p+3w+5g=475.

Two traders, F1 and F2, sell wheat, barley and oats. The profit per tonne of each grain is the same for both, and the profit per tonne of oats is 2 €.

How many euros of profit does a tonne of barley bring?

F1F2
wheat, t10040
barley, t60120
oats, t3050
profit, €640620

The total (the profit) is at the bottom of each column. So one equation for each trader, and the unknowns x1, x2 are the profit per tonne of wheat and of barley.

F1: 100x1+60x2+30⋅2=640, that is 100x1+60x2=580.

F2: 40x1+120x2+50⋅2=620, that is 40x1+120x2=520.

Multiply the first by 0.4: 40x1+24x2=232. Subtract it from the second: 96x2=288, x2=3.

From the first: 100x1=580−180=400, x1=4. A tonne of barley brings 3 €.

Three machines. The products P1, P2, P3 are made in the amounts x1, x2, x3 units, and machines A, B, C are fully used: A: x1+x2+x3=55, B: x1+x2+2x3=90, C: x1+3x2+2x3=100. Find x1, x2, x3.

Your turn2 of 4

The stocks of raw materials R1, R2, R3 are 44, 33 and 51 units and are used up completely. One unit of P1 takes 2, 1, 1 units of R1, R2, R3, one unit of P2 takes 1, 2, 3, one unit of P3 takes 3, 1, 2. Hint: 10 units of P2 are produced. How many units of all three products are produced together?

Traps. The wrong options of the exam task and of tasks of this kind come about like this:

  • Sum without the hint, option (b), 97: 55+42 was added and the 15 white arrangements forgotten. The most common mistake of this kind. Check: “in total” means all three unknowns.
  • Hint not substituted, option (a), 142: the white column was crossed out, but its stems were not subtracted from the stock. Check: the substituted number moves to the right with its coefficient, 11⋅15=165.
  • An equation per product instead of per total: writing the numbers of one product into one equation. Check: on the right of each equation stands a total from the task.

A purchase in three kinds of goods: markup and losses in percent

With the flower arrangements, each equation added up stems. In the second task the equation adds up money: the mark-up or the loss of each range, worked out as a percentage of its volume. In the exam, amounts are written in GE, “Geldeinheiten”, monetary units: just money.

This is how the task looks in the exam:

Exam-style task

Ein Onlinehändler kauft Ware für 510 Mill. GE ein: Elektronik, Mode und Bücher. Aufschlag und erwarteter Verlust durch Rücksendungen je Sortiment, in Prozent des Einkaufswerts:

SortimentAufschlagRetourenverlustElektronik15 %4 %Mode10 %6 %Bu¨cher4 %3 %

Der Aufschlag bringt insgesamt 42.5135 Mill. GE, die Rücksendungen kosten voraussichtlich 22.498 Mill. GE. Für wie viel Mill. GE wurde im Sortiment Bücher eingekauft? Runden Sie auf 2 Nachkommastellen.

  1. a)309.98
  2. b)170.00
  3. c)259.95
  4. d)212.90
  5. e)85.75

Here a total volume is split into three kinds. Two totals are given in million GE: the whole mark-up and the whole loss. The mark-up is the share of the purchase value the retailer gets on top, the return loss the share he loses. The unknowns are the purchase volumes of the ranges: x1, x2, x3 in million GE. Three given totals give three equations: the whole volume, the whole mark-up and the whole loss.

A percentage of a volume is written as a number times the volume: 15 % of x1 is 0.15x1, 4 % of x1 is 0.04x1 million GE. If the total comes as an average percentage “of the total value”, it is that percentage of the whole volume: 3 % of 200 is 6. The plain mean of the three percentages plays no part: the kinds differ in size.

totals at the bottom: the whole volume and the whole mark-up

The online retailer's purchases: mark-up and loss per range, the volumes come from the systemmark-uplossvolumeelectr.fashionbookstotal15 %4 %x₁10 %6 %x₂4 %3 %x₃42.513522.498510
Step 1 of 4Volume and mark-up

The whole volume: x1+x2+x3=510.

The whole mark-up: 0.15x1+0.1x2+0.04x3=42.5135. Check the size: if everything were electronics, the mark-up would be 0.15⋅510=76.5, if it were all books, 0.04⋅510=20.4; the total lies in between.

A trader blends 80 kg of tea from three kinds at 9, 11 and 20 € per kilogram. The blend should cost 12 € per kilogram, and it should contain twice as much of the most expensive kind as of the cheapest.

How many kilograms of each kind?

Weight: x+y+z=80. Value: 9x+11y+20z=12⋅80=960. Link: z=2x.

y=80−x−2x=80−3x.

9x+11⋅(80−3x)+20⋅2x=960, that is 9x+880−33x+40x=960.

16x=80, x=5.

x=5 kg, z=10 kg, y=65 kg. Check: 45+715+200=960.

Orders by direction. Orders of 200 million € are split into the directions A, B, C; A, B, C are their volumes in million €. The margins are, in order, 14 %, 9 %, 5 %, the damage rates 6 %, 2 %, 1 %. A has 20 more than B, and the damage averages 3 % of all orders. How many million € are left from A after damage?

Your turn3 of 4

A bank has granted loans of 300 million GE in three classes. Interest rate 8 %, 6 %, 4 %, default rate 5 %, 2 %, 1 %. There are twice as many loans in the first class as in the second, and default averages 2.5 % of the whole amount. What income (interest minus default) does the first class bring, in million GE?

Traps. The wrong options of the task above come about like this:

  • The volume of the wrong range, option (e), 85.75: the system was solved and work stopped at x1, electronics. Check: read the question again, it asks for books.
  • Equal shares for the three ranges, option (b), 170.00: 510/3. Mark-up and loss differ by range, so the system gives the volumes, not a division.
  • Mixing up the percentage columns: putting the mark-up into the loss equation. The volumes come out negative, and that is the signal.

A parabola through three points

So far every equation was a balance: parts gave a total. In the last task the equations come from three values of a single function:

Exam-style task

Die Produktionskosten C (in GE) einer Schreinerei bei x gefertigten Stühlen sind eine quadratische Funktion C(x)=ax2+bx+c. Drei Beobachtungen aus der Werkstatt: C(20)=700, C(40)=2120 und C(60)=4340. Welche der Gleichungen beschreibt den Verlauf von C richtig?

  1. a)C(x)=x2+11x+80
  2. b)C(x)=x2+11x+480
  3. c)C(x)=2x2+11x+80
  4. d)C(x)=x2+71x+480
  5. e)C(x)=x2+71x+80

The task gives a quadratic function C(x)=ax2+bx+c with unknown a, b, c and three of its values. Here the unknowns are the coefficients, not quantities. The notation C(20)=700 means: substitute x=20 and you get 700. That gives a⋅202+b⋅20+c=700, that is 400a+20b+c=700. This is a linear equation in a, b, c: the numbers x are known. Three values give three equations. In front of c there is a 1 in each, so the difference of two equations removes c.

in front of a stands x²: 400, 1600, 3600

Three points give three equations for a, b, c; the differences of neighbouring rows remove cabcC(20)C(40)C(60)4002017001600401212036006014340
Step 1 of 4Substitute three points

x=20: 202=400, equation 400a+20b+c=700.

x=40: 402=1600, equation 1600a+40b+c=2120.

x=60: 602=3600, equation 3600a+60b+c=4340.

Given f(x)=ax2+bx+c and three of its values: f(1)=4, f(2)=9, f(4)=31.

a+b+c=4, 4a+2b+c=9, 16a+4b+c=31.

II − I: 3a+b=5. III − II: 12a+2b=22, which after dividing by 2 is 6a+b=11.

Now there are 1 and 1 in front of b. Dividing by 2 only makes the coefficients in front of b equal. You could also skip it and subtract twice the first equation from the second: the result is the same.

3a=6, a=2. b=5−6=−1. c=4−2+1=3. f(x)=2x2−x+3.

Cost through three points. For the cost C(x)=ax2+bx+c at quantity x we know C(20)=1000, C(40)=3000, C(60)=6200. Find a, b, c.

Your turn4 of 4

The costs C(x)=ax2+bx+c at x=10,20,30 are 270, 900 and 1930. What is c?

Traps. The wrong options of the task above come about like this:

  • c without the square term, option (b), c=480: in 400a+20b+c=700 only 20b was subtracted: 700−220. Check: substitute the answer into C(20).
  • b without the contribution of a, option (e), b=71: from 1200a+20b=1420 the value 1420/20 was taken, as if 1200a were not there. Substitute a first, then divide. Option (d) makes both mistakes at once.
  • a not halved, option (c), 2x2: whoever works with the second difference, C(60)−2C(40)+C(20)=800, must divide by 2⋅202=800. Dividing only by 202=400 gives a=2. Solving the system, as above, does not lead to this mistake.

At a glance: setting up a system, three tasks

The topic in a minute

  • Unknowns: what is asked, or what the thing asked is made of; write their meaning in words.
  • Equations: one for each given total (stock, hours, volume, amount). Where the total stands, in a row or at the bottom of a column, decides how the equation is written.
  • Check: the equation you did not need; a negative quantity means a mistake in setting up.
  • Quantities from the requirements table

    A table of requirements per unit and a stock, “all to be used”, a hint giving one quantity.
    ai1x1+ai2x2+ai3x3=bi

    Trap: a sum without the quantity from the hint; an equation per product instead of per total.

  • A purchase in three kinds of goods

    A total volume in three kinds and totals in per cent: as an amount or as an average percentage of the whole volume.
    0.04x1+0.06x2+0.03x3=22.498

    Trap: giving the volume of another kind; splitting the volume equally.

  • A parabola through three points

    C(x)=ax2+bx+c and three values of C.
    a xi2+b xi+c=yi

    Trap: finding c or b and forgetting the term with a.

On the exam formula sheet there is no line for these tasks: setting up the system is up to you. A system of two equations can also be solved with matrices; the section The inverse matrix: what replaces division in the chapter on matrices shows how.

These equations counted pieces and kilograms. When prices and interest enter them, each equation becomes a money balance: “Transfer prices of cost centres and a payment at two rates”.

Cards to memorise

Tap a card to see the formula. All topic cards

Formula

Three parts and a weighted average: what goes on the right-hand side of the value equation?

Formula

"P is twice as high as A" as an equation?

Now practise it

A system from the text: one equation for each total

Trainer · Systems of linear equations

Practise
Next: Transfer prices of cost centres and a payment at two rates
0/4

Was this article helpful?