Processing math: 100%
 
+0  
 
+1
99
11
avatar+2668 

Compute the length of the shortest path that starts at the origin, touches the line y = 2x - 4, and then ends at (0, 1). 

 

I now know the answer but don't know how to solve it. Any help would be appreciated! 

 Apr 29, 2023
 #1
avatar
+2

The shortest path that starts at the origin, touches the line y = 2x - 4, and then ends at (0, 1) is a straight line segment. The length of this line segment is sqrt(2^2 + (-4 - 1)^2) = sqrt(21).

 Apr 29, 2023
 #2
avatar+2668 
+1

Sorry, but that's incorrect. The correct answer is actually 17, even though I don't know how to get it. 

 

Thanks so much for your attempt, though!

BuilderBoi  Apr 30, 2023
 #3
avatar+15073 
+2

 the length of the shortest path 

 

Hello BuilderBoy!

 

y=2x4P1(0,0)P(x,2x4)P2(0,1)

L21,P=x2+y2=x2+(2x4)2L2P,2=x2+(1y)2=x2+(12x+4)2L21,P+L2P,2=x2+(2x4)2+x2+(52x)2

d(L21,P+L2P,2)dx=2x+2(2x4)2+2x+2(52x)(2)=04x+8x1620+8x=020x=36xP=1.8yp=0.4P(1.8,0.4)

You can calculate the distances between the points. The two-point equation is called: 

L=(y2y1)2+(x2x1)2

Have fun.

 Apr 30, 2023
edited by asinus  Apr 30, 2023
edited by asinus  Apr 30, 2023
edited by asinus  Apr 30, 2023
edited by asinus  Apr 30, 2023
 #4
avatar+2668 
+1

Then the distance from (0,0) to (1.8,0.4) is (1.8)2+(0.4)2=855 and the distance from (0,1) to (1.8,0.4) is (1.8)2+(1.4)2=1305

 

Adding the two gives us 85+13054.12426 but the correct answer was 174.12311

BuilderBoi  Apr 30, 2023
 #5
avatar
0

This is EZ if you know calculus.

 Apr 30, 2023
 #8
avatar+2668 
0

Why don't you solve it then?

BuilderBoi  Apr 30, 2023
edited by BuilderBoi  Apr 30, 2023
 #6
avatar+118703 
+2

Thanks Asinus and also Builderboi 

 

I have another method.

 

This is a question where the maths is super easy but understaning the concept may be a lot more challenging.

 

Rule: The shortest distance between 2 points is a line.

 

I have reflected the line AB  around  the line x=2 to get the line A'B'

Now to go from A to any point on the doted line and then back to B ist the same as going from A to that same point and then to B'

The shortest distance from A to B' is a straight line.  The length is     42+11=17

 

 

 

 

Now you can find the actual point where the distance will be least using calculus but that is definitely not easy so I did it graphically.

 

 

 

 

I let the point giving the shortest distance be G

AG=EC   drew the circle

BG=AE   drew the circle.

Point G is where the circles and the line all cross each other.

 Apr 30, 2023
 #7
avatar+2668 
+1

Thanks for the explanation Melody, but why did you reflect AB over x = 2 in particular?

BuilderBoi  Apr 30, 2023
 #9
avatar+118703 
+1

That is a very good question and maybe one I will struggle with explaining.

 

You have the initial interval AB

I drew 2 lines that were perpendicular to AB and therefore parallel to each other. 

I called them BC and AD   but the exact position of C and D is not set yet

The line crossed AD at 2 units.

So  the lines must go right 2 up one and left 2.    I changed that to out 4 and up one.

 

So now I have the rectangle aa'b'b    

going diagonally the closest way to get from A to B'  is in a straight line.

Melody  Apr 30, 2023
 #10
avatar+2668 
+1

Oh... I get it now. Thanks so much, Melody, Asinus, and Guest!

BuilderBoi  Apr 30, 2023
 #11
avatar+141 
+1

(-1.6, 0.8)

Step-by-step explanation:

Given, equation of the line is y = 2x + 4 --- (1)

Closest point from origin will be the perpendicular distance from origin to the line.

We need to find out equation of the perpendicular from (0,0) on y = 2x + 4.

The equation is in slope intercept form i.e. y = mx + c

Slope, m = 2

Slope of the perpendicular = -(1/m) = -1/2

Equation of the perpendicular is found by (y - y1) = m (x - x1)

⇒ y - 0 = (-1/2) (x - 0)

⇒ y = (-1/2)x

⇒ 2y + x = 0 --- (2)

Solving (1) and (2), we get,

⇒ 5x = -8

⇒ x = -8/5

Substiute x = -8/5 in eq(2), we get

⇒ y = 4/5

x = -1.6 and y = 0.8

Therefore, the point on the line y = 2x + 4 closest to origin is (-1.6, 0.8)

 May 1, 2023

1 Online Users