Justin Turner had a pinch-hit, three-run homer for the Dodgers, who extended their home winning streak to eight games. They returned to Chavez Ravine following a 2-4 road trip, which featured a three-game sweep at the hands of the Giants.
Brett Anderson looked good for the first four innings but couldn't finish the fifth. He was tagged for three runs on five hits and two walks in 4 2/3 innings.
Lincecum received help from his defense, as Justin Maxwell made a diving catch to save a pair of runs and end the second. But the Dodgers were able to score four runs against the right-hander an inning later.
Andre Ethier drew a leadoff walk, went to third on a single by Adrian Gonzalez and scored on a Howie Kendrick's base hit. Gonzalez, who advanced to third, scored when catcher Andrew Susac's throw bounced through shortstop Brandon Crawford's legs on a stolen base by Kendrick.
Juan Uribe later plated Kendrick with a single, and Pederson lined an RBI double off the base of the wall in right field to make it 4-0.
Anderson tossed a 1-2-3 fourth and retired the first two batters in the fifth, but a two-out walk sparked a Giants rally. Anderson gave up hits to the next three batters, resulting in two runs.
Carlos Frias (1-0) entered from the bullpen and gave up an RBI single to Angel Pagan. After walking Buster Posey to load the bases, Frias fielded a comebacker by Maxwell and threw to first for the final out.
Pederson led off the sixth with a blast to right-center field, and Turner put the game away with his drive to center in the eighth. Uribe was aboard with a single and Pederson worked a walk.
Frias, Adam Liberatore, Yimi Garcia and Chris Hatcher combined to hold the Giants to two hits in the final 4 1/3 innings.
Los Angeles left fielder Carl Crawford left the game in the third inning with tightness in his right side ... The Dodgers have won eight games in a row at home in a single season for the first time since opening the 2009 campaign with 13 consecutive wins ... Dodgers announced before Monday's game that right-hander Brandon McCarthy will miss the rest of the season with a UCL tear in his elbow ... Lincecum allowed four runs on eight hits and walked three.