In this video on Machine Learning, https://www.youtube.com/watch?v=ASn7ExxLZws , the lecturer suggests that it is good to try to prove this:
$$\sigma(-x) = 1 - \sigma(x)$$
Where: $$\sigma(x) = \frac{1}{1 + e^{-x}}$$
I produced this proof. It is a very long time since I did mathematics.
Substitute in the sigmoid formula: $$\frac{1}{1 + e^x} = 1 - \frac{1}{1 + e^{-x}}$$
Minus 1 from both sides: $$\frac{1}{1 + e^x} - 1 = - \frac{1}{1 + e^{-x}}$$
Substitute: $e^{-x} = \frac{1}{e^x}$: $$\frac{1}{1 + e^x} - 1 = - \frac{1}{1 + \frac{1}{e^x}}$$
Multiply both sides by $1 + \frac{1}{e^x}$: $$\frac{1 + \frac{1}{e^x}}{1 + e^x} - 1 - \frac{1}{e^x} = -1$$
Add 1 to both sides: $$\frac{1 + \frac{1}{e^x}}{1 + e^x} - \frac{1}{e^x} = 0$$
Add $\frac{1}{e^x}$ to both sides: $$\frac{1 + \frac{1}{e^x}}{1 + e^x} = \frac{1}{e^x}$$
Multiply both sides by $1 + e^x$: $$1 + \frac{1}{e^x} = \frac{1 + e^x}{e^x}$$
Multiply both sides by $e^x$: $$e^x + 1 = 1 + e^x$$
Is this correct?