Maximizing Non-Linear Functions with Lagrange Multipliers

  • Thread starter Thread starter FrogPad
  • Start date Start date
  • Tags Tags
    Functions Set
Click For Summary

Homework Help Overview

The discussion revolves around maximizing a non-linear function formed by the sum of three real-valued functions, specifically using Lagrange multipliers. The functions involved are f_1(x), f_2(x,W,H), and f_3(x,W,H), leading to the composite function F(x,W,H) = f_1 + f_2 + f_3.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants explore the use of Lagrange multipliers, question the convexity of the functions, and clarify whether W and H are variables or constants. There are discussions about the complexity of taking derivatives and the potential need for alternative methods like brute force algorithms.

Discussion Status

The conversation includes various perspectives on the necessity of Lagrange multipliers given the absence of constraints. Some participants suggest checking the convexity of the functions, while others note the challenges in deriving solutions due to the complexity of the expressions. A participant has mentioned resorting to a brute force algorithm as a practical approach.

Contextual Notes

It is noted that W has been determined to correspond to constants in the functions, which affects the formulation of the problem. The original poster is seeking to maximize a function that represents a current, with x and W both representing lengths of a device.

FrogPad
Messages
801
Reaction score
0
I am working on a paper for a class, and I've come to somewhat of a block. I'll keep the question general.

If I have three non-linear real valued functions,

(1) [tex]f_1(x)[/tex]
(2) [tex]f_2(x,W,H)[/tex]
(3) [tex]f_3(x,W,H)[/tex]

that form a function:

[tex]F(x,W,H) = f_1 + f_2 + f_3[/tex]

How would I maximize [tex]F(x,W,H)[/tex].

Lagrange multipliers are ringing a bell... but before I get too invested in an idea, I would like the proper road to travel down. So If someone could point me in the right direction that would be awesome.
 
Physics news on Phys.org
You're just minimizing the sum of the functions. Take partial derivatives of the sum wrt to x, W and H and set them all to zero.
 
Are f1,f2,f3 convex?
 
ARE W and H variables or are they constants? I see no reason to use "Lagrange multipliers" because you have no constraints.
 
LeBrad said:
Are f1,f2,f3 convex?

I am not actually sure. They are mixed with a lot of different terms (sinh, cosh, ...), so it is hard (for me at least) to get an idea of what they look like.
 
HallsofIvy said:
ARE W and H variables or are they constants? I see no reason to use "Lagrange multipliers" because you have no constraints.

I've recently found out that W corresponds to some constants in the functions, so I can no longer vary it.

So I will have the following:

f(x,W) = const = f1(x)+f2(x,H)+f3(x,H)

x and W both represent the length of a device. I am trying to find lengths that that maximize f(x,W), which actually represent a current.
 
Thanks for the help everyone.

The expressions were too complicated to take derivatives of and solve in such a way (too time consuming at least). I ended up writing a brute force algorithm to try all possible values (from a pool of "intelligent" guesses) to maximize the function.

I appreciate the help.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
8
Views
2K