document.write( "Question 1082961:
\n" );
document.write( "f(x)= x when 0 < x <= 1
\n" );
document.write( " 2-x when 1 < x <=2\r
\n" );
document.write( "\n" );
document.write( "find out CDF of it \n" );
document.write( "
Algebra.Com's Answer #696985 by jim_thompson5910(35256)![]() ![]() ![]() You can put this solution on YOUR website! Given piecewise function \n" ); document.write( " ![]() \n" ); document.write( "-------------------------------------------------------------------------------------- \n" ); document.write( "To find the CDF function F(x), we integrate each piece of the piecewise function f(x). \n" ); document.write( "For the first piece: \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "where 0 < k <= 1 \n" ); document.write( "So the first piece of F(x) is \n" ); document.write( "-------------- \n" ); document.write( "Repeat for the other piece \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "where 1 < m <= 2 \n" ); document.write( "Since the area is cumulative, we need to include the green shaded triangle (shown below) that has area 1*1/2 = 1/2 \n" ); document.write( " ![]() \n" ); document.write( "This green triangle area is represented by F(x) when x = 1. \n" ); document.write( "It comes from the first part of the piecewise function F(x) \n" ); document.write( "Add this on to the integral result to get \n" ); document.write( " \n" ); document.write( "making the second piece of F(x) to be \n" ); document.write( "-------------------------------------------------------------------------------------- \n" ); document.write( "So overall, the CDF function is \n" ); document.write( " ![]() \n" ); document.write( "which is the final answer \n" ); document.write( "-------------------------------------------------------------------------------------- \n" ); document.write( "Extra Information: \n" ); document.write( "Graph of the piecwise function f(x) in red, and the piecewise CDF function F(x) in blue \n" ); document.write( " ![]() \n" ); document.write( "Image generated by GeoGebra (free graphing software).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "As you can see, f(x) forms triangle. The base is 2 and the height is 1. The area under all of f(x) is therefore \n" ); document.write( "A = base*height/2 \n" ); document.write( "A = 2*1/2 \n" ); document.write( "A = 2/2 \n" ); document.write( "A = 1 \n" ); document.write( "Since the area under the function curve f(x) is 1, this confirms that f(x) is indeed a Probability Distribution Function (PDF). \n" ); document.write( " |