Continuous biased bisect problem #
We explore a variation of the original biased bisect problem. We find a function $E: ℝ → ℝ$ that satisfies the functional equation $$ E(n) = \min_{0 < w < n} \{E(w) + E(n - w) + w t + (n - w) s\} $$ for all positive $n$. We will see that $E(n) = n \log n/ρ$, and the optimal strategy is linear to $n$.
Main statements #
IsOptimalCostℝ,IsOptimalStratℝare the target properties of the solution.Eℝis the optimal cost function.Eℝ_IsOptimalCostℝverifies this is the solution toIsOptimalCostℝ.ρis the coefficient inEℝ.
wℝis the optimal strategy function.wℝ_IsOptimalStratℝverifies this is the solution toIsOptimalStratℝ.gis the coefficient inwℝ.
ρ is the unique real solution to the equation $ρf(ρ) = 1$, where $ρf(ρ) = e^{-s ρ} + e^{-t ρ}$.
g is the unique real solution to the equation $g^s = (1-g)^t$.
g is homogeneous.
We define the goal of the continuous version of the problem.
We also verify wℝ is always between 0 and n
Similar to the discrete problem, we define the auxiliary Dℝ function and discuss its derivative.
It turns out Dℝ is a convex function with a unique minimum.
theorem
D'ℝ_continuous
(s t : ℝ)
[PosReal s]
[PosReal t]
(n : ℝ)
:
ContinuousOn (D'ℝ s t n) (Set.Ioo 0 n)