MHB Maximizing $a+b$ given Quadratic Constraint

Click For Summary
To maximize $a+b$ under the constraint $a^2 - 1 + b^2 - 3b = 0$, the equation can be rearranged to express $b$ in terms of $a$. By completing the square for the $b$ terms, the constraint simplifies to a manageable form. The maximum value of $a+b$ can then be determined using calculus or by analyzing the resulting quadratic equation. Various solutions and methods were discussed, emphasizing the importance of understanding the constraint's geometric implications. Ultimately, the goal is to find the optimal values of $a$ and $b$ that satisfy the given equation while maximizing their sum.
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}$.
 
Thread 'Erroneously  finding discrepancy in transpose rule'
Obviously, there is something elementary I am missing here. To form the transpose of a matrix, one exchanges rows and columns, so the transpose of a scalar, considered as (or isomorphic to) a one-entry matrix, should stay the same, including if the scalar is a complex number. On the other hand, in the isomorphism between the complex plane and the real plane, a complex number a+bi corresponds to a matrix in the real plane; taking the transpose we get which then corresponds to a-bi...

Similar threads

  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
8
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K