← Back to learning objective

Minimizing total pipeline cost with land and underwater segments

A pipeline must connect a pumping station at point AA on one side of a straight river to a refinery at point BB on the other side. The river is 44 miles wide. Point BB is located 1010 miles downstream from the point PP directly across the river from AA. The pipeline will run underwater from AA to some point CC on the far bank between PP and BB, then along the bank (on land) from CC to BB. Underwater pipe costs \4millionpermile,andlandpipecostsmillion per mile, and land pipe costs$2$ million per mile.

Let xx be the distance (in miles) from PP to the point CC where the pipe reaches the far bank, so that 0≤x≤100 \le x \le 10. The underwater segment runs from AA to CC, and the land segment runs from CC to BB. Express the total cost C(x)C(x) (in millions of dollars) as a function of xx, and find the value of xx that minimizes the total cost.

Hint

Use the Pythagorean theorem to write the underwater distance ACAC in terms of xx, note the land distance is 10−x10-x, then form C(x)=4⋅AC+2⋅(10−x)C(x) = 4\cdot AC + 2\cdot(10-x). Differentiate, set C′(x)=0C'(x)=0, and solve for xx, checking endpoints too.

Step-by-step solution

The underwater distance from AA to CC is x2+16\sqrt{x^2+16} by the Pythagorean theorem, since the river is 44 miles wide and xx is the horizontal offset from PP. The land distance from CC to BB is 10−x10-x. Thus the total cost function is C(x)=4x2+16+2(10−x),0≤x≤10.C(x) = 4\sqrt{x^2+16} + 2(10-x), \quad 0 \le x \le 10.

Differentiating gives C′(x)=4xx2+16−2C'(x) = \dfrac{4x}{\sqrt{x^2+16}} - 2. Setting C′(x)=0C'(x)=0 leads to 4x=2x2+164x = 2\sqrt{x^2+16}, so 2x=x2+162x = \sqrt{x^2+16}, and squaring gives 4x2=x2+164x^2 = x^2+16, so x2=16/3x^2 = 16/3, giving x=4/3≈2.31x = 4/\sqrt{3} \approx 2.31. Checking this critical point against the endpoints x=0x=0 and x=10x=10 using the second derivative (which is positive, confirming a minimum) or direct cost comparison confirms x=4/3x = 4/\sqrt{3} minimizes total cost.

Effect of underwater cost increase on optimal point C

Hint
Step-by-step solution

Yes. Increasing the underwater cost per mile makes the underwater route relatively more costly, so the optimal strategy shifts toward minimizing underwater distance. This pushes the optimal point C closer to P, reducing the underwater segment length while increasing the land segment. This follows directly from how the cost function balances the two rates in the original setup.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap