In a magic square each row, column and diagonal have the same sum. Check which of

the following is a magic square.

(i)

5 | -1 | -4 |

-5 | -2 | 7 |

0 | 3 | -3 |

(ii)

1 | -10 | 0 |

-4 | -3 | -2 |

-6 | 4 | -7 |

From the above question, we have

In the (i) square by adding every row and column we get sum which is equal to 0 but the sum of one of its diagonals is not 0

As,

-4 – 2 = - 6

- 6 0

Similarly,

In the (ii) square by adding every row and column we get sum which is equal to -9. Also all the diagonals of this square gives the same sum ie. -9

Therefore,

It is a magic square

12