Hi.

Sorry If I posted in the wrong section but couldn't find a more appropriate one.

How would you prove this theorem?

If $\displaystyle f1$ is$\displaystyle O(g1) $and $\displaystyle f2$ is O(g2), then $\displaystyle (f1+f2) $is $\displaystyle O(max{|g1|, |g2|}).$

Thanks in advance