adm_strat
- 13
- 0
[SOLVED] Legrange-->System of equations
Suppose (a,b) is on the graph of f(x)=x^{2} and (c,d) is on the graph of g(x)=ln(x)
a) Accurately approximate the minimum distance between (a,b) and (c,d)
b) Accurately approximate (a,b) and (c,d)
c) What is the relationship between f'(a) and g'(c)
Just a Legrange
The function that needs to be minimized is \sqrt{(a-c)^{2} + (b-d)^{2}}
Which can be left as (a-c)^{2} + (b-d)^{2} because they will both be minimized at the same place
The Legrange:
L(a,b,c,d,\lambda ,\mu )=(a-c)^{2} + (b-d)^{2} - \lambda (a - b^{2}) - \mu (b-ln(d))
This gave me the six equations:
L_{a}= 2a - 2c - \lambda = 0
L_{b}= 2b - 2d - 2\lambda b = 0
L_{c}= 2c - 2a - \mu = 0
L_{d}= 2d - 2b - \frac{\mu }{d}= 0
L_{\lambda }= a = b^{b}
L_{\mu }= c = ln (d)
This is where I am stuck
I tried for quite some time to solve for the system of equations and I am at a point where i don't know where to go.
The things I got out of them is:
\lambda = -\mu This is from L_{a}=L_{c}
and
bd=\frac{1}{2}
I got this by taking L_{a}=0 and L_{b}=0 therefore:
L_{a} = L_{b} --> L_{a} - L_{b} = 0 --> L_{a} - L_{b} = L_{c}
And so on till I got: L_{a} - L_{b} - L_{c} - L_{d} = 0
Then using some substitution for \lambda and \mu I got bd =\frac{1}{2}
The instructor of my course said I could use software on any of the problems in the handout but even when I tried plugging the equations into mathematica I got an error. I just don't know where to go with the equations.
Homework Statement
Suppose (a,b) is on the graph of f(x)=x^{2} and (c,d) is on the graph of g(x)=ln(x)
a) Accurately approximate the minimum distance between (a,b) and (c,d)
b) Accurately approximate (a,b) and (c,d)
c) What is the relationship between f'(a) and g'(c)
Homework Equations
Just a Legrange
The Attempt at a Solution
The function that needs to be minimized is \sqrt{(a-c)^{2} + (b-d)^{2}}
Which can be left as (a-c)^{2} + (b-d)^{2} because they will both be minimized at the same place
The Legrange:
L(a,b,c,d,\lambda ,\mu )=(a-c)^{2} + (b-d)^{2} - \lambda (a - b^{2}) - \mu (b-ln(d))
This gave me the six equations:
L_{a}= 2a - 2c - \lambda = 0
L_{b}= 2b - 2d - 2\lambda b = 0
L_{c}= 2c - 2a - \mu = 0
L_{d}= 2d - 2b - \frac{\mu }{d}= 0
L_{\lambda }= a = b^{b}
L_{\mu }= c = ln (d)
This is where I am stuck
I tried for quite some time to solve for the system of equations and I am at a point where i don't know where to go.
The things I got out of them is:
\lambda = -\mu This is from L_{a}=L_{c}
and
bd=\frac{1}{2}
I got this by taking L_{a}=0 and L_{b}=0 therefore:
L_{a} = L_{b} --> L_{a} - L_{b} = 0 --> L_{a} - L_{b} = L_{c}
And so on till I got: L_{a} - L_{b} - L_{c} - L_{d} = 0
Then using some substitution for \lambda and \mu I got bd =\frac{1}{2}
The instructor of my course said I could use software on any of the problems in the handout but even when I tried plugging the equations into mathematica I got an error. I just don't know where to go with the equations.