But buffeted by controversies and the challenge of being an incumbent, Mr. Trudeau struggled even as his opponents seemed unable to capitalize on his weakness. In sharp contrast to four years ago, when Mr. Trudeau energized young and first-time voters to turn out, this time he faced the risk that they would stay home.
He also became an object of derision, attacked by Mr. Scheer during a debate as a “phony” and “fraud” who isn’t what he appears to be.
The nastiness of the campaign has been met with voter apathy, analysts said.
“What we’re seeing with the electorate is the rejection of the political class, of the political establishment and elites,” said Shachi Kurl, the executive director of the Angus Reid Institute, a nonprofit polling group in Vancouver, British Columbia.
“There’s a pox-on-your-houses element,” she said, adding that the campaign had been a missed opportunity for both Mr. Trudeau’s Liberal Party and Mr. Scheer’s Conservatives. Both, she said, had failed “to make the case to Canadian voters, as the front-running parties, they should become government.”
Such anger with politics-as-usual has girded recent electoral rebellions in Europe and the United States though in Canada it has so far not been accompanied by a substantive rise in populism. Maxime Bernier, a far-right populist leader who is running in the election, is expected to fare poorly.