We study connections between orthogonal polynomials, reproducing kernel functions, and polynomials p minimizing Dirichlet-type norms vertical bar pf-1 vertical bar for a given function f. For [0,1] (which includes the Hardy and Dirichlet spaces of the disk) and general f, we show that such extremal polynomials are non-vanishing in the closed unit disk. For negative, the weighted Bergman space case, the extremal polynomials are non-vanishing on a disk of strictly smaller radius, and zeros can move inside the unit disk. We also explain how dist D(1,fPn), where Pn is the space of polynomials of degree at most n, can be expressed in terms of quantities associated with orthogonal polynomials and kernels, and we discuss methods for computing the quantities in question.