We have f(x+1)=xf(x) and g(x)=lnf(x). Taking logarithms: g(x+1)=ln(xf(x))=lnx+g(x), so g(x+1)−g(x)=lnx.
Differentiating twice with respect to x: g′′(x+1)−g′′(x)=−x21.
Now we compute g′′(5)−g′′(1) by telescoping:
g′′(2)−g′′(1)=−121=−1
g′′(3)−g′′(2)=−221=−41
g′′(4)−g′′(3)=−321=−91
g′′(5)−g′′(4)=−421=−161
Adding all these: g′′(5)−g′′(1)=−1−41−91−161=−144144+36+16+9=−144205.
Therefore, ∣g′′(5)−g′′(1)∣=144205.