I just learned a gemara (taanit 30a) that seems to pretty clearly state that the mourning for tisha b'av starts the beginning of the week that tisha b'av falls out on, and ends with tisha b'av itself.
Even the briatot after that discuss how much meat and wine one may have at the seudat mafseket (it seems to state the for the rest of the day there are no restrictions regarding meat and wine).
So where does the idea of the nine days come from (I understand that it is an opinion in the gemara, but it seems to explicitly conclude that that is not the halacha)?
Note: I am aware (thanks to DoubleAA) that this extension is a later minhag. The question remains then, if the gemara considered this as a possibility and explicitly rejected it, why was it later instituted?
Clarification: It seems from the gemara that there are two different periods where there are restrictions. The first concerns laundry (where one opinion says 9 days), and the second concerns meat and wine (where there is no opinion that says that it lasts nine days, the most machmir opinion says that for the whole day one should not have either of these items (and two cooked foods) and the most makil opinion says that one can have these foods, even at the seudat mafseket, but less than normal).
It therefore seems this this is really three related questions:
- Why did the laundry mounring period get extended to 9 days
- Why was the meat and wine restriction extended to 9 days
- Why (to the best of my knowledge) was the "two cooked foods" restriction not extended to the nice days (the gemara seems to lump meat wine and cooked foods together)