Finding Area: Solving a Homework Problem

In summary, two towns are 5 km and 7 km from a railroad line and freight trains pass through town A twice as often as town B.
  • #36
So will I differentiate this formula:

d = AS^2 + BS^2
or d = AS + BS
 
Physics news on Phys.org
  • #37
I differentiated d = AS^2 + BS^2 like this

d = AS^2 + BS^2
d = 25 + x^2 + 49 + (6-x)^2
da/dx = 2x - 2(6-x)
0 = 4x-12
x = 3.

The correct answer according my textbook is different though. :S
 
  • #38
bondgirl007 said:
The correct answer according my textbook is different though. :S

Sorry, I was thinking it would be possible to be spared having to take derivatives of the square roots, but it looks like that's unavoidable...

OK, so you want to take the square roots to get AS and BS and then minimize the function AS + BS. The algebra looks awful: you will have two terms with square roots in the denominators. But, since we want to know where this derivative is zero, we can add the two fractions and just look at when the numerator is zero.

You can put each term then on one side of the equation and square both sides to get rid of the radicals. While it now looks like you have polynomials of fourth degree, you will also find that a bunch of terms cancel out, so you really only end up with a quadratic polynomial to solve for zero. One of the solutions will be negative, so we can toss it out.
The other solution is 5/2 . Since that was the distance from C to S, the distance from D to S will be 6 - (5/2) = 7/2 km. , which matches the 21/6 you mentioned.
 
  • #39
I'm still not sure which one I should differentiate. If I do AS + BS then I get AS = 5+x and BS = 13-x. Won't the x cancel out when adding?
 
  • #40
What you have to differentiate is

d/dx [ sqrt{25 + x^2} + sqrt{49 + (6-x)^2} ]

and set the result equal to zero. The derivative is not all that simple.

By the way, sqrt(25 + x^2) is not 5 + x and
sqrt(49 + (6-x)^2) is not 7+(6-x) .
 
  • #41
Thank you soo much! I finally got this question!
 
  • #42
bondgirl007 said:
Thank you soo much! I finally got this question!

I'm glad to hear that. The algebra is a lot of work at first, so it's very gratifying when terms finally start to cancel out again...
 

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
946
  • Calculus and Beyond Homework Help
Replies
3
Views
7K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
Replies
13
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
3K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
Replies
2
Views
1K
Back
Top