Olá jothar.
Somando os valores da 1ª linha temos:
- [tex3]2 x + 3y + 2[/tex3] [tex3](1)[/tex3]
Somando os valores da 2ª linha temos:
- [tex3]x + 10 + y[/tex3] [tex3](2)[/tex3]
Somando os valores da diagonal formada pelos números
[tex3]2 , 5[/tex3] e
[tex3]8[/tex3] teremos:
- [tex3]2 + 5 + 8 = 15[/tex3] [tex3](3)[/tex3]
Como as somas são iguais podemos escrever:
- [tex3]x + y + 10 = 15[/tex3]
[tex3]x + y = 5[/tex3]
[tex3]x = 5 - y[/tex3] [tex3](4)[/tex3]
- [tex3]2x + 3y + 2 = 15[/tex3]
[tex3]2x + 3y = 13[/tex3] [tex3](5)[/tex3]
Substituindo
[tex3](4)[/tex3] em
[tex3](5)[/tex3] temos:
- [tex3]2x + 3y = 13[/tex3] [tex3](5)[/tex3]
[tex3]2.(5 - y) + 3y = 13[/tex3]
[tex3]10 - 2y + 3y = 13[/tex3]
[tex3]y = 13 - 10[/tex3]
[tex3]y = 3[/tex3]
- [tex3]x = 5 - y[/tex3]
[tex3]x = 5 - 3[/tex3]
[tex3]x = 2[/tex3]
Substituindo os valores de
[tex3]x[/tex3] e
[tex3]y[/tex3] você encontrará todos os termos do quadrado mágico.