Optimization and Related rates

SBvZiBjb250cm9sbGVyIGFyZSBJIHNvbiBtYXkgdXBkYXRlIHdpdGggYSBjb25jYXQgbGVhcm5pbmcgb2YgdGhlIGRyaXZlcnMgZnJvbSB0aGUgc3RhY2suIFdpdGggdGhvdWdodCB0byB0ZWxsIG5vdCByZWFkaW5nIGFueSBzdWJtaXR0ZWQgc3RlcHMsIHdoZXJlIHlvdSBjb3VsZCBkbyByZWN
  • #1
Painguy
120
0

Homework Statement


A smokestack deposits soot on the ground with a concentration inversely proportional to the square of the distance from the stack. With two smokestacks 20 miles apart, the concentration of the combined deposits on the line joining them, at a distance x from one stack, is given by the following equation, where k is a positive constants that depends on the quantity of smoke each stack is emitting.

[itex]S=((64k)/(x^2)) + (k/((20-x)^2))[/itex]


Homework Equations





The Attempt at a Solution


1st I take the derivative

[itex]((-128k(20-x)^3))+2kx^3/(x^3)(20-x)^3))[/itex]

Then i look for critical points

x^3=0
x=0

20-x=0
x=20

The third one is where i get stuck

(-128k(20-x)^3))+2kx^3=0
k(-128(-x^3 + 60x^2 -1200x +8000) + 2x^3)=0
(-128(-x^3 + 60x^2 -1200x +8000) + 2x^3)=0
128x^3-7680x^2 +153600x - 1024000 + 2x^3=0
130x^3-7680x^2 +153600x - 1024000=0
130x^3-7680x^2 +153600x = 1024000

how would I solve for this? It's a bit embarrassing on my part, but I never ran into a situation before where I had to find the root of a cubic function.
 
Physics news on Phys.org
  • #2
Painguy said:

Homework Statement


A smokestack deposits soot on the ground with a concentration inversely proportional to the square of the distance from the stack. With two smokestacks 20 miles apart, the concentration of the combined deposits on the line joining them, at a distance x from one stack, is given by the following equation, where k is a positive constants that depends on the quantity of smoke each stack is emitting.

[itex]S=((64k)/(x^2)) + (k/((20-x)^2))[/itex]
We usually need to tell people that they need more parentheses, but here you can get by with fewer of them.

S = 64k/x2 + k/(20 - x)2

Since you're going to differentiate this, it's better to write it using negative exponents.

S = 64kx-2 + k(20 - x)-2
Painguy said:

Homework Equations





The Attempt at a Solution


1st I take the derivative

[itex]((-128k(20-x)^3))+2kx^3/(x^3)(20-x)^3))[/itex]
Even though you have lots of parentheses, you are missing some where they are needed. The numerator is -128k(20 - x)3 + 2kx3. The numerator should have a pair of parentheses around it.
Painguy said:
Then i look for critical points

x^3=0
x=0

20-x=0
x=20

The third one is where i get stuck

(-128k(20-x)^3))+2kx^3=0
You can divide both sides by 2k to simplify this a little bit.

-64(20 - x)3 + x3 = 0

If you expand this, and then attempt to factor it, you might get lucky and find a rational root, or you might not. Although cubics can be factored, it's not a trivial matter to do so. If the exact root is not required, you can estimate it by looking at a graph or by using approximation techniques, such as Newton's method.
Painguy said:
k(-128(-x^3 + 60x^2 -1200x +8000) + 2x^3)=0
(-128(-x^3 + 60x^2 -1200x +8000) + 2x^3)=0
128x^3-7680x^2 +153600x - 1024000 + 2x^3=0
130x^3-7680x^2 +153600x - 1024000=0
130x^3-7680x^2 +153600x = 1024000

how would I solve for this? It's a bit embarrassing on my part, but I never ran into a situation before where I had to find the root of a cubic function.
 
  • #3
Painguy said:

Homework Statement


A smokestack deposits soot on the ground with a concentration inversely proportional to the square of the distance from the stack. With two smokestacks 20 miles apart, the concentration of the combined deposits on the line joining them, at a distance x from one stack, is given by the following equation, where k is a positive constants that depends on the quantity of smoke each stack is emitting.

[itex]S=((64k)/(x^2)) + (k/((20-x)^2))[/itex]


Homework Equations





The Attempt at a Solution


1st I take the derivative

[itex]((-128k(20-x)^3))+2kx^3/(x^3)(20-x)^3))[/itex]

Then i look for critical points

x^3=0
x=0

20-x=0
x=20

The third one is where i get stuck

(-128k(20-x)^3))+2kx^3=0
k(-128(-x^3 + 60x^2 -1200x +8000) + 2x^3)=0
(-128(-x^3 + 60x^2 -1200x +8000) + 2x^3)=0
128x^3-7680x^2 +153600x - 1024000 + 2x^3=0
130x^3-7680x^2 +153600x - 1024000=0
130x^3-7680x^2 +153600x = 1024000

how would I solve for this? It's a bit embarrassing on my part, but I never ran into a situation before where I had to find the root of a cubic function.

First: divide through by 10, to make it very slightly easier:
p(x) = 13 x^3 - 768 x^2 + 15360 x - 102400 = 0.

As others have pointed out, there are exact formulas for solving such problems, but they are messy. Often, it is better to just ignore those formulas and proceed more directly. You can draw a rough graph of p(x) to get a feeling for where a root might be located, or you can use a "bisecting" method: p(0) = -102400, p(100) = 6753600, so there is a root between 0 and 100 (because p changes sign between 0 and 100). Look at x = 50: p(50) = 370600. There is a root between 0 and 50. So, try x = 25: p(25) = 4725. There is a root between 0 and 25. Look at x = 12 (roughly half of the current interval): p(12) = -6207. So, there is a root between 12 and 25, etc. A couple of additional steps of that type will get you very near the root, perhaps even to its exact value.

Note: you could try to speed up the process, by using something called the "Secant Method". Basically, this approximates p(x) by a straight line joining two points on its graph, and looks for a root of the straight line. For example, the line through (12,p(12)) and (25,p(25)) has equation y = p(12) + [(p(25)-p(12))/(25-12)]*(x-12) = 841*x - 16300, which gives zero at x = 16300/841 ≈ 19.4 . In this case, though, bisection is easier and just as fast, or faster.

Of course, the classical way is Newton's method, but this often needs a reasonably close approximation to the root to get going properly. In this case, a few bisection steps should lead to a reasonable starting point.

Finally, there is the modern method, which is to use a good scientific hand-held calculator, or a computer package such as the EXCEL Solver tool or Matlab, or to submit the problem to the free, on-line package Wolfram Alpha.

RGV
 

Related to Optimization and Related rates

1. What is optimization in mathematics?

Optimization in mathematics refers to the process of finding the best or most efficient solution to a problem. It involves maximizing or minimizing a certain quantity, such as a function or value, while considering any constraints or limitations.

2. What is a related rate problem?

A related rate problem is a type of optimization problem that involves finding the rate of change of one variable with respect to another variable. It typically involves multiple variables that are related by a given equation, and the goal is to find the rate of change of one variable when the rate of change of another variable is known.

3. What is the difference between optimization and related rates?

The main difference between optimization and related rates is that optimization focuses on finding the maximum or minimum value of a single variable, while related rates involve finding the rate of change of one variable with respect to another variable. In optimization, the goal is to find the best solution, while in related rates, the goal is to find the relationship between two changing quantities.

4. What are some real-life applications of optimization and related rates?

Optimization and related rates have many real-life applications, such as in engineering, economics, physics, and biology. For example, they can be used to optimize the design of structures, minimize costs in business operations, determine the most efficient path for a vehicle to travel, or analyze the growth of a population.

5. What are some strategies for solving optimization and related rate problems?

Some strategies for solving optimization and related rate problems include identifying the variables and their relationships, setting up an appropriate equation, finding the critical points, and using derivatives to find the extreme values. It is also helpful to draw diagrams or graphs to visualize the problem and break it down into smaller, more manageable parts.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Nuclear Engineering
Replies
7
Views
696
  • Calculus and Beyond Homework Help
Replies
4
Views
975
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Programming and Computer Science
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
10
Views
2K
Replies
6
Views
1K
Back
Top