An apparatus for purifying exhaust gas exhausted from an internal combustion engine, using two or more honeycomb structure-type catalysts and. First determination means determines whether or not a position of the reference point is a position within a first distance from an end of the display area with respect to the reference axis direction. A thermal process diffuses the stressor material into the semiconductor layer.