M
Math Coach Amy
Amy Ferguson Moncure

IB AI · 12A Systems of Linear Equations

Two Prices, Then Their Sum

Write a system from two purchases. The question asks for the sum of the unit prices, not the amount spent.

Jump to section:

Find both prices, then add.

What to Remember

One variable each

Name the two prices before you write the equations.

The purchases

Each purchase is a count times a price.

Solve

Find each price, then add them.

The sum

The last line is the sum of the two prices.

Easy

Easy

Whole-number prices.

Example
A pen costs p dollars and a notebook costs n dollars. 2 pens and 1 notebooks cost 8 dollars. 1 pens and 2 notebooks cost 7 dollars. Find the sum of the two prices.

Let p be the pen price and n the notebook price.

2p + 1n = 8

1p + 2n = 7

x + 2y = 7

Multiply to match the y coefficients, then subtract.

2(2x + y) − 1(x + 2y) = 16 − 7

3x = 9

x = 3

1y = 8 − 2·3

y = 2

p + n = 3 + 2 = 5

Answer: 5 dollars

1
A pen costs p dollars and a notebook costs n dollars. 3 pens and 1 notebooks cost 11 dollars. 1 pens and 1 notebooks cost 5 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

3p + 1n = 11

1p + 1n = 5

x + y = 5

Multiply to match the y coefficients, then subtract.

1(3x + y) − 1(x + y) = 11 − 5

2x = 6

x = 3

1y = 11 − 3·3

y = 2

p + n = 3 + 2 = 5

Answer: 5 dollars

2
A pen costs p dollars and a notebook costs n dollars. 1 pens and 3 notebooks cost 11 dollars. 2 pens and 1 notebooks cost 7 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

1p + 3n = 11

2p + 1n = 7

2x + y = 7

Multiply to match the y coefficients, then subtract.

1(x + 3y) − 3(2x + y) = 11 − 21

−5x = −10

x = 2

3y = 11 − 1·2

y = 3

p + n = 2 + 3 = 5

Answer: 5 dollars

3
A pen costs p dollars and a notebook costs n dollars. 4 pens and 1 notebooks cost 14 dollars. 1 pens and 1 notebooks cost 5 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

4p + 1n = 14

1p + 1n = 5

x + y = 5

Multiply to match the y coefficients, then subtract.

1(4x + y) − 1(x + y) = 14 − 5

3x = 9

x = 3

1y = 14 − 4·3

y = 2

p + n = 3 + 2 = 5

Answer: 5 dollars

4
A pen costs p dollars and a notebook costs n dollars. 2 pens and 3 notebooks cost 16 dollars. 1 pens and 1 notebooks cost 6 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

2p + 3n = 16

1p + 1n = 6

x + y = 6

Multiply to match the y coefficients, then subtract.

1(2x + 3y) − 3(x + y) = 16 − 18

−1x = −2

x = 2

3y = 16 − 2·2

y = 4

p + n = 2 + 4 = 6

Answer: 6 dollars

5
A pen costs p dollars and a notebook costs n dollars. 5 pens and 1 notebooks cost 16 dollars. 1 pens and 2 notebooks cost 7 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

5p + 1n = 16

1p + 2n = 7

x + 2y = 7

Multiply to match the y coefficients, then subtract.

2(5x + y) − 1(x + 2y) = 32 − 7

9x = 25

x = 259

1y = 16 − 5·259

y = 199

p + n = 259 + 199 = 449

Answer: 449 dollars

Medium

Medium

A larger purchase.

Example
A pen costs p dollars and a notebook costs n dollars. 3 pens and 2 notebooks cost 18 dollars. 1 pens and 4 notebooks cost 22 dollars. Find the sum of the two prices.

Let p be the pen price and n the notebook price.

3p + 2n = 18

1p + 4n = 22

x + 4y = 22

Multiply to match the y coefficients, then subtract.

4(3x + 2y) − 2(x + 4y) = 72 − 44

10x = 28

x = 145

2y = 18 − 3·145

y = 245

p + n = 145 + 245 = 385

Answer: 385 dollars

1
A pen costs p dollars and a notebook costs n dollars. 4 pens and 3 notebooks cost 26 dollars. 1 pens and 2 notebooks cost 11 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

4p + 3n = 26

1p + 2n = 11

x + 2y = 11

Multiply to match the y coefficients, then subtract.

2(4x + 3y) − 3(x + 2y) = 52 − 33

5x = 19

x = 195

3y = 26 − 4·195

y = 185

p + n = 195 + 185 = 375

Answer: 375 dollars

2
A pen costs p dollars and a notebook costs n dollars. 2 pens and 5 notebooks cost 24 dollars. 3 pens and 1 notebooks cost 13 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

2p + 5n = 24

3p + 1n = 13

3x + y = 13

Multiply to match the y coefficients, then subtract.

1(2x + 5y) − 5(3x + y) = 24 − 65

−13x = −41

x = 4113

5y = 24 − 2·4113

y = 4613

p + n = 4113 + 4613 = 8713

Answer: 8713 dollars

3
A pen costs p dollars and a notebook costs n dollars. 6 pens and 1 notebooks cost 20 dollars. 2 pens and 3 notebooks cost 16 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

6p + 1n = 20

2p + 3n = 16

2x + 3y = 16

Multiply to match the y coefficients, then subtract.

3(6x + y) − 1(2x + 3y) = 60 − 16

16x = 44

x = 114

1y = 20 − 6·114

y = 72

p + n = 114 + 72 = 254

Answer: 254 dollars

4
A pen costs p dollars and a notebook costs n dollars. 1 pens and 5 notebooks cost 17 dollars. 4 pens and 1 notebooks cost 14 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

1p + 5n = 17

4p + 1n = 14

4x + y = 14

Multiply to match the y coefficients, then subtract.

1(x + 5y) − 5(4x + y) = 17 − 70

−19x = −53

x = 5319

5y = 17 − 1·5319

y = 5419

p + n = 5319 + 5419 = 10719

Answer: 10719 dollars

5
A pen costs p dollars and a notebook costs n dollars. 3 pens and 4 notebooks cost 29 dollars. 2 pens and 1 notebooks cost 9 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

3p + 4n = 29

2p + 1n = 9

2x + y = 9

Multiply to match the y coefficients, then subtract.

1(3x + 4y) − 4(2x + y) = 29 − 36

−5x = −7

x = 75

4y = 29 − 3·75

y = 315

p + n = 75 + 315 = 385

Answer: 385 dollars

Hard

Hard

A price that is a fraction of a dollar.

Example
A pen costs p dollars and a notebook costs n dollars. 2 pens and 3 notebooks cost 13 dollars. 4 pens and 1 notebooks cost 11 dollars. Find the sum of the two prices.

Let p be the pen price and n the notebook price.

2p + 3n = 13

4p + 1n = 11

4x + y = 11

Multiply to match the y coefficients, then subtract.

1(2x + 3y) − 3(4x + y) = 13 − 33

−10x = −20

x = 2

3y = 13 − 2·2

y = 3

p + n = 2 + 3 = 5

Answer: 5 dollars

1
A pen costs p dollars and a notebook costs n dollars. 3 pens and 5 notebooks cost 19 dollars. 1 pens and 2 notebooks cost 7 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

3p + 5n = 19

1p + 2n = 7

x + 2y = 7

Multiply to match the y coefficients, then subtract.

2(3x + 5y) − 5(x + 2y) = 38 − 35

1x = 3

x = 3

5y = 19 − 3·3

y = 2

p + n = 3 + 2 = 5

Answer: 5 dollars

2
A pen costs p dollars and a notebook costs n dollars. 5 pens and 2 notebooks cost 16 dollars. 1 pens and 3 notebooks cost 8 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

5p + 2n = 16

1p + 3n = 8

x + 3y = 8

Multiply to match the y coefficients, then subtract.

3(5x + 2y) − 2(x + 3y) = 48 − 16

13x = 32

x = 3213

2y = 16 − 5·3213

y = 2413

p + n = 3213 + 2413 = 5613

Answer: 5613 dollars

3
A pen costs p dollars and a notebook costs n dollars. 4 pens and 3 notebooks cost 17 dollars. 2 pens and 5 notebooks cost 19 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

4p + 3n = 17

2p + 5n = 19

2x + 5y = 19

Multiply to match the y coefficients, then subtract.

5(4x + 3y) − 3(2x + 5y) = 85 − 57

14x = 28

x = 2

3y = 17 − 4·2

y = 3

p + n = 2 + 3 = 5

Answer: 5 dollars

4
A pen costs p dollars and a notebook costs n dollars. 3 pens and 1 notebooks cost 8 dollars. 1 pens and 4 notebooks cost 9 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

3p + 1n = 8

1p + 4n = 9

x + 4y = 9

Multiply to match the y coefficients, then subtract.

4(3x + y) − 1(x + 4y) = 32 − 9

11x = 23

x = 2311

1y = 8 − 3·2311

y = 1911

p + n = 2311 + 1911 = 4211

Answer: 4211 dollars

5
A pen costs p dollars and a notebook costs n dollars. 2 pens and 5 notebooks cost 16 dollars. 3 pens and 1 notebooks cost 8 dollars. Find the sum of the two prices.
Show Answer

Let p be the pen price and n the notebook price.

2p + 5n = 16

3p + 1n = 8

3x + y = 8

Multiply to match the y coefficients, then subtract.

1(2x + 5y) − 5(3x + y) = 16 − 40

−13x = −24

x = 2413

5y = 16 − 2·2413

y = 3213

p + n = 2413 + 3213 = 5613

Answer: 5613 dollars

Want to go over a system together?

Book a Session with Amy