$x=O(x+5)$ True or False?
I think
$lim_{x \to \infty} \frac{x+5}{x}=1$, both the functions are growing at the same rate, so is $x=O(x+5)$ false.
But the solution is
true; $x < x + 5 \Rightarrow \frac{x}{x+5}< 1 $ if $x > 1$ (or sufficiently large)
$x=O(x+5)$ True or False?
I think
$lim_{x \to \infty} \frac{x+5}{x}=1$, both the functions are growing at the same rate, so is $x=O(x+5)$ false.
But the solution is
true; $x < x + 5 \Rightarrow \frac{x}{x+5}< 1 $ if $x > 1$ (or sufficiently large)
The big-O notation used for example to indicate
$$f(z) = \mathcal{O}g(z) ~~~~~~~~~~~~~ z\to z_0$$
means that $f(z)$ is asymptotically bounded by $g(z)$ in magnitude, as $z\to z_0$.
$$|f(z)| \leq C|g(z)|$$
So, is their ratio bounded in magnitude?
$$\left| \frac{x}{x+5} \right|$$
Hint: they are both linear functions.