# Minimizing Cost Word Problem

1. Jan 17, 2016

### abizan

1. The problem statement, all variables and given/known data
The owners of a small island want to bring in electricity from the mainland. The island is 80m from a straight shoreline at the closest point. The nearest electrical connection is 200m along the shore from that point. It costs twice as much to install cable across water than across land. What is the least expensive way to install the cable?

2. Relevant equations
C(x)= 2√(80^2+x^2) + (200-x)
C'(x)= (2x-1)/√(80^2+x^2)

3. The attempt at a solution
I drew a diagram of the scenario which created a right angle triangle. The height of it was 80 which I got from the info given and I said the base was "x" (the remaining length was 200-x since the entire point from the shoreline to the electrical connection was 200m). And then using the pythagorean theorem, I figured that the hypotenuse of the right angle triangle was √(80^2+x^2). And then, since it costs twice as much to install cable across water than across land, I knew that the first part of my cost equation was 2 x √(80^2+x^2) and then I just added (200-x) since that was what was left remaining to get to the electrical connection. I then found the derivative and got my zeros, making x=0.5 but that's apparently the wrong answer. The correct answer was 92.4m of cable below water and 153.8m along the shoreline.

2. Jan 17, 2016

### Ray Vickson

$$\frac{2x}{\sqrt{80^2+x^2}} -1 \neq \frac{2x-1}{\sqrt{80^2+x^2}}$$

3. Jan 17, 2016

### abizan

Ahh thank you, now it makes sense!

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted