Logic is the stuy of the principles of valid inference and demonstration. The word derives from Greek λογική (logike), fem. of λογικός (logikos), "possessed of reason, intellectual, dialectical, argumentative", from λόγος logos, "word, thought, idea, argument, account, reason, or principle".