All grammarA2
zu + infinitive
The rule
After some verbs, such as vergessen and versuchen, and after es ist with an adjective, the infinitive at the end takes zu, which goes between a separable prefix and the verb.
zu comes right before the infinitive at the end: Es ist wichtig, pünktlich zu sein. A comma usually comes before the part with zu.
A separable verb takes zu in the middle, as one word: mitbringen, mitzubringen. A verb that does not split, such as unterschreiben, has zu in front: zu unterschreiben.
Modal verbs never take zu: Ich muss lernen.
Examples
Es ist wichtig, pünktlich zu sein.
It's important to be on time.
Vergessen Sie nicht, Ihren Ausweis mitzubringen.
Don't forget to bring your identity card.
Ich habe vergessen, das Formular zu unterschreiben.
I forgot to sign the form.
Ich versuche, jeden Tag zwanzig Minuten Deutsch zu lernen.
I try to study German for twenty minutes every day.