JEE Challenger
More from Permutations and Combinations

Count Non Negative Integer Solutions for Linear Equation

Let

A={(a,b,c):a,b,c are non-negative integers and a+b+2c=22}A = \{(a, b, c) : a, b, c \text{ are non-negative integers and } a + b + 2c = 22\}

Then n(A)n(A) is equal to:

Options

A

121121

B

124124

C

144144

Correct
D

169169

Topics & Concepts

Step-by-Step Solution

To find the cardinality n(A)n(A) of the set A={(a,b,c):a,b,cZ0 and a+b+2c=22}A = \{(a, b, c) : a, b, c \in \mathbb{Z}_{\ge 0} \text{ and } a + b + 2c = 22\}, we need to count the total number of non-negative integer solutions to the equation:

a+b+2c=22a + b + 2c = 22

We can express a+ba + b in terms of cc:

a+b=222ca + b = 22 - 2c

Since a0a \ge 0 and b0b \ge 0, their sum must be non-negative:

222c0    c1122 - 2c \ge 0 \implies c \le 11

Since cc is a non-negative integer, the possible values for cc are c{0,1,2,,11}c \in \{0, 1, 2, \dots, 11\}.

For a fixed value of cc, the number of non-negative integer solutions (a,b)(a, b) to the equation a+b=ka + b = k is given by k+1k + 1. Here, k=222ck = 22 - 2c, so the number of solutions for a specific cc is:

(222c)+1=232c(22 - 2c) + 1 = 23 - 2c

To find n(A)n(A), we sum the number of solutions over all possible non-negative integer values of cc from 00 to 1111:

n(A)=c=011(232c)n(A) = \sum_{c=0}^{11} (23 - 2c)

Expanding the sum:

  • For c=0c = 0: 230=2323 - 0 = 23
  • For c=1c = 1: 232=2123 - 2 = 21
  • For c=2c = 2: 234=1923 - 4 = 19
  • \vdots
  • For c=11c = 11: 2322=123 - 22 = 1

Thus, n(A)n(A) is the sum of the first 1212 odd integers:

n(A)=23+21+19++3+1n(A) = 23 + 21 + 19 + \dots + 3 + 1

Using the formula for the sum of the first NN odd numbers, k=1N(2k1)=N2\sum_{k=1}^{N} (2k - 1) = N^2, where N=12N = 12:

n(A)=122=144n(A) = 12^2 = 144

Hence, n(A)n(A) is equal to 144144, which corresponds to Option C.

Count Non Negative Integer Solutions for Linear Equation | Mathematics PYQ Solution - JEE Challenger