MHB Maximizing $a+b$ given Quadratic Constraint

anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Find the maximum of $a+b$, given $a^2-1+b^2-3b=0$.
 
Mathematics news on Phys.org
My solution:

Using Lagrange multipliers, we obtain:

$$1=\lambda(2a)$$

$$1=\lambda(2b-3)$$

This implies:

$$a=b-\frac{3}{2}$$

Substituting into the constraint, we obtain:

$$\left(b-\frac{3}{2} \right)^2-1+b^2-3b=0$$

$$2b^2-6b+\frac{5}{4}=0$$

$$8b^2-24b+5=0$$

$$b=\frac{6\pm\sqrt{26}}{4}$$

Hence:

$$a=\frac{\pm\sqrt{26}}{4}$$

And so the maximum of the objective function $f(a,b)=a+b$ is:

$$f_{\max}=f\left(\frac{\sqrt{26}}{4},\frac{6+\sqrt{26}}{4} \right)=\frac{3+\sqrt{26}}{2}$$
 
MarkFL said:
My solution:

Using Lagrange multipliers, we obtain:

$$1=\lambda(2a)$$

$$1=\lambda(2b-3)$$

This implies:

$$a=b-\frac{3}{2}$$

Substituting into the constraint, we obtain:

$$\left(b-\frac{3}{2} \right)^2-1+b^2-3b=0$$

$$2b^2-6b+\frac{5}{4}=0$$

$$8b^2-24b+5=0$$

$$b=\frac{6\pm\sqrt{26}}{4}$$

Hence:

$$a=\frac{\pm\sqrt{26}}{4}$$

And so the maximum of the objective function $f(a,b)=a+b$ is:

$$f_{\max}=f\left(\frac{\sqrt{26}}{4},\frac{6+\sqrt{26}}{4} \right)=\frac{3+\sqrt{26}}{2}$$

Bravo, my dearest admin!(Party) And thanks for participating! :cool:
 
Solution suggested by other:

$a^2-1+b^2-3b=0$ can be rewritten as $a^2+\left( b-\dfrac{3}{2} \right)^2=\dfrac{13}{4}$ and this represents an equation of a circle center at $\left( 0,\,\dfrac{3}{2} \right)$ with radius $\dfrac{\sqrt{13}}{2}$ and also its parametric equation as $a=\dfrac{\sqrt{13}}{2}\cos \theta$ and $b=\dfrac{\sqrt{13}}{2}\sin \theta+\dfrac{3}{2}$.

Thus $a+b=\dfrac{3}{2}+\dfrac{\sqrt{13}}{2}(\cos \theta+\sin \theta)=\dfrac{3}{2}+\dfrac{\sqrt{13}}{2}(\sqrt{2}\sin (\theta+45^{\circ})$ which is maximized when $\theta=45^{\circ}$ and gives the maximum of $a+b$ as $\dfrac{\sqrt{26}+3}{2}$.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Back
Top