Consider the function f:mathbbR→mathbbR defined by
f(x)=⎩⎨⎧px+q,x2+1,ax+b,x<1,1≤x≤4,x>4,
where p,q,a,b are real constants. In addition, the graph of f passes through the points (0,2) and (5,10).
a. (i) Using the given information, obtain the relation between p and q that follows from f(0)=2.
b. (ii) Apply the condition of continuity at x=1 to form a second equation in p and q, and hence determine the values of p and q.
c. (iii) Use the condition of continuity at x=4 to obtain a relation between a and b.
d. (iv) Employ the fact that f(5)=10 to find the numerical values of a and b.
e. (v) With the constants now fixed, prove that f is continuous at every real number.