# Thread:

1. ## help!!!- optimization problem

I dont know how to start on this probem. It would nice if someone helps me.

A water line runs east-west. A town wants to connect two new housing developments to the line by running lines from a single point on the existing line to the developments. One is 3 miles south of the existing line; the other is 4 miles south of the existing line and 5 miles east of the first development. Find the place on the existing line, relative to the 2 developments, to make the connection that minimizes the total length of the new line.

Attached Thumbnails

2. Originally Posted by 52090
I dont know how to start on this probem. It would nice if someone helps me.

A water line runs east-west. A town wants to connect two new housing developments to the line by running lines from a single point on the existing line to the developments. One is 3 miles south of the existing line; the other is 4 miles south of the existing line and 5 miles east of the first development. Find the place on the existing line, relative to the 2 developments, to make the connection that minimizes the total length of the new line.
By Pythagoras' theorem, the length of the line connecting the town 3 miles south of the existing line is $\sqrt{x^2 + 3^2}$ and the length of the line connecting the town 4 miles south of the existing line is $\sqrt{4^2 + (5 - x)^2}$. you want to minimize the sum of those

hint: the square roots aren't needed, hope you know why

3. Hello, 52090!

If we must use Calculus, the approach and set-up is quite ugly.

A water line runs east-west. A town wants to connect two new housing developments
to the line by running lines from a single point on the existing line to the developments.
One is 3 miles north of the existing line; the other is 4 miles north of the existing line
and 5 miles east of the first development.

Find the place on the existing line, relative to the two developments,
to make the connection that minimizes the total length of the new line.
Code:
* B
* |
A *               *   |
| *           *     | 4
3 |   *       *       |
|     *   *         |
* - - - * - - - - - *
C   x   P    5-x    D

Development $A$ is 3 miles from the line: . $AC = 3$
Development $B$ is 4 miles from the line: . $BD = 4$
$CD = 5$

Let $P$ be a point on $CD$.
Let $x \,=\, CP$, then $5-x \,=\, PD$

We want to minimize the distance: $AP + PB$

In right triangle $ACP\!:\;AP \:=\:\sqrt{x^2+3^2}$
In right triangle $BDP\!:\;PB \:=\:\sqrt{(5-x)^2 + 4^2}$

The total distance is: . $D(x) \;=\;\left(x^2+9\right)^{\frac{1}{2}} + \left(x^2-10x+41\right)^{\frac{1}{2}}$

. . and that is the function we must minimize.

I'll wait in the car . . .
.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 15, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": false, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9215567111968994, "perplexity_flag": "middle"}