This picture is not 100% true. Sin signal on the left should be biased, so "zero" line should be under sin. In configuration like this it is not going to work.