Real number m,n,p,q such that f(g(x))=g(f(x)) has a solution
Source: 1976 AHSME Problem 10
May 15, 2014
AMC
Problem Statement
If m,n,p, and q are real numbers and f(x)=mx+n and g(x)=px+q, then the equation f(g(x))=g(f(x)) has a solution<spanclass=′latex−bold′>(A)</span>for all choices of m,n,p, and q<spanclass=′latex−bold′>(B)</span>if and only if m=p and n=q<spanclass=′latex−bold′>(C)</span>if and only if mq−np=0<spanclass=′latex−bold′>(D)</span>if and only if n(1−p)−q(1−m)=0<spanclass=′latex−bold′>(E)</span>if and only if (1−n)(1−p)−(1−q)(1−m)=0