Shortest Distance from Origin - 2D

Geometry Level 3

What is the shortest distance of the line 4 x 3 y = 12 4x - 3y = 12 from the origin in R 2 \mathbb{R}^{2} ?


Also try this problem in: 1D , 3D and 4D

Image Credit: Wikimedia Commons: H Padleckas


The answer is 2.4.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Pranshu Gaba
Mar 11, 2016

The following solutions shows various methods to solve this problem. They all look different, but they essentially use the same concept.

Let the shortest distance of the given line from the origin be d d .

Method 1: Distance of line from point formula.

For a line a x + b y + c = 0 a x + by + c =0 , the shortest distance from a point ( x 0 , y 0 ) (x_{0}, y_{0} ) has the formula

Shortest Distance = a x 0 + b y 0 + c a 2 + b 2 \text{Shortest Distance} = \frac{|ax_{0} + by_{0} + c | }{\sqrt{ a^{2} + b^{2} }}

The coordinates of the origin are ( 0 , 0 ) (0,0) . Our line is 4 x 3 y 12 = 0 4x - 3y - 12 = 0 . We can plug these values in the formula to get the distance.

d = 4 × 0 3 × 0 12 4 2 + ( 3 ) 2 = 0 + 0 12 25 = 12 5 = 2.4 \begin{aligned} d & = \frac{|4 \times 0 - 3 \times 0 - 12 | }{\sqrt{ 4^{2} + (-3)^{2} }} \\ & = \frac{|0 + 0 - 12 | }{\sqrt{25}} \\ & = \frac{12}{5} = \boxed{2.4} ~~~~ _\square \end{aligned}

The general form of this formula is proved in this note .


Method 2: Using area of triangle

If the line does not pass through the origin and if the line is not parallel to either of the coordinate axes, then it will intersect each of the coordinate axes once. Using three points: the origin, the x x -intercept and the y y -intercept, we can form a right triangle.

The above figure shows the graph of 4 x 3 y = 12 4x - 3y = 12 . (The triangle is highlighted in blue). Let the x x intercept of the line be p p and the y y intercept be q q . In this problem, p = 3 p = 3 and q = 4 q = -4 .

We can write the area of the triangle in two different ways.

Area = 1 2 × p × q = 1 2 × d × p 2 + q 2 \text{Area} = \frac{1}{2} \times |p| \times |q| = \frac{1}{2} \times d \times \sqrt{p^{2} + q^{2} }

From this, we can see that

d = p q p 2 + q 2 = 3 × 4 3 2 + ( 4 ) 2 = 12 25 = 12 5 = 2.4 \begin{aligned} d &= \frac{|p||q|}{\sqrt{p^{2} + q^{2} }} \\ & = \frac{|3| \times |-4| }{\sqrt{ 3^{2} + (-4)^{2} }} \\ & = \frac{12 }{\sqrt{25}} \\ & = \frac{12}{5} = \boxed{2.4} ~~~~ _\square \end{aligned}

I did not think of the second solution! Darn it. I took individual distances of the point of the intersection of the perpendicular from ( 3 , 0 ) and ( 0 , 4 ) (3,0) \text {and} (0,4) and then used Pythagoras theorem. Urgh I'm such an idiot.

I knew the first method, but I was too lazy to apply it :P

Mehul Arora - 5 years, 3 months ago

Log in to reply

Haha! Don't worry, we all solve problems in a complicated way sometimes. Your answer and your approach is correct, so it's alright.

Pranshu Gaba - 5 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...