1976 AMC 12 Problem 10

Attempt Problem 10 of the 1976 AMC 12 below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 1976 AMC 12 solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

10.

If m,m, n,n, pp and qq are real numbers and f(x)=mx+nf(x)=mx+n and g(x)=px+q,g(x)=px+q, then the equation f(g(x))=g(f(x))f(g(x))=g(f(x)) has a solution
for all choices of m,m, n,n, pp and qq
if and only if m=pm=p and n=qn=q
if and only if mq−np=0mq-np=0
if and only if n(1−p)−q(1−m)=0n(1-p)-q(1-m)=0
if and only if (1−n)(1−p)(1-n)(1-p) −(1−q)(1−m)=0{}-(1-q)(1-m)=0
Answer: D
Concepts:functionlinear equationalgebraic manipulation
Small hint:
Expand both compositions before trying to solve for xx
Big hint:
The coefficients of xx are automatically equal, leaving a condition on the constant terms
Solution:
We have f(g(x))=mpx+mq+n,g(f(x))=pmx+pn+q. \begin{aligned} f(g(x))&=mpx+mq+n,\\ g(f(x))&=pmx+pn+q. \end{aligned} The xx-terms cancel for every x,x, so a solution exists exactly when mq+n=pn+q.mq+n=pn+q. Rearranging gives n(1−p)−q(1−m)=0.n(1-p)-q(1-m)=0.
Therefore, the correct answer is D.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.