A freight train derailment in Ohio near the Pennsylvania state line left a mangled and charred mass of boxcars and flames Saturday as authorities launched a federal investigation and monitored air quality from the various hazardous chemicals in the train.