Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2015/discrete-mathematics-continuous-mathematics-and-probability/1/d/i/solution

Seek an affine function . Its function composition with itself is
Equating coefficients requires and . Because and , either choice or has . Thus two valid functions are
Substitution into verifies each answer. These provide the requested maps; no assumption that every possible solution is affine function is needed.

New to topics? Read the docs here!