Solution

ID: past-exam-of-the-introduction-to-schemes-course-of-the-university-of-oxford/2023/1/c/i/solution

For an idempotent , define the principal open subset . Since , a prime ideal contains at least one of , and it cannot contain both. Therefore
Thus is a clopen set.
Conversely, let be a clopen set in . The structure sheaf glues the section on and the section on its complement to a unique global section . Checking on these two open subsets gives , and . Conversely, the restriction of an idempotent to is because is a unit there, and its restriction to is . Thus the two constructions are inverse, including for the zero ring:

New to topics? Read the docs here!