US stocks rallied on Tuesday as a late surge helped them regain almost half their losses from the day before, when they had their biggest plunge in six-and-a-half years.

That came at the end of a day of huge swings for the market.

Major indexes in Asia and Europe took steep losses and US markets started sharply lower, only to repeatedly change direction.

After its 1175-point nosedive on Monday, the Dow Jones industrial average lost 567 points right after trading began.

After numerous turns higher and lower, it wound up with a gain, coincidentally, of 567.

Despite the turbulence, Tuesday’s trading looked similar to the patterns that have shaped the market for the last year: Investors bought companies that do well when economic growth is strongest.

Gainers included technology companies, retailers like Amazon and Home Depot, and industrial companies and banks.

Bond yields turned higher after a sharp drop on Monday.

As a result, the biggest losses went to high-dividend companies such as utility and real estate companies, which investors often buy as an alternative to bonds.

When bond yields rise, those stocks become less appealing to investors seeking income.

The yield on the 10-year Treasury note rose to 2.80% from 2.71%.

The Dow finished 567.02 points higher, or 2.3%, at 24912.77.

The Standard & Poor’s 500 index, a broader market barometer that many index funds track, climbed 46.20 points, or 1.7%, to 2965.14.

The Nasdaq composite rose 148.36 points, or 2.1%, to 7115.88.

The steep drops on Friday and Monday wiped out the gains the Dow and S&P 500 made since the beginning of the year, but both remain higher over the past 12 months.

The Dow is up 24% over that time, the S&P 500 18%.

Even after Tuesday’s gain, the S&P 500 is still down 6.2% from the recent record high it set on January 26.

That is less than the 10% drop that is known on Wall Street as a “correction”.

Corrections are seen as entirely normal during bull markets, and even helpful in curbing excessive gains and allowing new investors to buy into the market at lower prices.

It has been an uncommonly long time since the last market correction, which ended almost two years ago.

Brent Schutte, chief investment strategist at Northwestern Mutual Wealth Management, said the plunge was not caused by inflation fears alone.

The markets have been unusually calm since late 2016, and he said investors were betting that would continue.

“People were positioned for more central bank easing or continued central bank easing, low rates, and importantly, low volatility,” he said.

“Corrections are caused by people having to reposition for new environments.”

Investors remain fearful that signs of rising inflation and higher interest rates could bring an end to the bull market that has sent stocks to record high after record high in recent years.

Friday’s US jobs report showed wages grew at a faster pace in January, and investors worried that that means inflation is speeding up, and that the Federal Reserve will have to raise interest rates faster than previously expected in order to keep that inflation in check.

Higher rates act like a brake on the economy by slowing down borrowing and lending.

Mr Schutte, of Northwestern Mutual, added that corrections can end quickly, and they often do so when investors see evidence of continued economic growth.

Experts do think the global economy will keep growing this year even though that is likely to bring more inflation.

Mr Schutte said that as central banks stop propping up the market, trading will probably be more volatile in the next few years.

Among the biggest losers was Tokyo’s Nikkei 225 stock average, which ended 4.7% lower. Hong Kong’s Hang Seng skidded 5.1% and South Korea’s Kospi declined 1.5%.

In Europe, Germany’s Dax fell 2.3% and the CAC 40 in France lost 2.3%.