After the Nets collapsed Sunday night in Brooklyn against the Hawks, Deron Williams talked about how the eight-game, 17-day Circus Trip he and his teammates began last night would be a huge test for them both mentally and physically.

Williams then went out and made sure the trip started off right, scoring 31 points in 28 minutes as the Nets cruised to a 119-82 victory over the Pistons in front of 16,702 inside The Palace of Auburn Hills.

“I was just trying to be aggressive,” Williams said after going 10-for-18 from the field — including 4-for-8 from 3-point range — to go along with five assists. “I didn’t think I was aggressive enough [against Atlanta] throughout the course of the game, and I just wanted to impose my will a little bit more on this game.”

He certainly accomplished that, scoring 14 points in both the first and third quarters to spur the Nets to a much-needed victory that allowed them remain within a game of the Knicks for the Atlantic Division lead.

The Nets (39-28) jumped out to an early 16-10 lead after Williams scored nine quick points and hit Gerald Wallace for an alley-oop on the break and never looked back, easily dispatching the Pistons (23-46) for the third time in as many meetings this season.

The Nets shot 57 percent from the field and also went 10-for-12 from the foul line to jump out to a 36-23 lead after one quarter.