Downloaded 17 times





![Backward substitution:
M(n)=M(n-1)+1
M(n)=[M(n-2)+1]+1
=M(n-2)+2
M(n)=[M(n-3)+1]+2
=M(n-3)+3
M(n)=M(n-i)+i](https://image.slidesharecdn.com/mathematicalan-wpsoffice1-210417101846/75/Mathematical-Analysis-of-Recursive-Algorithm-6-2048.jpg)


The document outlines a methodical approach for analyzing recursive algorithms, particularly through the example of the factorial function. It details steps for determining input size, identifying basic operations, establishing recursive relations, and solving them using substitution methods. The analysis concludes with the time complexity of the recursive algorithm being O(n).
Introduction to recursive algorithms and planning for their mathematical analysis, including steps for input size, basic operation identification, and case determination.
Presentation of the factorial recursive function and identification of key operations involved in its analysis, establishing recursive relation F(n) and multiplication M(n).
Demonstration of forward substitution to compute the function values for M(n), illustrating the recursive relationship and its values for small inputs.
Explanation of backward substitution method for recursion, showing transformation of M(n) into a cumulative expression M(n-i)+i.
Establishment of the recursive function's correctness through mathematical induction, concluding with a time complexity of O(n).
Acknowledgment and closing remarks of the presentation.