Let:
y=(x−3)(x−4)(x−5)(x−1)(x−2)
Taking logs on both sides, we have:
logy=21[log(x−1)+log(x−2)−log(x−3)−log(x−4)−log(x−5)]
Differentiating both sides with respect to x:
y1⋅dxdy=21[x−11⋅dxd(x−1)+x−21⋅dxd(x−2)−x−31⋅dxd(x−3)−x−41⋅dxd(x−4)−x−51⋅dxd(x−5)]
Simplifying:
dxdy=21⋅y[x−11+x−21−x−31−x−41−x−51]
Putting the value of y from the earlier equation, we get:
dxdy=21(x−3)(x−4)(x−5)(x−1)(x−2)[x−11+x−21−x−31−x−41−x−51]