### Home > PC > Chapter 2 > Lesson 2.3.2 > Problem2-90

2-90.

Let $f(x) = \left\{ \begin{array} { c c c } { 2 - x ^ { 2 } } & { \text { for } } & { x \leq 1 } \\ { x } & { \text { for } } & { x > 1 } \end{array} \right.$

1. $g(x) = f(x) + 2$. Sketch the graphs of $f(x)$ and $g(x)$ on the same axes.

Shift the original function up $2$ units.

2. Write an equation for $g(x)$.

Since the function is shifted up, there is no change in the domain.
The first part of the function becomes $2-x^2+2$.