---------------------------------------------------
So basically I got bored during math class (if you can call this math) and I decided to redo a question of my math exam on high school.
---------------------------------------------------
The question was something like this:
There are two buildings along a road. The distances between the buildings and the road are 50 meters and 80 meters respectively. The distance between the two buildings is 100 meters (from the center of the building, don't take the dimensions of the building into consideration).
They want to build a bus stop on the road and make two straight walkways from the bus stop to the buildings (two Pythagorean triangles basically).
At what distance is the length of the two walkways combined the smallest?
---------------------------------------------------
What I have is this:
f(x) = sqrt(50^2 + x^2) + sqrt(80^2 + (100-x)^2)
I hope this formula makes sense. It's the length of the two hypoteni combined.
f(x) = sqrt(x^2 + 2500) + sqrt(x^2 - 200x + 16400)
f(x) = (x^2 + 2500)^(1/2) + (x^2 - 200x + 16400)^(1/2)
say u = x^2 + 2500 say v = x^2 - 200x + 16400
f(x) = u^(1/2) + v^(1/2)
f'(x) = u(-1/2) * u' + v(-1/2) * v' (chain rule)
f'(x) = 1/(2*sqrt(x^2 + 2500)) * 2x + 1/(2*sqrt(x^2 - 200x + 16400)) * (2x - 200)
f'(x) = 2x/(2*sqrt(x^2 + 2500)) + (2x - 200)/(2*sqrt(x^2 - 200x + 16400))
2x/(2*sqrt(x^2 + 2500)) + (2x - 200)/(2*sqrt(x^2 - 200x + 16400)) = 0
---------------------------------------------------
This is where I got stuck. I tried doing the square of it and then dividing everything by 4.
2x/(2*sqrt(x^2 + 2500)) + (2x - 200)/(2*sqrt(x^2 - 200x + 16400)) = 0
4x^2/(4(x^2 + 2500)) + (4x^2 - 800x + 40000)/(4*(x^2 - 200x + 16400)) = 0
4x^2/(4x^2 + 10000) + (4x^2 - 800x + 40000)/(4x^2 - 800x + 65600) = 0
x^2/(x^2 + 2500) + (x^2 - 200x + 10000)/(x^2 - 200x + 16400) = 0
That just made the numbers different, solving it was still the question.
---------------------------------------------------
I hope it's clear. When typing was it, it felt quite hectic...
Maybe someone can help?
---------------------------------------------------
So basically I got bored during math class (if you can call this math) and I decided to redo a question of my math exam on high school.
---------------------------------------------------
The question was something like this:
There are two buildings along a road. The distances between the buildings and the road are 50 meters and 80 meters respectively. The distance between the two buildings is 100 meters (from the center of the building, don't take the dimensions of the building into consideration).
They want to build a bus stop on the road and make two straight walkways from the bus stop to the buildings (two Pythagorean triangles basically).
At what distance is the length of the two walkways combined the smallest?
---------------------------------------------------
What I have is this:
f(x) = sqrt(50^2 + x^2) + sqrt(80^2 + (100-x)^2)
I hope this formula makes sense. It's the length of the two hypoteni combined.
f(x) = sqrt(x^2 + 2500) + sqrt(x^2 - 200x + 16400)
f(x) = (x^2 + 2500)^(1/2) + (x^2 - 200x + 16400)^(1/2)
say u = x^2 + 2500 say v = x^2 - 200x + 16400
f(x) = u^(1/2) + v^(1/2)
f'(x) = u(-1/2) * u' + v(-1/2) * v' (chain rule)
f'(x) = 1/(2*sqrt(x^2 + 2500)) * 2x + 1/(2*sqrt(x^2 - 200x + 16400)) * (2x - 200)
f'(x) = 2x/(2*sqrt(x^2 + 2500)) + (2x - 200)/(2*sqrt(x^2 - 200x + 16400))
2x/(2*sqrt(x^2 + 2500)) + (2x - 200)/(2*sqrt(x^2 - 200x + 16400)) = 0
---------------------------------------------------
This is where I got stuck. I tried doing the square of it and then dividing everything by 4.
2x/(2*sqrt(x^2 + 2500)) + (2x - 200)/(2*sqrt(x^2 - 200x + 16400)) = 0
4x^2/(4(x^2 + 2500)) + (4x^2 - 800x + 40000)/(4*(x^2 - 200x + 16400)) = 0
4x^2/(4x^2 + 10000) + (4x^2 - 800x + 40000)/(4x^2 - 800x + 65600) = 0
x^2/(x^2 + 2500) + (x^2 - 200x + 10000)/(x^2 - 200x + 16400) = 0
That just made the numbers different, solving it was still the question.
---------------------------------------------------
I hope it's clear. When typing was it, it felt quite hectic...
Maybe someone can help?
---------------------------------------------------





Comment