Let $X$ be compact Hausdorff, and $C(X)$ the space of continuous functions over $X$. Denote the closed unit ball in $C(X)$ by $(C(X))_1$, then it can be shown $f$ is an extreme point of $(C(X))_1$ if and only if $|f(x)|=1$ for all $x\in X$.
In Douglas's book, we are asked to show that the convex hull of extreme points of $(C(X))_1$ is dense in $(C(X))_1$. By using a theorem of Fejer we can show this is true when $X=[0,1]$. But I do not know how to do it for general $X$.
Since it is only the 7th problem in the first chapter, I am guessing the solution should be elementary.
Thanks!
Here's a more algebraic approach. The basic idea is this:
If $\lVert f\rVert \leq 1$ and $f$ is real-valued then we can write $g=f+i\sqrt{1-f^2}$. Clearly $|g|^2=g\bar g =1$ so that $g$ is an extreme point of the unit ball. Moreover, $f=\frac12(g+\bar{g})$ so that $f$ is a convex combination of two extreme points. This already shows that every function is a linear (but not necessarily convex) combination of extreme points. However, with some cleverness one can refine this idea to the following statement:
If $\lVert f \rVert \lt 1 - \frac{2}{n}$ then $f$ is the closed convex hull of $n$ extreme points. More precisely, $$ f = \frac{1}{n} (g_1 + \dots + g_n) $$ with $g_k$ extremal for all $1 \leq k \leq n$.
This gives the desired statement by observing that the convergence $(1-\frac{3}{n})f \to f$ exhibits every $f$ with $\lVert f \rVert \leq 1$ as a limit of convex combinations of extreme points.
The statement that every element of norm $\lt 1-\frac{2}{n}$ is an average of $n$ unitary elements holds in an arbitrary unital $C^\ast$-algebra and is not more difficult to prove in general than in the commutative case (given the continuous functional calculus). This result is due to Russo and Dye with a simple proof due to Gardner, see his article. A more detailed proof can be found in Pedersen, Analysis Now, Proposition 3.2.23. Since unitaries are always extreme points (see Pedersen, C*-algebras and their automorphism groups, Proposition 1.4.7), the statement of your question holds in an arbitrary unital $C^\ast$-algebra. Assuming that $A$ has a unit is necessary: the unit ball has an extreme point if and only if $A$ is unital, (see Theorem 1.6.1 in Sakai's C*-algebras and W*-algebras).