Optimization

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/336

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:37 PM on 6/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

337 Terms

1
New cards
What is the gradient of f(x₁,x₂)=½x₁²+½x₂²+ax₁x₂−x₁−x₂?
∇f=[x₁+ax₂−1,\;x₂+ax₁−1]ᵀ.
2
New cards
3
New cards
What is the Hessian of f(x₁,x₂)=½x₁²+½x₂²+ax₁x₂−x₁−x₂?
H=[[1,a],[a,1]].
4
New cards
5
New cards
What are the eigenvalues of the Hessian H=[[1,a],[a,1]]?
λ₁=1+a and λ₂=1−a.
6
New cards
7
New cards
When is H=[[1,a],[a,1]] positive definite?
When |a|<1.
8
New cards
9
New cards
When is H=[[1,a],[a,1]] positive semidefinite?
When |a|≤1.
10
New cards
11
New cards
When is H=[[1,a],[a,1]] indefinite?
When |a|>1.
12
New cards
13
New cards
What happens to the optimization problem when |a|<1?
The objective is strictly convex and has a unique global minimizer.
14
New cards
15
New cards
What happens when a=1?
The Hessian is singular and the function is convex but not strictly convex.
16
New cards
17
New cards
What happens when a=-1?
The Hessian is singular and the function is convex but not strictly convex.
18
New cards
19
New cards
What happens when |a|>1?
The Hessian is indefinite and the function is nonconvex.
20
New cards
21
New cards
How does increasing a affect the contour lines?
The contours become increasingly tilted due to stronger coupling between x₁ and x₂.
22
New cards
23
New cards
What is the stationary-point equation for the function?
x₁+ax₂−1=0 and ax₁+x₂−1=0.
24
New cards
25
New cards
What is the unconstrained minimizer when |a|<1?
x₁*=x₂*=1/(1+a).
26
New cards
27
New cards
What is the unconstrained minimizer when a=1/2?
(x₁,x₂)=(2/3,2/3).
28
New cards
29
New cards
What is the unconstrained minimizer when a=1?
The stationary-point equations reduce to x₁+x₂=1, giving infinitely many minimizers.
30
New cards
31
New cards
Why does a=1 produce infinitely many minimizers?
The Hessian has a zero eigenvalue, creating a flat direction.
32
New cards
33
New cards
What are the contour lines when a=0?
Circular contours centered around the minimizer.
34
New cards
35
New cards
What are the contour lines when 0<a<1?
Tilted ellipses.
36
New cards
37
New cards
What are the contour lines when |a|>1?
Hyperbolic or saddle-shaped contours.
38
New cards
39
New cards
What does the cross term ax₁x₂ represent?
Coupling between the variables x₁ and x₂.
40
New cards
41
New cards
What is the unconstrained optimization first-order condition?
∇f(x)=0.
42
New cards
43
New cards
What is the second-order sufficient condition for a strict minimum?
∇f(x)=0 and Hessian positive definite.
44
New cards
45
New cards
What is the constrained optimization problem?
Minimize f(x) subject to gᵢ(x)≤0.
46
New cards
47
New cards
What is g₁(x₁,x₂)?
x₁²+x₂²−4x₁−2x₂+4≤0.
48
New cards
49
New cards
How can g₁ be rewritten in completed-square form?
(x₁−2)²+(x₂−1)²≤1.
50
New cards
51
New cards
What geometric region does g₁ define?
A disk centered at (2,1) with radius 1.
52
New cards
53
New cards
What is g₂(x₁,x₂)?
−x₁+2≤0.
54
New cards
55
New cards
How can g₂ be rewritten?
x₁≥2.
56
New cards
57
New cards
What geometric region does g₂ define?
The half-plane to the right of x₁=2.
58
New cards
59
New cards
What is the feasible region?
The intersection of the disk and the half-plane.
60
New cards
61
New cards
What are the boundary points where both constraints are active?
(2,0) and (2,2).
62
New cards
63
New cards
What does an active constraint mean?
A constraint satisfying gᵢ(x)=0 at the solution.
64
New cards
65
New cards
What does an inactive constraint mean?
A constraint satisfying gᵢ(x)<0 at the solution.
66
New cards
67
New cards
What is the Lagrangian for this problem?
L=f+λ₁g₁+λ₂g₂.
68
New cards
69
New cards
What is the full Lagrangian?
L=f+λ₁(x₁²+x₂²−4x₁−2x₂+4)+λ₂(−x₁+2).
70
New cards
71
New cards
What are the KKT conditions?
Stationarity, primal feasibility, dual feasibility, and complementary slackness.
72
New cards
73
New cards
What is primal feasibility?
All constraints satisfy gᵢ(x)≤0.
74
New cards
75
New cards
What is dual feasibility?
All multipliers satisfy λᵢ≥0.
76
New cards
77
New cards
What is complementary slackness?
λᵢgᵢ(x)=0 for every constraint.
78
New cards
79
New cards
What is the stationarity condition?
∇f+Σλᵢ∇gᵢ=0.
80
New cards
81
New cards
Why are KKT conditions important?
They characterize optimal solutions for constrained optimization problems.
82
New cards
83
New cards
When are KKT conditions necessary?
Under suitable constraint qualifications.
84
New cards
85
New cards
When are KKT conditions sufficient?
For convex problems with convex constraints.
86
New cards
87
New cards
What is the gradient of g₁?
∇g₁=[2x₁−4,\;2x₂−2]ᵀ.
88
New cards
89
New cards
What is the gradient of g₂?
∇g₂=[−1,\;0]ᵀ.
90
New cards
91
New cards
What is the stationarity equation for this problem?
∇f+λ₁∇g₁+λ₂∇g₂=0.
92
New cards
93
New cards
What does λ₁ measure?
The sensitivity of the optimal objective value to changes in constraint g₁.
94
New cards
95
New cards
What does λ₂ measure?
The sensitivity of the optimal objective value to changes in constraint g₂.
96
New cards
97
New cards
What is the economic interpretation of a Lagrange multiplier?
The shadow price of a constraint.
98
New cards
99
New cards
What does λᵢ=0 imply?
The constraint is inactive or not affecting the optimum.
100
New cards