document.write( "Question 135067: What is the difference between domain and range? Describe a real-life situation that could be modeled by a function.\r
\n" ); document.write( "\n" ); document.write( "Can someone explain this so I can understand it?
\n" ); document.write( "

Algebra.Com's Answer #98893 by vleith(2983)\"\" \"About 
You can put this solution on YOUR website!
The domain is the set of all valid value for the 'independent' variable. The range is the set of the resulting 'dependent' variable.\r
\n" ); document.write( "\n" ); document.write( "So, let's say you had a function like \"y+=+5+%2B+2x\"
\n" ); document.write( "Then the domain is the set of all valid values for x and the range is the values you would get for all the 'y' when you subbed in all the 'x's.\r
\n" ); document.write( "\n" ); document.write( "As far a a function goes, let's say you want to go to a local theme park. Tickets are $25 and parking is $10.\r
\n" ); document.write( "\n" ); document.write( "The total price for a family is given by \"P+=+25a+%2B+10\" where a is the number of people in the family.\r
\n" ); document.write( "\n" ); document.write( "For that function the domain is all values of 'a' that are positive (no family has 0 or negative number of members).\r
\n" ); document.write( "\n" ); document.write( "The range is (35, 60, 85, 110, etc... like that)
\n" ); document.write( "
\n" );