SOLUTION: Detroit Road starts in the center of the city, and Lorain Road starts 4 miles west of the center of the city. Both roads run southeast. If these roads are put on a coordinate plane

Algebra ->  Length-and-distance -> SOLUTION: Detroit Road starts in the center of the city, and Lorain Road starts 4 miles west of the center of the city. Both roads run southeast. If these roads are put on a coordinate plane      Log On


   



Question 1136804: Detroit Road starts in the center of the city, and Lorain Road starts 4 miles west of the center of the city. Both roads run southeast. If these roads are put on a coordinate plane with the center of the city at (0, 0), Lorain Road is represented by the equation y=-x-4 and Detroit Road is represented by the equation y=-x. How far away is Lorain Road from Detroit Road?

Answer by ikleyn(52803) About Me  (Show Source):
You can put this solution on YOUR website!
.
To answer the question, it is enough to evaluate the distance from the point (0,0) to the line  y = -x - 4.


There is a remarkable formula which ideally suits for this need.


    Let the straight line in a coordinate plane is defined in terms of its linear equation 

         a*x + b*y + c = 0,

    where "a", "b" and "c" are real numbers, and let P = (x%5B0%5D,y%5B0%5D) be the point in the coordinate plane. 

    Then the distance from the point P to the straight line is equal to

        d = abs%28a%2Ax%5B0%5D+%2B+b%2Ay%5B0%5D+%2B+c%29%2Fsqrt%28a%5E2+%2B+b%5E2%29.


Regarding this formula, see the lesson
    The distance from a point to a straight line in a coordinate plane
in this site.


Your equation in general form is  x + y + 4 = 0.


So, your coefficients are a= 1, b= 1, c= 4,  x%5B0%5D = 0,  y%5B0%5D= 0.


Substitute this data    into the formula to get the distance under the question


    abs%281%2A0+%2B+1%2A0+%2B+4%29%2Fsqrt%281%5E2%2B1%5E2%29 = 4%2Fsqrt%282%29 = 2%2Asqrt%282%29.


Answer.  The distance under the question is 2%2Asqrt%282%29.

Solved.

--------------

Again,  the lessons to read on this topic are
    - The distance from a point to a straight line in a coordinate plane
    - HOW TO calculate the distance from a point to a straight line in a coordinate plane
    - Using formula for the distance from a point to a straight line in a plane to solve word problems
in this site.