Tangency, flow invariance for differential equations, and optimization problems | lit.salon