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ℝ
.g
is 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)