How to decide the cut off frequency of an LC filter for a spwm?
How to decide the cut off frequency of an LC filter for a pulse width
  modulated sine wave with fundamental frequency 50Hz and switching
  frequency of 10Khz?


The first thing to recognize is that an LC low pass filter becomes a series tuned filter at resonance and this will create all sorts of problems if either your PWM frequency (or the 50 Hz you are trying to reconstruct) are aligned with the resonance. Keep away from the resonance point!

So the simple rule is to position the LC low pass filter's 3 dB point at equal spectral distances from 50 Hz and 50 kHz. Mathematically that's \$\sqrt{50\times 10000}\$ = 707 Hz. 

But there is a lot of leniency in this value and for instance, dropping it to (say) 150 Hz won't be a big problem. Sure there will be some 50 Hz currents flowing in to the return wire that are not passing through the load and this represents a loss but, you have to decide how significant these are for you.

Why not go for 707 Hz?

Given that the LC will give you an attenuation above 707 Hz of 40 dB per decade that means your 10 kHz PWM signal is attenuated by at least 40 dB. Here's an on-line tool that I've set up with some values: -




I've set the load resistor to be 10 ohms (a heavy load) and it's important to model this into the system. I've also set the cursor position to be at about 10 kHz and the attenuation is 45 dB.

45 dB is a voltage reduction of 178 so if your PWM amplitude is (say) 100 volts peak to peak, at the output it will be suppressed to 0.56 volts peak to peak.


  I want to know factors that are needed to be considered in designing a
  filter which is to be implemented with a pure sine wave Inverter.


But, beware of light loads and the transient effects they can have. For instance, if your load increased in resistance from 10 ohms to (say) 100 ohms you will see a peak in the frequency response like this: -



Now the effect that this has can be problematic. Sure, you are not generating any frequency around 700 Hz but some varying loading effects can interact with the resonance and give you a more mangled output voltage.

This is why it's important to model your LC circuit and load in a simulator. You don't need to model the PWM generation (unless you want to) but it all helps get a better understanding of what might happen. Also, be aware that the LC filter introduces a phase shift of 180 degrees from below 700 Hz to above 700 Hz - this can play havoc with control loops so be aware of this and the need to introduce compensation if using closed loop control.