Test of Mathematics Solution Subjective 36 - Invariance Principle

Join Trial or Access Free Resources

Test of Mathematics at the 10+2 Level

Test of Mathematics Solution Subjective 36 (from ISI Entrance). The book, Test of Mathematics at 10+2 Level is Published by East West Press. This problem book is indispensable for the preparation of I.S.I. B.Stat and B.Math Entrance.

Also see: Cheenta I.S.I. & C.M.I. Entrance Course


Problem

Let $ a_1 , a_2 , ... , a_n $ be n numbers such that each $ a_i $ is either 1 or -1. If $ a_1 a_2 a_3 a_4 + a_2 a_3 a_4 a_5 + ... + a_n a_1 a_2 a_3 = 0 $ then prove that 4 divides n.

Solution

Let us denote each product of four numbers as $ b_i $ . For example $ b_1 = a_1 a_2 a_3 a_4 $. Note that the last one begins with $ a_n $ indicating there are n $ b_i $'s.

We check the equation modulo 4 (that is in each step we change 'something' in the equation and check what happens to the remainder of the sum when divided by 4).In the first step we note that equation is 0 mod 4 (since 0 when divided by 4 gives 0 as the remainder).

Next we convert one of the a's which is -1 into +1. Note that each $ a_i $ appears in exactly 4 $ b_j $. Hence converting the one $ a_i $ from -1 to +1 will alter the values of 4 $ b_j $ Thus we may have five cases:

  • All the four b's were -1. Hence after conversion all of their values will change into +1. Therefore the value of the total sum will increase by +8 (as previously the four b's added up to -4 and now they add up to +4). Thus no change of the sum modulo 4.
  • Exactly three b's were -1 and the remaining was +1. Hence after conversion three of their values will change into +1 and the remaining one changes from +1 to -1. Therefore the value of the total sum will increase by +4 (as previously the four b's added up to -2 ((-1) + (-1) + (-1) + (+1)) and now they add up to +2). Thus no change of the whole sum modulo four.
  • Exactly two b's were -1 and the remaining two were +1. Hence after conversion two of their values will change into +1 and the remaining two will change from +1 to -1. Therefore the value of the total sum will increase by 0 (as previously the four b's added up to 0 ((-1) + (-1) + (+1) + (+1)) and now they add up to 0). Thus no change of the whole sum modulo four.
  • Exactly one b was -1 and the remaining were +1. Hence after conversion three of their values will change into -1 and the remaining one changes from -1 to +1. Therefore the value of the total sum will decrease by 4 (as previously the four b's added up to 2 ((+1) + (+1) + (+1) + (-1)) and now they add up to -2). Thus no change of the whole sum modulo four.
  • All the four b's were +1. Hence after conversion all of their values will change into -1. Therefore the value of the total sum will decrease by 8 (as previously the four b's added up to +4 and now they add up to -4). Thus no change of the sum modulo 4.

Thus we see that changing one $ a_i $ -1 to +1 does not change the value of the total sum modulo 4. Similarly we change all negative one's into positive one's (and in each step the sum remains invariant in modulo 4) to get n. Thus $ n \equiv 0 \mod 4 $ . This implies 4 divides n.

Key Idea

Modular arithmetic, invariance principle.

More Posts
ISI M.Stat Entrance Success Story 2026

ISI M.Stat Entrance Success Story 2026

June 27, 2026

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's M.Stat Entrance. They ranked within the first 50 in the entire country in these entrances. I.S.I. M.Stat Entrance

Read More
ISI B.Stat-B.Math and CMI BSc. Math Entrance Success Story 2026

ISI B.Stat-B.Math and CMI BSc. Math Entrance Success Story 2026

In 2026, the following Cheenta students have been successful for Indian Statistical Institute's B.Stat Entrance and Chennai Mathematical Institute's B.Sc. Math Entrance. They ranked within the first 200 in the entire country in these entrances. Most of these students attended the problem solving workshops regularly, which happen 5 days every week. CMI B.Sc. Math Entrance […]

Read More
8 Cheenta students cracked the Regional Math Olympiad 2025 

8 Cheenta students cracked the Regional Math Olympiad 2025 

December 26, 2025

In 2025, 8 students from Cheenta Academy cracked the prestigious Regional Math Olympiad. In this post, we will share some of their success stories and learning strategies. The Regional Mathematics Olympiad (RMO) and the Indian National Mathematics Olympiad (INMO) are two most important mathematics contests in India.These two contests are for the students who are […]

Read More
Cheenta Students Shine at IOQM 2025

Cheenta Students Shine at IOQM 2025

October 26, 2025

Cheenta Academy proudly celebrates the success of 27 current and former students who qualified for the Indian Olympiad Qualifier in Mathematics (IOQM) 2025, advancing to the next stage — RMO. This accomplishment highlights their perseverance and Cheenta’s ongoing mission to nurture mathematical excellence and research-oriented learning.

Read More
© 2010 - 2025, Cheenta Academy. All rights reserved.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram