Real functions/Linear/Exercise

Which of the following functions are linear?

  1. The real exponential function.
  2. The zero function.
  3. The constant function with value .
  4. The squaring function .
  5. The function which halves every real number.
  6. The function which subtracts from every real number.