document.write( "Question 175673: A right triangle in the first quadrant is bounded by lines y = 0, y = x, and y = -x+5. Find its area \n" ); document.write( "
Algebra.Com's Answer #130804 by gonzo(654)\"\" \"About 
You can put this solution on YOUR website!
the lines y = x and y = -x + 5 are perpendicular to each other since their slopes are negative reciprocals of each other.
\n" ); document.write( "---
\n" ); document.write( "the line y = 0 means that one of the sides of the triangle will be on the x-axis.
\n" ); document.write( "that line forms the bottom of the triangle.
\n" ); document.write( "---
\n" ); document.write( "the intersection of the lines y = x, and y = -x + 5, will form the top of the triangle.
\n" ); document.write( "that point of intersection is found by solving y = x, and y = -x + 5 simultaneously.
\n" ); document.write( "---
\n" ); document.write( "since y = x, you can substitute in the second equation to get x = - x + 5 which solves to be x = 5/2.
\n" ); document.write( "since x = 5/2, then y also equals 5/2, so the intersection point is (5/2,5/2)
\n" ); document.write( "---
\n" ); document.write( "since the line y = x intersects the line y = 0 at the point (0,0), then (0,0) is also a point on the triangle.
\n" ); document.write( "---
\n" ); document.write( "since the line y = -x + 5 intersects the line y = 0 at the point (5,0), then (5,0) is the third point of the triangle.
\n" ); document.write( "---
\n" ); document.write( "if you label the triangle ABC starting from (0,0) and going around clockwise, then the 3 points on the triangle are:
\n" ); document.write( "A (0,0)
\n" ); document.write( "B (5/2,5/2)
\n" ); document.write( "C (5,0)
\n" ); document.write( "---
\n" ); document.write( "angle B is the right angle because it is the intersects of the two perpendicular lines AB and BC.
\n" ); document.write( "recall that AB is on the line with the equation y = x, and BC is on the line with the equation y = -x+4, and that these lines are perpendicular to each other because the slopes of their equations are negative reciprocals of each other.
\n" ); document.write( "---
\n" ); document.write( "to find the area, you need to use the formula A = 1/2 base * height.
\n" ); document.write( "since the right angle is at B, the base can be either AB or BC. we'll use AB.
\n" ); document.write( "since the base is AB, then the height is BC.
\n" ); document.write( "---
\n" ); document.write( "all we need to do is find the lengths of AB and BC and we can then plug into the equation to get the area.
\n" ); document.write( "---
\n" ); document.write( "the length of the line segment AB is square root of ((5/2 - 0)^2 + (5/2-0)^2).
\n" ); document.write( "this becomes square root of ((5/2)^2 + (5/2)^2).
\n" ); document.write( "this equals square root of (25/4 + 25/4) equals square root of (50/4) = 3.535533906....
\n" ); document.write( "---
\n" ); document.write( "the length of the line segment BC is square root of ((5/2-0)^2 + (5/2-5)^2)
\n" ); document.write( "this becomes square root of ((5/2)^2 + (-5/2)^2).
\n" ); document.write( "this equals square root of (25/4 + 25/4) equals square root of (50/4) = 3.535533906....
\n" ); document.write( "---
\n" ); document.write( "area of the triangle is 1/2 bh which equals 1/2 of .....
\n" ); document.write( "square root of (50/4) * square root of (50/4) which equals 1/2 of .....
\n" ); document.write( "(50/4) which equals ...
\n" ); document.write( "50/8 which equals 6.25.
\n" ); document.write( "---
\n" ); document.write( "area of the triangle is 50/8 = 6.25.
\n" ); document.write( "---
\n" ); document.write( "a graph of the triangle is shown below.
\n" ); document.write( "look below the graph for further comments.
\n" ); document.write( "\"graph+%28800%2C800%2C-2%2C6%2C-2%2C6%2Cx%2C-x%2B5%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );