Have to and do not have to
You know the ない form from lesson 54, permission and prohibition from lessons 49–50 and negative requests from lesson 62. Recall 買う→買わない, する→しない and 来る→来ない(こない). In this lesson you learn two complete polite patterns. Short conversational variants and other obligation patterns remain outside the core.
1 · Something needs to be done
なければなりません expresses that an action is necessary or required. 宿題をしなければなりません says that the homework has to be done. It does not merely state what you want or plan to do. An arrangement, task or situation makes the action necessary.
Learn the whole ending as one meaning: ‘have to’. Despite ません at the end, the whole expression does not mean ‘do not do’. This lesson uses fictional class arrangements, not general rules for every school or obligations for you.
宿題をしなければなりません。
ここに名前を書かなければなりません。
2 · From ない to なければなりません
First make the ない form, remove the whole ending ない and replace it with なければなりません. 書く→書かない→書かなければなりません. 買う→買わない→買わなければなりません. Keep the correct base before ない.
For group 2: 食べる→食べない→食べなければなりません. For group 3: する→しない→しなければなりません; 来る→来ない→来なければなりません(こなければなりません). Here 来る uses the こ reading from the ない form.
While practising, divide the long form at 書かなければ / なりません, but say both parts together as one sentence. Do not attach the pattern after the entire ない form or use the ます stem. Particles before the verb keep their normal roles.
明日、学校へ来なければなりません。
この本を買わなければなりません。
3 · Something is not required
なくてもいいです means an action is not necessary or required: it is all right not to do it. 本を買わなくてもいいです says ‘You do not have to buy a book’. It does not say buying is forbidden, nor that the person has decided not to buy anything.
Start again from the ない form and replace all of ない with なくてもいいです. 買わない→買わなくてもいいです; 食べない→食べなくてもいいです; しない→しなくてもいいです; 来ない→来なくてもいいです(こなくてもいいです). Keep も; without it, this is not the same pattern.
この本を買わなくてもいいです。
今日は、宿題をしなくてもいいです。
4 · Not required is not forbidden
Keep three intentions separate. 買わなければなりません: buying is necessary. 買わなくてもいいです: buying is unnecessary. 買ってはいけません: buying is not allowed. The last pattern uses the familiar て form; the first two start from the ない form.
買わないでください from lesson 62 is different too: someone asks you not to buy. Do not say ‘not required’ when you actually want the other person to refrain. In your practice situation, first identify what is necessary, optional or prohibited; then choose the appropriate ending.
5 · Check an arrangement
Add か to ask whether something is required: 買わなければなりませんか. Confirm with はい、買わなければなりません, or remove the obligation with いいえ、買わなくてもいいです. Repeat the verb when it would otherwise be unclear which task you mean.
These complete polite forms are clear but can sound somewhat formal. You do not need to force them into every everyday sentence. First practise their meaning and formation reliably here; shorter variants belong to a later step.
この本を買わなければなりませんか。
いいえ、買わなくてもいいです。