Respuesta :

We have been given that two datasets arranged in descending order are: [tex]\{8, x, 4,1\}[/tex] and [tex]\{9, y, 5,2\}[/tex]. We are asked to find the value of [tex](y-x)^2[/tex], if the medians of the two given datasets are equal.

First of all, we will arrange our given data sets in ascending order.

[tex]\{1,4,x,8\}[/tex] and [tex]\{2,5,y,9\}[/tex]

Since our data sets have 4 data points, so median will be average of middle two terms.

[tex]\frac{4+x}{2}[/tex] and [tex]\frac{5+y}{2}[/tex]

Now we will equate both median as we are told that median of both data sets are equal.

[tex]\frac{5+y}{2}=\frac{4+x}{2}[/tex]

Cross multiply:

[tex]2(5+y)=2(4+x)[/tex]

Divide both sides by 2:

[tex]\frac{2(5+y)}{2}=\frac{2(4+x)}{2}[/tex]

[tex]5+y=4+x[/tex]

[tex]5-5+y-x=4-5+x-x[/tex]

[tex]y-x=-1[/tex]

Let us square both sides of our equation.

[tex](y-x)^2=(-1)^2[/tex]

[tex](y-x)^2=1[/tex]

Therefore, the value of [tex](y-x)^2[/tex] would be 1.

RELAXING NOICE
Relax