Ahab dominates Moby-Dick even though he does not appear until Chapter 28. Melville gives him the grandeur, intelligence and fatal obsession of a tragic hero in the tradition of Shakespeare, while placing him on the deck of a nineteenth-century commercial whaler. A tragic hero is a figure of stature whose own choices bring about his downfall and the suffering of others, and Ahab fits this pattern closely.
Ahab's stature is established before we meet him. Peleg describes him as a grand, ungodly, god-like man, and his first appearance on his ivory leg, made from a sperm whale's jaw, makes his injury visible. He is a skilled and experienced captain whose authority over the crew is never in doubt. His speech is elevated, full of biblical and Shakespearean rhythms, which separates him from the comic voices of Stubb and Flask.
His tragic flaw is monomania, a mind fixed on a single idea. Chapter 41 explains that after losing his leg he came to see Moby Dick as the embodiment of all malice in the world. In "The Quarter-Deck" (Chapter 36) he nails the doubloon to the mast and binds the crew by oath. When Starbuck objects that it is madness to seek vengeance on a dumb brute, Ahab replies that all visible objects are but pasteboard masks and that he would strike the sun if it insulted him. This is both magnificent and terrifying: he refuses to accept that the universe may be indifferent.
Like Macbeth or Lear, Ahab is aware of other paths. Starbuck's warnings, Fedallah's prophecies and the meeting with the Samuel Enderby, whose captain lost an arm to the whale but has no wish to pursue it, all offer alternatives. The most moving is "The Symphony" (Chapter 132), where Ahab speaks of his young wife and child and almost turns home. Earlier, his refusal to help Captain Gardiner of the Rachel search for his lost son shows how obsession has replaced human sympathy. Ahab's tenderness towards Pip suggests that his humanity is not dead but suppressed, which deepens the tragedy.
His downfall involves the whole community. Ahab breaks the quadrant, defies the corposants and replaces the compass needle, rejecting every instrument of guidance. During the three-day chase Fedallah dies, the boats are smashed, and finally the whale rams and sinks the Pequod. Ahab himself is caught round the neck by the harpoon line, so that his weapon becomes the instrument of his death, an ironic fulfilment of the prophecy that only hemp could kill him. Only Ishmael survives.
Ahab is therefore a tragic hero in the full sense: a man of great powers who chooses destruction knowingly. Melville does not simply condemn him. He lets us feel the grandeur of his defiance while showing its cost to Starbuck, Pip and the crew. The tragedy lies in the waste of such energy on a quest that the universe may never answer.