SlideShare a Scribd company logo
D Nagesh Kumar, IISc Optimization Methods: M2L21
Optimization using Calculus
Convexity and Concavity
of Functions of One and
Two Variables
D Nagesh Kumar, IISc Optimization Methods: M2L22
Objective
To determine the convexity and concavity of functions
D Nagesh Kumar, IISc Optimization Methods: M2L23
Convex Function (Function of one variable)
A real-valued function f defined on an interval (or on any convex subset
C of some vector space) is called convex, if for any two points x and y in
its domain C and any t in [0,1], we have
In other words, a function is convex if and only if its epigraph (the set of
points lying on or above the graph) is a convex set. A function is also said
to be strictly convex if
for any t in (0,1) and a line connecting any two points on the function lies
completely above the function.
( (1 ) ) ( ) (1 ) ( ))f ta t b tf a t f b+ − ≤ + −
( (1 ) ) ( ) (1 ) ( )f ta t b tf a t f b+ − < + −
D Nagesh Kumar, IISc Optimization Methods: M2L24
A convex function
D Nagesh Kumar, IISc Optimization Methods: M2L25
Testing for convexity of a single variable
function
A function is convex if its slope is non decreasing or
0. It is strictly convex if its slope is continually
increasing or 0 throughout the function.
2 2
/f x∂ ∂ ≥
2 2
/f x∂ ∂ >
D Nagesh Kumar, IISc Optimization Methods: M2L26
Properties of convex functions
A convex function f, defined on some convex open interval C, is
continuous on C and differentiable at all or at many points. If C is
closed, then f may fail to be continuous at the end points of C.
A continuous function on an interval C is convex if and only if
for all a and b in C.
• A differentiable function of one variable is convex on an interval if
and only if its derivative is monotonically non-decreasing on that
interval.
( ) ( )
2 2
a b f a f b
f
+ +⎛ ⎞
≤⎜ ⎟
⎝ ⎠
D Nagesh Kumar, IISc Optimization Methods: M2L27
Properties of convex functions (contd.)
A continuously differentiable function of one variable is convex on an
interval if and only if the function lies above all of its tangents: for all a
and b in the interval.
A twice differentiable function of one variable is convex on an interval if
and only if its second derivative is non-negative in that interval; this
gives a practical test for convexity.
More generally, a continuous, twice differentiable function of several
variables is convex on a convex set if and only if its Hessian matrix is
positive semi definite on the interior of the convex set.
If two functions f and g are convex, then so is any weighted combination
af + b g with non-negative coefficients a and b. Likewise, if f and g are
convex, then the function max{f, g} is convex.
D Nagesh Kumar, IISc Optimization Methods: M2L28
Concave function (function of one variable)
A differentiable function f is concave on an interval if its derivative
function f ′ is decreasing on that interval: a concave function has a
decreasing slope.
A function f(x) is said to be concave on an interval if, for all a and b
in that interval,
Additionally, f(x) is strictly concave if
[0,1], ( (1 ) ) ( ) (1 ) ( )t f ta t b tf a t f b∀ ∈ + − ≥ + −
[0,1], ( (1 ) ) ( ) (1 ) ( )t f ta t b tf a t f b∀ ∈ + − > + −
D Nagesh Kumar, IISc Optimization Methods: M2L29
A concave function
D Nagesh Kumar, IISc Optimization Methods: M2L210
Testing for concavity of a single variable
function
A function is convex if its slope is non increasing or
0. It is strictly concave if its slope is continually
decreasing or 0 throughout the function.
2 2
/f x∂ ∂ ≤
2 2
/f x∂ ∂ <
D Nagesh Kumar, IISc Optimization Methods: M2L211
Properties of concave functions
A continuous function on C is concave if and only if
for any a and b in C.
• Equivalently, f(x) is concave on [a, b] if and only if the function −f(x)
is convex on every subinterval of [a, b].
• If f(x) is twice-differentiable, then f(x) is concave if and only if
f ′′(x) is non-positive. If its second derivative is negative then it is
strictly concave, but the opposite is not true, as shown by f(x) = -x4.
( ) ( )
2 2
a b f a f b
f
+ +⎛ ⎞
≥⎜ ⎟
⎝ ⎠
D Nagesh Kumar, IISc Optimization Methods: M2L212
Example
Consider the example in lecture notes 1 for a function of two variables.
Locate the stationary points of
and find out if the function is convex, concave or neither at the points of
optima based on the testing rules discussed above.
5 4 3
( ) 12 45 40 5f x x x x= − + +
D Nagesh Kumar, IISc Optimization Methods: M2L213
Example …contd.
D Nagesh Kumar, IISc Optimization Methods: M2L214
Example …contd.
D Nagesh Kumar, IISc Optimization Methods: M2L215
Functions of two variables
A function of two variables, f(X) where X is a vector = [x1,x2], is
strictly convex if
where X1 and X2 are points located by the coordinates given in their
respective vectors. Similarly a two variable function is strictly
concave if
1 2 1 2( (1 ) ) ( ) (1 ) ( )f t t tf t fΧ + − Χ < Χ + − Χ
1 2 1 2( (1 ) ) ( ) (1 ) ( )f t t tf t fΧ + − Χ > Χ + − Χ
D Nagesh Kumar, IISc Optimization Methods: M2L216
Contour plot of a convex function
D Nagesh Kumar, IISc Optimization Methods: M2L217
Contour plot of a concave function
D Nagesh Kumar, IISc Optimization Methods: M2L218
Sufficient conditions
To determine convexity or concavity of a function of
multiple variables, the eigen values of its Hessian matrix
is examined and the following rules apply.
– If all eigen values of the Hessian are positive the function is
strictly convex.
– If all eigen values of the Hessian are negative the function is
strictly concave.
– If some eigen values are positive and some are negative, or if
some are zero, the function is neither strictly concave nor strictly
convex.
D Nagesh Kumar, IISc Optimization Methods: M2L219
Example
Consider the example in lecture notes 1 for a function of two
variables. Locate the stationary points of f(X) and find out if the
function is convex, concave or neither at the points of optima based
on the rules discussed in this lecture.
3 2
1 1 2 1 2 2( ) 2 /3 2 5 2 4 5f x x x x x x= − − + + +X
D Nagesh Kumar, IISc Optimization Methods: M2L221
Example (contd..)
D Nagesh Kumar, IISc Optimization Methods: M2L222
Thank you

More Related Content

What's hot

Constrained Optimization
Constrained OptimizationConstrained Optimization
Interpolation Methods
Interpolation MethodsInterpolation Methods
Interpolation Methods
Mohammad Tawfik
 
Function of several variables
Function of several variablesFunction of several variables
Function of several variables
Kamel Attar
 
interpolation of unequal intervals
interpolation of unequal intervalsinterpolation of unequal intervals
interpolation of unequal intervals
vaani pathak
 
Cubic Spline Interpolation
Cubic Spline InterpolationCubic Spline Interpolation
Cubic Spline Interpolation
VARUN KUMAR
 
Multicollinearity PPT
Multicollinearity PPTMulticollinearity PPT
Multicollinearity PPT
GunjanKhandelwal13
 
Partial derivatives
Partial derivativesPartial derivatives
Partial derivatives
RAVI PRASAD K.J.
 
Concepts of Maxima And Minima
Concepts of Maxima And MinimaConcepts of Maxima And Minima
Concepts of Maxima And Minima
Jitin Pillai
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
Farzad Javidanrad
 
Linear regression theory
Linear regression theoryLinear regression theory
Linear regression theory
Saurav Mukherjee
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
Dr. Nirav Vyas
 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
reach2arkaELECTRICAL
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference Interpolation
VARUN KUMAR
 
Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2
Asad Ali
 
The adding up problem product exhaustion theorem yohannes mengesha
The adding up problem product exhaustion theorem yohannes mengesha The adding up problem product exhaustion theorem yohannes mengesha
The adding up problem product exhaustion theorem yohannes mengesha Yohannes Mengesha, PhD Fellow
 
Chapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic EquationsChapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic EquationsMaria Fernanda
 
Partial Derivatives
Partial DerivativesPartial Derivatives
Partial Derivatives
Aman Singh
 
Properties of estimators (blue)
Properties of estimators (blue)Properties of estimators (blue)
Properties of estimators (blue)
Kshitiz Gupta
 

What's hot (20)

Constrained Optimization
Constrained OptimizationConstrained Optimization
Constrained Optimization
 
Interpolation Methods
Interpolation MethodsInterpolation Methods
Interpolation Methods
 
Function of several variables
Function of several variablesFunction of several variables
Function of several variables
 
interpolation of unequal intervals
interpolation of unequal intervalsinterpolation of unequal intervals
interpolation of unequal intervals
 
Cubic Spline Interpolation
Cubic Spline InterpolationCubic Spline Interpolation
Cubic Spline Interpolation
 
Multicollinearity PPT
Multicollinearity PPTMulticollinearity PPT
Multicollinearity PPT
 
Partial derivatives
Partial derivativesPartial derivatives
Partial derivatives
 
Lagrange’s interpolation formula
Lagrange’s interpolation formulaLagrange’s interpolation formula
Lagrange’s interpolation formula
 
Consumption
ConsumptionConsumption
Consumption
 
Concepts of Maxima And Minima
Concepts of Maxima And MinimaConcepts of Maxima And Minima
Concepts of Maxima And Minima
 
Matrix algebra
Matrix algebraMatrix algebra
Matrix algebra
 
Linear regression theory
Linear regression theoryLinear regression theory
Linear regression theory
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference Interpolation
 
Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2Numerical Analysis (Solution of Non-Linear Equations) part 2
Numerical Analysis (Solution of Non-Linear Equations) part 2
 
The adding up problem product exhaustion theorem yohannes mengesha
The adding up problem product exhaustion theorem yohannes mengesha The adding up problem product exhaustion theorem yohannes mengesha
The adding up problem product exhaustion theorem yohannes mengesha
 
Chapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic EquationsChapter 4: Linear Algebraic Equations
Chapter 4: Linear Algebraic Equations
 
Partial Derivatives
Partial DerivativesPartial Derivatives
Partial Derivatives
 
Properties of estimators (blue)
Properties of estimators (blue)Properties of estimators (blue)
Properties of estimators (blue)
 

Viewers also liked

ISI MSQE Entrance Question Paper (2006)
ISI MSQE Entrance Question Paper (2006)ISI MSQE Entrance Question Paper (2006)
ISI MSQE Entrance Question Paper (2006)
CrackDSE
 
Convex Optimization
Convex OptimizationConvex Optimization
Convex Optimization
adil raja
 
11 x1 t12 06 maxima & minima (2013)
11 x1 t12 06 maxima & minima (2013)11 x1 t12 06 maxima & minima (2013)
11 x1 t12 06 maxima & minima (2013)Nigel Simmons
 
economicsmaentrance'/solutions answers/ Msc QUANTiATIVE ECONOMICS ISI /DSE /
economicsmaentrance'/solutions answers/ Msc QUANTiATIVE ECONOMICS ISI /DSE /economicsmaentrance'/solutions answers/ Msc QUANTiATIVE ECONOMICS ISI /DSE /
economicsmaentrance'/solutions answers/ Msc QUANTiATIVE ECONOMICS ISI /DSE /
Naresh Sehdev
 
Maxima & Minima for IIT JEE | askIITians
Maxima & Minima for IIT JEE | askIITiansMaxima & Minima for IIT JEE | askIITians
Maxima & Minima for IIT JEE | askIITians
askiitian
 
Applications of maxima and minima
Applications of maxima and minimaApplications of maxima and minima
Applications of maxima and minimarouwejan
 
Maxima and minima
Maxima and minimaMaxima and minima
Maxima and minima
Umesh Pandey
 
Practicle application of maxima and minima
Practicle application of maxima and minimaPracticle application of maxima and minima
Practicle application of maxima and minimaBritish Council
 
Optimization: from mathematical tools to real applications
Optimization: from mathematical tools to real applicationsOptimization: from mathematical tools to real applications
Optimization: from mathematical tools to real applications
Philippe Laborie
 
The Application of Derivatives
The Application of DerivativesThe Application of Derivatives
The Application of Derivativesdivaprincess09
 
Calculus in real life
Calculus in real lifeCalculus in real life
Calculus in real lifeSamiul Ehsan
 
MSC ENTRANCE IN ECONOMICS FOR ISI MSQE , JNU, DSE, IGIDR, MSE, TISS TUITION C...
MSC ENTRANCE IN ECONOMICS FOR ISI MSQE , JNU, DSE, IGIDR, MSE, TISS TUITION C...MSC ENTRANCE IN ECONOMICS FOR ISI MSQE , JNU, DSE, IGIDR, MSE, TISS TUITION C...
MSC ENTRANCE IN ECONOMICS FOR ISI MSQE , JNU, DSE, IGIDR, MSE, TISS TUITION C...
SOURAV DAS
 

Viewers also liked (13)

ISI MSQE Entrance Question Paper (2006)
ISI MSQE Entrance Question Paper (2006)ISI MSQE Entrance Question Paper (2006)
ISI MSQE Entrance Question Paper (2006)
 
Convex Optimization
Convex OptimizationConvex Optimization
Convex Optimization
 
11 x1 t12 06 maxima & minima (2013)
11 x1 t12 06 maxima & minima (2013)11 x1 t12 06 maxima & minima (2013)
11 x1 t12 06 maxima & minima (2013)
 
economicsmaentrance'/solutions answers/ Msc QUANTiATIVE ECONOMICS ISI /DSE /
economicsmaentrance'/solutions answers/ Msc QUANTiATIVE ECONOMICS ISI /DSE /economicsmaentrance'/solutions answers/ Msc QUANTiATIVE ECONOMICS ISI /DSE /
economicsmaentrance'/solutions answers/ Msc QUANTiATIVE ECONOMICS ISI /DSE /
 
Maxima & Minima for IIT JEE | askIITians
Maxima & Minima for IIT JEE | askIITiansMaxima & Minima for IIT JEE | askIITians
Maxima & Minima for IIT JEE | askIITians
 
Applications of maxima and minima
Applications of maxima and minimaApplications of maxima and minima
Applications of maxima and minima
 
Maxima and minima
Maxima and minimaMaxima and minima
Maxima and minima
 
Practicle application of maxima and minima
Practicle application of maxima and minimaPracticle application of maxima and minima
Practicle application of maxima and minima
 
Optimization: from mathematical tools to real applications
Optimization: from mathematical tools to real applicationsOptimization: from mathematical tools to real applications
Optimization: from mathematical tools to real applications
 
The Application of Derivatives
The Application of DerivativesThe Application of Derivatives
The Application of Derivatives
 
Perfect competition
Perfect competitionPerfect competition
Perfect competition
 
Calculus in real life
Calculus in real lifeCalculus in real life
Calculus in real life
 
MSC ENTRANCE IN ECONOMICS FOR ISI MSQE , JNU, DSE, IGIDR, MSE, TISS TUITION C...
MSC ENTRANCE IN ECONOMICS FOR ISI MSQE , JNU, DSE, IGIDR, MSE, TISS TUITION C...MSC ENTRANCE IN ECONOMICS FOR ISI MSQE , JNU, DSE, IGIDR, MSE, TISS TUITION C...
MSC ENTRANCE IN ECONOMICS FOR ISI MSQE , JNU, DSE, IGIDR, MSE, TISS TUITION C...
 

Similar to Numerical analysis convexity, concavity

R lecture co4_math 21-1
R lecture co4_math 21-1R lecture co4_math 21-1
R lecture co4_math 21-1
Trixia Kimberly Canapati
 
Numerical analysis multivariable unconstrained
Numerical analysis  multivariable unconstrainedNumerical analysis  multivariable unconstrained
Numerical analysis multivariable unconstrained
SHAMJITH KM
 
4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf
BechanYadav4
 
optmizationtechniques.pdf
optmizationtechniques.pdfoptmizationtechniques.pdf
optmizationtechniques.pdf
SantiagoGarridoBulln
 
lecture01_lecture01_lecture0001_ceva.pdf
lecture01_lecture01_lecture0001_ceva.pdflecture01_lecture01_lecture0001_ceva.pdf
lecture01_lecture01_lecture0001_ceva.pdf
AnaNeacsu5
 
31A WePrep Presentation
31A WePrep Presentation31A WePrep Presentation
31A WePrep Presentation
Ege Tanboga
 
Tutorfly Review Session Math 31A
Tutorfly Review Session Math 31ATutorfly Review Session Math 31A
Tutorfly Review Session Math 31A
Ege Tanboga
 
Principle of Definite Integra - Integral Calculus - by Arun Umrao
Principle of Definite Integra - Integral Calculus - by Arun UmraoPrinciple of Definite Integra - Integral Calculus - by Arun Umrao
Principle of Definite Integra - Integral Calculus - by Arun Umrao
ssuserd6b1fd
 
Definite Integral
Definite IntegralDefinite Integral
Definite Integral
Arun Umrao
 
Basics of Integration and Derivatives
Basics of Integration and DerivativesBasics of Integration and Derivatives
Basics of Integration and Derivatives
Faisal Waqar
 
Limits and continuity powerpoint
Limits and continuity powerpointLimits and continuity powerpoint
Limits and continuity powerpointcanalculus
 
Lecture co3 math21-1
Lecture co3 math21-1Lecture co3 math21-1
Lecture co3 math21-1
Lawrence De Vera
 
Calculus_I_Chapter_1 (Printed version).pdf
Calculus_I_Chapter_1 (Printed version).pdfCalculus_I_Chapter_1 (Printed version).pdf
Calculus_I_Chapter_1 (Printed version).pdf
Hung227634
 
2. Functions I.pdf
2. Functions I.pdf2. Functions I.pdf
BP106RMT.pdf
BP106RMT.pdfBP106RMT.pdf
BP106RMT.pdf
BurhaanBhat1
 
1551 limits and continuity
1551 limits and continuity1551 limits and continuity
1551 limits and continuity
Dr Fereidoun Dejahang
 
Introductory maths analysis chapter 13 official
Introductory maths analysis   chapter 13 officialIntroductory maths analysis   chapter 13 official
Introductory maths analysis chapter 13 official
Evert Sandye Taasiringan
 

Similar to Numerical analysis convexity, concavity (20)

Basics of Optimization Theory
Basics of Optimization Theory Basics of Optimization Theory
Basics of Optimization Theory
 
R lecture co4_math 21-1
R lecture co4_math 21-1R lecture co4_math 21-1
R lecture co4_math 21-1
 
Numerical analysis multivariable unconstrained
Numerical analysis  multivariable unconstrainedNumerical analysis  multivariable unconstrained
Numerical analysis multivariable unconstrained
 
4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf4optmizationtechniques-150308051251-conversion-gate01.pdf
4optmizationtechniques-150308051251-conversion-gate01.pdf
 
optmizationtechniques.pdf
optmizationtechniques.pdfoptmizationtechniques.pdf
optmizationtechniques.pdf
 
Optmization techniques
Optmization techniquesOptmization techniques
Optmization techniques
 
lecture01_lecture01_lecture0001_ceva.pdf
lecture01_lecture01_lecture0001_ceva.pdflecture01_lecture01_lecture0001_ceva.pdf
lecture01_lecture01_lecture0001_ceva.pdf
 
31A WePrep Presentation
31A WePrep Presentation31A WePrep Presentation
31A WePrep Presentation
 
Tutorfly Review Session Math 31A
Tutorfly Review Session Math 31ATutorfly Review Session Math 31A
Tutorfly Review Session Math 31A
 
Principle of Definite Integra - Integral Calculus - by Arun Umrao
Principle of Definite Integra - Integral Calculus - by Arun UmraoPrinciple of Definite Integra - Integral Calculus - by Arun Umrao
Principle of Definite Integra - Integral Calculus - by Arun Umrao
 
Definite Integral
Definite IntegralDefinite Integral
Definite Integral
 
Basics of Integration and Derivatives
Basics of Integration and DerivativesBasics of Integration and Derivatives
Basics of Integration and Derivatives
 
Limits and continuity powerpoint
Limits and continuity powerpointLimits and continuity powerpoint
Limits and continuity powerpoint
 
Lar calc10 ch01_sec4
Lar calc10 ch01_sec4Lar calc10 ch01_sec4
Lar calc10 ch01_sec4
 
Lecture co3 math21-1
Lecture co3 math21-1Lecture co3 math21-1
Lecture co3 math21-1
 
Calculus_I_Chapter_1 (Printed version).pdf
Calculus_I_Chapter_1 (Printed version).pdfCalculus_I_Chapter_1 (Printed version).pdf
Calculus_I_Chapter_1 (Printed version).pdf
 
2. Functions I.pdf
2. Functions I.pdf2. Functions I.pdf
2. Functions I.pdf
 
BP106RMT.pdf
BP106RMT.pdfBP106RMT.pdf
BP106RMT.pdf
 
1551 limits and continuity
1551 limits and continuity1551 limits and continuity
1551 limits and continuity
 
Introductory maths analysis chapter 13 official
Introductory maths analysis   chapter 13 officialIntroductory maths analysis   chapter 13 official
Introductory maths analysis chapter 13 official
 

More from SHAMJITH KM

Salah of the Prophet (ﷺ).pdf
Salah of the Prophet (ﷺ).pdfSalah of the Prophet (ﷺ).pdf
Salah of the Prophet (ﷺ).pdf
SHAMJITH KM
 
Construction Materials and Engineering - Module IV - Lecture Notes
Construction Materials and Engineering - Module IV - Lecture NotesConstruction Materials and Engineering - Module IV - Lecture Notes
Construction Materials and Engineering - Module IV - Lecture Notes
SHAMJITH KM
 
Construction Materials and Engineering - Module III - Lecture Notes
Construction Materials and Engineering - Module III - Lecture NotesConstruction Materials and Engineering - Module III - Lecture Notes
Construction Materials and Engineering - Module III - Lecture Notes
SHAMJITH KM
 
Construction Materials and Engineering - Module II - Lecture Notes
Construction Materials and Engineering - Module II - Lecture NotesConstruction Materials and Engineering - Module II - Lecture Notes
Construction Materials and Engineering - Module II - Lecture Notes
SHAMJITH KM
 
Construction Materials and Engineering - Module I - Lecture Notes
Construction Materials and Engineering - Module I - Lecture NotesConstruction Materials and Engineering - Module I - Lecture Notes
Construction Materials and Engineering - Module I - Lecture Notes
SHAMJITH KM
 
Computing fundamentals lab record - Polytechnics
Computing fundamentals lab record - PolytechnicsComputing fundamentals lab record - Polytechnics
Computing fundamentals lab record - Polytechnics
SHAMJITH KM
 
Concrete lab manual - Polytechnics
Concrete lab manual - PolytechnicsConcrete lab manual - Polytechnics
Concrete lab manual - Polytechnics
SHAMJITH KM
 
Concrete Technology Study Notes
Concrete Technology Study NotesConcrete Technology Study Notes
Concrete Technology Study Notes
SHAMJITH KM
 
നബി(സ)യുടെ നമസ്കാരം - രൂപവും പ്രാര്ത്ഥനകളും
നബി(സ)യുടെ നമസ്കാരം -  രൂപവും പ്രാര്ത്ഥനകളുംനബി(സ)യുടെ നമസ്കാരം -  രൂപവും പ്രാര്ത്ഥനകളും
നബി(സ)യുടെ നമസ്കാരം - രൂപവും പ്രാര്ത്ഥനകളും
SHAMJITH KM
 
Design of simple beam using staad pro - doc file
Design of simple beam using staad pro - doc fileDesign of simple beam using staad pro - doc file
Design of simple beam using staad pro - doc file
SHAMJITH KM
 
Design of simple beam using staad pro
Design of simple beam using staad proDesign of simple beam using staad pro
Design of simple beam using staad pro
SHAMJITH KM
 
Python programs - PPT file (Polytechnics)
Python programs - PPT file (Polytechnics)Python programs - PPT file (Polytechnics)
Python programs - PPT file (Polytechnics)
SHAMJITH KM
 
Python programs - first semester computer lab manual (polytechnics)
Python programs - first semester computer lab manual (polytechnics)Python programs - first semester computer lab manual (polytechnics)
Python programs - first semester computer lab manual (polytechnics)
SHAMJITH KM
 
Python programming Workshop SITTTR - Kalamassery
Python programming Workshop SITTTR - KalamasseryPython programming Workshop SITTTR - Kalamassery
Python programming Workshop SITTTR - Kalamassery
SHAMJITH KM
 
Analysis of simple beam using STAAD Pro (Exp No 1)
Analysis of simple beam using STAAD Pro (Exp No 1)Analysis of simple beam using STAAD Pro (Exp No 1)
Analysis of simple beam using STAAD Pro (Exp No 1)
SHAMJITH KM
 
Theory of structures I - STUDENT NOTE BOOK (Polytechnics Revision 2015)
Theory of structures I - STUDENT NOTE BOOK (Polytechnics Revision 2015)Theory of structures I - STUDENT NOTE BOOK (Polytechnics Revision 2015)
Theory of structures I - STUDENT NOTE BOOK (Polytechnics Revision 2015)
SHAMJITH KM
 
Theory of structures II - STUDENT NOTE BOOK (Polytechnics Revision 2015)
Theory of structures II - STUDENT NOTE BOOK (Polytechnics Revision 2015)Theory of structures II - STUDENT NOTE BOOK (Polytechnics Revision 2015)
Theory of structures II - STUDENT NOTE BOOK (Polytechnics Revision 2015)
SHAMJITH KM
 
CAD Lab model viva questions
CAD Lab model viva questions CAD Lab model viva questions
CAD Lab model viva questions
SHAMJITH KM
 
Brain Computer Interface (BCI) - seminar PPT
Brain Computer Interface (BCI) -  seminar PPTBrain Computer Interface (BCI) -  seminar PPT
Brain Computer Interface (BCI) - seminar PPT
SHAMJITH KM
 
Surveying - Module iii-levelling only note
Surveying - Module  iii-levelling only noteSurveying - Module  iii-levelling only note
Surveying - Module iii-levelling only note
SHAMJITH KM
 

More from SHAMJITH KM (20)

Salah of the Prophet (ﷺ).pdf
Salah of the Prophet (ﷺ).pdfSalah of the Prophet (ﷺ).pdf
Salah of the Prophet (ﷺ).pdf
 
Construction Materials and Engineering - Module IV - Lecture Notes
Construction Materials and Engineering - Module IV - Lecture NotesConstruction Materials and Engineering - Module IV - Lecture Notes
Construction Materials and Engineering - Module IV - Lecture Notes
 
Construction Materials and Engineering - Module III - Lecture Notes
Construction Materials and Engineering - Module III - Lecture NotesConstruction Materials and Engineering - Module III - Lecture Notes
Construction Materials and Engineering - Module III - Lecture Notes
 
Construction Materials and Engineering - Module II - Lecture Notes
Construction Materials and Engineering - Module II - Lecture NotesConstruction Materials and Engineering - Module II - Lecture Notes
Construction Materials and Engineering - Module II - Lecture Notes
 
Construction Materials and Engineering - Module I - Lecture Notes
Construction Materials and Engineering - Module I - Lecture NotesConstruction Materials and Engineering - Module I - Lecture Notes
Construction Materials and Engineering - Module I - Lecture Notes
 
Computing fundamentals lab record - Polytechnics
Computing fundamentals lab record - PolytechnicsComputing fundamentals lab record - Polytechnics
Computing fundamentals lab record - Polytechnics
 
Concrete lab manual - Polytechnics
Concrete lab manual - PolytechnicsConcrete lab manual - Polytechnics
Concrete lab manual - Polytechnics
 
Concrete Technology Study Notes
Concrete Technology Study NotesConcrete Technology Study Notes
Concrete Technology Study Notes
 
നബി(സ)യുടെ നമസ്കാരം - രൂപവും പ്രാര്ത്ഥനകളും
നബി(സ)യുടെ നമസ്കാരം -  രൂപവും പ്രാര്ത്ഥനകളുംനബി(സ)യുടെ നമസ്കാരം -  രൂപവും പ്രാര്ത്ഥനകളും
നബി(സ)യുടെ നമസ്കാരം - രൂപവും പ്രാര്ത്ഥനകളും
 
Design of simple beam using staad pro - doc file
Design of simple beam using staad pro - doc fileDesign of simple beam using staad pro - doc file
Design of simple beam using staad pro - doc file
 
Design of simple beam using staad pro
Design of simple beam using staad proDesign of simple beam using staad pro
Design of simple beam using staad pro
 
Python programs - PPT file (Polytechnics)
Python programs - PPT file (Polytechnics)Python programs - PPT file (Polytechnics)
Python programs - PPT file (Polytechnics)
 
Python programs - first semester computer lab manual (polytechnics)
Python programs - first semester computer lab manual (polytechnics)Python programs - first semester computer lab manual (polytechnics)
Python programs - first semester computer lab manual (polytechnics)
 
Python programming Workshop SITTTR - Kalamassery
Python programming Workshop SITTTR - KalamasseryPython programming Workshop SITTTR - Kalamassery
Python programming Workshop SITTTR - Kalamassery
 
Analysis of simple beam using STAAD Pro (Exp No 1)
Analysis of simple beam using STAAD Pro (Exp No 1)Analysis of simple beam using STAAD Pro (Exp No 1)
Analysis of simple beam using STAAD Pro (Exp No 1)
 
Theory of structures I - STUDENT NOTE BOOK (Polytechnics Revision 2015)
Theory of structures I - STUDENT NOTE BOOK (Polytechnics Revision 2015)Theory of structures I - STUDENT NOTE BOOK (Polytechnics Revision 2015)
Theory of structures I - STUDENT NOTE BOOK (Polytechnics Revision 2015)
 
Theory of structures II - STUDENT NOTE BOOK (Polytechnics Revision 2015)
Theory of structures II - STUDENT NOTE BOOK (Polytechnics Revision 2015)Theory of structures II - STUDENT NOTE BOOK (Polytechnics Revision 2015)
Theory of structures II - STUDENT NOTE BOOK (Polytechnics Revision 2015)
 
CAD Lab model viva questions
CAD Lab model viva questions CAD Lab model viva questions
CAD Lab model viva questions
 
Brain Computer Interface (BCI) - seminar PPT
Brain Computer Interface (BCI) -  seminar PPTBrain Computer Interface (BCI) -  seminar PPT
Brain Computer Interface (BCI) - seminar PPT
 
Surveying - Module iii-levelling only note
Surveying - Module  iii-levelling only noteSurveying - Module  iii-levelling only note
Surveying - Module iii-levelling only note
 

Recently uploaded

Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 

Recently uploaded (20)

Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 

Numerical analysis convexity, concavity

  • 1. D Nagesh Kumar, IISc Optimization Methods: M2L21 Optimization using Calculus Convexity and Concavity of Functions of One and Two Variables
  • 2. D Nagesh Kumar, IISc Optimization Methods: M2L22 Objective To determine the convexity and concavity of functions
  • 3. D Nagesh Kumar, IISc Optimization Methods: M2L23 Convex Function (Function of one variable) A real-valued function f defined on an interval (or on any convex subset C of some vector space) is called convex, if for any two points x and y in its domain C and any t in [0,1], we have In other words, a function is convex if and only if its epigraph (the set of points lying on or above the graph) is a convex set. A function is also said to be strictly convex if for any t in (0,1) and a line connecting any two points on the function lies completely above the function. ( (1 ) ) ( ) (1 ) ( ))f ta t b tf a t f b+ − ≤ + − ( (1 ) ) ( ) (1 ) ( )f ta t b tf a t f b+ − < + −
  • 4. D Nagesh Kumar, IISc Optimization Methods: M2L24 A convex function
  • 5. D Nagesh Kumar, IISc Optimization Methods: M2L25 Testing for convexity of a single variable function A function is convex if its slope is non decreasing or 0. It is strictly convex if its slope is continually increasing or 0 throughout the function. 2 2 /f x∂ ∂ ≥ 2 2 /f x∂ ∂ >
  • 6. D Nagesh Kumar, IISc Optimization Methods: M2L26 Properties of convex functions A convex function f, defined on some convex open interval C, is continuous on C and differentiable at all or at many points. If C is closed, then f may fail to be continuous at the end points of C. A continuous function on an interval C is convex if and only if for all a and b in C. • A differentiable function of one variable is convex on an interval if and only if its derivative is monotonically non-decreasing on that interval. ( ) ( ) 2 2 a b f a f b f + +⎛ ⎞ ≤⎜ ⎟ ⎝ ⎠
  • 7. D Nagesh Kumar, IISc Optimization Methods: M2L27 Properties of convex functions (contd.) A continuously differentiable function of one variable is convex on an interval if and only if the function lies above all of its tangents: for all a and b in the interval. A twice differentiable function of one variable is convex on an interval if and only if its second derivative is non-negative in that interval; this gives a practical test for convexity. More generally, a continuous, twice differentiable function of several variables is convex on a convex set if and only if its Hessian matrix is positive semi definite on the interior of the convex set. If two functions f and g are convex, then so is any weighted combination af + b g with non-negative coefficients a and b. Likewise, if f and g are convex, then the function max{f, g} is convex.
  • 8. D Nagesh Kumar, IISc Optimization Methods: M2L28 Concave function (function of one variable) A differentiable function f is concave on an interval if its derivative function f ′ is decreasing on that interval: a concave function has a decreasing slope. A function f(x) is said to be concave on an interval if, for all a and b in that interval, Additionally, f(x) is strictly concave if [0,1], ( (1 ) ) ( ) (1 ) ( )t f ta t b tf a t f b∀ ∈ + − ≥ + − [0,1], ( (1 ) ) ( ) (1 ) ( )t f ta t b tf a t f b∀ ∈ + − > + −
  • 9. D Nagesh Kumar, IISc Optimization Methods: M2L29 A concave function
  • 10. D Nagesh Kumar, IISc Optimization Methods: M2L210 Testing for concavity of a single variable function A function is convex if its slope is non increasing or 0. It is strictly concave if its slope is continually decreasing or 0 throughout the function. 2 2 /f x∂ ∂ ≤ 2 2 /f x∂ ∂ <
  • 11. D Nagesh Kumar, IISc Optimization Methods: M2L211 Properties of concave functions A continuous function on C is concave if and only if for any a and b in C. • Equivalently, f(x) is concave on [a, b] if and only if the function −f(x) is convex on every subinterval of [a, b]. • If f(x) is twice-differentiable, then f(x) is concave if and only if f ′′(x) is non-positive. If its second derivative is negative then it is strictly concave, but the opposite is not true, as shown by f(x) = -x4. ( ) ( ) 2 2 a b f a f b f + +⎛ ⎞ ≥⎜ ⎟ ⎝ ⎠
  • 12. D Nagesh Kumar, IISc Optimization Methods: M2L212 Example Consider the example in lecture notes 1 for a function of two variables. Locate the stationary points of and find out if the function is convex, concave or neither at the points of optima based on the testing rules discussed above. 5 4 3 ( ) 12 45 40 5f x x x x= − + +
  • 13. D Nagesh Kumar, IISc Optimization Methods: M2L213 Example …contd.
  • 14. D Nagesh Kumar, IISc Optimization Methods: M2L214 Example …contd.
  • 15. D Nagesh Kumar, IISc Optimization Methods: M2L215 Functions of two variables A function of two variables, f(X) where X is a vector = [x1,x2], is strictly convex if where X1 and X2 are points located by the coordinates given in their respective vectors. Similarly a two variable function is strictly concave if 1 2 1 2( (1 ) ) ( ) (1 ) ( )f t t tf t fΧ + − Χ < Χ + − Χ 1 2 1 2( (1 ) ) ( ) (1 ) ( )f t t tf t fΧ + − Χ > Χ + − Χ
  • 16. D Nagesh Kumar, IISc Optimization Methods: M2L216 Contour plot of a convex function
  • 17. D Nagesh Kumar, IISc Optimization Methods: M2L217 Contour plot of a concave function
  • 18. D Nagesh Kumar, IISc Optimization Methods: M2L218 Sufficient conditions To determine convexity or concavity of a function of multiple variables, the eigen values of its Hessian matrix is examined and the following rules apply. – If all eigen values of the Hessian are positive the function is strictly convex. – If all eigen values of the Hessian are negative the function is strictly concave. – If some eigen values are positive and some are negative, or if some are zero, the function is neither strictly concave nor strictly convex.
  • 19. D Nagesh Kumar, IISc Optimization Methods: M2L219 Example Consider the example in lecture notes 1 for a function of two variables. Locate the stationary points of f(X) and find out if the function is convex, concave or neither at the points of optima based on the rules discussed in this lecture. 3 2 1 1 2 1 2 2( ) 2 /3 2 5 2 4 5f x x x x x x= − − + + +X
  • 20.
  • 21. D Nagesh Kumar, IISc Optimization Methods: M2L221 Example (contd..)
  • 22. D Nagesh Kumar, IISc Optimization Methods: M2L222 Thank you