Sologuitar's question at Yahoo Answers (perpencicular distance)

  • MHB
  • Thread starter Fernando Revilla
  • Start date
In summary, the perpendicular distance from the origin to the line y = mx + b is the absolute value of b divided by the square root of the quantity (1+m^2).
  • #1
Fernando Revilla
Gold Member
MHB
631
0
Here is the question:

Show that the perpendicular distance from the origin to the line y = mx + b is the absolute value of b divided by the square root of the quantity (1 + m^2).

Here is a link to the question:

Perpendicular Distance From (0,0)? - Yahoo! Answers

I have posted a link there to this topic so the OP can find my response.
 
Mathematics news on Phys.org
  • #2
Hello sologuitar,

In general the distance from the point $P_0=(x_0.y_0)$ to the line $r:Ax+By+C=0$ is

$$d(P_0,r)=\left|\dfrac{Ax_0+By_0+C}{\sqrt{A^2+B^2}}\right|$$

In our case, $P_0=(0,0)$ and $r:mx-y+b=0$ so,

$$d(P_0,r)=\left|\dfrac{m\cdot 0+(-1)\cdot 0+b}{\sqrt{m^2+(-1)^2}}\right|=\dfrac{\left|b\right|}{\sqrt{1+m^2}}$$
 
  • #3
Hello sologuitar,

For a derivation of a similar formula to that cited by Fernando Revilla, see this topic:

http://www.mathhelpboards.com/f49/finding-distance-between-point-line-2952/
Mark.
 
  • #4
Hello, all!

I'll solve this "from scratch".


$\text{Show that the perpendicular distance from the origin to the line }L:\;y \,=\,mx+b$
$\text{is the absolute value of }b\text{ divided by the square root of }(1+m^2).$

Code:
        |
        | *
        |   *  P
        |     o
        |    /  *
        |   /     *
        |  /d       *
        | /           *
        |/              *
    - - * - - - - - - - - -
        |O
The line $L$ has slope $m$.
The line through the origin has slope $\text{-}\frac{1}{m}$.

Point $P$ is the intersection of lines $y \:=\:mx+b$ and $y \:=\:\text{-}\frac{1}{m}x$

. . $mx + b \:=\:\text{-}\dfrac{1}{m}x \quad\Rightarrow\quad mx + \dfrac{1}{m}x \:=\:\text{-}b$

. . $\dfrac{m^2+1}{m}x \:=\:\text{-}b \quad\Rightarrow\quad x \:=\:\dfrac{\text{-}bm}{1+m^2}$

Then $y \:=\:\text{-}\dfrac{1}{m}\left(\dfrac{\text{-}bm}{1+m^2}\right) \quad\Rightarrow\quad y \:=\:\dfrac{b}{1+m^2} $

Point $P$ has coordinates: $\left(\dfrac{\text{-}bm}{1+m^2},\:\dfrac{b}{1+m^2}\right)$Distance $OP$ is: .$d \;=\;\sqrt{\left(\dfrac{\text{-}bm}{1+m^2}\right)^2 + \left(\dfrac{b}{1+m^2}\right)^2} \;=\; \sqrt{\dfrac{b^2m^2}{(1+m^2)^2} + \dfrac{b^2}{(1+m^2)^2}} $

. . . . . . . . . . . $d \;=\;\sqrt{\dfrac{b^2(1+m^2)}{(1+m^2)^2}} \;=\;\sqrt{\dfrac{b^2}{1+m^2}} $

. . Therefore: .$d \;=\;\dfrac{|b|}{\sqrt{1+m^2}} $
 
  • #5


Hello Sologuitar,

Thank you for your question. The proof for the formula you mentioned can be shown using basic geometry and the Pythagorean Theorem.

Let's start by drawing a coordinate system with the origin (0,0) and the line y = mx + b. We know that the distance from the origin to any point on the line is the shortest distance, and this distance is perpendicular to the line.

Now, let's choose a point on the line with coordinates (x, mx + b). The distance from this point to the origin can be calculated using the Pythagorean Theorem:

d^2 = (x - 0)^2 + (mx + b - 0)^2
d^2 = x^2 + (mx + b)^2

Next, we want to find the minimum distance, which occurs when the point (x, mx + b) is perpendicular to the line. This means that the slope of the line connecting the origin to this point is the negative reciprocal of the slope of the given line, which is -1/m. Using this information, we can write the equation for this line as:

y = -1/mx + c

where c is the y-intercept of this line. Since this line passes through the point (x, mx + b), we can solve for c:

mx + b = -1/mx + c
c = mx + b + 1/mx

Now, let's substitute this value of c into our previous equation for d^2:

d^2 = x^2 + (mx + b)^2
d^2 = x^2 + (mx + b + 1/mx)^2

Next, we want to find the minimum value of d^2, which occurs when the derivative of d^2 with respect to x is equal to 0. Taking the derivative, we get:

d^2 = 2x + 2(mx + b + 1/mx)(m + 1/m)
d^2 = 2x + 2(m^2x + b + 1/m)
d^2 = 2x + 2m^2x + 2b + 2/m

Setting this equal to 0 and solving for x, we get:

x = -b/(1+m^2)

Substituting this value of x back into our equation for d^
 

FAQ: Sologuitar's question at Yahoo Answers (perpencicular distance)

What is "perpendicular distance"?

"Perpendicular distance" refers to the shortest distance between a point and a line or plane. In the context of Sologuitar's question at Yahoo Answers, it likely refers to the distance between a point and a line drawn on a graph.

How is perpendicular distance calculated?

The formula for calculating perpendicular distance varies depending on the specific scenario. In general, it involves finding the shortest distance between the point and the line using the Pythagorean theorem or a similar geometric method.

What is the importance of calculating perpendicular distance?

Calculating perpendicular distance can be helpful in various mathematical and real-world applications. For example, it can be used to determine the distance between a point and a road, the shortest distance between a point and a target, or the distance between a point and a line of symmetry.

What are some common uses of perpendicular distance in science?

Perpendicular distance is commonly used in fields such as physics, engineering, and geometry. In physics, it can be used to calculate the torque on a lever arm or the force exerted on an object by a magnetic field. In engineering, it is used to determine the shortest distance between two planes or the distance between a point and a structural component. In geometry, it is used to find the shortest distance between a point and a line, and to construct perpendicular lines.

Are there any real-world examples of calculating perpendicular distance?

Yes, there are many real-world examples of calculating perpendicular distance. For instance, surveyors use it to measure distances between points on a map, architects use it to ensure buildings are aligned properly, and pilots use it to calculate the distance between their aircraft and other objects in the air. It is also used in navigation, such as determining the distance between a ship and a lighthouse or between two ships at sea.

Back
Top