I am reading the book "Differentiable Manifolds" by Brickell and Clark.
Here is one of its problems: Show that the sphere $S^n$ admits a partition of unity consisting of two functions.
I'm not sure how to show this. I know that there is a atlas with only two charts. These are obtained by stereographic projection of $S^n \subset \mathbb{R}^{n+1}$ from the points $(0,0,...,1)$ and $(0,0,...,-1)$ onto the plane $z^{n+1} = 0$. Suppose $U$ and $U'$ are the punctured spheres obtained from $S^n$ by omitting these two points respectively. But I cannot continue. How should I proceed?
Thanks for any help.
Let $g:\mathbb R\to[0,1]$ be a smooth function function with $g(x)=0$ for $x\leq 0$ and $g(x)=1$ for $x\geq 1$. For a construction of such a $g$ see here.
Then for $U'$, $U$ there is a partition of unity given by $\phi_1(z_1,...,z_{n+1})= g(z_{n+1}+\frac 1 2 )$ and $\phi_2=1-\phi_1$.