In a host of books and articles, he attacked conventional ideas on subjects including the battle of the sexes and the usefulness of high school math.