Question

Write a mathematical proof that shows that a square at position (i, j) is diagonal to...

Write a mathematical proof that shows that a square at position (i, j) is diagonal to a square at (x, y) if and only if i+j == x+y or i-j == x-y. You can use the following definition of a diagonal square. Two squares (i, j) and (x, y) are diagonal if one of the following cases is true:

i-m = x and j-m = y

i-m = x and j+m = y

i+m = x and j-m = y

i+m = x and j + m = y

Hint: Go through each of the four definitions and show that each of them resolves to either i+j == x+y or i-j == x-y.

Consider case 1:-

Given i-m = x and j-m = y. So subtracting these two equations, we get (i-m) - (j-m) = x-y i.e. i-j = x-y ---------- (1)

Consider case 2:-

Given i-m = x and j+m = y. So adding these two equations, we get (i-m) + (j+m) = x+y i.e. i+j = x+y ---------- (2)

Consider case 3:-

Given i+m = x and j-m = y. So adding these two equations, we get (i+m) + (j-m) = x+y i.e. i+j = x+y ---------- (3)

Consider case 4:-

Given i+m = x and j+m = y. So subtracting these two equations, we get (i+m) - (j+m) = x-y i.e. i-j = x-y ---------- (4)

We can observe that (1) , (4) are same equations i.e. i-j = x-y, similarly (2) , (3) are also same equations i.e.i+j = x+y

** Since it is given that one of the cases must be true, we can conclude that a square at position (i, j) is diagonal to a square at (x, y) if and only if i+j == x+y or i-j == x-y.

Hence proved.

Earn Coins

Coins can be redeemed for fabulous gifts.

Need Online Homework Help?

Most questions answered within 1 hours.

Active Questions
• Write 5 paragraphs, 5 sentences each to compare and contrast the two project management tools used...
asked 11 minutes ago
• Consider the economy of Wiknam. The consumption function is given by C = 250 + 0.6...
asked 11 minutes ago
• MS KP MM Corporation is a manufacturer that produces cosmetics. The following information has been taken...
asked 18 minutes ago
• Dr. Bunson Honeydew and Dr. Strangepork both wanted to know how effective TV ads were at...
asked 20 minutes ago
• 1)  Consider the following temperature surroundings. Ground level, 21oC; 500m, 20oC; 600m, 19oC; 1000m, 20oC. If we...
asked 26 minutes ago
• 1. An AA iron-nickel battery delivers a constant current of 750 mA at 1.2 V (a)Calculate...
asked 29 minutes ago
• In the process of recrystallization, after dissolving the product in hot methanol, why do we have...
asked 44 minutes ago
• Finish buildFloat(): It does three things: Given exponent it computes exponentPattern. If exponent is less than...
asked 44 minutes ago
• A chemist has two large containers of sulfuric acid solution, with different concentrations of acid in...
asked 53 minutes ago
• Training Goal: Based on Enterprise business strategy and goals develop several training goals based on your...
asked 54 minutes ago
• Let f(x) = 5x2 + x − 2. Use the limit definition of f′(a) and the...
asked 54 minutes ago
• "Discuss whether free market is necessarily efficient. Give some examples to illustrate the limitations of government...
asked 1 hour ago