Explanation:
Step1
Factor of safety is the number that is taken for the safe design of any component. It is the ratio of failure stress to the maximum allowable stress for the material.
Step2
It is an important parameter for design of any component. This factor of safety is taken according to the environment condition, type of material, strength, type of component etc.
Step3
Different material has different failure stress. So, ductile material fails under shear force. Ductile material’s FOS is based on yield stress as failure stress as after yield point ductile material tends to yield. Brittle material’s FOS is based on ultimate stress as failure stress.
The expression for factor of safety for ductile material is given as follows:

Here,
is yield stress and
is allowable stress.
The expression for factor of safety for brittle material is given as follows:

Here,
is ultimate stress and
is allowable stress.