0
  • Prove that $$\frac{2x^{2}+x}{x+1}$$ is in $O(x)$
Alex
  • 19,262
M.E.
  • 247

2 Answers2

1

$\frac{2 x^2 +x}{x+1} <\frac{2x^2 +x^2}{x}=3x=O(x)$.

Alex
  • 19,262
0

By definition, we have that

$$\frac{2x^2+x}{x+1}=\mathcal O(x)\iff \exists\,\text{a constant}\;M\;\;s.t.\;\;\left|\frac{\frac{2x^2+x}{x+1}}x\right|=\left|\frac{2x+1}{x+1}\right|\le M$$

But we know that

$$\lim_{x\to\pm\infty}\frac{2x+1}{x+1}=2\;,\;\;\;\text{ so}\ldots$$

DonAntonio
  • 211,718
  • 17
  • 136
  • 287