Tag
Optimization
- Why Are Most Lagrange Multipliers Zero in an SVM?Most SVM Lagrange multipliers are zero because points well outside the margin have inactive constraints; only support vectors affect the boundary.
- What Value of α Maximizes a Regular Pyramid’s Volume?There is no unique maximizing angle without a constraint and an angle definition; for a square pyramid with fixed lateral edges, one common convention gives α ≈ 35.3°.
- Find the Shortest Segment Cut Off by the First QuadrantFor a point (a, b) in the first quadrant, the shortest axis-intercept segment has length (a^(2/3) + b^(2/3))^(3/2), found by optimizing its intercepts.
- Why Is the Shortest Tangent Intercept of an Ellipse a+b?For an ellipse with positive semiaxes a and b, the shortest segment cut off by the coordinate axes on a tangent has length a+b.
- How to Maximize the Volume of a Cone with Fixed Slant HeightFor a right circular cone with fixed slant height, maximize its volume by using the Pythagorean constraint and differentiating with respect to height.
- How to Find the Optimal Path in a Calculus ProblemFind an optimal path by defining the quantity to minimize, modeling path choices, differentiating the objective, and checking endpoints and constraints.
- Where Is the Sum of Squared Distances Minimized?For a finite set of points in Euclidean space, the sum of squared distances is uniquely minimized at their centroid; see the proof and example.
- How to Rewrite max(t, 0) Using a MinimumRewrite max(t, 0) exactly as -min(-t, 0), and see why the leading minus sign matters in algebra and optimization.
- Minimum of 1/a + 4/b + 9/c When a + b + c = 6Apply Cauchy–Schwarz to show the minimum is 6, attained at (a, b, c) = (1, 2, 3), which satisfies the positive-variable constraint.
- How to Derive Demand from Utility and an EndowmentDerive a consumer's demand by valuing the endowment, maximizing utility subject to the budget, and distinguishing chosen consumption from net trade.
- How to Find the Distance from an Ellipsoid to a PlaneUse Lagrange multipliers to find the ellipsoid’s extreme projection onto the plane normal, then divide the remaining gap by the normal’s length.
- How to Convert a Constrained Optimization Problem into an Unconstrained OneConvert equality-constrained quadratic programs by parameterizing the feasible set; use penalties or barriers carefully, since they are not generally exact.
- How to Solve Calculus Word ProblemsLearn a reliable method for calculus word problems: identify the goal, define variables, model the situation, differentiate or integrate, and check units.
- How to Convert a Primal Linear Program to Its DualConvert a linear program to its dual by transposing the constraint matrix, reversing the objective direction, and matching row and variable signs.
- Maximize xy Subject to x² + xy + y² = 1For real x and y satisfying x² + xy + y² = 1, the maximum of xy is 1/3, attained when x and y are both 1/√3 or both −1/√3.
- How to Minimize a Sum-of-Squares Error FunctionMinimize a sum-of-squares error by setting its gradient to zero; for linear models, solve the least-squares equations and check uniqueness.
- What Is the Steepest Descent Method?The steepest descent method minimizes a differentiable function by moving opposite its gradient; learn how to choose a step size and avoid slow convergence.