Infinitive constructions with "um ... zu"

When an independent clause and a subordinate clause share the same subject, the final clause can be expressed in short form with the infinitive construction "um ... zu". The subject is left out and the infinitive verb goes to the end of the sentence. The infinitive construction is separated from the independent clause by a comma.

Examples:
Harry muss zuhören, damit er Deutsch lernt.
Harry muss zuhören, um Deutsch zu lernen.

Wir demonstrieren gegen das Experiment, damit wir eine Katastrophe verhindern.
Wir demonstrieren gegen das Experiment, um eine Katastrophe zu verhindern.