649 views

2 Answers

Best answer
2 votes
2 votes

Doing it with the help of induction on the number of elements in A.

Suppose Statement P(n) : If n be the number of elements in A and B be any non empty subset in Z then |A + B| >= |A| + |B| -1

Basis Step: To prove P(1) is true

P(1) : If there is only 1 element in A then |A + B| >= |A| + |B| -1

If there is 1 element in A then |A+B| =  |B| >= |A| + |B| -1 = |B|

Hence P(1) is true.

Inductive Hypothesis : We assume P(k) is true. That is If k be the number of elements in A then |A + B| >= |A| + |B| -1

Inductive Step : With the help of inductive hypothesis we prove that P(k+1) is true.

So, now |A| = k+1.

Now, since A is finite so A must contain a least element ai.

Now, |A\ai| = k .

So, from inductive hypothesis we get

|A\ai + B| >= |A\ai| + |B| -1 

=> |A\ai + B| +1 >= |A\ai| + |B| -1 +1 = |A| + |B| -1....................(1)

Now, since is finite it must contain a least element say bi.

Note that the element (ai + bi) will belong to (A + B) but will not belong to (A\ai + B)

So, |(A + B)| >= |(A\ai + B)| + 1 ......................(2)

So, from the inequalities 1 and 2 we get

|A + B| >= |A| + |B| -1

Hence P(k+1) is true.

Thus whenever P(k) is true we will have P(k+1) is true.

Thus P(n) is true for all n belongs to Z.

Hence |A + B| >= |A| + |B| -1 is true for all non empty finite subsets of Z.

selected by
0 votes
0 votes
$\left | A + B \right | = \cup_{a\in A} \enspace \left | a+B \right | = \cup_{a\in A} \left | B \right |= \left | A \right |\left | B \right |\\[0.5cm] Now \left | A \right |\left | B \right | - \left | A \right | - \left | B \right |+1 = (\left | A \right |-1) (\left | B \right |-1)\geq 0.\\[0.5cm] Hence \left | A \right |\left | B \right | \geq \left | A \right | + \left | B \right |-1.$

Related questions

553
views
1 answers
0 votes
N asked May 1, 2019
553 views
Consider a max-heap of n distinct integers, n ≥ 4, stored in an array A[1 . . . n]. The second minimum of A is the integer that is less than ... all possible array indices of A in which the second minimum can occur. Justify your answer.
978
views
2 answers
2 votes
N asked May 1, 2019
978 views
Let the valid moves along a staircase be U (one step up) and D (one step down). For example, the string s = UUDU represents the sequence of moves as two ... ) Show that L is not regular.(b) Write a context free grammar for accepting L.
871
views
0 answers
0 votes
Tesla! asked May 14, 2018
871 views
The number of common terms in the two sequence (3,7,11,...,407} and {2,9,16,...,70} isA)13 B)14C)15D)16
514
views
1 answers
0 votes
akash.dinkar12 asked May 12, 2019
514 views
Let $A$ and $B$ are two non-empty finite subsets of $\mathbb{Z}$, the set of all integers. Define $A+B=\{a+b:a\in A,b\in B\}$ ... $\mid S \mid$ denotes the cardinality of finite set $S$.