
Brooks C. answered 04/27/21
Applied Physicist | AI Expert | Master Tutor
From the description given in the problem, the total amount of wire W in km given as a function of the junction box's distance from the freeway x in km is found to be
W(x) = x + 2 sqrt[(16-x)^2 + 4^2].
Taking the derivative and setting it equal to zero in order to find the minimum yields
dW/dx = 1 - 2(16 - x)/sqrt[(16-x)^2 + 4^2] = 0,
which leads to
2(16 - x) = sqrt[(16 - x)^2 + 4^2].
We can square both sides and solve for x to give
x = 16 +/- sqrt[16/3].
Clearly, since we want the junction box in between the freeway and the road connecting the houses, we only accept the solution
x = 16 - sqrt[16/3].