Just a remark. Generally speaking, definite integrals where one of the points is undefined (x = 0 in this case) does not really appear in the HSC exam itself - if it ever does then they make it very clear you are taking the limiting value rather than evaluating it at that undefined end point.