Elimination of alcohols (dehydration)
The elimination of alcohols (dehydration) is a good method to get alkenes:
Elimination reactions are usually carried out at high temperatures.
If the elimination goes through an E1 mechanism, which is quite usual, the reaction produces carbocations which can lead to surprising results due to rearrangements. Look!
The simplified mechanism, that explains the production of the very same olefin from the two different alcohols, is as follows: