The second-resource value graph has slopes two, one, and zero. At four, the slope changes from two to one. At eight, it changes from one to zero. The piecewise formulas agree at the breakpoints, so the value function is continuous. For a change that crosses a breakpoint, solve the new model or use the appropriate pieces rather than multiplying the whole change by the old price.
