The prescribed-pole form of Runge theorem is as follows. Let be compact, let be holomorphic on a neighborhood of , and let meet every connected component of that complement. Then, for every , there is a rational function , all of whose poles belong to , with . A pole at infinity means a polynomial part is allowed. In particular, if the complement is connected, choose and obtain the polynomial Runge theorem.
First approximate using poles anywhere off . Choose a bounded polygonal neighborhood of whose closure lies in the neighborhood on which is holomorphic, and whose boundary is disjoint from . Such a comes from a sufficiently fine finite grid covering a small closed neighborhood of . Orient the outer boundary positively and boundaries of holes negatively. The Cauchy integral formula gives
Because and have positive distance, the integrand is uniformly continuous on their product, separately along each boundary edge. Its Riemann sums converge uniformly for . Those sums are rational functions with poles . Thus arbitrary exterior poles suffice.
To move them to the prescribed set, let be the uniform closure on of rational functions with poles only in . It is a closed unital algebra; it contains the coordinate function when . Define
This set is open relative to . Indeed, if and , the uniformly convergent expansion
places the new reciprocal in , using its algebra and closedness properties. It is also relatively closed: if tends to , then tends uniformly on to . Each bounded component contains a finite selected pole and hence meets . The unbounded component also meets if it contains a finite selected pole; if its selected pole is infinity, take and use
a uniform polynomial expansion. Being both open and closed and meeting every component, is all of . Every initial Cauchy-sum reciprocal therefore belongs to , and so does . This proves Runge theorem, including its prescribed-pole assertion, rather than merely polynomial approximation on a special compact set.
For the requested pointwise polynomial approximation of a half-plane sign, take and
These three compact sets are disjoint, and their union has connected complement: there are horizontal gaps above and below the segment, and every complementary point can be joined through these gaps or around a rectangle to the exterior of . Define to be on disjoint open neighborhoods of these three sets. It is holomorphic on their union. By the polynomial Runge theorem, choose with .
For every fixed point with positive imaginary part, both coordinate bounds and eventually hold, so it lies in for all large ; the reflected assertion holds for negative imaginary part. Every real point eventually lies in . Consequently
The discontinuity of the limit does not contradict holomorphicity of the approximating functions: this convergence is pointwise, and is not locally uniform near the real axis.
Finally, identify as the holomorphic convex hull relative to . If is a component of lying entirely in , it cannot contain infinity and is bounded. Its boundary lies in , and its closure is compact in . For any holomorphic on , the maximum modulus principle on gives . Thus , as is itself.
Conversely let lie in a complementary component that is not entirely in . If it contains a finite point , form the uniform algebra on generated by constants and . The same open-and-closed reciprocal argument above, now only on the connected component , shows that is in its uniform closure. Its approximants have poles only at and are holomorphic on . If the available point outside is infinity, use the polynomial algebra and its large-pole expansion instead. Hence in either case choose with
The function is holomorphic on , has , and satisfies . It separates from the hull, so . Combining the two inclusions proves
Here denotes the Riemann sphere; using it ensures that the unbounded component, which contains infinity, is not accidentally filled. The empty compact set has empty hull by the usual convention; the separation argument above concerns nonempty .