# If f(x) = 3x + 5 and g(x) = x^2, what is f(x) + g(x)?

Jun 20, 2018

${x}^{2} + 3 x + 5$

#### Explanation:

You can simply add the definition of the function: starting from

$f \left(x\right) + g \left(x\right)$

substitute $f \left(x\right)$ with its definition $3 x + 5$, and $g \left(x\right)$ with its definition ${x}^{2}$ to get

$\textcolor{red}{f \left(x\right)} + \textcolor{b l u e}{g \left(x\right)} = \textcolor{red}{3 x + 5} + \textcolor{b l u e}{{x}^{2}}$

If you prefer, you can rearrange the polynomial in the usual order:

${x}^{2} + 3 x + 5$