A Good Example of Mathematical Writing

Good to Visualize a Process of Transformations of Math Formulas in a Tabular Format with Two Columns

f(n) = 8 ( 5 n2 + 7 n5 + 2) / ( (1/2) n2 )       given a computational complexity function f(n)
= 16( 5 n2 + 7 n5 + 2) / n2       by mulpiplying 2 to both numerator and denominator
≤ 16( 5 n5 + 7 n5 + 2 n5) / n2     for all n ≥ 1       since n5 ≥ 1 and n5 ≥ n2 for all n ≥ 1
= 16( 14 n5 ) / n2     for all n ≥ 1      
= 16( 14 n3 )     for all n ≥ 1       since nc / nd = n(c−d) for all n ≥ 1 when d ≠ 0
= 224 n3     for all n ≥ 1       an upper bound O(n3) derived

Previous Slide 10 of 15 Next Slide