In lec 10 ..1D heat equation, around the formula 4, there's Aline saying"this solution has the same form as 2." but I feel like the integral should from 0 to infinity, instead of from - infinity to infinity like the formula 2?

Yep...that's what I guess initially....sorry my space doesn't work properly these days