Difficult optimal cable cost analysis

  • Thread starter Thread starter algar32
  • Start date Start date
  • Tags Tags
    Analysis Cable
Click For Summary

Homework Help Overview

The discussion revolves around a cost analysis problem involving cables, specifically focusing on the relationship between cable length, tension, and cost. Participants are exploring how to derive expressions for length and tension based on given coordinates, as well as how to minimize the cost function derived from these expressions.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss deriving expressions for cable length and tension as functions of coordinates. Questions arise about handling multiple variables in the tension expression and the use of Gaussian elimination to solve for tension in terms of the coordinates.

Discussion Status

The discussion is active, with participants providing guidance on setting up equations and using Gaussian elimination. There are multiple interpretations of the problem, particularly regarding the relationships between variables and the implications of the derived equations. Some participants express uncertainty about the manual calculations required for optimization.

Contextual Notes

There are constraints regarding the assumptions made about the system, such as the relationship between variables and the conditions under which the cost function is minimized. Participants note the potential for error in calculation methods and discuss the need for careful analysis of the derived equations.

algar32
Messages
88
Reaction score
1

Homework Statement




http://snag.gy/z4LzZ.jpg

I was going through some old course work from when I was an undergrad and was unable to complete this one. If you could just provide me with the proper approach/steps it would be much appreciated. I know how to solve all of the tensions, but the cost analysis approach is confusing me.

Thanks
 
Physics news on Phys.org
hi algar32! :wink:
algar32 said:
… I know how to solve all of the tensions, but the cost analysis approach is confusing me.

you should get an expression for the length, and an expression for the tension

multiply them together, that gives you the cost (as a function of x y and z, the coordinates of B)

then minimise it, probably using calculus …

show us what you get :smile:
 
tiny-tim said:
hi algar32! :wink:


you should get an expression for the length, and an expression for the tension

multiply them together, that gives you the cost (as a function of x y and z, the coordinates of B)

then minimise it, probably using calculus …

show us what you get :smile:
How do I get an expression for length and an expression for tension? That is the part I am struggling with. Also, if I make the tension expression won't it have 2 variables in it? How can I handle that if I am trying to rref it? Any further steps/work would be appreciated.Thanks.
 
Well, the expression for the length is going to be a function of the unknown x and z position of the point B. You may not know what else if you don't write some equations.
 
SteamKing said:
Well, the expression for the length is going to be a function of the unknown x and z position of the point B. You may not know what else if you don't write some equations.
Here is my work thus far

http://i954.photobucket.com/albums/ae30/Algar32/20130201_201135.jpg

http://i954.photobucket.com/albums/ae30/Algar32/20130201_201035.jpg

http://i954.photobucket.com/albums/ae30/Algar32/20130201_201154.jpg
 
Last edited:
?? :confused:

can you type it out, please?​
 
You are making it more difficult than it has to be. You know that the forces of tension in the cables act along the cables, so ## \vec{T}_{AB} = b \vec {AB} = b(x, 4, z) ##, ## \vec{T}_{AC} = c \vec {AC} = c(-2, 4, -2) ##, ## \vec{T}_{AD} = d \vec {AD} = d(-3, 4, 3) ##, where ##b##, ##c## and ##d## are some positive constants. Letting ## \vec{T} = (0, -mg, 0) ##, we must have ## \vec{T}_{AD} + \vec{T}_{AC} + \vec{T}_{AB} + \vec{T} = 0 ##. Write this equation component-wise, and use Gauss's elimination to determine b in terms of x and z.
 
voko said:
You are making it more difficult than it has to be. You know that the forces of tension in the cables act along the cables, so ## \vec{T}_{AB} = b \vec {AB} = b(x, 4, z) ##, ## \vec{T}_{AC} = c \vec {AC} = c(-2, 4, -2) ##, ## \vec{T}_{AD} = d \vec {AD} = d(-3, 4, 3) ##, where ##b##, ##c## and ##d## are some positive constants. Letting ## \vec{T} = (0, -mg, 0) ##, we must have ## \vec{T}_{AD} + \vec{T}_{AC} + \vec{T}_{AB} + \vec{T} = 0 ##. Write this equation component-wise, and use Gauss's elimination to determine b in terms of x and z.

Okay thanks... Is this what you mean?

b(x,4,z) + c(-2,4,2)+d(-3,4,3)+(0,-981,0)=0


I don't see how I can solve that for x and z? Could you show this process? Was I supposed to put in any number (let's say 1) for b, c and d?

By doing this I will have the most cost effective rope based on the equation givin in the problem (length*tension=cost)?

Thanks.
 
You don't solve for x and z. You solve just for b as a function of x and z.
 
  • #10
You say to use gaussian elimination, so I have just been setting up a few matrices and plugging them into the calculator and using rref (reduced row ef). I am still not getting a value for x and z. Would it be possible to show me what matrix I should be using? thanks.
 
  • #11
voko said:
You don't solve for x and z. You solve just for b as a function of x and z.

I am unsure how to do this. Thanks.
 
  • #12
b(x,4,z) + c(-2,4,2)+d(-3,4,3)+(0,-981,0)=0 is a system of three linear equations, where the unknowns are b, c and d (assume x and z are known). Use Gauss's elimination to find b, it will be a function of x and z.
 
  • #13
Just to be clear. This has to be done manually, calculators won't do it. I recommend rewriting the equation as c(-2,4,2) + d(-3,4,3) + b(x,4,z) = (0,981,0), so that the b-terms are in the right-most column of the matrix, that will simplify finding b, requiring just two Gaussian steps.
 
  • #14
voko said:
Just to be clear. This has to be done manually, calculators won't do it. I recommend rewriting the equation as c(-2,4,2) + d(-3,4,3) + b(x,4,z) = (0,981,0), so that the b-terms are in the right-most column of the matrix, that will simplify finding b, requiring just two Gaussian steps.
Thanks. Here is my work:

x 4 z | 0 b
-2 4 2 | -981 c
-3 4 3 | 0 d

(3c/2)-d

x 4 z | 0 b
0 2 0 | -1471.5 c
-3 4 3 | 0 d

b - 2c

x 0 z | 2943 b
0 2 0 | -1471.5 c
-3 4 3 | 0 d

(x + z) b = 2943

What would my final answer be to optimize the costs?
 
  • #15
Even assuming that the system is written down properly, I do not see how your steps would result in anything. I think you should review systems of linear equations.

Re writing down the system, observe that the equation c(-2,4,2) + d(-3,4,3) + b(x,4,z) = (0,981,0) is a vector equation; the entities in brackets are vectors, while the coefficients in front of them are numbers. A vector equation means that the same equation holds for each of its components. For example, taking the first component (X-direction), we obtain -2c - 3d + xb = 0. This is a linear equation for c, d, and b (x is assumed known). Writing the equations for the two other components, we obtain a system of three linear equations.
 
  • #16
One interesting outcome is x and z are always related by

x=-z

Unless having a tensionless chain is ok.
 
  • #17
I just noticed that in #8 and later the equation is not correct. It should be c(-2,4,-2) + d(-3,4,3) + b(x,4,z) = (0,981,0).
 
  • #18
voko said:
I just noticed that in #8 and later the equation is not correct. It should be c(-2,4,-2) + d(-3,4,3) + b(x,4,z) = (0,981,0).

Yup. That was key. Now the weird x=-z constraint disappears.

We get:

nillchu.gif


Length^2 = x^2 + z^2 +16

Therefore we minimise the product:

(x^2 + z^2 +16)/(5*x+z+12)

(x,z)=(2.243,0.449)

Not sure if this is correct.
Of course, I cheated using Wolfram. Analytically is another challenge. I'd love to see that minimization done by hand.
 
Last edited:
  • #19
Not even sure how one could do those minimizations by hand. It'd require solving simultanously two quadratics in x and z.
 
  • #20
That result is correct. Of course, the report requested must prove that this really is the point resulting in a minimal cost.
 
  • #21
rollingstein said:
Not even sure how one could do those minimizations by hand. It'd require solving simultanously two quadratics in x and z.

On deeper thought doing it by hand isn't hard.

We can show x=5z pretty easily and that leads to a quadratic in z. Not so hard.

Nice problem!
 
  • #22
voko said:
That result is correct. Of course, the report requested must prove that this really is the point resulting in a minimal cost.

What do you mean? Proving the sufficiency? The Hessian test?
 
  • #23
The Hessian test would only prove that a local minimum exists. It says nothing whether a global minimum exists, which is what really is required. In fact, the cost function you found has no global minimum, because it can be trivially shown that it goes to negative infinity in certain directions. So the question remains open.
 
  • #24
The calculation methods already discussed are error prone. Why not fix z, and then try different values of x and plot x v. cost. If you can do it in 3 dimensions, plot x v. z v. cost. Once you have say six points, you will probably home in on a solution that is sufficiently precise.
 
  • #25
voko said:
The Hessian test would only prove that a local minimum exists. It says nothing whether a global minimum exists, which is what really is required. In fact, the cost function you found has no global minimum, because it can be trivially shown that it goes to negative infinity in certain directions. So the question remains open.
You are right. The local minimum of (x^2 + z^2 +16)/(5*x+z+12) at (x,z)=(2.243,0.449) is equal to 0.897.

Question is whether we can do better.

I think your - Infinity limits are not valid; we ought to add a b>0 constraint. You can only go to -ive values of my cost function by violating the b>0 constraint. Chains can only support tension not compression. Unless making the chain redundant is acceptable. I'm not sure. At that point might as well get rid of said chain?

What do you think?

OTOH, is there a point where the cost function is greater than zero yet less than 0.897? I don't know.
 
  • #26
Indeed b > 0 is a physical constraint that must be satisfied. This constrains the domain of the cost function. And it must be minimized in that domain.

For a general multivariate function, global minimization is a very difficult problem. In this case, however, the problem can be analyzed with elementary means. Let's take some value k and see if the cost function can be less than that: i.e.,

(x^2 + z^2 +16)/(5*x+z+12) < k

(x^2 + z^2 +16) < k(5*x+z+12)

(x^2 + z^2 +16) - k(5*x+z+12) < 0

x^2 - 5kx + (2.5k)^2 - (2.5k)^2 + z^2 - kz + (0.5k)^2 - (0.5k)^2 + 16 - 12k < 0

(x - 2.5k)^2 - (2.5k)^2 + (z - 0.5k)^2 - (0.5k)^2 + 16 - 12k < 0

(x - 2.5k)^2 + (z - 0.5k)^2 - 6.5k^2 - 12k + 16 < 0

It is obvious that the minimum of the left-hand side expression is -6.5k^2 - 12k + 16, so -6.5k^2 - 12k + 16 < 0. What does this inequality mean? It means that for any k satisfying it, there are lesser values of the cost function, i.e., this value is not minimal.

There are two ranges of k satisfying this inequality: ## k > 4 \frac {\sqrt{35} - 3 } {13} ## and ## k < -4 \frac {\sqrt{35} + 3 } {13} ##. The second range is invalid, because we require that the cost-function be positive, so we have only one range, and that means that ## \displaystyle k = 4 \frac {\sqrt{35} - 3 } {13} ## is the greatest value, for which no lesser value exists, i.e., it is the global minimum. And it is exactly the value you obtained for the local minimum, so the local minimum is also global.
 
  • #27
pongo38 said:
The calculation methods already discussed are error prone. Why not fix z, and then try different values of x and plot x v. cost. If you can do it in 3 dimensions, plot x v. z v. cost. Once you have say six points, you will probably home in on a solution that is sufficiently precise.

I don't see how your approach is better; isn't that just a brute force grid search?
 
  • #28
voko said:
Indeed b > 0 is a physical constraint that must be satisfied. This constrains the domain of the cost function. And it must be minimized in that domain.

For a general multivariate function, global minimization is a very difficult problem. In this case, however, the problem can be analyzed with elementary means. Let's take some value k and see if the cost function can be less than that: i.e.,

(x^2 + z^2 +16)/(5*x+z+12) < k

(x^2 + z^2 +16) < k(5*x+z+12)

(x^2 + z^2 +16) - k(5*x+z+12) < 0

x^2 - 5kx + (2.5k)^2 - (2.5k)^2 + z^2 - kz + (0.5k)^2 - (0.5k)^2 + 16 - 12k < 0

(x - 2.5k)^2 - (2.5k)^2 + (z - 0.5k)^2 - (0.5k)^2 + 16 - 12k < 0

(x - 2.5k)^2 + (z - 0.5k)^2 - 6.5k^2 - 12k + 16 < 0

It is obvious that the minimum of the left-hand side expression is -6.5k^2 - 12k + 16, so -6.5k^2 - 12k + 16 < 0. What does this inequality mean? It means that for any k satisfying it, there are lesser values of the cost function, i.e., this value is not minimal.

There are two ranges of k satisfying this inequality: ## k > 4 \frac {\sqrt{35} - 3 } {13} ## and ## k < -4 \frac {\sqrt{35} + 3 } {13} ##. The second range is invalid, because we require that the cost-function be positive, so we have only one range, and that means that ## \displaystyle k = 4 \frac {\sqrt{35} - 3 } {13} ## is the greatest value, for which no lesser value exists, i.e., it is the global minimum. And it is exactly the value you obtained for the local minimum, so the local minimum is also global.

I'm still trying to understand your approach.

Nevertheless, how about this: The global minimum has to occur either at one of the local minima or at the boundary of the domain (including ±∞). In this case, analytical differentiation reveals only two optima. One of them being the minima I reported; other one is a maxima (and anyways outside the b>0 region).

The only other limit is x,z --> +∞ but that offers no better cost function (it blows up actually).

At this point am I not assured that I have a global minimum? What makes your strategy necessary or is that only an alternate way of saying what I just said?

Does this make sense? Or am I missing possibilities?
 
  • #29
Another aside that puzzles me:

Note that 5x + z + 12 =0 is forbidden by the solution (even prior to any optimization).

nillchu.gif


What actually happens if we do let x,z lie where 5x + z + 12 =0.

Say, x=0 z=-12

Is that a statically indeterminate structure? Or...?
 
  • #30
voko said:
Even assuming that the system is written down properly, I do not see how your steps would result in anything. I think you should review systems of linear equations.

Re writing down the system, observe that the equation c(-2,4,2) + d(-3,4,3) + b(x,4,z) = (0,981,0) is a vector equation; the entities in brackets are vectors, while the coefficients in front of them are numbers. A vector equation means that the same equation holds for each of its components. For example, taking the first component (X-direction), we obtain -2c - 3d + xb = 0. This is a linear equation for c, d, and b (x is assumed known). Writing the equations for the two other components, we obtain a system of three linear equations.
If I am just solving for b I don't understand why I can't use rref in the calculator? Can you confirm that the following is the correct system of equations is correct?

-2c -3d +xb=0
4c+4d+4b=981
2c+3d+zb=0

ussing rref: I am getting b to be equal to 2943/(x-5)*(z-2.4) . Is this what I am looking for (b in terms of x and z)?
Thanks.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
7K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 28 ·
Replies
28
Views
7K
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
10K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 4 ·
Replies
4
Views
9K