Hello, Mathsdog!

As part of the differentiation of the sigmoid function the following step occurs:

. .

But I just can't see my way through the algebra.

A strange step . . . I wouldn't call it "simplifying".

. . . . . .

. . . . . .

In the second fraction, add and subtract to the numerator:

. . . . . .

. . . . . .

. . . . . .