Friday's lessons at AmericanAirlines Arena: When the Miami Heat want to be good, they can be very, very good. And they've been very, very good at home all season.

Compensating for a ragged first quarter with an overwhelming second period, the Heat tied the franchise record for home victories in a season with Friday night's 109-101 victory over the Boston Celtics.

After scoring 17 points in the first quarter and falling behind by 12 early, the Heat scored 41 points in the second, their high for any period this season, shooting 16 of 19 in the period, the best-shooting quarter in the NBA this season.

With LeBron James, Dwyane Wade and Chris Bosh together in the lineup for the first time in three weeks, the Heat improved to 35-4 at AmericanAirlines Arena, tying the franchise record for home victories set in 2004-05, with victories in 25 of their last 27 homes games. They have two home games remaining, Sunday against the Chicago Bulls and Wednesday's regular-season finale against the Orlando Magic.

James showed no signs of what the Heat had been listing as a hamstring issue, with five first-half dunks on the way to 20 points on 8-of-10 shooting, with nine assists and six rebounds in 28 minutes. His eighth point of the night put him at 2,000 for the season, the eighth time in his 10 seasons he has reached that total, missing only as a rookie and during last season's lockout-shortened schedule.

Wade, who had missed six consecutive games with what the team listed as ankle and knee issues, opened 1 of 6 from the field but came around to close with 11 points, seven rebounds and six assists in 34 minutes.

Bosh, who missed the previous three games with a sore knee and flu symptoms, added 17 points and seven rebounds in 23 minutes.

With the Big Three back in the lineup, coach Erik Spoelstra gave Udonis Haslem and Shane Battier the night off to rest and deal with minor ailments.

The Celtics were without Kevin Garnett and Paul Pierce, with Boston coach Doc Rivers electing to place more of a priority of Saturday's road game against the Orlando Magic. With one more Celtics victory or one more Bucks loss, Milwaukee will be locked in as the Heat's first-round NBA playoff opponent.