A and B are two sets containing respectively m1 and m2 elements. if X ≤ n (A U B) ≤ y, find x and y

If m1<m2We have nAB=nA+nB-nAB is minimum or maximum according to nAB is maximum or minimum. Case1: If nAB is minimum. i.e. nAB =0 nAB=nA+nB-nAB                    nA+nB                    m1+m2 Case2: If nAB is maximum. i.e. nAB =m1 nAB=nA+nB-nAB                    nA+nB-m1                    m1+m2-m1                    m2Thus, m1+m2nABm2And,If m1>m2We have nAB=nA+nB-nAB is minimum or maximum according to nAB is maximum or minimum. Case1: If nAB is minimum. i.e. nAB =0 nAB=nA+nB-nAB                    nA+nB                    m1+m2 Case2: If nAB is maximum. i.e. nAB =m2 nAB=nA+nB-nAB                    nA+nB-m2                    m1+m2-m2                    m1Thus, m1+m2nABm1

  • 4
What are you looking for?