# Math Help - determining multipart functions

1. ## determining multipart functions

The graph of a function y = g(x)
on the domain −4x4
consists of line segments and semicircles of radius 1 connecting the points (−4, 0), (−2, 2), (0, 2), (2, 2), (4, 0).

(c) Find the multipart formula for y=g(x)
if -4≤x≤-2
if -2≤x≤0
if 0≤x≤2
if 2≤x≤4

to solve this, I used the formula of the line for
(-4≤x≤-2) = y= -x-4
(2≤x≤-2) = y=

and the pos/neg semi-circle equations for
(-2≤x≤0) =y =2+sqrt(x2-2x)
(0≤x≤2) = y = 2-sqrt(x2-2x)

But none of my answers were correct. what should I try now?

2. ## Re: determining multipart functions

Originally Posted by UWstudent
The graph of a function y = g(x)
on the domain −4 ≤ x ≤ 4
consists of line segments and semicircles of radius 1 connecting the points (−4, 0), (−2, 2), (0, 2), (2, 2), (4, 0).

(c) Find the multipart formula for y=g(x)
if -4≤x≤-2
if -2≤x≤0
if 0≤x≤2
if 2≤x≤4
From $(-4,0)\to (-2,2)$ the slope of the line is positive $1$.

3. ## Re: determining multipart functions

Oh! I was doing this problem wayyy too late last night (early this morning..)
My approach was correct, I just made calculation errors on all of them
I got:
x+4
2+sqrt1-(x+1)^2
2-sqrt1-(x-1)^2
-x+4