To solve for x and y, we use the definitions of mean and variance for the 8 numbers: x,y,10,12,6,12,4,8.
1. Use the Mean
The mean xˉ=9.
8x+y+10+12+6+12+4+8=9
x+y+52=72⟹x+y=20…(Eq. 1)
2. Use the Variance
The variance σ2=9.25. The formula is n∑xi2−(xˉ)2=σ2.
8x2+y2+102+122+62+122+42+82−92=9.25
8x2+y2+100+144+36+144+16+64−81=9.25
8x2+y2+504=90.25
x2+y2+504=722⟹x2+y2=218…(Eq. 2)
3. Solve for x and y
Using (x+y)2=x2+y2+2xy:
202=218+2xy⟹400−218=2xy⟹2xy=182⟹xy=91
We need two numbers that add to 20 and multiply to 91. These are 13 and 7.
Since the problem states x>y, we have:
- x=13
- y=7
4. Final Calculation
Find the value of 3x−2y:
3(13)−2(7)=39−14=25