The ancient Romans used the word triviae to describe where one road split or forked into two roads. Triviae was formed from "tri" (three) and "viae "(roads) – literally meaning "three roads", and in transferred use "a public place" and hence the meaning "common place".The pertaining adjective is "triviālis". The adjective trivial was adopted in Early Modern English, while the noun trivium only appears in learned usage from the 19th century, in reference to the Artes Liberales and the plural trivia in the sense of "trivialities, trifles" only in the 20th century.The Latin adjective triviālis in Classical Latin besides its literal meaning could have the meaning "appropriate to the street corner, common place, vulgar." In late Latin, it could also simply mean "triple." In medieval Latin, it came to refer to the lower division of the Artes Liberales, namely grammar, rhetoric, and logic. (The other four Liberal Arts were the quadrivium, namely arithmetic, geometry, music, and astronomy, which were more challenging.) Hence, trivial in this sense would have meant "of interest only to an undergraduate.

The adjective trivial introduced into English in the 15th to 16th century was influenced by all three meanings of the Latin adjective.The meaning "trite, common place, unimportant, slight" occurs from the late 16th century, notably in the works of Shakespeare.

More Info: en.m.wikipedia.org