Solveeit Logo

Question

Question: If X and Y are two sets such that \(X \cup Y\) has \(60\) elements, \(X\) has \(33\) elements and \(...

If X and Y are two sets such that XYX \cup Y has 6060 elements, XX has 3333 elements and YY has 3737 elements, how many elements does XYX - Y and YXY - X have?

Explanation

Solution

We will use the formula: n(AB)=n(AB)n(B)n\left( {A - B} \right) = n\left( {A \cup B} \right) - n\left( B \right) to calculate the number of elements in XYX - Y and XYX - Y. Here, we will suppose XA and YBX \equiv A{\text{ and }}Y \equiv B and the number of elements of X and Y{\text{X and }}Y are already given in the question. After putting their values, we will get the number of elements in XYX - Y and YXY - X.

Complete step-by-step answer:
We are given that XX and YY are two sets such that XYX \cup Y has 6060 elements, XX has 3333 elements and YY has 3737 elements.
We are required to calculate the number of elements in XYX - Y and YXY - X.
We have the formula of sets given by: n(AB)=n(AB)n(B)n\left( {A - B} \right) = n\left( {A \cup B} \right) - n\left( B \right)
Here, let A=XA = X and B=YB = Y.
Now, the number of elements in the set XX are given as: n(X)=33n\left( X \right) = 33.
The number of elements in the set YYcan be represented as: n(Y)=37n\left( Y \right) = 37.
The number of elements in the union of both the sets X and YX{\text{ and }}Y can be given by: n(XY)=60n\left( {X \cup Y} \right) = 60.
So, for calculating the number of elements in the set XYX - Y, we can write the formula as:
n(XY)=n(XY)n(Y)\Rightarrow n\left( {X - Y} \right) = n\left( {X \cup Y} \right) - n\left( Y \right)
On substituting the values, we get

n(XY)=6037 n(XY)=23  \Rightarrow n\left( {X - Y} \right) = 60 - 37 \\\ \Rightarrow n\left( {X - Y} \right) = 23 \\\

Therefore, there are a total of 2323 elements in the set XYX - Y.
Now, for the calculation of the number of elements in YXY - X, we have the formula as: n(YX)=n(XY)n(X)n\left( {Y - X} \right) = n\left( {X \cup Y} \right) - n\left( X \right)
On substituting the values, we get
n(YX)=6033 n(YX)=27  \Rightarrow n\left( {Y - X} \right) = 60 - 33 \\\ \Rightarrow n\left( {Y - X} \right) = 27 \\\
Hence, there are a total 2727 elements in the set YXY - X.

Note: We can also solve this question using the other formula: n(AB)=n(A)n(AB)n\left( {A - B} \right) = n\left( A \right) - n\left( {A \cap B} \right) and n(AB)n\left( {A \cap B} \right) can be calculated using the formula: n(AB)=n(A)+n(B)n(AB)n\left( {A \cup B} \right) = n\left( A \right) + n\left( B \right) - n\left( {A \cap B} \right). This is a time consuming method, comparatively.