document.write( "Question 1040391: Can I please have your assistance? Let D be the set of all calendar dates from 4/30/1789 to 9/25/2014? Let P be the set of names of U.S. presidents. Let F be the set of names of first ladies of the U.S. Consider the following two functions pres: D arrow P where pres (d) is the name of the president of the U.S on the date d (the incumbent on inauguration days, to avoid ambiguity) and lady: P arrow F where lady (p) is the name of the first lady of the U.S. during the presidency of president p. Question: Can the composition pres o lady be defined? What about lady o pres? \n" ); document.write( "
Algebra.Com's Answer #655320 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
The composition pres o lady cannot be defined, since the value of the function lady has the name of a first lady as a function value, but the function pres has the dates of presidential inauguration as domain values.\r
\n" ); document.write( "\n" ); document.write( "The composition lady o pres CAN be defined. The function pres has range values from P, which can be substituted into the function lady.
\n" ); document.write( "Symbolically, \r
\n" ); document.write( "\n" ); document.write( "D-->P-->F, \r
\n" ); document.write( "\n" ); document.write( "or the composition would bring D into P into F.
\n" ); document.write( "
\n" );