show that an integer is divisible by 11 if and only if the alternating sum (add first digit, subtract the second, add the third, subtract the fourth etc) of its digits is divisible by 11
Need an answer by tomorrow if possible please

Respuesta :

Answer and Step-by-step explanation:

Suppose that we have a number y which is a positive integer and that:

y = [tex]x_n...x_5x_4x_3x_2x_1x_0[/tex]

Where;

[tex]x_{0}[/tex] = digit at 10⁰ => one's place (units place)

[tex]x_1[/tex] = digit at 10¹ => 10's place (tens place)

[tex]x_{2}[/tex] = digit at 10² => 100's place (hundreds place)

[tex]x_{3}[/tex] = digit at 10³ => 1000's place (thousands place)

.

.

.

[tex]x_{n}[/tex] = digit at 10ⁿ place

Then;

y = [tex]x_{0}[/tex] * 10⁰ + [tex]x_1[/tex] * 10¹ + [tex]x_{2}[/tex] * 10² + [tex]x_{3}[/tex] * 10³ + [tex]x_{4}[/tex] * 10⁴ + [tex]x_5[/tex] * 10⁵ + . . . + [tex]x_{n}[/tex] * 10ⁿ

Since 10⁰ = 1, let's rewrite y as follows;

y = [tex]x_{0}[/tex]  + [tex]x_1[/tex] * 10¹ + [tex]x_{2}[/tex] * 10² + [tex]x_{3}[/tex] * 10³ + [tex]x_{4}[/tex] * 10⁴ + [tex]x_5[/tex] * 10⁵ + . . . + [tex]x_{n}[/tex] * 10ⁿ

Now, to test if y is divisible by 11, replace 10 in the equation above by -1. Since 10 divided by 11 gives -1 (mod 11)     [mod means modulus]

y = [tex]x_{0}[/tex]  + [tex]x_1[/tex] * (-1)¹ + [tex]x_{2}[/tex] * (-1)² + [tex]x_{3}[/tex] * (-1)³ + [tex]x_{4}[/tex] * (-1)⁴ + [tex]x_5[/tex] * (-1)⁵ + . . . + [tex]x_{n}[/tex] * (-1)ⁿ

=> y =  [tex]x_{0}[/tex]  - [tex]x_1[/tex] + [tex]x_{2}[/tex] - [tex]x_{3}[/tex] + [tex]x_{4}[/tex] - [tex]x_5[/tex] + . . . + [tex]x_{n}[/tex] (-1)ⁿ (mod 11)

Therefore, it can be seen that, y is divisible by 11 if and only if alternating sum of its digits [tex]x_{0}[/tex]  - [tex]x_1[/tex] + [tex]x_{2}[/tex] - [tex]x_{3}[/tex] + [tex]x_{4}[/tex] - [tex]x_5[/tex] + . . . + [tex]x_{n}[/tex] (-1)ⁿ is divisible by 11

Let's take an example

Check if the following is divisible by 11.

i. 1859

Solution

1859 is divisible by 11 if and only if the alternating sum of its digit is divisible by 11. i.e if (1 - 8 + 5 - 9) is divisible by 11.

1 - 8 + 5 - 9 = -11.

Since -11 is divisible by 11 so is 1859

ii. 31415

Solution

31415 is divisible by 11 if and only if the alternating sum of its digit is divisible by 11. i.e if (3 - 1 + 4 - 1 + 5) is divisible by 11.

3 - 1 + 4 - 1 + 5 = 10.

Since 10 is not divisible by 11 so is 31415 not divisible.