For
![f](https://tex.z-dn.net/?f=f)
to be continuous at
![x=1](https://tex.z-dn.net/?f=x%3D1)
, you need to have the limit from either side as
![x\to1](https://tex.z-dn.net/?f=x%5Cto1)
to be the same.
![\displaystyle\lim_{x\to1^-}f(x)=\lim_{x\to1^-}(|x-1|+2)=2](https://tex.z-dn.net/?f=%5Cdisplaystyle%5Clim_%7Bx%5Cto1%5E-%7Df%28x%29%3D%5Clim_%7Bx%5Cto1%5E-%7D%28%7Cx-1%7C%2B2%29%3D2)
![\displaystyle\lim_{x\to1^+}f(x)=\lim_{x\to1^+}(ax^2+bx)=a+b](https://tex.z-dn.net/?f=%5Cdisplaystyle%5Clim_%7Bx%5Cto1%5E%2B%7Df%28x%29%3D%5Clim_%7Bx%5Cto1%5E%2B%7D%28ax%5E2%2Bbx%29%3Da%2Bb)
If
![a=2](https://tex.z-dn.net/?f=a%3D2)
and
![b=3](https://tex.z-dn.net/?f=b%3D3)
, then the limit from the right would be
![2+3=5\neq2](https://tex.z-dn.net/?f=2%2B3%3D5%5Cneq2)
, so the answer to part (1) is no, the function would not be continuous under those conditions.
This basically answers part (2). For the function to be continuous, you need to satisfy the relation
![a+b=2](https://tex.z-dn.net/?f=a%2Bb%3D2)
.
Part (c) is done similarly to part (1). This time, you need to limits from either side as
![x\to2](https://tex.z-dn.net/?f=x%5Cto2)
to match. You have
![\displaystyle\lim_{x\to2^-}f(x)=\lim_{x\to2^-}(ax^2+bx)=4a+2b](https://tex.z-dn.net/?f=%5Cdisplaystyle%5Clim_%7Bx%5Cto2%5E-%7Df%28x%29%3D%5Clim_%7Bx%5Cto2%5E-%7D%28ax%5E2%2Bbx%29%3D4a%2B2b)
![\displaystyle\lim_{x\to2^+}f(x)=\lim_{x\to2^+}(5x-10)=0](https://tex.z-dn.net/?f=%5Cdisplaystyle%5Clim_%7Bx%5Cto2%5E%2B%7Df%28x%29%3D%5Clim_%7Bx%5Cto2%5E%2B%7D%285x-10%29%3D0)
So,
![a](https://tex.z-dn.net/?f=a)
and
![b](https://tex.z-dn.net/?f=b)
have to satisfy the relation
![4a+2b=0](https://tex.z-dn.net/?f=4a%2B2b%3D0)
, or
![2a+b=0](https://tex.z-dn.net/?f=2a%2Bb%3D0)
.
Part (4) is done by solving the system of equations above for
![a](https://tex.z-dn.net/?f=a)
and
![b](https://tex.z-dn.net/?f=b)
. I'll leave that to you, as well as part (5) since that's just drawing your findings.