Yājñavalkya was the son of Devarāta and was the pupil of sage Vaisampayana .Once, Vaisampayana got angry with Yājñavalkya as the latter argued too much to separate some latter additions to Yajurveda in being abler than other students. The angry teacher asked his pupil Yājñavalkya to give back all the knowledge of Yajurveda that he had taught him.
As per the demands of his Guru, Yājñavalkya vomited all the knowledge that he acquired from his teacher in form of digested food. Other disciples of Vaisampayana took the form of partridge birds and consumed the digested knowledge (a metaphor for knowledge in its simplified form without the complexities of the whole but the simplicity of parts) because it was knowledge and they were very eager to receive the same.It is believed that Yājñavalkya underwent this process at midday and became ignorant. Consequently, descendents of Yājñavalkya are not considered brahmins at mid-day.
The Saṃskṛt name for partridge is “Tittiri”. As the Tittiri (partridge) birds ate this Veda, it is thenceforth called the Taittirīya Yajurveda. It is also known as Kṛṣṇa Yajurveda or Black-Yajurveda on account of it being a vomited substance. The Taittirīya Saṃhitā thus belongs to this Yajurveda.
Then Yājñavalkya determined not to have any human guru thereafter. Thus he began to propitiate the Sun God, Surya. Yājñavalkya worshipped and extolled the Sun, the master of the Vedas, for the purpose of acquiring the fresh Vedic portions not known to his preceptor, Vaiśampāyana.
The Sun God, pleased with Yājñavalkya penance, assumed the form of a horse and graced the sage with such fresh portions of the Yajurveda as were not known to any other. This portion of the Yajurveda goes by the name of Śukla Yajurveda or White-Yajurveda on account of it being revealed by Sun. It is also known as Vajasaneya Yajurveda, because it was evolved in great rapidity by Sun who was in the form of a horse through his manes.The rhythm of recital of these vedas is therefore to the rhythm of the horse canter and distinguishes itself from the other forms of veda recitals. In Sanskrit, term “Vaji” means horse. Yājñavalkya divided this Vajasaneya Yajurveda again into fifteen branches, each branch comprising hundreds of Yajus Mantras. Sages like Kanva, Madhyandina and others learnt those and Śukla Yajurveda branched into popular recensions named after them.
It is important to note that within the hierarchy of Brāhmaṇas, certain sects believe in the Kṛṣṇa Yajurveda while others practice from the Śukla Yajurveda.
Yājñavalkya married two wives. One was Maitreyi and the other Katyaayanee. Of the two, Maitreyi was a Brahmavadini (one who is interested in the knowledge of Brahman).The descendant sects of Brahmans are the progeny of the first wife Katyaayanee. When Yājñavalkya wished to divide his property between the two wives, Maitreyi asked whether she could become immortal through wealth. Yājñavalkya replied that there was no hope of immortality through wealth and that she would only become one among the many who were well-to-do on. When she heard this, Maitreyi asked Yājñavalkya to teach her what he considered as the best. Then Yājñavalkya described to her the greatness of the Absolute Self, the nature of its existence, the way of attaining infinite knowledge and immortality, etc. This immortal conversation between Yājñavalkya and Maitreyi is recorded in the Brihadaranyaka Upanishad.
Wisdom of Yājñavalkya is shown in Brhadaranyaka Upanishad where he gives his teachings to his wife Maitreyi and King Janaka.He also participates in a competition arranged by King Janaka about the selecting great Brhama Jnani (knower of Brahman). His intellectual dialogues with Gargi (a learned scholar of the times) form a beautiful chapter filled with lot of philosophical and mystical question-answers in Brhadaranyaka Upanishad. He was then praised as the greatest Brahmajnyani by all the sages at the function organised by king Janaka.In the end, Yājñavalkya took Vidvat Sanyasa (renunciation after the attainment of the knowledge of Brahman) and retired to the forest.