SlideShare a Scribd company logo
1 of 20
Download to read offline
Presenter Koki Isokawa
Oct. 29, 2020
3 Convex functions
3.1 Basic properties and examples
Reading circle on Convex Optimization - Boyd & Vandenberghe
Convex function
❖ A function is if
• is a convex set
• for all , and with
❖ Notes
• Strictly convex:
• Concave: is convex
f convex
dom f
x, y ∈ dom f θ 0 ≤ θ ≤ 1
x ≠ y, 0 < θ < 1
−f
2
f(θx + (1 − θ)y) ≤ θ˜
f(x) + (1 − θ)˜
f(y)
Properties on convex function
❖ Affine function is both convex and concave
any convex and concave function is affine
❖ is convex iff
• it is convex when restricted to any line that intersects
its domain
•
f
3
Extended-value extensions
❖ Extend a convex function to all
• - : is defined by
• It can simplify notation by reducing description like
for all
Rn
Extended value extension ˜
f Rn
→ R ∪ {∞}
x ∈ dom f
4
Examples of extended-value extensions
❖ Definition of convex function
➡ for , for any and ,
❖ Pointwise sum: with
• , : convex functions on
•
➡ for any ,
0 < θ < 1 x y
f(x) = f1(x) + f2(x) x ∈ dom f
f1 f2 Rn
dom f = dom f1 ∩ dom f2
x ˜
f(x) = ˜
f1(x) + ˜
f2(x)
5
˜
f(θx + (1 − θ)y) ≤ θx + (1 − θ)y
Example 3.1: Indicator function
Assume 𝐶 is a 𝑐𝑜𝑛𝑣𝑒𝑥 set
• Convex function : for any
• Extended-value extension of :
• The convex function is called the
• Use case: minimizing on the set is equivalent to
minimizing over all of
Rn
IC x ∈ C IC(x) = 0
IC
ĨC indicator function
f C
f + ĨC Rn
6
First-order conditions
Suppose is differentiable
is convex iff
• is convex
• for all
f
f
dom f
f(y) ≥ f(x) + ∇f(x)T
(y − x) x, y ∈ dom f
7
First-order conditions
Suppose is differentiable
is convex iff
• is convex
• for all
f
f
dom f
f(y) ≥ f(x) + ∇f(x)T
(y − x) x, y ∈ dom f
8
the first order Taylor approximation of near
f x
local information
global underestimator
First-order conditions
Suppose is differentiable
is convex iff
• is convex
• for all
f
f
dom f
f(y) ≥ f(x) + ∇f(x)T
(y − x) x, y ∈ dom f
9
Second-order conditions
Suppose is twice differentiable
is convex iff
• is convex
• Hessian is positive semidefinite: for all
f
f
dom f
x ∈ dom f
10
Examples of convex functions on R
❖ : on (for any )
❖ : on (when or )
❖ : on (for )
❖ : is concave on
❖ : on
Exponential eax
R a ∈ R
Powers xa
R++ a ≥ 1 a ≤ 0
Powers of absolute value |x|p
R p ≥ 1
Logarithm log x R
Negative entropy x log x R++
11
Examples of convex functions on Rn
❖ : Every norm on
❖ : on
❖ - - :
with
❖ - - : on
❖ : is concave on
❖ - : is concave on
Norms Rn
Max function f(x) = max{x1, . . . , xn} Rn
Quadratic over linear function
f(x, y) = x2
/y dom f = R × R++ = {(x, y) ∈ R2
|y > 0}
Log sum exp f(x) = log(ex1 + ⋯ + exn) Rn
Geometric mean f(x) = (Πn
i=1xi)1/n
dom f = Rn
++
Log determinant f(X) = log det X dom f = Sn
++
12
Sublevel sets
- set of a function :
• is convex sublevel set of is convex for any
α sublevel f Rn
→ R
f ⇒ f
α
13
Cα = {x ∈ dom f |f(x) ≤ α}
Epigraph
❖ The graph of a function of :
❖ The epigraph of a function :
f Rn
→ R
f Rn
→ R
14
{(x, f(x))|x ∈ dom f}
Convexity via epigraph
❖ The epigraph links convex sets and convex
functions
• A function is convex iff its epigraph is a convex set
• A function is concave iff its is a convex set
hypograph
15
Utility of epigraph
❖ Many results for convex functions can be
proved (or interpreted) geometrically
e.g., First-order condition for convexity
If , then .
It is expressed as:
(y, t) ∈ epi f
16
f(y) ≥ f(x) + ∇f(x)T
(y − x)
t ≥ f(y) ≥ f(x) + ∇f(x)T
(y − x)
(y, t)
Jensen s inequality and extensions
❖ The basic inequality is called
❖ Extension to convex combinations:
❖ Extension to infinite sums and expectations:
Jensen′s inequality
17
, and with
x1, …, xk ∈ dom f θ1, . . . θk ≥ 0 θ1 + ⋯ + θk = 1
f(θ1x1 + ⋯ + θkxk) ≤ θ1f(x1) + ⋯θk f(xk)
on ,
p(x) ≥ 0 S ⊆ dom f
∫S
p(x) dx = 1
f
(∫S
p(x)x dx
)
≤
∫S
f(x)p(x) dx
Jensen s inequality and expectations
❖ If is random variable and is convex
❖ Remark 3.2: Randomization can t decrease the
value of convex function on average
Suppose and is any zero mean random
vector in
x ∈ dom f f
x ∈ dom f ⊆ Rn
z
Rn
18
f(Ex) ≤ Ef(x)
Ef(x + z) ≥ f(E(x + z)) = f(x)
Inequalities (1/2)
Jensen s inequality derives famous inequalities
• The arithmetic-geometric mean inequality:
• Here, take exponential of both side:
19
( )
ab ≤ (a + b)/2 a, b ≥ 0
−log(
a + b
2
) ≤
−log a − log b
2
It is equal to Jensen s inequality with and (convex)
θ = 1/2 f(x) = − log(x)
Inequalities (2/2)
Jensen s inequality derives famous inequalities
• Hölder s inequality:
• Jensen s inequality with general and
• Hölder s inequality is derived by apply the following
θ f(x) = − log x
20
( , and )
n
∑
i=1
xiyi ≤
(
n
∑
i=1
|xi |p
)
1/p
(
n
∑
i=1
|yi |q
)
1/q
p > 1, 1/p + 1/q = 1 x, y ∈ Rn
( )
aθ
b1−θ
≤ θa + (1 − θb) a, b ≥ 0, 0 ≤ θ ≤ 1

More Related Content

What's hot

Numerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal RuleNumerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal RuleVARUN KUMAR
 
Summary of Integration Methods
Summary of Integration MethodsSummary of Integration Methods
Summary of Integration MethodsSilvius
 
Regret Minimization in Multi-objective Submodular Function Maximization
Regret Minimization in Multi-objective Submodular Function MaximizationRegret Minimization in Multi-objective Submodular Function Maximization
Regret Minimization in Multi-objective Submodular Function MaximizationTasuku Soma
 
The low-rank basis problem for a matrix subspace
The low-rank basis problem for a matrix subspaceThe low-rank basis problem for a matrix subspace
The low-rank basis problem for a matrix subspaceTasuku Soma
 
Nonconvex Compressed Sensing with the Sum-of-Squares Method
Nonconvex Compressed Sensing with the Sum-of-Squares MethodNonconvex Compressed Sensing with the Sum-of-Squares Method
Nonconvex Compressed Sensing with the Sum-of-Squares MethodTasuku Soma
 
Multicasting in Linear Deterministic Relay Network by Matrix Completion
Multicasting in Linear Deterministic Relay Network by Matrix CompletionMulticasting in Linear Deterministic Relay Network by Matrix Completion
Multicasting in Linear Deterministic Relay Network by Matrix CompletionTasuku Soma
 
Numerical differentiation integration
Numerical differentiation integrationNumerical differentiation integration
Numerical differentiation integrationTarun Gehlot
 
Calc224FinalExamReview
Calc224FinalExamReviewCalc224FinalExamReview
Calc224FinalExamReviewTori Peña
 
Gaussian Integration
Gaussian IntegrationGaussian Integration
Gaussian IntegrationReza Rahimi
 
Simulated annealing
Simulated annealing Simulated annealing
Simulated annealing Hamid Reza
 

What's hot (20)

Contour
ContourContour
Contour
 
Numerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal RuleNumerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal Rule
 
Summary of Integration Methods
Summary of Integration MethodsSummary of Integration Methods
Summary of Integration Methods
 
Regret Minimization in Multi-objective Submodular Function Maximization
Regret Minimization in Multi-objective Submodular Function MaximizationRegret Minimization in Multi-objective Submodular Function Maximization
Regret Minimization in Multi-objective Submodular Function Maximization
 
Sheet 2
Sheet 2Sheet 2
Sheet 2
 
The low-rank basis problem for a matrix subspace
The low-rank basis problem for a matrix subspaceThe low-rank basis problem for a matrix subspace
The low-rank basis problem for a matrix subspace
 
Nonconvex Compressed Sensing with the Sum-of-Squares Method
Nonconvex Compressed Sensing with the Sum-of-Squares MethodNonconvex Compressed Sensing with the Sum-of-Squares Method
Nonconvex Compressed Sensing with the Sum-of-Squares Method
 
Interpolation
InterpolationInterpolation
Interpolation
 
Multicasting in Linear Deterministic Relay Network by Matrix Completion
Multicasting in Linear Deterministic Relay Network by Matrix CompletionMulticasting in Linear Deterministic Relay Network by Matrix Completion
Multicasting in Linear Deterministic Relay Network by Matrix Completion
 
Line integrals
Line integralsLine integrals
Line integrals
 
Maxima and minima
Maxima and minimaMaxima and minima
Maxima and minima
 
Numerical differentiation integration
Numerical differentiation integrationNumerical differentiation integration
Numerical differentiation integration
 
Aa3
Aa3Aa3
Aa3
 
Calc224FinalExamReview
Calc224FinalExamReviewCalc224FinalExamReview
Calc224FinalExamReview
 
Calculas
CalculasCalculas
Calculas
 
Directional derivative and gradient
Directional derivative and gradientDirectional derivative and gradient
Directional derivative and gradient
 
Sheet 1
Sheet 1Sheet 1
Sheet 1
 
Gaussian Integration
Gaussian IntegrationGaussian Integration
Gaussian Integration
 
Simulated annealing
Simulated annealing Simulated annealing
Simulated annealing
 
1519 differentiation-integration-02
1519 differentiation-integration-021519 differentiation-integration-02
1519 differentiation-integration-02
 

Similar to boyd 3.1

03 convexfunctions
03 convexfunctions03 convexfunctions
03 convexfunctionsSufyan Sahoo
 
2.3 Operations that preserve convexity & 2.4 Generalized inequalities
2.3 Operations that preserve convexity & 2.4 Generalized inequalities2.3 Operations that preserve convexity & 2.4 Generalized inequalities
2.3 Operations that preserve convexity & 2.4 Generalized inequalitiesRyotaroTsukada
 
Optimization introduction
Optimization introductionOptimization introduction
Optimization introductionhelalmohammad2
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionCharles Deledalle
 
1531 fourier series- integrals and trans
1531 fourier series- integrals and trans1531 fourier series- integrals and trans
1531 fourier series- integrals and transDr Fereidoun Dejahang
 
Nonsmooth Optimization
Nonsmooth OptimizationNonsmooth Optimization
Nonsmooth OptimizationSSA KPI
 
Inverse functions
Inverse functionsInverse functions
Inverse functionsgregcross22
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusMatthew Leingang
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusMatthew Leingang
 
0.5.derivatives
0.5.derivatives0.5.derivatives
0.5.derivativesm2699
 
Calculus- Basics
Calculus- BasicsCalculus- Basics
Calculus- BasicsRabin BK
 
functions limits and continuity
functions limits and continuityfunctions limits and continuity
functions limits and continuityPume Ananda
 
Introduction to the theory of optimization
Introduction to the theory of optimizationIntroduction to the theory of optimization
Introduction to the theory of optimizationDelta Pi Systems
 
Function evaluation, termination, vertical line test etc
Function evaluation, termination, vertical line test etcFunction evaluation, termination, vertical line test etc
Function evaluation, termination, vertical line test etcsurprisesibusiso07
 

Similar to boyd 3.1 (20)

03 convexfunctions
03 convexfunctions03 convexfunctions
03 convexfunctions
 
2.1 Calculus 2.formulas.pdf.pdf
2.1 Calculus 2.formulas.pdf.pdf2.1 Calculus 2.formulas.pdf.pdf
2.1 Calculus 2.formulas.pdf.pdf
 
subdiff_prox.pdf
subdiff_prox.pdfsubdiff_prox.pdf
subdiff_prox.pdf
 
2.3 Operations that preserve convexity & 2.4 Generalized inequalities
2.3 Operations that preserve convexity & 2.4 Generalized inequalities2.3 Operations that preserve convexity & 2.4 Generalized inequalities
2.3 Operations that preserve convexity & 2.4 Generalized inequalities
 
Optimization introduction
Optimization introductionOptimization introduction
Optimization introduction
 
Derivatives
DerivativesDerivatives
Derivatives
 
IVR - Chapter 1 - Introduction
IVR - Chapter 1 - IntroductionIVR - Chapter 1 - Introduction
IVR - Chapter 1 - Introduction
 
1531 fourier series- integrals and trans
1531 fourier series- integrals and trans1531 fourier series- integrals and trans
1531 fourier series- integrals and trans
 
Nonsmooth Optimization
Nonsmooth OptimizationNonsmooth Optimization
Nonsmooth Optimization
 
Inverse functions
Inverse functionsInverse functions
Inverse functions
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of Calculus
 
3. Functions II.pdf
3. Functions II.pdf3. Functions II.pdf
3. Functions II.pdf
 
Lesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of CalculusLesson 28: The Fundamental Theorem of Calculus
Lesson 28: The Fundamental Theorem of Calculus
 
0.5.derivatives
0.5.derivatives0.5.derivatives
0.5.derivatives
 
The integral
The integralThe integral
The integral
 
Calculus- Basics
Calculus- BasicsCalculus- Basics
Calculus- Basics
 
Functions limits and continuity
Functions limits and continuityFunctions limits and continuity
Functions limits and continuity
 
functions limits and continuity
functions limits and continuityfunctions limits and continuity
functions limits and continuity
 
Introduction to the theory of optimization
Introduction to the theory of optimizationIntroduction to the theory of optimization
Introduction to the theory of optimization
 
Function evaluation, termination, vertical line test etc
Function evaluation, termination, vertical line test etcFunction evaluation, termination, vertical line test etc
Function evaluation, termination, vertical line test etc
 

Recently uploaded

Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 

Recently uploaded (20)

Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 

boyd 3.1

  • 1. Presenter Koki Isokawa Oct. 29, 2020 3 Convex functions 3.1 Basic properties and examples Reading circle on Convex Optimization - Boyd & Vandenberghe
  • 2. Convex function ❖ A function is if • is a convex set • for all , and with ❖ Notes • Strictly convex: • Concave: is convex f convex dom f x, y ∈ dom f θ 0 ≤ θ ≤ 1 x ≠ y, 0 < θ < 1 −f 2 f(θx + (1 − θ)y) ≤ θ˜ f(x) + (1 − θ)˜ f(y)
  • 3. Properties on convex function ❖ Affine function is both convex and concave any convex and concave function is affine ❖ is convex iff • it is convex when restricted to any line that intersects its domain • f 3
  • 4. Extended-value extensions ❖ Extend a convex function to all • - : is defined by • It can simplify notation by reducing description like for all Rn Extended value extension ˜ f Rn → R ∪ {∞} x ∈ dom f 4
  • 5. Examples of extended-value extensions ❖ Definition of convex function ➡ for , for any and , ❖ Pointwise sum: with • , : convex functions on • ➡ for any , 0 < θ < 1 x y f(x) = f1(x) + f2(x) x ∈ dom f f1 f2 Rn dom f = dom f1 ∩ dom f2 x ˜ f(x) = ˜ f1(x) + ˜ f2(x) 5 ˜ f(θx + (1 − θ)y) ≤ θx + (1 − θ)y
  • 6. Example 3.1: Indicator function Assume 𝐶 is a 𝑐𝑜𝑛𝑣𝑒𝑥 set • Convex function : for any • Extended-value extension of : • The convex function is called the • Use case: minimizing on the set is equivalent to minimizing over all of Rn IC x ∈ C IC(x) = 0 IC ĨC indicator function f C f + ĨC Rn 6
  • 7. First-order conditions Suppose is differentiable is convex iff • is convex • for all f f dom f f(y) ≥ f(x) + ∇f(x)T (y − x) x, y ∈ dom f 7
  • 8. First-order conditions Suppose is differentiable is convex iff • is convex • for all f f dom f f(y) ≥ f(x) + ∇f(x)T (y − x) x, y ∈ dom f 8 the first order Taylor approximation of near f x local information global underestimator
  • 9. First-order conditions Suppose is differentiable is convex iff • is convex • for all f f dom f f(y) ≥ f(x) + ∇f(x)T (y − x) x, y ∈ dom f 9
  • 10. Second-order conditions Suppose is twice differentiable is convex iff • is convex • Hessian is positive semidefinite: for all f f dom f x ∈ dom f 10
  • 11. Examples of convex functions on R ❖ : on (for any ) ❖ : on (when or ) ❖ : on (for ) ❖ : is concave on ❖ : on Exponential eax R a ∈ R Powers xa R++ a ≥ 1 a ≤ 0 Powers of absolute value |x|p R p ≥ 1 Logarithm log x R Negative entropy x log x R++ 11
  • 12. Examples of convex functions on Rn ❖ : Every norm on ❖ : on ❖ - - : with ❖ - - : on ❖ : is concave on ❖ - : is concave on Norms Rn Max function f(x) = max{x1, . . . , xn} Rn Quadratic over linear function f(x, y) = x2 /y dom f = R × R++ = {(x, y) ∈ R2 |y > 0} Log sum exp f(x) = log(ex1 + ⋯ + exn) Rn Geometric mean f(x) = (Πn i=1xi)1/n dom f = Rn ++ Log determinant f(X) = log det X dom f = Sn ++ 12
  • 13. Sublevel sets - set of a function : • is convex sublevel set of is convex for any α sublevel f Rn → R f ⇒ f α 13 Cα = {x ∈ dom f |f(x) ≤ α}
  • 14. Epigraph ❖ The graph of a function of : ❖ The epigraph of a function : f Rn → R f Rn → R 14 {(x, f(x))|x ∈ dom f}
  • 15. Convexity via epigraph ❖ The epigraph links convex sets and convex functions • A function is convex iff its epigraph is a convex set • A function is concave iff its is a convex set hypograph 15
  • 16. Utility of epigraph ❖ Many results for convex functions can be proved (or interpreted) geometrically e.g., First-order condition for convexity If , then . It is expressed as: (y, t) ∈ epi f 16 f(y) ≥ f(x) + ∇f(x)T (y − x) t ≥ f(y) ≥ f(x) + ∇f(x)T (y − x) (y, t)
  • 17. Jensen s inequality and extensions ❖ The basic inequality is called ❖ Extension to convex combinations: ❖ Extension to infinite sums and expectations: Jensen′s inequality 17 , and with x1, …, xk ∈ dom f θ1, . . . θk ≥ 0 θ1 + ⋯ + θk = 1 f(θ1x1 + ⋯ + θkxk) ≤ θ1f(x1) + ⋯θk f(xk) on , p(x) ≥ 0 S ⊆ dom f ∫S p(x) dx = 1 f (∫S p(x)x dx ) ≤ ∫S f(x)p(x) dx
  • 18. Jensen s inequality and expectations ❖ If is random variable and is convex ❖ Remark 3.2: Randomization can t decrease the value of convex function on average Suppose and is any zero mean random vector in x ∈ dom f f x ∈ dom f ⊆ Rn z Rn 18 f(Ex) ≤ Ef(x) Ef(x + z) ≥ f(E(x + z)) = f(x)
  • 19. Inequalities (1/2) Jensen s inequality derives famous inequalities • The arithmetic-geometric mean inequality: • Here, take exponential of both side: 19 ( ) ab ≤ (a + b)/2 a, b ≥ 0 −log( a + b 2 ) ≤ −log a − log b 2 It is equal to Jensen s inequality with and (convex) θ = 1/2 f(x) = − log(x)
  • 20. Inequalities (2/2) Jensen s inequality derives famous inequalities • Hölder s inequality: • Jensen s inequality with general and • Hölder s inequality is derived by apply the following θ f(x) = − log x 20 ( , and ) n ∑ i=1 xiyi ≤ ( n ∑ i=1 |xi |p ) 1/p ( n ∑ i=1 |yi |q ) 1/q p > 1, 1/p + 1/q = 1 x, y ∈ Rn ( ) aθ b1−θ ≤ θa + (1 − θb) a, b ≥ 0, 0 ≤ θ ≤ 1