Prove that $n^2 + 2n + 3$ is $O(n^2)$. Find values for $C$ and $k$ that prove that they work.
Edit: In particular, I don't at all understand how to find C and k.
I asked a similar question but every response went way over my head. The similar question is linked here. Sorry, I guess I'm not that smart!
I will try to give you a lengthy discussion of what $\mathcal O$ means. (All functions here are assumed non-negative, and their domains are the positive integers.)
You say $f = \mathcal O(g)$ if there exists $C > 0$ and $k > 0$ such that $Cg(n) > f(n)$ for all $n > k$.
Let's first investigate this definition when $C$ is not allowed to be chosen arbitrarily, but fixed at $1$.
$$ f = \mathcal O(g) \text{ if there exists } k > 0 \text{ such that } g(n) > f(n) \text{ for all } n > k. $$
This means that $g$ eventually dominates $f$.
For example, intuitively $n^2$ eventually dominates $2n$. (You can see this by plotting with Wolfram Alpha.) But you do have to prove formally that $n^2 > 2n$ actually holds when $n$ is big enough. By plugging in the first few test numbers, you can see that $3^2 > 2\cdot 3$, and $n^2$ continues to grow faster than $2n$ when $n > 2$. This gives you $k = 2$. Note, however, that you could also pick $k$ anything larger than $2$.
[I did skip one step when I claimed that $n^2$ continues to grow faster than $2n$ when $n > 2$. This can be proved by looking at the increment of each function as $n$ increases. Going from $n$ to $n + 1$, the first function increases by $(n+1)^2 - n^2 = 2n + 1$, while the second function increases by $2(n+1) - 2n = 2$. This means $n^2$ will grow faster than $2n$ when $2n + 1 > 2$, i.e., $n > \frac 12$. Since we pick $k = 2$, our claim above is valid.]
Next, we come to the discussion of $C$. The big O notation is intended to quantify the "degree of growth", so if we have a function, say $n^6$, we want to say that $n^6$, $2n^6$, $10n^6$ and so on all grow at the same degree. That is where $C$ comes into play.
Let me take the opportunity here to say that we could relax strict inequalities ($>$) in the definition of $\mathcal O$ to non-strict ones ($\ge$) without changing anything.
In the example you gave, $n^2 + 2n + 3$ is a sum of three terms: $n^2$, $2n$, and $3$. With the non-strict definition
Now you combine all these dominations into one by adding up $C$'s and taking the maximum of $k$'s. This can be written more formally as
For $n \ge 2$, \begin{align*} n^2 & \ge n^2 \\ n^2 & \ge 2n \\ n^2 & \ge 3 \\ \therefore 3n^2 & \ge n^2 + 2n + 3. \end{align*}
To conclude, the sentence $$ n \ge 2 \text{ implies } 3n^2 \ge n^2 + 2n + 3 $$ demonstrates $n^2 + 2n + 3 = \mathcal O(n^2)$ with $k = 2$ and $C = 3$.