Just 3 variables

Algebra Level 4

a , b , a,b, and x x are real numbers satisfying the following system of equations: a + b = 3 x 2 a b = 4 x 2 3 x 4. \begin{aligned} a+b &=& 3x-2 \\ ab &=& 4x^2-3x-4. \end{aligned} What is the minimum value of a 2 + b 2 a^2+b^2 (to three decimal places)?


The answer is 4.715.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

5 solutions

Kelvin Hong
Jun 6, 2018

We can obtain a 2 + b 2 a^2+b^2 by writing a 2 + b 2 = ( a + b ) 2 2 a b = 9 x 2 12 x + 4 8 x 2 + 6 x + 8 = x 2 6 x + 12 = ( x 3 ) 2 + 3 a^2+b^2=(a+b)^2-2ab=9x^2-12x+4-8x^2+6x+8=x^2-6x+12=(x-3)^2+3 , but I tested the answer 3 3 , shows me wrong, so I think there must be a restriction about x x .

As desired, we can treat a , b a,b like two roots of a quadratic equation X 2 ( a + b ) X + a b = 0 X^2-(a+b)X+ab=0 , so the discriminant of the equation must be non-negative, so ( 3 x 2 ) 2 4 ( 4 x 2 3 x 4 ) 0 7 x 2 20 x 2 5 7 \begin{aligned}(3x-2)^2-4(4x^2-3x-4)&\geq0\\7x^2&\leq20\\|x|&\leq2\sqrt{\frac57}\end{aligned} Substituting x = 2 5 7 x=2\sqrt{\frac57} into the expression gives us the minimum value of a 2 + b 2 a^2+b^2 that is ( x 3 ) 2 + 3 = ( 2 5 7 3 ) 2 + 3 = 4.7152918 (x-3)^2+3=\bigg(2\sqrt{\frac57}-3\bigg)^2+3=\boxed{4.7152918}

Moderator note:

This naive algebraic substitution makes the assumption that the value of x x is real for all possible pairs. However, this need not be true, and in fact, we do get a restriction.

The graph above shows all values of a a and b b where x x is real. (Note that since the minimal value of a 2 + b 2 a^2 + b^2 is the same as the minimal value of a 2 + b 2 \sqrt{a^2+b^2} we're looking for the point closest to the origin.)

Note that once x 2 5 7 |x| \leq 2 \sqrt{\frac{5}{7}} is known, it's not automatic that we want 2 5 7 2 \sqrt{\frac{5}{7}} as our substitution. We're looking for the minimum subject to this range restriction, which here would necessarily would be the closest possible value to 3.

can you please illuminate me why 3 can't be the answer? thanks...

IR J - 2 years, 11 months ago

Log in to reply

Let's assume that 3 is the answer, this occurs when x = 3 x=3 , then { a + b = 7 a b = 23 \begin{cases}a+b=7\\ab=23\end{cases} , so result as a 2 + a b = 7 a a 2 + 23 = 7 a a 2 7 a + 23 = 0 4 a 2 28 a = 92 4 a 2 28 a + 49 = 43 ( 2 a 7 ) 2 = 43 \begin{aligned}a^2+ab&=7a\\a^2+23&=7a\\a^2-7a+23&=0\\4a^2-28a&=-92\\4a^2-28a+49&=-43\\ (2a-7)^2&=-43\end{aligned} which contradit the fact that a a is a real number.

Kelvin Hong - 2 years, 11 months ago

Log in to reply

Thanks a ton mate. I just simply square the (a+b) then subtract 2ab. Failed to look at it that aspect. Thanks again...

IR J - 2 years, 11 months ago

You're welcome, Ivan !

Kelvin Hong - 2 years, 11 months ago

Note: From the first 2 equations, similar to your solution, you can conclude that a and b are solutions to X 2 7 X + 23 = 0 X^2 - 7X + 23 = 0 . Then the roots of the equation are 7 ± ( 7 ) 4 × 1 × 23 2 = 7 ± 43 2 \frac{ 7 \pm \sqrt{ - (-7) - 4\times1\times23 } } { 2} = \frac{ 7 \pm \sqrt{ - 43 } } { 2 } which is not real.

Calvin Lin Staff - 2 years, 11 months ago

Log in to reply

@Calvin Lin Yes, but I just want to give a simpler approach. Thanks for suggestion.

Kelvin Hong - 2 years, 11 months ago

For those interested, the solution of a, b which satisfies the minimum value of 3 is 7/2 +/- i.sqrt (43/4)

Malcolm Rich - 2 years, 11 months ago

Log in to reply

Thanks for additional information.

Kelvin Hong - 2 years, 11 months ago

Wow i had the correct way but wrote the wrong question down on my paper...

KisoX . - 2 years, 11 months ago

I also made the same mistake by not verifying that 3 could not be the correct answer. Nice solution

Rogerio De Souza - 2 years, 11 months ago

Yes i got exact 3 value by equating equation

Lalit Patil - 2 years, 11 months ago
Bryan Hung
Jun 17, 2018

As others have said, the key insight is the fact that x x is bounded in the interval [ 20 7 , 20 7 ] [\sqrt{-\frac{20}{7}},\sqrt{\frac{20}{7}}] . I'll present an alternative way to derive this.

The given equations remind us of the the AM-GM inequality: a + b 2 a b \frac{a+b}{2} \geq \sqrt{ab}

However, as pointed out by Pi Han, we can't technically apply AM-GM here since a a and b b have to be nonnegative. What we can do, is to manipulate it into the following form which is true for all reals: ( a + b 2 ) 2 a b \left(\frac{a+b}{2}\right)^2 \geq ab

Thus, we have ( 3 x 2 ) 2 4 ( 4 x 2 3 x 4 ) \frac{(3x-2)^2}{4} \geq (4x^2-3x-4) This simplifies to: 7 x 2 20 0 7x^2-20 \leq 0 Then we get the desired bounds.

The question didn't state that a a and b b are non-negative real numbers...

Pi Han Goh - 2 years, 11 months ago

Log in to reply

Oof, my bad. Can this be repaired?

Bryan Hung - 2 years, 11 months ago

Log in to reply

You have 4 cases:

Case 1: Both a a and b b are non-negative. (Then just apply AMGM like what you've done)

Case 2: Both a a and b b are negative. Then let ( a , b ) = ( A , B ) (a,b) = (-A,-B) and you can apply AMGM like in Case 1 and get the same minimum value.

Case 3: Exactly one of a a and b b is equal to 0. ==> WLOG, suppose a = 0 , b 0 a=0, b\ne0 , then 0 = a b = 4 x 2 3 x 4 0=ab=4x^2-3x-4 and b = 3 x 2 b = 3x-2 . We can evaluate x x and so a 2 + b 2 = ( 3 x 2 ) 2 = 1 32 ( 353 ± 21 73 ) a^2 + b^2 = (3x-2)^2 = \dfrac1{32}\left(353\pm21\sqrt{73}\right) .

Case 4: Exactly one of a a and b b is positive, the other is negative.

Subcase 4.1: Suppose a a is positive and b b is negative, then let ( a , b ) = ( A , B ) (a,b) = (A,-B) . The first given equation simplifies to A + 4 x 2 3 x 4 A = 3 x 2 A 2 ( 3 x 2 ) A + ( 4 x 2 3 x 4 ) = 0 , A + \dfrac{4x^2-3x-4}A = 3x-2 \Leftrightarrow A^2 - (3x-2)A + (4x^2-3x-4) = 0, then we want to minimize A 2 + B 2 = ( A B ) 2 + 2 A B = ( 3 x 2 ) 2 2 ( 4 x 2 3 x 4 ) A^2+B^2 = (A-B)^2 + 2AB = (3x-2)^2 - 2(4x^2-3x-4) . You will get the same result as Case 1.

Subcase 4.2: Suppose a a is negative and b b is positive, then let ( a , b ) = ( A , B ) (a,b) = (-A,B) . The method is identical to Subcase 4.1.

Looking at all the cases above, the minimum value of a 2 + b 2 a^2 + b^2 is 4 7 ( 26 3 35 ) \dfrac47\left(26-3\sqrt{35}\right) when x = 20 7 x = \sqrt{\dfrac{20}7} .

Pi Han Goh - 2 years, 11 months ago

can you please tell me, how would it matter?

Rohan Bhattacharya - 2 years, 11 months ago

Log in to reply

The question didn't state that a , b a,b are non-negative real numbers. Bryan made an additional assumption that they must be non-negative to obtain the answer.

Pi Han Goh - 2 years, 11 months ago

While Pi Han's comment about requiring non-negative numbers in AM-GM is correct, notice that the inequality you're using is actually ( a + b 2 ) 2 a b \left( \frac{a + b } { 2 } \right)^2 \geq ab . This is true for all real numbers (and of course for all non-negative numbers), which can be seen by multiplying by 4, moving the RHS over and getting ( a b ) 2 0 (a-b)^2 \geq 0 .

Hence, if you remove the reference to AM-GM and replace it the lemma that ( a + b ) 2 4 a b (a+b)^2 \geq 4 ab , we can retain the simplicity of your solution to show that 7 x 2 20 0 7x^2 - 20 \leq 0 .

Calvin Lin Staff - 2 years, 11 months ago

Hey! Its correct about non-negative numbers in AM-GM. So we can choose a^2 and b^2 as positive numbers. So ((a^2+b^2)/2)^2 >= (a^2b^2).
So we get (a^2+b^2)/2 >= mod of (ab) . So it should be 0.

Aditya Jain - 2 years, 11 months ago

Log in to reply

What do you mean by "so it should be 0"?

Calvin Lin Staff - 2 years, 11 months ago

Log in to reply

mod of (ab) has minimum value 0 as ab is parabola with 2 roots. So minimum value of (a^2+b^2) should be 0.

Aditya Jain - 2 years, 7 months ago

Log in to reply

@Aditya Jain While it is certainly true that a 2 + b 2 2 a b \dfrac{a^2+b^2}2 \geq |ab| , you have not worked on the constraints a + b = 3 x 2 , a b = 4 x 2 3 x 4 a+b = 3x-2, ab= 4x^2-3x-4 . If a b = 0 |ab| = 0 is attainable, then 4 x 2 3 x 4 = 0 x = 1 8 ( 3 ± 73 ) 4x^2-3x-4 = 0 \Rightarrow x = \frac18(3\pm \sqrt{73}) and either ( a , b ) = ( 0 , 3 x 2 ) (a,b) = (0, 3x-2) or ( 3 x 2 , 0 ) (3x-2,0) . But this means that a 2 + b 2 = ( 3 x 2 ) 2 0 a^2 + b^2 = (3x-2)^2 \ne 0 . A contradiction!

Pi Han Goh - 2 years, 7 months ago

Log in to reply

@Pi Han Goh That's the reason why I think its incorrect.

Aditya Jain - 2 years, 7 months ago

@Aditya Jain You're making a very common misconception, namely thinking that "Just because f ( x ) 0 f(x) \geq 0 means that the minimum of f ( x ) f(x) must be 0". Remember, to qualify for a minimum, it must
1. Be a lower bound.
2. Be attainable.

In this case, you have met condition 1, but not condition 2.

As an explicit example, we know that f ( x ) = ( x 1 ) 2 + ( x + 1 ) 2 0 + 0 f(x) = (x-1) ^2 + (x+1)^2 \geq 0 + 0 . Does this mean that the minimum value of f ( x ) = 2 x 2 + 2 f(x) = 2x^2 + 2 is 0? All that we know is that 0 is a lower bound. If it is not achieved for any real value of x x , then it is not the minimum. What is the minimum of f ( x ) f(x) ?

Similarly, while a 2 + b 2 0 + 0 a^2 + b^2 \geq 0 + 0 , can this be achieved? IE Do the conditions in the problem allow for a = 0 , b = 0 a= 0, b = 0 ? If yes, what is the corresponding value of x x ?

Calvin Lin Staff - 2 years, 7 months ago
Joseph Newton
Jun 6, 2018

Multiplying the first equation by a a ,

a 2 + a b = ( 3 x 2 ) a a^2+ab=(3x-2)a

And substituting the second equation in,

a 2 + ( 4 x 2 3 x 4 ) = ( 3 x 2 ) a a 2 ( 3 x 2 ) a + ( 4 x 2 3 x 4 ) = 0 \begin{aligned}a^2+(4x^2-3x-4)&=(3x-2)a\\ a^2-(3x-2)a+(4x^2-3x-4)&=0\end{aligned}

We get a quadratic equation. Note that if we were to first multiply by b b instead of a a we would get the same quadratic, so a a and b b are the roots of this equation.

Since both a a and b b have to be real, the discriminant of this equation Δ = B 2 4 A C \Delta=B^2-4AC must be greater than or equal to zero.

( 3 x 2 ) 2 4 ( 4 x 2 3 x 4 ) 0 9 x 2 12 x + 4 16 x 2 + 12 x + 16 0 7 x 2 20 20 7 x 20 7 \begin{aligned}\therefore(3x-2)^2-4(4x^2-3x-4)&\geq0\\ 9x^2-12x+4-16x^2+12x+16&\geq0\\ 7x^2&\leq20\\ -\sqrt\frac{20}{7}\leq&x\leq\sqrt\frac{20}{7}\end{aligned}

We now know that x x must lie on the interval [ 20 7 , 20 7 ] \left[-\sqrt\frac{20}{7},\sqrt\frac{20}{7}\right]

Now let us get a value for a 2 + b 2 a^2+b^2 in terms of x. From the first equation:

( a + b ) 2 = ( 3 x 2 ) 2 a 2 + b 2 + 2 a b = 9 x 2 12 x + 4 \begin{aligned}(a+b)^2&=(3x-2)^2\\ a^2+b^2+2ab&=9x^2-12x+4\end{aligned}

Substituting the second equation in,

a 2 + b 2 + 2 ( 4 x 2 3 x 4 ) = 9 x 2 12 x + 4 a 2 + b 2 + 8 x 2 6 x 8 = 9 x 2 12 x + 4 a 2 + b 2 = x 2 6 x + 12 a 2 + b 2 = ( x 3 ) 2 + 3 \begin{aligned}a^2+b^2+2(4x^2-3x-4)&=9x^2-12x+4\\ a^2+b^2+8x^2-6x-8&=9x^2-12x+4\\ a^2+b^2&=x^2-6x+12\\ a^2+b^2&=(x-3)^2+3\end{aligned}

The function y = ( x 3 ) 2 + 3 y=(x-3)^2+3 is a concave up parabola with a vertex at ( 3 , 3 ) (3,3) . Since the vertex is the lowest point and the parabola slopes upwards continuously on either side, the smallest possible value of the function would be at the point closest to the vertex at x = 3 x=3 . This means the minimum value of a 2 + b 2 a^2+b^2 occurs when x = 20 7 x=\sqrt\frac{20}{7} :

a 2 + b 2 = ( 20 7 3 ) 2 + 3 4.715 \begin{aligned}a^2+b^2&=\left(\sqrt\frac{20}{7}-3\right)^2+3\\ &\approx\boxed{4.715}\end{aligned}

FYI Note that your original claim isn't completely true because it doesn't properly account for repeated roots. It's easier to directly conclude that a , b a, b are the roots to the equation M 2 ( 3 x 2 ) M + ( 4 x 2 3 x 4 ) = 0 M^2 - (3x-2) M + (4x^2 - 3x -4) = 0 using the (converse of) vieta's formula - IE how to form a quadratic .

Calvin Lin Staff - 2 years, 11 months ago

Why u didn't calculate the minimum value of the expression x^2-6x +12 which comes =3

Loin Poit - 2 years, 11 months ago

Log in to reply

What is the corresponding real value of a a and b b that gives this value of 3?

Calvin Lin Staff - 2 years, 11 months ago
Rocco Dalto
Jun 17, 2018

( a + b ) 2 = 9 x 2 12 x + 4 (a + b)^2 = 9x^2 - 12x + 4 and 2 a b = 8 x 2 6 x 8 2ab = 8x^2 - 6x - 8 ( a + b ) 2 2 a b = a 2 + b 2 = x 2 6 x + 12 \implies (a + b)^2 - 2ab = a^2 + b^2 = x^2 - 6x + 12 .

a b = 4 x 2 3 x 4 a = 4 x 2 3 x 4 b b 2 ( 3 x 2 ) b + 4 x 2 3 x 4 = 0 ab = 4x^2 - 3x - 4 \implies a = \dfrac{4x^2 - 3x - 4}{b} \implies b^2 - (3x - 2)b + 4x^2 - 3x - 4 = 0 \implies

b = 3 x 2 ± 20 7 x 2 2 b = \dfrac{3x - 2 \pm \sqrt{20 - 7x^2}}{2} which has real solutions whenever 20 7 x 2 0 x 20 7 = 2 5 7 20 - 7x^2 \geq 0 \implies |x| \leq \sqrt{\dfrac{20}{7}} = 2\sqrt{\dfrac{5}{7}} \implies

a 2 + b 2 = 20 7 12 5 7 + 12 4.715 a^2 + b^2 = \dfrac{20}{7} - 12\sqrt{\dfrac{5}{7}} + 12 \approx \boxed{4.715} .

A2+b2 =(a+b)2 -2ab =(3x-2)2 - 2(4x2-3x-4) =x2-6x+12=(x-3)2+3. Rpta. 3

Moisés Sanchez Arteaga - 2 years, 11 months ago
Lance Kuanwu
Jun 22, 2018

As others have already posted the same solution i was going to post, I'm just here to say I'm glad to be in the 9% who got it right =D

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...