Parent function: $y=sinx$ (the grey dotted line on the image) first transform to: $y=sin\pi x$ (the red line on the image) second transform to: $y=sin\pi x +1$ (which is the same as $y=1+sin\pi x$) (the blue line on the image)
Work Step by Step
To graph the function $y=1+sin\pi x$, start by graphing the base (also called the parent), first we have to determine its parent function and graph it. Parent function will be $y=sinx$ (grey graph). First step will be to multiply $x$ by $\pi$ (shrinking the parent function horizontally by a factor of $\pi$), so we will get $y=sin\pi x$ (red graph). Now we have to add $1$ to this function and we will get $y=sin\pi x +1$ (shift the previous graph up by $1$ unit. (blue graph)).