Sigma Percentile
JEE Advanced 2005
LEVELJEE Main

Animated Solution for Mathematics - Permutations and Combinations: A rectangle with sides of length and units is divided into squares of unit length by drawing parallel lines as shown in the diagram, then the number of rectangles possible with odd side lengths is

Select Answer:

Visualized Solution

Visualizing the Grid & Dimensions

  • We are given a large rectangle of dimensions .
  • This rectangle is divided into unit squares by drawing parallel lines.
  • Let's visualize this grid structure to understand how smaller rectangles are formed.

Counting the Grid Lines

  • To form a rectangle, we must select two vertical lines and two horizontal lines.
  • Number of vertical lines: lines.
  • Number of horizontal lines: lines.

Defining Rectangle Side Lengths

  • Let the chosen vertical lines be and (where ).
  • The width of the rectangle is given by the difference .
  • Similarly, for horizontal lines and , the height is .

The Odd Side Length Condition

  • For a side length to be odd, the difference between the indices must be odd.
  • An odd difference occurs if and only if one index is odd and the other is even.
  • This rule applies independently to both the width and the height.

Selecting Vertical Lines (Width)

  • Total vertical lines = (indices from to ).
  • Number of odd indices = (i.e., ).
  • Number of even indices = (i.e., ).
  • Ways to choose one odd and one even vertical line = .

Selecting Horizontal Lines (Height)

  • Total horizontal lines = (indices from to ).
  • Number of odd indices = (i.e., ).
  • Number of even indices = (i.e., ).
  • Ways to choose one odd and one even horizontal line = .

Combining the Selections

  • The choice of vertical lines and horizontal lines is independent.
  • Total rectangles with odd side lengths = (Ways for vertical) (Ways for horizontal).
  • Total rectangles = .

Final Conclusion & Option Match

  • The total number of rectangles with odd side lengths is .
  • This matches Option 3.
  • Key takeaway: An odd difference requires choosing one odd and one even index.

The Sigma Insight: Fundamental Principle of Counting

The Geometry of Parity

Unlocking the Grid
Welcome, future engineer. Today, we are not just solving a combinatorics problem; we are peeling back the layers of a grid to reveal the hidden symmetry of numbers.
When you look at a rectangle divided into unit squares, it is easy to get lost in the sheer number of possible shapes. But in the JEE Advanced arena, we do not count blindly. We look for the underlying structure.

Phase 1

The Boundary Perspective
Imagine you are standing before this grid. It has a width of and a height of .
The first instinct is to count the squares, but that is a path to madness. Instead, let us focus on the boundaries—the lines that define these rectangles.
A rectangle of width is defined by two vertical lines. If our total width is , we have exactly vertical lines. Similarly, for a height of , we have horizontal lines.
Every rectangle in this grid is uniquely determined by selecting two vertical lines and two horizontal lines. This is our fundamental building block.

Phase 2

The Parity Trap
Now, here is where the problem gets interesting. We are not looking for all rectangles; we are looking for those with odd side lengths.
Let the vertical lines be at positions and (where ). The width of the rectangle is . For this width to be odd, the difference between and must be odd.
Think about the arithmetic of parity: - Odd Odd Even - Even Even Even - Odd Even Odd
To get an odd width, we are forced into a specific choice: we must select one line with an odd index and one line with an even index. This is the 'Aha!' moment. The grid is not just a collection of lines; it is a collection of odd-indexed and even-indexed boundaries.

Phase 3

The Counting Principle
Let us count our options. In our set of vertical lines, exactly half are odd-indexed () and half are even-indexed ().
That gives us odd lines and even lines. To form an odd width, we choose one from the odd lines and one from the even lines.
By the fundamental counting principle, the number of ways to choose the vertical boundaries is .
We apply the exact same logic to the horizontal lines. We have horizontal lines, with odd-indexed and even-indexed.
To ensure an odd height, we must choose one odd-indexed horizontal line and one even-indexed horizontal line. This gives us ways.

The Elegant Conclusion

Since the choice of vertical lines and horizontal lines are independent events—choosing the width does not restrict our choice of height—we simply multiply the possibilities.
The total number of rectangles with odd side lengths is the product of our vertical choices and our horizontal choices:
Look at the beauty of that result. It is simple, symmetric, and derived entirely from the parity of the grid lines.
When you encounter problems like this in the exam, do not panic. Break the geometry down into its constituent lines, identify the parity condition, and let the counting principle do the heavy lifting. You have mastered the grid. Keep this clarity, and you will conquer any problem that comes your way.

Similar Questions

JEE Main 2002
LEVELBoard

Total number of four digit odd numbers that can be formed using 0, 1, 2, 3, 5, 7 (using repetition allowed) are

(A)
216
(B)
375
(C)
400
(D)
720
JEE Main 2012
LEVELJEE Main

Let . The number of different ordered pairs (Y,Z) that can formed such that and is empty is:

(A)
(B)
3⁵
(C)
2⁵
(D)
JEE Main 2023 (30 January Shift 2)
LEVELJEE Main

The number of ways of selecting two numbers a and b, and such that 2 is the remainder when is divided by 23 is

(A)
186
(B)
54
(C)
108
(D)
268
JEE Main 2023 (30 January Shift 1)
LEVELJEE Main

Number of 4-digit numbers (the repetition of digits is allowed) which are made using the digits 1, 2, 3 and 5, and are divisible by 15, is equal to ____.

JEE Main 2025 April
LEVELBoard

If the number of seven-digit numbers, such that the sum of their digits is even, is ; , then is equal to _______

JEE Main 2021 (25 February Shift 1)
LEVELJEE Main

The total number of numbers, lying between 100 and 1000 that can be formed with the digits 1, 2, 3, 4, 5, if the repetition of digits is not allowed and numbers are divisible by either 3 or 5 is

JEE Main 2019 (08 April Shift 2)
LEVELJEE Main

The number of four-digit numbers strictly greater than 4321 that can be formed using the digits 0,1,2,3,4,5 (repetition of digits is allowed) is :

(A)
288
(B)
306
(C)
360
(D)
310
JEE Main 2021 (22 July Shift 1)
LEVELBoard

If the digits are not allowed to repeat in any number formed by using the digits 0, 2, 4, 6, 8, then the number of all numbers greater than 10,000 is equal to

JEE Main 2022 (25 June Shift 1)
LEVELJEE Main

The number of 3-digit odd numbers, whose sum of digits is a multiple of 7, is ______.

JEE(ADVANCED)-201
LEVELBoard

The number of 5 digit numbers which are divisible by 4, with digits from the set and the repetition of digits is allowed, is ________.