The existence and uniqueness of an optimal L^p Sobolev norm for a function on R^n is shown to be essentially equivalent to the existence and uniqueness of the solution to the L^p Minkowski problem for even measures. The former is established using the latter. This leads to new affine analytic inequalities, as well as a new proof of the affine L^p Sobolev inequality previously established by the authors.