In this question you will derive a general formula for the distance of a point from a line. Let P be the point (p,q) and L the line y=mx+b. The slope of L is . The slope of a line perpendicular to L is . The line through P perpendicular to L can be written as y=sx+c where s is: and c is: . That line intersects L in the point Q=(u,v), where u is: and v is: . The distance of P and Q is . (Note, all answers must be in terms of m, b, p and q.)
@one2345
the slope of L is m
just kidding i didn't get all of it
The slope of a line perpendicular to L is -1/m?
the slope of a line that is perpindicular is -1/m
yes
The line through P perpendicular to L can be written as y=sx+c where s is: ? and c is: ?
@jayzdd
s = -1/m
c= ?
@jayzdd
@jayzdd That line intersects L in the point Q=(u,v), where u is: ? and v is: ? The distance of P and Q is ?
A) m B) -1/m C) line through (p,q) with slope -1/m y - q = -1/m ( x - p) y = -1/m * x + p/m + q s = -1/m c = p/m + q
whats u and v? @jayzdd
That line intersects L in the point Q=(u,v), where u is: and v is: . The distance of P and Q is .
its easier if we graph this |dw:1445580075778:dw|
so what does that mean
whats u, v & The distance of P and Q is
that is what you are given, a point P(x,y) and a line L given by the equation y = mx + b. We want to find the distance from P(x,y) to line L
ok
to do this, we draw a perpendicular line through P(x,y)|dw:1445580232406:dw| the equation of this perpendicular line is y - q = -1/m ( x - p) solving for y y = -1/m * x + p/m + q
ok
ok
what is the correct answer for x?
Now we want to find the intersection of the perp. line and the line L . We will call this intersection point Q(u,v). At the intersection point the y values of the two lines are the same y= mx + b y = -1/m*x + p/m + q set them equal mx + b = -1/m*x + p/m + q solve for x mx +1/m* x = p/m + q - b x ( 1 + 1/m) = p/m + q -b x = ( p/m + q -b) / (1 + 1/m)
and i still need That line intersects L in the point Q=(u,v), where u is: and v is:
ok
whats u & v
That line intersects L in the point Q=(u,v), where u is: and v is:
u = ( mq + p - bm) / (1 + m^2)
whats v?
@jayzdd
v = (m^2*q+m*p+b)/(m^2+1)
u and distance were wrong
i didnt find the distance yet
show me a screenshot of the error
oh what is it
it just says its not correct for u
u said u is u = ( mq + p - bm) / (1 + m^2)
got u
need distance and then we're done :)
$$u = \frac{-bm + p + mq} {m^2 + 1}$$
got u need distance
its correct now?
i put it in wrong u had it correct
i just need the distance now
Join our real-time social learning platform and learn together with your friends!