Logistic function

l(x)=ln(x)l2(x)=ln(1x)

Such that:

limx0l(x)=limx1l(x)=0limx0l2(x)=0limx1l(x)=

where, for both:

l(0.5)=l2(0.5)=ln(2)
top=0.5; bottom=-10.5
left=-1; right=2
---
y=\ln{x}
y=\ln{(1-x)}
y=-\ln{2}
limx0xln(x)=0limx1xln(x)=0limx0(1x)ln(1x)=0limx1(1x)ln(1x)=0limx0(1x)ln(x)=limx1(1x)ln(x)=0limx0xln(1x)=0limx1xln(1x)=
top=0.5; bottom=-2.5
left=-0.5; right=1.5
---
y=x\ln(x)
y = (1-x)\ln(1-x)
y=(1-x)\ln(x)
y=x\ln(1-x)
def l(x):
	return np.log(x)

def l2(x):
	return np.log(1-x)