Show that whether x5 + 10x3 + x + 1 is O(x4) or not?
Solution:
x5+10x3+x+1x4=x5x4+10x3x4+xx4+1x4=x+10x+1x3+1x4\dfrac{x^5+10x^3+x+1}{x^4}= \dfrac{x^5}{x^4}+\dfrac{10x^3}{x^4}+\dfrac{x}{x^4}+\dfrac{1}{x^4}=x+\dfrac{10}{x}+\dfrac{1}{x^3}+\dfrac{1}{x^4}x4x5+10x3+x+1=x4x5+x410x3+x4x+x41=x+x10+x31+x41
⟹ x+10x−1+x−3+x−4\implies x+10x^{-1}+x^{-3}+x^{-4}⟹x+10x−1+x−3+x−4
Degree of polynomial = 1
So, it is not O(x4)O(x^4)O(x4)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments