A Level-Set Method for Convex Optimization with a 2 Feasible Solution Path

Total Page:16

File Type:pdf, Size:1020Kb

A Level-Set Method for Convex Optimization with a 2 Feasible Solution Path 1 A LEVEL-SET METHOD FOR CONVEX OPTIMIZATION WITH A 2 FEASIBLE SOLUTION PATH 3 QIHANG LIN∗, SELVAPRABU NADARAJAHy , AND NEGAR SOHEILIz 4 Abstract. Large-scale constrained convex optimization problems arise in several application 5 domains. First-order methods are good candidates to tackle such problems due to their low iteration 6 complexity and memory requirement. The level-set framework extends the applicability of first-order 7 methods to tackle problems with complicated convex objectives and constraint sets. Current methods 8 based on this framework either rely on the solution of challenging subproblems or do not guarantee a 9 feasible solution, especially if the procedure is terminated before convergence. We develop a level-set 10 method that finds an -relative optimal and feasible solution to a constrained convex optimization 11 problem with a fairly general objective function and set of constraints, maintains a feasible solution 12 at each iteration, and only relies on calls to first-order oracles. We establish the iteration complexity 13 of our approach, also accounting for the smoothness and strong convexity of the objective function 14 and constraints when these properties hold. The dependence of our complexity on is similar to 15 the analogous dependence in the unconstrained setting, which is not known to be true for level-set 16 methods in the literature. Nevertheless, ensuring feasibility is not free. The iteration complexity of 17 our method depends on a condition number, while existing level-set methods that do not guarantee 18 feasibility can avoid such dependence. We numerically validate the usefulness of ensuring a feasible 19 solution path by comparing our approach with an existing level set method on a Neyman-Pearson classification problem.20 21 Key words. constrained convex optimization, level-set technique, first-order methods, com- plexity analysis22 AMS subject classifications. 90C25, 90C30, 90C5223 24 1. Introduction. Large scale constrained convex optimization problems arise 25 in several business, science, and engineering applications. A commonly encountered 26 form for such problems is 27 f ∗ := min f(x)(1) x2X 2928 (2) s.t. gi(x) ≤ 0; i = 1; : : : ; m; n 30 where X ⊆ R is a non-empty closed and convex set, and f and gi, i = 1; : : : ; m, are 31 closed convex real-valued functions defined on X . Given > 0, a point x is -optimal ∗ 32 if it satisfies f(x ) − f ≤ and -feasible if it satisfies maxi=1;:::;m gi(x ) ≤ . In 33 addition, given 0 < ≤ 1, and a feasible and suboptimal solution e 2 X , a point x is 34 -relative optimal with respect to e if it satisfies (f(x) − f ∗)=(f(e) − f ∗) ≤ . 35 Level-set techniques [2,3, 15, 24, 39, 40] provide a flexible framework for solving 36 the optimization problem (1)-(2). Specifically, this problem can be reformulated as a ∗ ∗ 37 convex root finding problem L (t) = 0, where L (t) = minx2X maxff(x)−t; gi(x); i = 38 1; : : : ; mg (see Lemar´echal et al. [24]). Then a bundle method [21, 23, 41] or an accel- 39 erated gradient method [29, Section 2.3.5] can be applied to handle the minimization 40 subproblem to estimate L∗(t) and facilitate the root finding process. In general, these 41 methods solve the subproblem using a nontrivial quadratic program that needs to be 42 solved at each iteration. 43 An important variant of (1)-(2) arising in statistics, image processing, and signal 44 processing occurs when f(x) takes a simple form, such as a gauge function, and there ∗Tippie College of Business, University of Iowa, USA, [email protected] yCollege of Business Administration, University of Illinois at Chicago, USA, [email protected] zCollege of Business Administration, University of Illinois at Chicago, USA, [email protected] 1 This manuscript is for review purposes only. 2 QIHANG LIN, SELVAPRABU NADARAJAH, AND NEGAR SOHEILI 45 is a single constraint with the structure ρ(Ax − b) ≤ λ, where ρ is a convex function, 46 A is a matrix, b is a vector, and λ is a scalar. In this setting, Van Den Berg and 47 Friedlander [39, 40] and Aravkin et al. [2] use a level-set approach to swap the roles 48 of the objective function and constraints in (1)-(2) to obtain the convex root finding 49 problem v(t) = 0 with v(t) := minx2X ;f(x)≤t ρ(Ax − b) − λ. Harchaoui et al. [15] 50 proposed a similar approach. The root finding problem arising in this approach is 51 solved using inexact newton and secant methods in [2, 39, 40] and [2], respectively. 52 Since f(x) is assumed to be simple, projection onto the feasible set fx 2 Rnjx 2 53 X ; f(x) ≤ tg is possible and the subproblem in the definition of v(t) can be solved 54 by various first-order methods. Although the assumption on the objective function 55 is important, the constraint structure is not limiting because (2) can be obtained by 56 choosing A to be an identity matrix, b = 0, λ = 0, and ρ(x) = maxi=1;:::;m gi(x). 57 The level-set techniques discussed above find an -feasible and -optimal solution 58 to (1)-(2), that is, the terminal solution may not be feasible. This issue can be 59 overcome when the infeasible terminal solution is also super-optimal and a strictly 60 feasible solution to the problem exists. In this case, a radial-projection scheme [2, 35] 61 can be applied to obtain a feasible and -relative optimal solution. Super-optimality of 62 the terminal solution holds if the constraint f(x) ≤ t is satisfied at termination. This 63 condition can be enforced when projections on to the feasible set with this constraint 64 are computationally cheap, which typically requires f(x) to be simple (e.g. see [2]). 65 Otherwise, such a guarantee does not exist. 66 Building on this rich literature, we develop a feasible level-set method that (i) 67 employs a first-order oracle to solve subproblems and compute a feasible and -relative 68 optimal solution to (1)-(2) with a general objective function and set of constraints 69 while also maintaining feasible intermediate solutions at each iteration (i.e., a feasible 70 solution path), and (ii) it avoids potentially costly projections. Our method tackles 71 a root finding problem involving the univariate function L∗(t), that is L∗(t) = 0, 72 which differs from the univariate function v(t) considered by the level set methods 73 in [2, 39, 40]. The level set methods in [18] and [6] also solve L∗(t) = 0. However, 74 exact computation of L∗(t) is assumed in the former case while the latter paper 75 solves a potentially expensive quadratic problem when m is large to obtain inexact 76 evaluations of this function. Level set methods in the literature increase the level 77 parameter t when moving towards the root whereas our procedure approaches the 78 root by gradually decreasing t. This distinction is important to ensure feasibility. 79 Our focus on maintaining feasibility is especially desirable in situations where 80 level-set methods need to be terminated before convergence, for instance due to a 81 time constraint. In this case, our level-set approach would return a feasible, albeit 82 possibly suboptimal, solution that can be implemented whereas the solution from 83 existing level-set approaches may not be implementable due to potentially large con- 84 straint violations. Convex optimization problems where constraints model operating 85 conditions that need to be satisfied by solutions for implementation arise in several 86 applications, including network and nonlinear resource allocation, signal processing, 87 circuit design, and classification problems encountered in medical diagnosis and other 88 areas [10, 11, 33, 36]. We numerically validate the usefulness of ensuring feasibility on 89 a Neyman-Pearson classification problem, where we find that early termination of an 90 existing level set method can lead to highly infeasible solutions, while, as expected, 91 our feasible level set method provides a path of feasible solutions. 92 The radial sub-gradient method proposed by Renegar [35] and extended by Grim- 93 mer [14] also emphasizes feasibility. This method avoids projection and finds a feasible 94 and -relative optimal solution by performing a line search at each iteration. This line This manuscript is for review purposes only. 3 95 search, while easy to execute for some linear or conic programs, can be challenging for 96 general convex programs (1)-(2). Moreover, it is unknown whether the iteration com- 97 plexity of this approach can be improved by utilizing the potential smoothness and 98 strong convexity of the objective function and constraints. In contrast, the feasible 99 level-set approach in this paper avoids the need for line search, in addition to projec- 100 tion, and its iteration complexity leverages the strong convexity and smoothness of 101 the objective and constraints when these properties are true. 102 Our work is indeed related to first-order methods, which are popular due to their 103 low per-iteration cost and memory requirement, for example compared to interior 104 point methods, for solving large scale convex optimization problems [16]. Most ex- 105 isting first-order methods find a feasible and -optimal solution to a version of the 106 optimization problem (1)-(2) with a simple feasible region (e.g. a box, simplex or 107 ball) which makes projection on to the feasible set at each iteration inexpensive. En- 108 suring feasibility using projection becomes difficult for general constraints (2). Some 109 sub-gradient methods, including the method by Nesterov [29, Section 3.2.4] and its 110 recent variants by Lan and Zhou [22] and Bayandina [5], can be applied to (1)-(2) 111 without the need for projection mappings.
Recommended publications
  • Math 327 Final Summary 20 February 2015 1. Manifold A
    Math 327 Final Summary 20 February 2015 1. Manifold A subset M ⊂ Rn is Cr a manifold of dimension k if for any point p 2 M, there is an open set U ⊂ Rk and a Cr function φ : U ! Rn, such that (1) φ is injective and φ(U) ⊂ M is an open subset of M containing p; (2) φ−1 : φ(U) ! U is continuous; (3) D φ(x) has rank k for every x 2 U. Such a pair (U; φ) is called a chart of M. An atlas for M is a collection of charts f(Ui; φi)gi2I such that [ φi(Ui) = M i2I −1 (that is the images of φi cover M). (In some texts, like Spivak, the pair (φ(U); φ ) is called a chart or a coordinate system.) We shall mostly study C1 manifolds since they avoid any difficulty arising from the degree of differen- tiability. We shall also use the word smooth to mean C1. If we have an explicit atlas for a manifold then it becomes quite easy to deal with the manifold. Otherwise one can use the following theorem to find examples of manifolds. Theorem 1 (Regular value theorem). Let U ⊂ Rn be open and f : U ! Rk be a Cr function. Let a 2 Rk and −1 Ma = fx 2 U j f(x) = ag = f (a): The value a is called a regular value of f if f is a submersion on Ma; that is for any x 2 Ma, D f(x) has r rank k.
    [Show full text]
  • Full Text.Pdf
    [version: January 7, 2014] Ann. Sc. Norm. Super. Pisa Cl. Sci. (5) vol. 12 (2013), no. 4, 863{902 DOI 10.2422/2036-2145.201107 006 Structure of level sets and Sard-type properties of Lipschitz maps Giovanni Alberti, Stefano Bianchini, Gianluca Crippa 2 d d−1 Abstract. We consider certain properties of maps of class C from R to R that are strictly related to Sard's theorem, and show that some of them can be extended to Lipschitz maps, while others still require some additional regularity. We also give examples showing that, in term of regularity, our results are optimal. Keywords: Lipschitz maps, level sets, critical set, Sard's theorem, weak Sard property, distri- butional divergence. MSC (2010): 26B35, 26B10, 26B05, 49Q15, 58C25. 1. Introduction In this paper we study three problems which are strictly interconnected and ultimately related to Sard's theorem: structure of the level sets of maps from d d−1 2 R to R , weak Sard property of functions from R to R, and locality of the divergence operator. Some of the questions we consider originated from a PDE problem studied in the companion paper [1]; they are however interesting in their own right, and this paper is in fact largely independent of [1]. d d−1 2 Structure of level sets. In case of maps f : R ! R of class C , Sard's theorem (see [17], [12, Chapter 3, Theorem 1.3])1 states that the set of critical values of f, namely the image according to f of the critical set S := x : rank(rf(x)) < d − 1 ; (1.1) has (Lebesgue) measure zero.
    [Show full text]
  • An Improved Level Set Algorithm Based on Prior Information for Left Ventricular MRI Segmentation
    electronics Article An Improved Level Set Algorithm Based on Prior Information for Left Ventricular MRI Segmentation Lei Xu * , Yuhao Zhang , Haima Yang and Xuedian Zhang School of Optical-Electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093, China; [email protected] (Y.Z.); [email protected] (H.Y.); [email protected] (X.Z.) * Correspondence: [email protected] Abstract: This paper proposes a new level set algorithm for left ventricular segmentation based on prior information. First, the improved U-Net network is used for coarse segmentation to obtain pixel-level prior position information. Then, the segmentation result is used as the initial contour of level set for fine segmentation. In the process of curve evolution, based on the shape of the left ventricle, we improve the energy function of the level set and add shape constraints to solve the “burr” and “sag” problems during curve evolution. The proposed algorithm was successfully evaluated on the MICCAI 2009: the mean dice score of the epicardium and endocardium are 92.95% and 94.43%. It is proved that the improved level set algorithm obtains better segmentation results than the original algorithm. Keywords: left ventricular segmentation; prior information; level set algorithm; shape constraints Citation: Xu, L.; Zhang, Y.; Yang, H.; Zhang, X. An Improved Level Set Algorithm Based on Prior 1. Introduction Information for Left Ventricular MRI Uremic cardiomyopathy is the most common complication also the cause of death with Segmentation. Electronics 2021, 10, chronic kidney disease and left ventricular hypertrophy is the most significant pathological 707.
    [Show full text]
  • 5.7 Level Sets and the Fast Marching Method
    �c 2006 Gilbert Strang 5.7 Level Sets and the Fast Marching Method The level sets of f(x; y) are the sets on which the function is constant. For example f(x; y) = x2 + y2 is constant on circles around the origin. Geometrically, a level plane z = constant will cut through the surface z = f(x; y) on a level set. One attractive feature of working with level sets is that their topology can change (pieces of the level set can separate or come together) just by changing the constant. Starting from one level set, the signed distance function d(x; y) is especially important. It gives the distance to the level set, and also the sign: typically d > 0 outside and d < 0 inside. For the unit circle, d = r − 1 = px2 + y2 − 1 will be the signed distance function. In the mesh generation algorithm of Section 2. , it was convenient to describe the region by its distance function d(x; y). A fundamental fact of calculus: The gradient of f(x; y) is perpendicular to its level sets. Reason: In the tangent direction t to the level set, f(x; y) is not changing and (grad f) · t is zero. So grad f is in the normal direction. For the function x2 + y2, the gradient (2x; 2y) points outward from the circular level sets. The gradient of d(x; y) = px2 + y2 − 1 points the same way, and it has a special property: The gradient of a distance function is a unit vector. It is the unit normal n(x; y) to the level sets.
    [Show full text]
  • Level Set Methods for Finding Critical Points of Mountain Pass Type
    Nonlinear Analysis 74 (2011) 4058–4082 Contents lists available at ScienceDirect Nonlinear Analysis journal homepage: www.elsevier.com/locate/na Level set methods for finding critical points of mountain pass type Adrian S. Lewis a, C.H. Jeffrey Pang b,∗ a School of Operations Research and Information Engineering, Cornell University, Ithaca, NY 14853, United States b Massachusetts Institute of Technology, Department of Mathematics, 2-334, 77 Massachusetts Avenue, Cambridge MA 02139-4307, United States article info a b s t r a c t Article history: Computing mountain passes is a standard way of finding critical points. We describe a Received 24 June 2009 numerical method for finding critical points that is convergent in the nonsmooth case and Accepted 23 March 2011 locally superlinearly convergent in the smooth finite dimensional case. We apply these Communicated by Ravi Agarwal techniques to describe a strategy for addressing the Wilkinson problem of calculating the distance from a matrix to a closest matrix with repeated eigenvalues. Finally, we relate Keywords: critical points of mountain pass type to nonsmooth and metric critical point theory. Mountain pass ' 2011 Elsevier Ltd. All rights reserved. Nonsmooth critical points Superlinear convergence Metric critical point theory Wilkinson distance 1. Introduction Computing mountain passes is an important problem in computational chemistry and in the study of nonlinear partial differential equations. We begin with the following definition. Definition 1.1. Let X be a topological space, and consider a; b 2 X. For a function f V X ! R, define a mountain pass p∗ 2 Γ .a; b/ to be a minimizer of the problem inf sup f ◦ p.t/: p2Γ .a;b/ 0≤t≤1 Here, Γ .a; b/ is the set of continuous paths p VT0; 1U! X such that p.0/ D a and p.1/ D b.
    [Show full text]
  • A Toolbox of Level Set Methods
    A Toolbox of Level Set Methods version 1.0 UBC CS TR-2004-09 Ian M. Mitchell Department of Computer Science University of British Columbia [email protected] http://www.cs.ubc.ca/∼mitchell July 1, 2004 Abstract This document describes a toolbox of level set methods for solving time-dependent Hamilton-Jacobi partial differential equations (PDEs) in the Matlab programming en- vironment. Level set methods are often used for simulation of dynamic implicit surfaces in graphics, fluid and combustion simulation, image processing, and computer vision. Hamilton-Jacobi and related PDEs arise in fields such as control, robotics, differential games, dynamic programming, mesh generation, stochastic differential equations, finan- cial mathematics, and verification. The algorithms in the toolbox can be used in any number of dimensions, although computational cost and visualization difficulty make dimensions four and higher a challenge. All source code for the toolbox is provided as plain text in the Matlab m-file programming language. The toolbox is designed to allow quick and easy experimentation with level set methods, although it is not by itself a level set tutorial and so should be used in combination with the existing literature. 1 Copyright This Toolbox of Level Set Methods, its source, and its documentation are Copyright c 2004 by Ian M. Mitchell. Use of or creating copies of all or part of this work is subject to the following licensing agreement. This license is derived from the ACM Software Copyright and License Agreement (1998), which may be found at: http://www.acm.org/pubs/copyright policy/softwareCRnotice.html License The Toolbox of Level Set Methods, its source and its documentation (hereafter, Software) is copyrighted by Ian M.
    [Show full text]
  • Problem Set 7 Constrained Maxima and Minima
    Math 5BI: Problem Set 7 Constrained maxima and minima April 30, 2007 One of the most useful applications of differential calculus of several variables is to the problem of finding maxima and minima of functions of several variables. The method of Lagrange multipliers finds maxima and minima of functions of several variables which are subject to constraints. To understand the method in the simplest case, let use suppose that S is a surface in R3 defined by the equation φ(x, y, z) = 0, where φ is a smooth real-valued function of three variables. Let us assume, for the time being, that S has no boundary and that the gradient ∇φ is not zero at any point of S, so that the tangent plane to S at a given point (x0, y0, z0) is given by the equation x − x0 (∇φ)(x0, y0, z0) · y − y0 = 0. z − z0 Problem 7.1. Find an equation for the plane tangent to the surface x2 + 4y2 + 9z2 = 14 at the point (1, 1, 1). Problem 7.2. a. Sketch the level sets of the function f(x, y) = x2 + y2. b. Sketch the curve 4x2 + y2 = 4. c. At which points of the curve 4x2 + y2 = 4 does the function f assume its maximum and minimum values? Let S be a surface in R3 defined by the equation φ(x, y, z) = 0 and let f(x, y, z) is a smooth function of three variables. Suppose that we are interested in finding the maximum and minimum values of f on the surface S.
    [Show full text]
  • Optimality Conditions
    OPTIMALITY CONDITIONS 1. Unconstrained Optimization 1.1. Existence. Consider the problem of minimizing the function f : Rn ! R where f is continuous on all of Rn: P min f(x): x2Rn As we have seen, there is no guarantee that f has a minimum value, or if it does, it may not be attained. To clarify this situation, we examine conditions under which a solution is guaranteed to exist. Recall that we already have at our disposal a rudimentary existence result for constrained problems. This is the Weierstrass Extreme Value Theorem. Theorem 1.1. (Weierstrass Extreme Value Theorem) Every continuous function on a compact set attains its extreme values on that set. We now build a basic existence result for unconstrained problems based on this theorem. For this we make use of the notion of a coercive function. Definition 1.1. A function f : Rn ! R is said to be coercive if for every sequence fxνg ⊂ Rn for which kxνk ! 1 it must be the case that f(xν) ! +1 as well. Continuous coercive functions can be characterized by an underlying compactness property on their lower level sets. Theorem 1.2. (Coercivity and Compactness) Let f : Rn ! R be continuous on all of Rn. The function f is coercive if and only if for every α 2 R the set fx jf(x) ≤ αg is compact. Proof. We first show that the coercivity of f implies the compactness of the sets fx jf(x) ≤ αg. We begin by noting that the continuity of f implies the closedness of the sets fx jf(x) ≤ αg.
    [Show full text]
  • Level Set Methods in Convex Optimization
    Level Set Methods in Convex Optimization James V Burke Mathematics, University of Washington Joint work with Aleksandr Aravkin (UW), Michael Friedlander (UBC/Davis), Dmitriy Drusvyatskiy (UW) and Scott Roy (UW) Happy Birthday Andy! Fields Institute, Toronto Workshop on Nonlinear Optimization Algorithms and Industrial Applications June 2016 Motivation Optimization in Large-Scale Inference • A range of large-scale data science applications can be modeled using optimization: - Inverse problems (medical and seismic imaging ) - High dimensional inference (compressive sensing, LASSO, quantile regression) - Machine learning (classification, matrix completion, robust PCA, time series) • These applications are often solved using side information: - Sparsity or low rank of solution - Constraints (topography, non-negativity) - Regularization (priors, total variation, “dirty” data) • We need efficient large-scale solvers for nonsmooth programs. 2/33 A.R. Conn, Constrained optimization using a non-differentiable penalty function, SIAM Journal on Numerical Analysis, vol. 10(4), pp. 760-784, 1973. T.F. Coleman and A.R. Conn, Second-order conditions for an exact penalty function, Mathematical Programming A, vol. 19(2), pp. 178-185, 1980. R.H. Bartels and A.R. Conn, An Approach to Nonlinear `1 Data Fitting, Proceedings of the Third Mexican Workshop on Numerical Analysis, pp. 48-58, J. P. Hennart (Ed.), Springer-Verlag, 1981. Foundations of Nonsmooth Methods for NLP I. I. EREMIN, The penalty method in convex programming, Soviet Math. Dokl., 8 (1966), pp. 459-462. W. I. ZANGWILL, Nonlinear programming via penalty functions, Management Sci., 13 (1967), pp. 344-358. T. PIETRZYKOWSKI, An exact potential method for constrained maxima, SIAM J. Numer. Anal., 6 (1969), pp. 299-304.
    [Show full text]
  • Level Sets of Differentiable Functions of Two Variables with Non-Vanishing Gradient
    CORE Metadata, citation and similar papers at core.ac.uk Provided by Elsevier - Publisher Connector J. Math. Anal. Appl. 270 (2002) 369–382 www.academicpress.com Level sets of differentiable functions of two variables with non-vanishing gradient M. Elekes Department of Analysis, Eötvös Loránd University, Pázmány Péter sétány 1/c, Budapest, Hungary Received 14 May 2001 Submitted by L. Rothschild Abstract We show that if the gradient of f : R2 → R exists everywhere and is nowhere zero, then in a neighbourhood of each of its points the level set {x ∈ R2: f(x)= c} is homeomorphic either to an open interval or to the union of finitely many open segments passing through a point. The second case holds only at the points of a discrete set. We also investigate the global structure of the level sets. 2002 Elsevier Science (USA). All rights reserved. Keywords: Implicit Function Theorem; Non-vanishing gradient; Locally homeomorphic 1. Introduction The Inverse Function Theorem is usually proved under the assumption that the mapping is continuously differentiable. In [1] Radulescu and Radulescu general- ized this theorem to mappings that are only differentiable, namely they proved that if f : D → Rn is differentiable on an open set D ⊂ Rn and the derivative f (x) is non-singular for every x ∈ D,thenf is a local diffeomorphism. It is therefore natural to ask whether the Implicit Function Theorem, which is usually derived from the Inverse Function Theorem, can also be proved under these more general assumptions. (In addition, this question is also related to the Gradient Problem of Weil, see [2], and is motivated by [3] as well, where such a E-mail address: [email protected].
    [Show full text]
  • Lecture 3 Convex Functions
    Lecture 3 Convex functions (Basic properties; Calculus; Closed functions; Continuity of convex functions; Subgradients; Optimality conditions) 3.1 First acquaintance Definition 3.1.1 [Convex function] A function f : M ! R defined on a nonempty subset M of Rn and taking real values is called convex, if • the domain M of the function is convex; • for any x; y 2 M and every λ 2 [0; 1] one has f(λx + (1 − λ)y) ≤ λf(x) + (1 − λ)f(y): (3.1.1) If the above inequality is strict whenever x 6= y and 0 < λ < 1, f is called strictly convex. A function f such that −f is convex is called concave; the domain M of a concave function should be convex, and the function itself should satisfy the inequality opposite to (3.1.1): f(λx + (1 − λ)y) ≥ λf(x) + (1 − λ)f(y); x; y 2 M; λ 2 [0; 1]: The simplest example of a convex function is an affine function f(x) = aT x + b { the sum of a linear form and a constant. This function clearly is convex on the entire space, and the \convexity inequality" for it is equality; the affine function is also concave. It is easily seen that the function which is both convex and concave on the entire space is an affine function. Here are several elementary examples of \nonlinear" convex functions of one variable: 53 54 LECTURE 3. CONVEX FUNCTIONS • functions convex on the whole axis: x2p, p being positive integer; expfxg; • functions convex on the nonnegative ray: xp, 1 ≤ p; −xp, 0 ≤ p ≤ 1; x ln x; • functions convex on the positive ray: 1=xp, p > 0; − ln x.
    [Show full text]
  • Curves in R2: Graphs Vs Level Sets Surfaces in R3
    Curves in R2: Graphs vs Level Sets Graphs (y = f(x)): The graph of f : R ! R is 2 f(x; y) 2 R j y = f(x)g: Example: When we say \the curve y = x2," we really mean: \The graph of the function f(x) = x2." That is, we mean the set f(x; y) 2 R2 j y = x2g. Level Sets (F (x; y) = c): The level set of F : R2 ! R at height c is 2 f(x; y) 2 R j F (x; y) = cg: Example: When we say \the curve x2 + y2 = 1," we really mean: \The level set of the function F (x; y) = x2 + y2 at height 1." That is, we mean the set f(x; y) 2 R2 j x2 + y2 = 1g. Note: Every graph is a level set (why?). But not every level set is a graph. Graphs must pass the vertical line test. (Level sets may or may not.) Surfaces in R3: Graphs vs Level Sets Graphs (z = f(x; y)): The graph of f : R2 ! R is 3 f(x; y; z) 2 R j z = f(x; y)g: Example: When we say \the surface z = x2 + y2," we really mean: \The graph of the func- tion f(x; y) = x2 + y2." That is, we mean the set f(x; y; z) 2 R3 j z = x2 + y2g. Level Sets (F (x; y; z) = c): The level set of F : R3 ! R at height c is 3 f(x; y; z) 2 R j F (x; y; z) = cg: Example: When we say \the surface x2 + y2 + z2 = 1," we really mean: \The level set of the function F (x; y; z) = x2 + y2 + z2 at height 1." That is, f(x; y; z) 2 R3 j x2 + y2 + z2 = 1g.
    [Show full text]