Reading the graphs. The line for f passes through (−2,−1), (0,1) and (3,4), so f(x)=x+1. The graph of g is the horizontal segment y=2 from (−2,2) to (0,2), and then the segment from (0,2) to (3,−1), which has slope −1:
g(x)={2,2−x,−2≤x≤00≤x≤3
(i) (f+g)(1)=f(1)+g(1)=2+1=3. (1 mark)
(ii) (f−g)(x)=0 means f(x)=g(x). Check each piece.
- On [−2,0]: x+1=2 gives x=1, which is not in [−2,0]. No solution here.
- On [0,3]: x+1=2−x gives x=21, which is in [0,3].
So the only solution is x=21, where the two graphs cross. (1 mark)
(iii) (fg)(x)=f(x)⋅g(x).
- On [−2,0]: (fg)(x)=2(x+1) rises from −2 to 2, so it takes every value in [−2,2].
- On [0,3]: (fg)(x)=(x+1)(2−x)=−x2+x+2=49−(x−21)2.
On [0,3], (x−21)2 runs from 0 (at x=21) to 425 (at x=3), so this piece takes every value in [49−425,49]=[−4,49]. (1 mark)
Combining the pieces, [−2,2]∪[−4,49]=[−4,49]. The range of fg is [−4,49]: the lowest value is (fg)(3)=4×(−1)=−4 and the highest is (fg)(21)=23×23=49. (1 mark)
