The soft-margin SVM dual maximizes Σᵢαᵢ − ½ΣᵢΣⱼαᵢαⱼyᵢyⱼK(xᵢ,xⱼ) subject to 0 ≤ αᵢ ≤ C and Σᵢαᵢyᵢ = 0. Only inner products K(xᵢ,xⱼ) ever appear — never the coordinates of any lifted feature vector φ(x).
A kernel is valid (Mercer) precisely when it equals ⟨φ(xᵢ),φ(xⱼ)⟩ for some feature map φ, possibly infinite-dimensional. The polynomial kernel (x·y + c)ᵈ corresponds to an explicit, finite feature map of all monomials up to degree d; the RBF kernel exp(−γ‖x−y‖²) corresponds to an infinite-dimensional map (its Taylor expansion has a term for every degree).
The optimizer here is Platt's simplified SMO: repeatedly pick two dual variables, solve the resulting 1-D constrained quadratic in closed form, and clip to the box. Points with αᵢ = 0 never influence the boundary; points with 0 < αᵢ < C sit exactly on the margin; points with αᵢ = C are inside the margin or misclassified. The margin width 2/‖w‖ is computed as 2/√(ΣᵢΣⱼαᵢαⱼyᵢyⱼK(xᵢ,xⱼ)) — entirely from kernel evaluations, never from ‖w‖ in an explicit feature space.
max_α Σαᵢ − ½ΣΣ αᵢαⱼ yᵢyⱼ K(xᵢ,xⱼ), 0≤αᵢ≤C, Σαᵢyᵢ=0
f(x) = Σᵢ αᵢ yᵢ K(xᵢ,x) + b
‖w‖² = ΣΣ αᵢαⱼ yᵢyⱼ K(xᵢ,xⱼ) ⟹ margin = 2/‖w‖
poly: K(x,y)=(x·y+c)^d ↔ φ = all monomials up to degree d, dim = C(d+2, d)