{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $n \\ge 1$ and let $B$ be the closed unit ball of $\\R^n$.\nAn *ellipsoid* in $\\R^n$ is a set $E = c + A B = \\set{c + Ax : \\abs{x} \\le 1}$, where $c \\in \\R^n$ and $A$ is an invertible real $n \\times n$ [[matrix|0VD9ZSWWJG]].\nIts volume is $\\abs{\\det A}\\, \\kappa_n$, where $\\kappa_n$ is the [[Lebesgue measure|2Z2QVWZ262]] of $B$.\nLet $K \\subseteq \\R^n$ be a compact [[convex body|437FSG3419]] with nonempty interior.\nThe *John ellipsoid* of $K$ is the ellipsoid of maximal volume among all ellipsoids $E$ with $E \\subseteq K$.\n\n## Remarks\n\nThe [[Löwner–John theorem|TM5SYH4XHY]] shows that this ellipsoid exists and is unique.\nThe ellipsoid of minimal volume containing $K$ is the *Löwner ellipsoid* (or Löwner–John ellipsoid) of $K$.\n\nExample: $K = [-1, 1]^2$.\nIts John ellipsoid is the unit disk $B$.\nThe problem is invariant under the symmetries of the square, so by uniqueness the maximal ellipse is invariant under them too.\nAn ellipse invariant under rotation by $90°$ about the origin is a disk centered at $0$, and the largest such disk in $K$ is $B$.\n\nNon-example: in the rectangle $K = [-2, 2] \\times [-1, 1]$ the unit disk lies in $K$ but is not the John ellipsoid.\nThe ellipse $\\set{(x, y) : x^2/4 + y^2 \\le 1}$ also lies in $K$ and has area $2\\pi \u003e \\pi$.\n\nThe condition that $K$ has nonempty interior is needed: otherwise every ellipsoid in $K$ would be degenerate, and no ellipsoid in the above sense lies in $K$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "WNHXE7FCG4",
    "kind": "definition",
    "msc": [
      "52A27",
      "52A40",
      "52A20"
    ],
    "name": "John ellipsoid",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/John_ellipsoid"
      }
    ],
    "tag": "EFY92E7GC7",
    "uses": [
      "437FSG3419",
      "0VD9ZSWWJG",
      "2Z2QVWZ262"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/EFY92E7GC7/",
  "links": [
    {
      "field": "defines",
      "target": "WNHXE7FCG4"
    },
    {
      "field": "uses",
      "target": "437FSG3419"
    },
    {
      "field": "uses",
      "target": "0VD9ZSWWJG"
    },
    {
      "field": "uses",
      "target": "2Z2QVWZ262"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/EFY92E7GC7.md",
  "msc": [
    "52A27",
    "52A40",
    "52A20"
  ],
  "name": "John ellipsoid",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/EFY/EFY92E7GC7.md",
  "status": null,
  "tag": "EFY92E7GC7",
  "uri": "m2://EFY92E7GC7",
  "url": "https://tamnd.github.io/math2/wiki/john-ellipsoid-definition/",
  "writing": {
    "tag": "EFY92E7GC7",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
