After multiplying either solution by if necessary, suppose both are positive on . Set
The equations give
Since is positive between consecutive zeros,
Therefore
But is nondecreasing, so both endpoint values coincide at zero and . Since both solutions are strictly positive inside,
This is the equality case in the wronskian proof of Sturm comparison.