Reason: First published version: reverse triangle inequality for the absolute value, and the attainment-plus-bound argument for the maximum and minimum.
and ∣f(z)−f(x)∣<ε, so claim 2 gives ∣f∣(z)−∣f∣(x)<ε.
A common choice of δ for claims 2 and 3. Let 0<ε. Continuity of f and of g at x relative to A gives δ1 and δ2, both positive, such that d(x,z)<δ1 implies ∣f(z)−f(x)∣<ε and d(x,z)<δ2 implies ∣g(z)−g(x)∣<ε, for z∈A. By claim 9 there is δ with δ≤δ1, δ≤δ2 and δ equal to δ1 or to δ2; in either case 0<δ. Fix z∈A with d(x,z)<δ. By claim 2 both ∣f(z)−f(x)∣<ε and ∣g(z)−g(x)∣<ε hold, so claim 9 of Properties of the Absolute Value in an Ordered Field gives
−ε<f(z)−f(x)<ε,−ε<g(z)−g(x)<ε.
Adding f(x), respectively g(x), and using claim 1 together with the field identities for sums and differences, this says
f(x)−ε<f(z)<f(x)+ε,g(x)−ε<g(z)<g(x)+ε.
Claim 2. Write m=max{f(z),g(z)} and m′=max{f(x),g(x)}. By claim 1 of Elementary Properties of the Maximum of Two Elements we have f(x)≤m′ and g(x)≤m′, so adding ε gives f(x)+ε≤m′+ε and g(x)+ε≤m′+ε. With the bounds above and claim 2 we get f(z)<m′+ε and g(z)<m′+ε. By claim 2 of Elementary Properties of the Maximum of Two Elements the element m equals f(z) or g(z), so in either case m<m′+ε. Exchanging the roles of z and x in this argument, and using the bounds f(z)−ε<f(x) and g(z)−ε<g(x), which follow from the displayed inequalities by claim 1, gives m′<m+ε.
Claim 3. Write n=min{f(z),g(z)} and n′=min{f(x),g(x)}. By claim 1 of Elementary Properties of the Minimum of Two Elements we have n′≤f(x) and n′≤g(x), so adding −ε gives n′−ε≤f(x)−ε and n′−ε≤g(x)−ε. With the bounds f(x)−ε<f(z) and g(x)−ε<g(z) and claim 2 we get n′−ε<f(z) and n′−ε<g(z). By claim 2 of Elementary Properties of the Minimum of Two Elements the element n equals f(z) or g(z), so n′−ε<n in either case. Exchanging the roles of z and x gives n−ε<n′.
Claim 4. If f and g are continuous on A, they are continuous at every point of A relative to A, so claims 1, 2 and 3 apply at every such point; hence ∣f∣, max{f,g} and min{f,g} are continuous on A.