Education brings out the knowledge of a person. The purpose of education is to ask question why. The answer leads to the question how. Where these questions leads to the questions, it leads to ivilization. What is happiness? Feeling of pleasure, joy, satisfaction etc. In this paper we discuss about how education leads to happiness. First section gives the information about education. Second section about the concept of the problem. Third section gives the graph and solution by automata theory. Final section conclusion based on our study.