Federer is aiming for a second Hopman Cup title, having also won the tournament back in 2001, before he had won an ATP singles title, when he partnered with Martina Hingis
Sock, who had squandered an early service break in the first set, went to ground early in the tiebreak, reaching immediately for his right hip.
Hopman Cup: Roger Federer ends 2017 with wins in singles and mixed doubles to help Switzerland beat Japan
Federer started his 2017 campaign in Perth and given the success which followed, the 36-year-old was keen to replicate his preparation for Melbourne by returning to the Hopman Cup.
Federer finished the year at No 2 in the world behind Spanish rival Rafael Nadal, having started at 16, after a season-leading seven titles.
Swiss Indoors: Denis Shapovalov battles past Yuichi Sugita, Roberto Bautista Agut sails into Round 2
Shapovalov, ranked a career-high 49th in the world and making his Basel debut, continued his breakthrough season by qualifying for next month's ATP NextGen Finals.
Japan Open: Milos Raonic forced out due to injury; David Goffin, Diego Schwartzman advance to quarter-finals
Raonic had looked sharp in battering battered Serbian Viktor Troicki 6-3, 6-4 on Tuesday.
World number 42 Yuichi Sugita thrashed Thiago Monteiro 6-3, 6-2, 6-3 to help Japan preserve their Davis Cup world group status.
Wimbledon stars came under fire on Tuesday for their treatment of ballboys after Rafael Nadal was derided for handing rubbish to one youngster to deposit in a bin right beside him
Halle Open: Roger Federer beats Yuichi Sugita in opening round to claim first win of grass-court season
Roger Federer, who skipped the entire clay-court schedule in order to be fully fit for Wimbledon, brushed aside lucky loser Sugita 6-3, 6-1 in just 51 minutes.
Rafael Nadal enjoyed a comfortable afternoon as his quest for a 10th Barcelona title continued unhindered with a 7-6 (1), 6-2 win over Korean qualifier Hyeon Chung.
Rafael Nadal moved closer to a 10th Barcelona title when he cruised past South Africa's Kevin Anderson 6-3, 6-4 for a 50th victory at the Barcelona Open.