Labour economics

If machines become cheaper and can perform the same tasks as some workers, what is the likely effect on demand for those workers, holding output demand constant?