Solution:
Key idea: For functions f and g on R, (f+g)(x)=f(x)+g(x), (f−g)(x)=f(x)−g(x), and (gf)(x)=g(x)f(x), which is defined only where g(x)=0.
Step 1 — Find (i) f+g. We add the two expressions and collect like terms.
(f+g)(x)=(x+1)+(2x−3)
(f+g)(x)=3x−2
Step 2 — Find (ii) f−g. We subtract, taking care to change the sign of every term of g(x).
(f−g)(x)=(x+1)−(2x−3)
(f−g)(x)=x+1−2x+3
(f−g)(x)=4−x
Step 3 — Find where (iii) gf is defined. The quotient needs g(x)=0.
2x−3=0
x=23
Step 4 — Write (iii) gf. We divide f(x) by g(x) for every x=23.
(gf)(x)=2x−3x+1
Watch out: In (ii) the bracket −(2x−3) becomes −2x+3, not −2x−3.
Therefore, (i) (f+g)(x)=3x−2, (ii) (f−g)(x)=4−x, (iii) (gf)(x)=2x−3x+1 for x=23.