In theory, the market is pretty efficient. According to prevailing Wall Street wisdom, rational investors will quickly take advantage of any mispricing, bidding firms back to their true values. That's all fine on paper, but it relies on several assumptions that are just plain false. By learning how and where the academic theory gets lost in reality, you can take advantage of the system for your own financial benefit.

The irrational advantage
Probably the biggest hole in the theory is that it assumes investors are always rational. For that to hold true, investing decisions would largely need to be made in a vacuum. In reality, most people invest for a purpose, not just for academic curiosity. We all want better lives for ourselves and our families. Maybe we're saving for our kids' college. Maybe it's a comfortable retirement we're after. Whatever the reason, investing is a means to an end and not usually an end unto itself.

If your portfolio gets shellacked, it's not just an abstract paper loss. It's real money that may very well translate to an unpleasant change in your long-term plans. No matter what the academic theories claim, invested money has real-world consequences that change people's behavior away from the purely rational.

Fear and greed
Because of this, emotions play a huge role in people's actual investment decisions. By far, fear and greed loom the largest. When a stock is going down, people's natural tendency is to get scared. After all, it's their money on the line, and they have plans that will fall apart if the cash isn't there when it's needed. So folks tend to want to sell a falling security to preserve whatever remains of their capital.

What this means is that selloffs are often far more dramatic than they should be. As a result, you can snap up shares for far less than they're truly worth. After all, it's called a panic sale for a reason. Just like a department store trying to rid itself of "scratch and dent" merchandise, fear sometimes causes the stock market to offer incredible bargains on companies that are only slightly damaged. As a value-focused investor, you can take advantage of this mispricing to profit.

On the flip side, when stocks are performing exceptionally well, investors tend to want to pile in on the action. Just as fear sends people running from a stock heading down, greed compels them to buy one that's rising. The resulting buying frenzy frequently drives a company's stock dramatically higher than it's truly worth. Unfortunately, just when everyone wants to purchase, the stock becomes its most dangerous. At a high enough price, there's nothing but hope supporting the stock. As a value investor, that's your opportunity to sell or your cue to stay away.

The consequences
The upshot of all this emotionally driven buying and selling is that stocks tend to trade both well above and well below their true worth from time to time. You can see this by looking at something that I like to call the emotion factor. In essence, it's a comparison between the 52-week low and high prices of a company and its expected five-year growth rate. The higher the price changes compared with the growth rate, the more likely that emotion is involved.

The logic behind the emotion factor is this: If the market always efficiently reflected the future, then stocks would always be priced at their true value. Consequently, any growth in the stock should be fueled only by growth in the underlying business. The larger a stock's movement variation with respect to its expected growth rate, the less likely that its price will always precisely track its true worth. Here's what it looks like in practice:

Company

52-Week Low

52-Week High

Low to High Fluctuation

5-Year
Expected Growth

Emotion Factor

XM Satellite Radio (NASDAQ:XMSR)

$9.63

$27.01

180.5%

15.0%

11.0

MasterCard (NYSE:MA)

$40.20

$113.08

181.3%

17.0%

9.7

Verizon (NYSE:VZ)

$30.10

$38.95

29.4%

4.0%

6.4

Garmin (NASDAQ:GRMN)

$30.00

$56.89

89.6%

18.0%

4.0

JPMorgan Chase (NYSE:JPM)

$39.05

$51.16

31.0%

10.0%

2.1

Medtronic

$42.37

$57.28

35.2%

14.0%

1.5

American International Group (NYSE:AIG)

$57.52

$72.97

26.9%

13.0%

1.1

Data from Yahoo! Finance

Near the top of the list is Motley Fool Inside Value selection MasterCard. New bankruptcy laws in late 2005 caused a whole bunch of people to file for bankruptcy before the changes took effect. That put a serious short-term damper on credit card companies like MasterCard. Yet Inside Value's valuation-focused strategy pointed out that the company's ongoing operations were far stronger than the market was giving it credit for at the time. All that pessimism had provided the opportunity for subscribers to earn a market-beating return.

At the bottom of the list is life insurance giant American International Group. Insurance is the business of risk management. People's life insurance needs don't tend to be heavily dependent on the overall economy. Short of a major, unanticipated, and unhedged catastrophe, it's hardly the type of company where emotions would rule the day.

How to profit
Of course, the emotion factor alone won't tell you whether a company is over- or underpriced. It will, however, tell you how much the firm's stock has recently moved independently of the expected changes in the true worth of the business behind that stock. The bigger the moves are, the better the chances that the market overreacted because of excessive fear or greed.

If the culprit is excessive fear, you can pounce and profit -- because eventually, emotionally driven price moves reverse themselves. To take advantage of those emotions, however, you have to recognize when they're ruling a stock's price and know how to act. That's where financial-data-driven analysis can give you the edge. With a firm grasp of what a company is really worth based on its earning potential, knowing when to buy and sell becomes straightforward. It's simply a matter of seeing how far adrift -- and in which direction -- emotions have pushed a stock from its fair value.

The Foolish bottom line
In the stock market, there's real money on the line, with real consequences for real people -- so emotions run high. If you learn to recognize when investors' emotions have taken control of a stock, you can use that information to your advantage. Simply buy when a sour mood has knocked a company's shares to well below their true value, and then sell when a jubilant one has ratcheted them to well above their true worth.

Are you ready to take advantage of the market's emotional roller coaster? Join Inside Value and learn how to uncover other opportunities to profit from the market's bouts with excessive pessimism. Want more information before committing? A 30-day free trial will cost you nothing more than your time.

This article was originally published on July 10, 2006. It has been updated.

At the time of publication, Fool contributor and Inside Value team member Chuck Saletta did not own shares of any company mentioned in this article. XM Satellite Radio is a former Rule Breakers recommendation. Garmin is a Stock Advisor pick. JPMorgan is an Income Investor selection. The Fool has a disclosure policy.