Whirlpool Corp.’s second-quarter net income more than doubled as it cut costs and benefited from more shoppers taking advantage of federal rebates to buy new appliances.

The solid quarter, which topped Wall Street expectations, prompted the world’s largest appliance maker to boost its full-year outlook on Tuesday.