のだ / -のではない

Usage

(V/い/な/N~~-だ~~-な)のだ + のではない can be used when indicating a result that has arisen for a particular reason or a guess based on specific logical grounds.

のではない is used to negate everything except the final part of the sentence.

Examples

3時の飛行機に乗らなければなりません。それで、私は急いでいるのです。 I have to get on the 3 o'clock plane, so I am in a hurry.
彼は日本に留学します。それで日本語を勉強しているのです。 He's going to college in Japan. That's why he is learning Japanese.
このレポートは一人で書いたのではありません I didn't write this report all by myself.