Maths Olympiad Prep

Library / /8 of 30

, 2025

Algebra Difficulty 2.1 Junior Prove it Canada

In a magic square, the numbers in each of the three
rows, each of the three columns, and each of the two diagonals have the
same sum. This sum is called the magic constant. Each of the
four figures shown below is a magic square.

In Figure 1, the magic constant is 1818. What is the value of nn?

Figure 1

77
22

nn

33

In Figure 2, what is the value of pp?

Figure 2

88
pp

99

55

44

In Figure 3, what is the value of rr?

Figure 3

1313

rr

77

1717

 ⁣r ⁣+ ⁣1 ⁣\!r\!+\!1\!
 ⁣r ⁣+ ⁣3 ⁣\!r\!+\!3\!

In Figure 4, determine the value of uu.

Figure 4

 ⁣u ⁣+ ⁣3 ⁣\!u\!+\!3\!

1212

 ⁣u ⁣+ ⁣2 ⁣\!u\!+\!2\!
 ⁣u ⁣ ⁣5 ⁣\!u\!-\!5\!
uu

Solution

For each part, the completed magic square is shown following part
(d).

77
22

nn

33

The magic constant is 1818, and so
the missing number in the first row is 1872=918-7-2=9. Looking at the diagonal from
the top-right corner to the bottom-left corner, we get 9+n+3=189+n+3=18, and so n=6n=6.

88
pp

99

55

44

Reading from the first column, the magic constant is 8+9+4=218+9+4=21. Thus, the missing number in the
second row is 2195=721-9-5=7. Looking at
the diagonal from the top-right corner to the bottom-left corner, the
missing number in the top-right corner is 2174=1021-7-4=10.

From the first row, we get 8+p+10=218+p+10=21, and so p=3p=3.

1313

rr

77

1717

 ⁣r ⁣+ ⁣1 ⁣\!r\!+\!1\!
 ⁣r ⁣+ ⁣3 ⁣\!r\!+\!3\!

Solution 1:

The sum of the numbers in the first column is equal to the sum of the
numbers in the third row. Since these two sums both share the missing
number in the bottom-left corner, then the sum of the remaining two
numbers in the first column must equal the sum of the remaining two
numbers in the third row. That is, 13+7=(r+1)+(r+3)13+7=(r+1)+(r+3) and so 20=2r+420=2r+4 or 16=2r16=2r, which gives r=8r=8.

Solution 2:

The sum of the numbers in the third column is r+17+(r+3)=2r+20r+17+(r+3)=2r+20, and so the sum of the
numbers in the third row is also 2r+202r+20. Thus, the missing number in the
third row is (2r+20)(r+1)(r+3)=16(2r+20)-(r+1)-(r+3)=16.

From the first column, the magic constant is 13+7+16=3613+7+16=36, and so 2r+20=362r+20=36 or 2r=162r=16, which gives r=8r=8.

 ⁣u ⁣+ ⁣3 ⁣\!u\!+\!3\!

1212

 ⁣u ⁣+ ⁣2 ⁣\!u\!+\!2\!
 ⁣u ⁣ ⁣5 ⁣\!u\!-\!5\!
uu

The sum of the numbers in the third row is (u+2)+(u5)+u=3u3(u+2)+(u-5)+u=3u-3, and so the sum of the
numbers in the second column is also 3u33u-3. Thus, the missing number in the
second column is (3u3)(u+3)(u5)=u1(3u-3)-(u+3)-(u-5)=u-1, as shown.

 ⁣u ⁣+ ⁣3 ⁣\!u\!+\!3\!

 ⁣u ⁣ ⁣1 ⁣\!u\!-\!1\!
1212

 ⁣u ⁣+ ⁣2 ⁣\!u\!+\!2\!
 ⁣u ⁣ ⁣5 ⁣\!u\!-\!5\!
uu

The sum of the numbers in the diagonal from the top-right corner to
the bottom-left corner is equal to the sum of the numbers in the third
column. Since these two sums both share the missing number in the
top-right corner, then the sum of the remaining two numbers in the
diagonal must equal the sum of the remaining two numbers in the third
column.

That is, (u+2)+(u1)=u+12(u+2)+(u-1)=u+12 or 2u+1=u+122u+1=u+12, and so u=11u=11.

(a)

77
22
99

88
66
44

33
1010
55

(b)

88
33
1010

99
77
55

44
1111
66

(c)

1313
1515
88

77
1212
1717

1616
99
1111

(d)

99
1414
77

88
1010
1212

1313
66
1111

Want a route through all this instead of an archive? The track puts 2,444 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: CEMC, University of Waterloo, licensed CC-BY-NC-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.