The Sensex ended at 16,189, up 35 points and the Nifty ended at 4,874 points, up 8 points.
The Asian markets also ended lower on the back of concerns relating to the sovereign debt crisis in the Eurozone and S&P's downgrade of the European economies. The Nikkei ended at 8,378, lower by 1.4% or 122 points. Taiwan and Hang Seng also ended lower by 1% each.
Back home, the headline inflation fell to a two-year low of 7.47% in December 2011 on cheaper food items, a factor which may prompt the Reserve Bank to cut policy rates in the upcoming review.
Taking a cue from this, Finance Minister Pranab Mukherjee said the declining rate of price rise indicates improvement in macro-economic parameters and projected March-end numbers at 6-7%.
Moreover, India's December exports rose an estimated annual 6.7% to $25 billion, while imports for the month were at $37.8 billion, leaving a trade deficit of $12.8 billion, Trade Secretary Rahul Khullar said on Monday.
Infosys rebounded to end up 1.9% at Rs 2,634 after the stock was hammered last week in the wake of lower dollar revenue growth guidance.
TCS ended up 1.9% ahead of its Oct-Dec earnings on Tuesday.
State Bank of India ended up 2.2% on news reports that the bank has received Finance Ministry approval for a capital infusion of Rs 6,000-8,000 crore.
BSE Capital Goods index was the top sectoral gainer, up 2% to end at 9,489 levels.Among capital goods shares, BHEL ended as the top gainer among the Sensex stocks, up 3.7% to end at Rs 277.
Among auto shares Maruti Suzuki and Tata Motors were the top gainers.
On the other hand, Reliance Industries was the top loser, down nearly 2.5% to end at Rs 713.
The stock fell on news reports that Securities &
MUST READ: World's top 25 banks
IIP numbers to be viewed with caution: Industry
HPCL to buy oil & gas block in Africa
Russia to boost LNG supplies to India from 2016
IOC, GAIL looking at equity stake in Africa LNG projects: Reddy