AI Glossary / Graphs and symbolic AI / Intermediate

Epigraph

Definition

The epigraph of a function is the set of points on or above its graph. For a real-valued function f, it consists of pairs (x, t) satisfying t ≥ f(x), with x in the function's domain. In optimization and machine learning, this construction turns a statement about function values into a statement about a set in one additional dimension.

What it means

The graph contains only points where t equals f(x). The epigraph includes those boundary points and every allowed larger value of t. When x is a vector of model parameters, the extra coordinate t can represent an upper bound on a loss or another objective.
This geometric viewpoint is especially useful for convex functions. A function is convex precisely when its epigraph is a convex set, using the standard domain conventions. It therefore connects two ideas that beginners often meet separately: the shape of a function and the geometry of feasible points.

How it works

To test membership, choose x, evaluate f(x), and compare the proposed height t with that value. If t is at least f(x), the pair belongs to the epigraph. If the function is not defined at x, that input is not admitted merely because t is large.
An optimization problem minimizing f(x) over a feasible set can be rewritten as minimizing t subject to the original constraints and f(x) ≤ t. At an attained finite optimum, there is no reason to leave t above f(x), because reducing t improves the objective. This reformulation does not automatically make a nonconvex problem convex or ensure that a minimum exists.

Three practical examples

  • A learning experiment represents an upper bound on a convex loss with an extra optimization variable.
  • A minimax design uses one height variable constrained to be at least each of several scenario costs.
  • A student checks convexity geometrically by asking whether line segments between points in an epigraph remain inside it.

Think of it this way

Think of a landscape surface and all the space directly above it. The surface is the graph; the surface together with the air above it is the epigraph. The analogy is limited because a function can have many input dimensions, and an epigraph is a mathematical set rather than a physical landscape with atmospheric boundaries.

Worked example

Let f(x) = x squared for real x. At x = 2, the function value is 4. The point (2, 5) belongs to the epigraph because 5 ≥ 4. The point (2, 4) also belongs, while (2, 3) does not.
Consider two epigraph points, (-2, 4) and (2, 4). Their midpoint is (0, 4), which is above f(0) = 0 and is therefore included. This one check illustrates convexity but does not prove the property for every pair.
Now minimize x squared subject to x ≥ 1. The epigraph formulation minimizes t subject to x ≥ 1 and t ≥ x squared. The solution is x = 1, t = 1. A feasible pair such as (2, 5) is not optimal: feasibility only says that it obeys the bounds. The extra variable describes the same minimum in a different form; it does not introduce a lower objective value.

Illustrative case study

In a fictional modeling class, the Willow team seeks a setting that minimizes the worse of two toy costs: f1(x) = x and f2(x) = 4 - x, with 0 ≤ x ≤ 4. The team initially tries to optimize each cost separately, producing incompatible choices.
It introduces t with constraints t ≥ x and t ≥ 4 - x, then minimizes t. The bounds meet at x = 2 and t = 2. Any smaller t would require both x < 2 and x > 2. This invented example shows how an epigraph formulation expresses a worst-case objective without claiming that every real planning problem has such a simple solution.

Common misconceptions and mistakes

Do not confuse the epigraph with the area below a curve; that direction corresponds to a hypograph. Do not replace f(x) ≤ t with f(x) = t and assume convexity is preserved: the equality graph of a nonlinear convex function need not be a convex set.
The epigraph is not a probability distribution or a confidence interval. It can be unbounded upward and still be useful. Also distinguish an illustrative drawing from a proof, particularly when the function has a restricted domain or many dimensions.

Business use

The term helps explain why optimization software sometimes introduces extra variables and inequalities. Such variables can make a model's structure easier to express, especially when handling maximum costs or supported convex expressions.
For a business specification, the substantive question remains what f measures and which inputs are feasible. An elegant epigraph formulation cannot correct a poorly chosen objective. Ask whether the reformulation preserves the intended problem and whether the solver supports the resulting constraints, rather than interpreting the extra variable as a new real-world resource.

People also ask

Does an epigraph exist only for convex functions?

No. Convexity determines whether the epigraph is a convex set.

Does the boundary belong to the epigraph?

Yes. The standard definition uses a non-strict inequality.

Does adding t always make optimization easier?

No. It can expose useful structure, but computational difficulty depends on the original function, constraints, and available methods.

Check your understanding

For f(x) = absolute value of x, does (-3, 2) belong to the epigraph? What about (-3, 3)?

Answer: The first does not, because 2 is below f(-3) = 3. The second does because equality is allowed.

Related terms

  • Convex function
  • Convex set
  • Objective function
  • feasible set
  • hypograph
  • minimax optimization
  • auxiliary variable
  • constraint

Learn next

Learn next about convex sets. Draw the epigraph of absolute value and select two points inside it. Compare their midpoint with the function value at the midpoint's input. Then explain why using equality alone would discard most points in the epigraph.

More in Graphs and symbolic AI

  • English auction - An English auction is an ascending-price auction in which participants compete through increasing bids, or remain active as a displayed price rises.
  • Entailment - Entailment is a relationship in logic: a set of statements entails another statement when every interpretation that makes the starting statements true also...
  • Environment class - An environment class is a collection of possible environments used to specify, study, or evaluate an intelligent agent.
  • Epsilon-ball - An epsilon-ball is a neighborhood of points within a specified distance epsilon of a chosen center.
  • Equal impact - Equal impact is a fairness objective concerned with the benefits and costs that a decision system creates for affected people.
  • Equality symbol - The equality symbol, usually written =, states in first-order logic that two terms refer to the same object.

Sources

Aalto Dictionary of Machine Learning, epigraph entry: https://aaltodictionaryofml.github.io/ADictML_Main.pdf Boyd and Vandenberghe, original Convex Optimization slides: https://web.stanford.edu/~boyd/cvxbook/bv_cvxslides.pdf Boyd and Vandenberghe, original book: https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf

Previous: Epanechnikov kernel Next: Epipolar geometry

  • Home
  • Daily AI Updates
  • Blog
  • AIFBL Academy
  • AI Glossary
  • Products and Tools
  • Store
  • Free CFO AI Prompt Pack
  • About Shihan Sheriff
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Cookie Policy
  • Earnings Disclaimer