Solution — click to reveal
First, for simplicity, let's make all the amounts of money into integers by considering them all in cents. For example, \5.43becomes543.LetthepurchasepricebeA=A_1A_2A_3andtheamountofchangebeB_1B_2B_3whereA_1representsthefirstdigitofA,B_1representsthefirstdigitofB,A_2representstheseconddigitofA,etc.<br/><br/>WeknowthatA+B=1000,andwecanconcludethatA_1+B_1=9becauseifA_1+B_1<9thenA+B<1000andifA_1+B_1=10thenA_2=B_2=A_3=B_3=0,butthentheonlywaythatBcanbearearrangementofthedigitsofAisifA_1=B_1=5,whichmeansA=B=500,buttheproblemstatesthatthepriceandtheamountofchangearedifferent.<br/><br/>Since9isodd,wecanalsoconcludethatA_1andB_1aredistinct,which,usingthefactthatA′sdigitscanberearrangedtogetB′sdigits,impliesthatA_1=B_2orA_1=B_3andB_1=A_2orB_1=A_3.WecanalsoobservethatAandBhavethesameremainderwhendividedby9becausetheremainderwhennisdividedby9isequaltotheremainderwhenthesumofthedigitsofnisdividedby9forallnandthesumofthedigitsofAisobviouslyequaltothesumofthedigitsofB.<br/><br/>Sincetheremainderwhen1000isdividedby9is1,wecaninfactconcludethattheremainderwhenAandBaredividedby9(andwhenthesumoftheirdigitsisdividedby9)is5.KeepinginmindthattwoofthedigitsofAareA_1andB_1andthatA_1+B_1=9,wecanconcludethattheotherdigitis5,whichistheonlydigitthatwouldresultinthesumhavingaremainderof5whendividedby9.Bysimilarlogicwecanconcludethat5isalsooneofthedigitsofB.Alittlethoughtmakesitclearthatatleastoneofthese5′sappearsasthelastdigitinitsnumber(thatis,A_3=5orB_3=5)sinceifneitherofthemappearsasthelastdigitinanumber,thenA_1=B_3andB_1=A_3andA_3+B_3=9\Rightarrow A+Bendsina9,whichisacontradiction.ButifA_3=5thentheonlywayforthesumofAandBtoendina0isforB_3=5,sowecanconcludethatA_3=B_3=5,A_1=B_2,andA_2=B_1.SooncewehavepickedavalueforA_1,theother5digitsarealldetermined.Sincebothamountsaregreaterthanadollar,weknowthatA_1canbeanynumberbetween1and8foratotalof8possibleprices(andthus8possibleamountsofchange).Todoublecheck,wecanworkoutAandBforeachvalueofA_1andreconvertthemtodollarstomakesurethatthepriceandtheamountofchangesatisfythegivenconditions:<br/><br/>A_1=1\Rightarrow A=\1.85, B=\8.15;<br/><br/>A_1=2\Rightarrow A=\2.75, B=\7.25;<br/><br/>A_1=3\Rightarrow A=\3.65, B=\6.35;<br/><br/>A_1=4\Rightarrow A=\4.55, B=\5.45;<br/><br/>A_1=5\Rightarrow A=\5.45, B=\4.55;<br/><br/>A_1=6\Rightarrow A=\6.35, B=\3.65;<br/><br/>A_1=7\Rightarrow A=\7.25, B=\2.75;andfinally<br/><br/>A_1=8\Rightarrow A=\8.15, B=\1.85.<br/><br/>Thisconfirmsthatthereare\boxed{8}$ possible amounts of change.