Explain the theoretical basis of fracture mechanics and its role in predicting the failure of mechanical components under varying loading conditions. Discuss key parameters and methodologies involved in fracture analysis.