Skip to main contentSkip to solution

If a,b,c,a, b, c, and dd are integers such that a+b+c+d=30a + b + c + d = 30, then the minimum possible value of (a−b)2+(a−c)2+(a−d)2(a - b)^2 + (a - c)^2 + (a - d)^2 is

Entered answer:

Solution

✅ Correct Answer: 2

We need to find the minimum value of (a−b)2+(a−c)2+(a−d)2(a-b)^2 + (a-c)^2 + (a-d)^2 given that a+b+c+d=30a + b + c + d = 30 and all variables are integers.

The expression (a−b)2+(a−c)2+(a−d)2(a-b)^2 + (a-c)^2 + (a-d)^2 represents the sum of squared differences between aa and each of the other three variables.

Key Insight: To minimize this expression, we want aa to be as close as possible to bb, cc, and dd. This is because squaring any difference makes it positive, and smaller differences lead to smaller squared values.


Since a+b+c+d=30a + b + c + d = 30, the average value is 304=7.5\tfrac{30}{4} = 7.5.

Since all variables must be integers, we cannot make all four values exactly equal to 7.5.

We need to distribute the values as evenly as possible using integers. The closest we can get is:

Two variables equal to 8

Two variables equal to 7

Check: 8+8+7+7=308 + 8 + 7 + 7 = 30


To minimize (a−b)2+(a−c)2+(a−d)2(a-b)^2 + (a-c)^2 + (a-d)^2, we should:

Choose aa to be one of the "middle" values (either 7 or 8)

Make the other three variables as close to aa as possible

Let's set a=8a = 8. Then to minimize the expression, we want bb, cc, and dd to be as close to 8 as possible.

The best choice is: a=8a = 8, b=8b = 8, c=7c = 7, d=7d = 7


(a−b)2+(a−c)2+(a−d)2(a-b)^2 + (a-c)^2 + (a-d)^2

=(8−8)2+(8−7)2+(8−7)2= (8-8)^2 + (8-7)^2 + (8-7)^2

=02+12+12= 0^2 + 1^2 + 1^2

=0+1+1=2= 0 + 1 + 1 = 2


Therefore, the minimum possible value is 2.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question