📌 Core Concept
To minimize the expression
(a−b)2+(a−c)2+(a−d)2,weneedtomakeb , c , and
d as close to
a as possible. Given the constraint
a+b+c+d=46,wedistributethesumarounda$ to minimize the squared differences.
🔢 Step-by-Step Solution
1
Express the Sum Constraint:
a+b+c+d=46
2
Express the Objective Function:
S=(a−b)2+(a−c)2+(a−d)2
3
Distribute the Sum Around
a:
Let
b=a+x,c=a+y,d=a+z.
Then,
x+y+z=46−3a.
To minimize
S,x,y,andz$ should be as close to 0 as possible.
Since
46−3a must be divisible by 3,
a is approximately
11.5. Since
a must be an integer, try
a=11 or
a=12.
b+c+d=35. Distribute as
12,12,11.
S=(11−12)2+(11−12)2+(11−11)2=1+1+0=2.
b+c+d=34. Distribute as
11,11,12.
S=(12−11)2+(12−11)2+(12−12)2=1+1+0=2.