Go Back   FlashFlashRevolution > Life & The Arts > Critical Thinking > Homework & General Information Forum

Homework & General Information Forum This is a forum to ask for assistance with your homework, as well as seeking and providing information on a variety of subjects

Reply
 
Thread Tools Display Modes
Old 05-15-2012, 05:26 AM   #1
SKG_Scintill
Nuffnuff
FFR Simfile Author
 
SKG_Scintill's Avatar
 
FFR Veteran
Join Date: Feb 2009
Age: 20
Posts: 2,256
Default Stuck with an old math question

---------------------------------------------------

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?

---------------------------------------------------
__________________
Jan 2013: May 2013:
Mother of god, I'm getting worse...

Quote:
Originally Posted by TC_Halogen View Post
I don't "know" what he meant because I disagree.

AlexDest: i should have given twister a 10/10
Charu: Twister is the best file hands down this week.
hi19hi19: Twister is stepped almost exactly the same as I would do with that song so naturally I fckin love it
Scintill you are like the same person as me but more handsome and a little better at stepping. I'm pretty jelly
igotrhythm: ermahgerd. So many colors.
iironiic: Twister twisted my heart <3
mRpREggERs: Twister is my fucking kind of file GOOD FUCKING JOB SKG ily
noname219: Wow. Never had so much fun in a file.
Poison-: Holy Orders is still way better, sorry.
qqwref: Twister is fucking beautiful. That is all.
Razor: Twister DF version was godlike. Twister FFR version is godlike.
SC_coolguy44: This was probably my favourite file this week.
VisD: Twister was really awesome even if I still did terrible
Xx{Midnight}xX: Bear my children.
yo man im awesome: fking Twister omg. I love you Scintill

Best FFR file from 2012
1st: Twister

Last edited by SKG_Scintill; 05-15-2012 at 05:29 AM..
SKG_Scintill is offline   Reply With Quote
Old 05-15-2012, 07:14 AM   #2
dag12
FFR Simfile Author
FFR Simfile Author
 
dag12's Avatar
 
FFR Veteran
Join Date: Dec 2004
Posts: 462
Send a message via AIM to dag12
Default Re: Stuck with an old math question

starting from 2x/(2*sqrt(x^2 + 2500)) + (2x - 200)/(2*sqrt(x^2 - 200x + 16400)) = 0,
move one term over to the other side of the equal sign. Then cross multiply. You should be able to solve it from there.
dag12 is offline   Reply With Quote
Old 05-15-2012, 07:41 AM   #3
emerald000
the Mathemagician~
 
emerald000's Avatar
 
FFR Veteran
Join Date: Nov 2005
Location: Saint-Hyacinthe, Quebec
Age: 22
Posts: 1,186
Send a message via MSN to emerald000 Send a message via Skype™ to emerald000
Default Re: Stuck with an old math question

Let's see:

The distance between the buildings at the road is sqrt(100²-(80-50)²) = 10 sqrt(91).



So you will want to minimize y = sqrt(50²+x²) + sqrt(80²+(10sqrt(91)-x)²)

You can follow dag12's advice once you get to the same step.
emerald000 is offline   Reply With Quote
Old 05-15-2012, 04:41 PM   #4
igotrhythm
Shojo desu ka?
 
igotrhythm's Avatar
 
FFR Veteran
Join Date: Sep 2004
Location: Meesheegan
Age: 27
Posts: 5,073
Send a message via Skype™ to igotrhythm
Default Re: Stuck with an old math question

This is where your calculus comes in. To find a local minimum/maximum, take the derivative of the right side with respect to x (there's a lot of chain-ruling going on here, so be careful) then define 0 <= x <= 10sqrt(91), x being the distance from one arbitrarily selected building to the bus stop. Find all values of x for which the derivative equals zero, and those will be your critical numbers.

Go back to the original expression Emerald posted up, substitute each critical number for x as well as the endpoints of the interval to see which value of x yields the smallest value for y. This will be your answer.
__________________
Quote:
Originally Posted by TC_Halogen View Post
EDIT: you're credited on the front page for humiliating me ;_;
igotrhythm is online now   Reply With Quote
Old 05-15-2012, 04:54 PM   #5
SKG_Scintill
Nuffnuff
FFR Simfile Author
 
SKG_Scintill's Avatar
 
FFR Veteran
Join Date: Feb 2009
Age: 20
Posts: 2,256
Default Re: Stuck with an old math question

Dammit, I knew it would be unclear somewhere.
The length that is 100 is along the road, where 10*sqrt(91) is now

Also I figured it out with dag12's advice, should've mentioned that earlier
__________________
Jan 2013: May 2013:
Mother of god, I'm getting worse...

Quote:
Originally Posted by TC_Halogen View Post
I don't "know" what he meant because I disagree.

AlexDest: i should have given twister a 10/10
Charu: Twister is the best file hands down this week.
hi19hi19: Twister is stepped almost exactly the same as I would do with that song so naturally I fckin love it
Scintill you are like the same person as me but more handsome and a little better at stepping. I'm pretty jelly
igotrhythm: ermahgerd. So many colors.
iironiic: Twister twisted my heart <3
mRpREggERs: Twister is my fucking kind of file GOOD FUCKING JOB SKG ily
noname219: Wow. Never had so much fun in a file.
Poison-: Holy Orders is still way better, sorry.
qqwref: Twister is fucking beautiful. That is all.
Razor: Twister DF version was godlike. Twister FFR version is godlike.
SC_coolguy44: This was probably my favourite file this week.
VisD: Twister was really awesome even if I still did terrible
Xx{Midnight}xX: Bear my children.
yo man im awesome: fking Twister omg. I love you Scintill

Best FFR file from 2012
1st: Twister
SKG_Scintill is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 01:51 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution