0% found this document useful (0 votes)
189 views8 pages

Lecture 6 General Properties of Asymptotic Notations

The document discusses properties of asymptotic notations such as Big O, Theta, and Omega notations. It covers the augmented, reflexive, transitive, symmetric, and transpose symmetric properties. Some key properties mentioned are: (1) if f(n) is O(g(n)), then a*f(n) is also O(g(n)) for any constant a; (2) if f(n) is Θ(g(n)), then g(n) is also Θ(f(n)); and (3) if f(n) is O(g(n)) and g(n) is O(h(n)), then f(n) is O(h

Uploaded by

rayalaupendar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
189 views8 pages

Lecture 6 General Properties of Asymptotic Notations

The document discusses properties of asymptotic notations such as Big O, Theta, and Omega notations. It covers the augmented, reflexive, transitive, symmetric, and transpose symmetric properties. Some key properties mentioned are: (1) if f(n) is O(g(n)), then a*f(n) is also O(g(n)) for any constant a; (2) if f(n) is Θ(g(n)), then g(n) is also Θ(f(n)); and (3) if f(n) is O(g(n)) and g(n) is O(h(n)), then f(n) is O(h

Uploaded by

rayalaupendar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Properties of Asymptotic

Notations
Augmented Property:
• If f(n) is O(g(n)) then a*f(n) is also O(g(n)) ; where a is a
constant.
• Example: f(n) = 2n²+5 is O(n²)
then 7*f(n) = 7(2n²+5)
= 14n²+35 is also O(n²)
• Similarly this property satisfies for both Θ and Ω notation.
We can say If f(n) is Θ(g(n)) then a*f(n) is also Θ(g(n)) ;
where a is a constant.

• If f(n) is Ω (g(n)) then a*f(n) is also Ω (g(n)) ; where a is a


constant.
Reflexive Property
• If f(n) is given then f(n) is O(f(n)).
• Example: f(n) = n² ; O(n²) i.e O(f(n))
• Similarly this property satisfies for both Θ and
Ω notation.
We can say
If f(n) is given then f(n) is Θ(f(n)).
If f(n) is given then f(n) is Ω (f(n)).
Transitive Property
• If f(n) is O(g(n)) and g(n) is O(h(n)) then f(n) = O(h(n)) .
• Example: if f(n) = n , g(n) = n² and h(n)=n³
n is O(n²) and n² is O(n³)
then n is O(n³)
• Similarly this property satisfies for both Θ and Ω
notation.
We can say
If f(n) is Θ(g(n)) and g(n) is Θ(h(n)) then f(n) = Θ(h(n)) .
If f(n) is Ω (g(n)) and g(n) is Ω (h(n)) then f(n) = Ω (h(n))
Symmetric and Transpose Symmetric
Properties
• Symmetric Properties : If f(n) is Θ(g(n)) then g(n) is
Θ(f(n)) .
Example: f(n) = n² and g(n) = n²
then f(n) = Θ(n²) and g(n) = Θ(n²)
This property only satisfies for Θ notation.
• Transpose Symmetric Properties : If f(n) is O(g(n)) then
g(n) is Ω (f(n)).
Example: f(n) = n , g(n) = n²
then n is O(n²) and n² is Ω (n)
This property only satisfies for O and Ω notations.
Some more properties
• If f(n) = O(g(n)) and f(n) = Ω(g(n)) then f(n) =
Θ(g(n))
• If f(n) = O(g(n)) and d(n)=O(e(n))
then f(n) + d(n) = O( max( g(n), e(n) ))
Example: f(n) = n i.e O(n)
d(n) = n² i.e O(n²)
then f(n) + d(n) = n + n² i.e O(n²)
Some more properties
• If f(n)=O(g(n)) and d(n)=O(e(n))
then f(n) * d(n) = O( g(n) * e(n) )
Example: f(n) = n i.e O(n)
d(n) = n² i.e O(n²)
then f(n) * d(n) = n * n² = n³ i.e O(n³)
THE END

You might also like