WEST LAFAYETTE, Ind. — Purdue’s struggling offense received all the attention the last couple weeks.

Now the Boilermakers can start focusing on the raves about their seemingly unbreakable defense.

Purdue held No. 8 Michigan State to its two lowest scoring halves of the season and lowest point total in nearly eight years as it snapped a two-game losing streak with a 71-42 upset.

“Probably the worst beating I’ve taken as a coach,” Michigan State coach Tom Izzo said. “I think that was great pressure by Purdue. I thought (Purdue coach) Matt (Painter) did one hell of a job.”

The Spartans (13-4, 5-1 Big Ten) came into the game as a 4 1/2-point favorite, averaging 81.3 points per game — 16th in the country — and a reputation for physical play.

But Purdue bottled up Michigan State at every turn and eventually the Spartans buckled.

Cassius Winston, the league’s preseason pick for player of the year, finished with 10 points, five assists and nine turnovers. His teammates weren’t any better.

Michigan State finished with season-lows in field goals (18), 3-pointers (two), field goal percentage (35.3) and 3-point percentage (12.5) while accumulating a season-high 18 turnovers. The 32 rebounds matched the Spartans’ second-lowest total of the season, and the 42 points were their fewest since a 42-41 loss at Illinois on Jan. 31, 2012.

Naturally, the Spartans’ eight-game winning streak ended.

“I just thought they never really quite got into a rhythm,” Painter said. “I don’t want to put that on them or give us the credit. A lot of times it’s something in between.”

The Boilermakers (10-7, 4-3), meanwhile, extended their home winning streak against conference foes to 15 and now have two victories over top-10 teams this season — both by 29-point margins.

Purdue scored the first five points, then extended the lead to 19-4 with a 12-0 run. Trevion Williams, who finished with 16 points, helped fuel another big run, 13-2, that made it 34-14 with 3:23 left in the first half.

Michigan State never recovered despite trimming the deficit to 37-20 at halftime and 39-27 early in the second half.

The Boilermakers responded with two 3-pointers to take a 45-29 lead with 14:11 to play and Michigan State couldn’t get closer than 11 again.

“We’ve shown flashes, especially at home that we can play well,” Painter said. “We haven’t been consistent enough.”

BIG PICTURE

Michigan State: Clearly, the Spartans are better than they demonstrated Sunday. They were completely out of sync against Purdue’s defense. They were beaten physically and were careless with the ball. The real danger is it could become a guide for how other opponents can beat Michigan State.

Purdue: The Boilermakers’ usually strong defense might have been at its best against the Spartans. It’s actually tough to imagine them performing much better. But, offensively, they may have found a solution to their woes by divvying up the scoring chores. Time will tell whether Painter has a fix — or whether it was merely an aberration.

STAT PACK

Michigan State: Committed seven turnovers before forcing the first by the Boilermakers. … The Spartans missed their first 10 3s and finished 2 of 16. … The Spartans have lost four straight in West Lafayette. … Rocket Watts had 10 points. Xavier Tillman finished with eight points and eight rebounds.

Purdue: Williams also had seven rebounds and four assists. … Evan Boudreaux had 11 points and five rebounds while Sasha Stefanovic and Eric Hunter Jr. each finished with 10 points. … Purdue had a 21-8 advantage in points off turnovers. … The Boilermakers broke a tie for the second-longest home winning streak against conference opponents in Mackey Arena history. They won 19 straight between January 1968 and February 1970. … The Boilermakers have won five of their last six home games against top-10 foes.

QUOTABLE

Michigan State: “I laugh every day with my staff about how everybody wants to be the head coach,” Izzo said. “It ain’t as much fun as you think it is. Hell, I don’t want to be the head coach today.”

Purdue: “Collectively, we had to build a wall (around Winston),” guard Nojel Eastern said. “We know the type of player he is, we know what he’s capable of and we had to have a team effort while still playing by our principles.”

#BoilerNotes

  • Purdue improved to 10-7 overall and 3-3 in the Big Ten Conference with a 71-42 win over No. 8-ranked Michigan State … the win was Purdue’s second straight over Michigan State and fourth straight at Mackey Arena against the Spartans … the Spartans’ 42 points were its fewest since having 41 against Illinois on Jan. 31, 2012 … Purdue’s 29-point win was its largest against Michigan State since a 100-70 victory on Feb. 27, 1971.
  • Purdue’s 29-point win tied its largest margin of victory against a ranked opponent in school history, which was set earlier this year against No. 5-ranked Virginia (69-40) … Since the start of the 2017-18 season, Purdue has posted four wins of 25 points or more against nationally-ranked teams … Purdue’s four wins by 25 points or more against nationally-ranked teams during that span are the most in the country (only Ohio State and Texas Tech have at least two).
  • Purdue is now 5-1 in its last six games against top-10 teams at Mackey Arena … the average margin of victory in the five wins is 14.6 points per game.
  • Purdue is 3-2 this year against nationally-ranked teams.
  • The win over Michigan State was Matt Painter’s seventh win against a ranked Michigan State team, the most against any opponent during his tenure at Purdue … Painter is now 11-15 all-time against Michigan State.
  • The win was Purdue’s sixth as an unranked team against a ranked Michigan State team at Mackey Arena.
  • Purdue won its 15th straight home game in Big Ten Conference play, the second-longest streak in Mackey Arena history … just three of the 15 wins have come by single-digits.
  • Purdue has won 11 straight games dating to Jan. 1, 2017, when wearing its gold jerseys.
  • Purdue improved to 8-0 this year when allowing 59 or fewer points and 9-0 when shooting a higher field goal percentage than its opponent.
  • Purdue sold out Mackey Arena for the 17 straight game.
  • Purdue is 71-5 at Mackey Arena since the start of the 2015-16 season, the second-best winning percentage at home during that span (South Dakota State – 63-4; .940) … Purdue is 45-4 against Big Ten teams at Mackey Arena since 2014-15.
  • Purdue and Michigan State are both 72-26 in Big Ten play since the start of the 2014-15 season … Wisconsin is third in wins during that span with 63.
  • Since the start of the 2015-16 season, Purdue has 50 wins by 20 or more points, tied for the second most in the country behind Gonzaga (79).