Divisibility by 11
On this page· 13 sections
Source & scope. Class 8 Mathematics (Ganita Prakash, Part 1), Chapter 5 Number Play, Section 5.2 Divisibility Tests, the alternating-sum test. Previous: Divisibility by 3 and 9.
Source & scope. Class 8 Mathematics (Ganita Prakash, Part 1), Chapter 5 Number Play, Section 5.2 Divisibility Tests, the alternating-sum test. Previous: Divisibility by 3 and 9.
A number is divisible by if and only if the alternating sum of its digits is divisible by . Start from the units digit, give the digits alternating signs and add; a result of also counts as divisible. The alternating sum also gives the remainder on division by . This works because .
At a glance
- Rule: alternately add and subtract digits from the units digit, and test the result for divisibility by .
- Reason: leave remainders modulo .
- Zero: an alternating sum of means divisible by .
- Remainder: a negative alternating sum is made positive by adding .
- Example: gives , so it is divisible by .
Learning objectives
- State the alternating-sum test for divisibility by .
- Explain why produces alternating signs.
- Compute the alternating sum correctly from the units digit.
- Use the alternating sum to find the remainder on division by .
- Find a missing digit that makes a number divisible by .
Prerequisite knowledge
The reader should know place value, the idea of remainder, negative integers, and the notation .
Core explanation
Why do the signs alternate?
The place values alternate between being "one more" and "one less" than a multiple of :
- is one more than a multiple of .
- is one less than a multiple of .
- is one more, since .
- is one less, since .
So the remainders are , that is and in general .
What is the alternating-sum rule?
Consider a -digit number with digits (thousands to units):
So place alternating and signs on the digits starting with at the units digit, and add. This is the alternating sum. A number is divisible by if and only if its alternating sum is divisible by . The value counts as divisible, and so do
How is the alternating sum computed?
Take . Reading from the units digit the digits are , so
Since , the number is divisible by ; indeed . Reversing all signs (starting with at the units digit) gives , which is equally divisible, so the starting sign does not affect the test.
How does the alternating sum give the remainder?
The alternating sum is congruent to the number modulo , so its remainder on division by is the remainder of the number. If the sum is negative, add a multiple of to make it between and . For the digits from the units are , so the sum is , and . Indeed .
What if the number has an odd number of digits or ends in zero?
The rule is unchanged; always start the signs at the units digit and include zeros as digits. For the digits from the units are , giving . So the remainder on division by is .
What special numbers follow from this rule?
Standard background: a four-digit palindrome equals , and since and , it is always divisible by . A six-digit number of the form equals , so it is divisible by , and .
Key terms
- Alternating sum — the sum of digits with signs starting from the units digit.
- Congruence — means is a multiple of .
- Remainder — the non-negative amount left on division.
- Palindrome — a number that reads the same forwards and backwards.
- Divisibility test — a digit-based rule for deciding divisibility.
Diagram / figure guidance
Draw the number with each digit in a box, and underneath write the signs from the units end. Draw arrows collecting the "plus" digits and the "minus" digits , and show the difference in a final box marked "multiple of ".
Worked example
Test , and for divisibility by , and give the remainder when is divided by .
- : the digits from the units are , so the sum is . The number is divisible by .
- : the digits from the units are , so the sum is . Zero is divisible by , so is divisible by (it equals ).
- : the digits from the units are , giving , which is not a multiple of . The number is not divisible by and the remainder is .
Common misconceptions
- "Add all the digits, as for ." For the signs must alternate; the plain digit sum is the rule for and .
- "A negative alternating sum means not divisible." Only a sum that is not a multiple of means not divisible; and are fine.
- "The remainder equals the negative alternating sum." A negative result must be raised by to give a remainder from to .
- "Start the signs from the first digit on the left." Start from the units digit; starting from the left changes the signs only when the number of digits is even, which can flip the sum's sign but never its divisibility.
- "Zero means the test fails." An alternating sum of means the number is divisible by .
Exam application (JEE)
JEE number-theory questions use the alternating-sum test to find missing digits, to compute remainders modulo , and in factorisation problems built on . The congruence is also used to reduce numbers such as , which is divisible by whenever is odd.
Frequently asked questions
- What is the divisibility rule for ? A number is divisible by if and only if the alternating sum of its digits is divisible by (including ).
- Where do you start the alternating signs? Start with at the units digit and alternate moving left.
- Why is the test for different from ? Because leaves remainder on division by but remainder on division by .
- How do you find the remainder on division by ? Compute the alternating sum and, if it is negative, add until it lies between and .
- Is every palindrome with an even number of digits divisible by ? Yes, because the alternating sum cancels to .
Practice questions (original practice questions)
- Which of these numbers is divisible by ?
- (a)
- (b)
- (c)
- (d)
- Answer: (a) — For the sum is ; the others give , and .
- The remainder when is divided by is:
- (a)
- (b)
- (c)
- (d)
- Answer: (c) — The sum from the units is , and .
- The digit for which the number is divisible by is:
- (a)
- (b)
- (c)
- (d)
- Answer: (b) — The sum is , which equals when (and ).
- Which number is divisible by but not by ?
- (a)
- (b)
- (c)
- (d)
- Answer: (a) — gives and has digit sum ; and have digit sum , and is not divisible by .
- A six-digit number of the form (such as ) is always divisible by:
- (a) only
- (b) only
- (c) , and
- (d) none of these
- Answer: (c) — and .
Quick revision
- Divisible by : the alternating sum of digits (start at units) is divisible by .
- , so place-value remainders go
- An alternating sum of means divisible by .
- For a negative sum, add to get the remainder.
- , so is divisible by , and .
Related articles
- Builds on: Divisibility by 3 and 9
- See also: Divisibility by 4 and 8
- See also: Divisibility by 2, 5 and 10
- Related topics: Cryptarithms: Addition Puzzles, Cryptarithms: Multiplication Puzzles, Even Expressions and Divisibility by 4, Parity of Sums and Differences, Sum of Consecutive Numbers, A Pinch of History: Squares, Cubes and Roots