How do I find the minimum of 5a + b?

AI Thread Summary
To find the minimum value of 5a + b given the quadratic equation ax² - bx + 5 = 0, it is established that the discriminant must be non-positive, leading to the condition b² ≤ 20a. This implies that b can be expressed in terms of a, specifically b ≤ ±2√(5a), and since the quadratic does not have two distinct real roots, b must be non-positive. The discussion emphasizes that the minimum value of 5a + b can be derived from the relationship 5a ≥ b²/4, leading to the expression A = b²/4 + b. The minimum occurs at b = -2, resulting in the minimum value of 5a + b being -1, which is confirmed through derivative tests. The conversation concludes with a focus on ensuring that the values of a and b are understood in the context of the problem's requirements.
baldbrain
Messages
236
Reaction score
21

Homework Statement


If ax2 - bx + 5 = 0 does not have two distinct real roots, find the minimum value of 5a + b.

2. Homework Equations

The Quadratic Formula

The Attempt at a Solution


Here, D = b2 - 4a(5) = b2 - 20a
D ≤ 0 b2 ≤ 20a b ≤ ±2√(5a)
Also, an obvious observation is that b ≤ 0, since, the quadratic does not have two distinct real roots, all coefficients and the constant are of same sign. So, for a, (-b), 5 to be all positive, b must be non-positive.
But how do I arrive at 5a + b?
 
Last edited:
Physics news on Phys.org
You've made a mistake. From b^2 \leq 20a, one cannot say that b \leq 2 \sqrt{5a}.
 
Ok, ±2√(5a).
 
Last edited:
Also, an obvious observation is that b ≤ 0, since, the quadratic does not have two distinct real roots, all coefficients and the constant are of same sign. So, for a, (-b), 5 to be all positive, b must be non-positive.
(I've now included that in the OP too)
But what next?
 
I think I know how to solve this. The crucial observation is that b^2 = 20a. See if you can explain why.
 
Well, b2 may equal 20a. Or, the maximum value of b2 is 20a.
So, (b2/4)|max = 5a (b/2)2|max = 5a
verty said:
See if you can explain why.
Because the roots are non-distinct. But how does that seem to give a clue about 5a + b?
 
Last edited:
Well b has two possible values, right? This is all the help I can give because I don't want go too far with helping.
 
yeah, they are ± 2√(5a).
Now, I'm thinking graphs. The maxima/minima of any quadratic in x occurs at b/2a [since our 'b' is -b] & it's value is -D/4a.
By the way, you know that they're expecting an integral value, right? Not an answer in terms of a or b
 
Last edited:
baldbrain said:

Homework Statement


If ax2 - bx + 5 = 0 does not have two distinct real roots, find the minimum value of 5a + b.

2. Homework Equations

The Quadratic Formula

The Attempt at a Solution


Here, D = b2 - 4a(5) = b2 - 20a
D ≤ 0 b2 ≤ 20a b ≤ ±2√5a
The square root of 20a is not 2√5 a.
Express a with b, and use this relation between a and b in 5a+b.
 
  • #10
ehild said:
Express a with b, and use this relation between a and b in 5a+b.
Ok, 5a ≥ b2/4 or 5a|min = b2/4
But still, you can only eliminate anyone of a & b. We need an integral solution to this.
 
  • #11
baldbrain said:
Ok, 5a ≥ b2/4 or 5a|min = b2/4
But still, you can only eliminate anyone of a & b. We need an integral solution to this.
You need to find the minimum of A=5a+b. You know that 5a≥b2/4, that is A=5a+b≥b2/4+b.
What is the minimum value of A?
 
  • Like
Likes SammyS
  • #12
A|min = b2/4+b. That's simply it. How do we get an integral value to that?
 
Last edited:
  • #13
baldbrain said:
Also, an obvious observation is that b ≤ 0, since, the quadratic does not have two distinct real roots, all coefficients and the constant are of same sign.
It might be obvious, but it's incorrect.

The solutions to the equation ##ax^2 - bx + 5 = 0## are ##x = \frac{-b \pm \sqrt{b^2 - 20a}}{2a}## If ##b^2 < 20a##, the roots are complex, and this would include some positive values of b, depending on the value of a.

One thing that hasn't been touched on so far is that the equation "does not have two distinct real roots." This means that there could be one repeated root (Disc = 0) or two complex roots (D < 0).

baldbrain said:
D ≤ 0 b2 ≤ 20a b ≤ ±2√(5a)
This is wrong as well.
If ##b^2 \le 20a## then ##-2\sqrt{5a} \le b \le 2\sqrt{5a}##. This is different from what you wrote.
 
  • Like
Likes baldbrain and nuuskur
  • #14
Express ##a = a(b) ## or ##b = b(a) ##, then minimise the function ##A(a):= 5a + b(a) ## or ##B(b) := 5a(b) + b##.
 
  • #15
verty said:
The crucial observation is that b^2 = 20a.
Not necessarily. The problem statement includes the possibility that the roots are complex, in which case ##b^2 < 20a##.
 
  • Like
Likes baldbrain
  • #16
baldbrain said:
Ok, 5a ≥ b2/4 or 5a|min = b2/4
But still, you can only eliminate anyone of a & b. We need an integral solution to this.
baldbrain said:
A|min = b2/4+b. That's simply it. How do we get an integral value to that?

Where in your problem statement was there any requirement that ##a## and ##b## be integers?
 
  • Like
Likes nuuskur
  • #17
Ray Vickson said:
Where in your problem statement was there any requirement that ##a## and ##b## be integers?
The answer they've given is an integer.
 
  • #18
The answer they gave is to the question "what is the minimal value of ## 5a+b##". You could have coefficients like ##1.73 ## and ##0.73## or some such.
 
  • #19
nuuskur said:
The answer they gave is to the question "what is the minimal value of ## 5a+b##". You could have coefficients like ##1.73 ## and ##0.73## or some such.
No. I think you misunderstood. Their is answer is actually a specific integer (that's one drawback of giving answers. You tend to think in the reverse direction which halts the learning process sometimes).
 
  • #20
I played around with the problem a bit. Assuming ##b^2 = 20a ## the function of interest is ##B(b) := \frac{b^2}{4} +b ##. If we are to minimise it then the derivative test gives us a candidate for extremum at ##b=-2 ##. The second derivative test confirms it's a minimum point.

Now, one has to explore what happens when the roots can be arbitrary complex numbers.
 
  • Like
Likes baldbrain
  • #21
nuuskur said:
I played around with the problem a bit. Assuming ##b^2 = 20a ## the function of interest is ##B(b) := \frac{b^2}{4} +b ##. If we are to minimise it then the derivative test gives us a candidate for extremum at ##b=-2 ##. The second derivative test confirms it's a minimum point.

Now, one has to explore what happens when the roots can be arbitrary complex numbers.
Wait a minute, are you sure?
I got the extremum value as -1 at b = -2
 
  • #22
Yes, it was a typo, I fixed it.
 
  • #23
nuuskur said:
played around with the problem a bit. Assuming b2=20ab2=20ab^2 = 20a the function of interest is B(b):=b24+bB(b):=b24+bB(b) := \frac{b^2}{4} +b . If we are to minimise it then the derivative test gives us a candidate for extremum at b=−2b=−2b=-2 . The second derivative test confirms it's a minimum point
Can you tell me what thought processes prompted you to do the derivative test?
-1 is the right answer
 
  • #24
If you are given a function ##f(x) ## that is differentiable and you are asked to find its extrema, then the first thing you do is solve ##f'(x) = 0 ##.

The initial problem is not solved, though. If ##-1## is the right answer, then you have to show ##b^2<20a \implies 5a + b\geq -1 ##.
 
  • #25
nuuskur said:
If you are given a function ##f(x) ## that is differentiable and you are asked to find its extrema, then the first thing you do is solve ##f'(x) = 0 ##.
What I mean to say is I get what you did, but I didn't get why.
We already got the function B = b2/4 + b by taking the minimum value of 5a. So why minimise again?
 
  • #26
@verty largest b given a. b2 equal to 20a or less than that.
 
  • #27
got the function B = b2/4 + b by taking the minimum value of 5a
underlined part is unclear. I assumed ## b^2=20a## holds and parametrised the expression ##5a+b## with respect to ##b##. The graph of the resulting function ##B## is just a square parabola so there's no secret what its extremum point is.
 
  • #28
nuuskur said:
underlined part is unclear. I assumed ## b^2=20a## holds and parametrised the expression ##5a+b## with respect to ##b##. The graph of the resulting function ##B## is just a square parabola so there's no secret what its extremum point is.
5a ≥ b2/4 right? So the minimum value of 5a is b2/4. Can't neglect that possibility.
Hence, the B ≥ b2/4 + b. Again, B|min = b2/4 + b.
 
  • Like
Likes nuuskur
  • #29
I think we need to clear up whether ##a## and ##b## are meant to vary. There was no "given ##a##, ##b##, if ##ax^2 - bx + 5##", it just said "if ##ax^2 - bx + 5##", those variables are unbound, IMHO. But it could be a convention that ##a##,##b## don't vary but ##x##,##y## do.

Ignore this, I was confusing myself.
 
Last edited:
  • #30
To elaborate more, B ≥ b2/4 + b is a family of parabolas for all values of b and the 'greater than part' represents the locus of the points outside the interval (α,β) if they're the roots of B
 
  • #31
baldbrain said:
The answer they've given is an integer.

That is just an accident. The question itself did not specify that ##a## or ##b## need be integers. Likewise, it did not specify that ##5a+b## need be an integer, but possibly with non-integer ##a,b##. Of course, I am assuming you wrote out a complete statement of the question that was given to you.
 
  • #32
Ray Vickson said:
That is just an accident. The question itself did not specify that ##a## or ##b## need be integers. Likewise, it did not specify that ##5a+b## need be an integer, but possibly with non-integer ##a,b##. Of course, I am assuming you wrote out a complete statement of the question that was given to you.
Yes, I did. But B when differentiated gives -1 as the extremum has some connection for sure.
 
  • #33
nuuskur said:
You have the condition ##|b| < 2\sqrt{5a} ## to consider. Given the initial post, ##a \geq 0?## may be arbitrary.
For which value of ##b## is the vertex of the resulting parabola lowest possible?
b=-2
 
  • #34
Sorry, my reply was unnecessarely complicated. Given ##b^2< 20a ## it holds that ##5a+b > \frac{b^2}{4} + b ##, thus it suffices to minimise ##B##.
 
  • #35
Ray Vickson said:
That is just an accident. The question itself did not specify that ##a## or ##b## need be integers. Likewise, it did not specify that ##5a+b## need be an integer, but possibly with non-integer ##a,b##. Of course, I am assuming you wrote out a complete statement of the question that was given to you.
I'm not sure I'm getting your point.
 
  • #36
What he means is in general ##5a+b\in\mathbb Z\implies a,b\in\mathbb Z ## is false.
 
  • #37
baldbrain said:
To elaborate more, B ≥ b2/4 + b is a family of parabolas for all values of b and the 'greater than part' represents the locus of the points outside the interval (α,β) if they're the roots of B
I get it now. A little imagination did the trick
 
  • #38
baldbrain said:
I get it now. A little imagination did the trick
how do you order arbitrary complex numbers? The expression ##(x,y) ## as an interval makes sense in this context if they are comparable.
 
  • #39
nuuskur said:
What he means is in general ##5a+b\in\mathbb Z\implies a,b\in\mathbb Z ## is false.
My computer isn't recognising these as symbols, so they're just visible as plain text. Do you mean to say that 5a + b is an integer does not imply a,b are intergers?
 
  • Like
Likes nuuskur
  • #40
I just noticed your #28. Yes, ##5a > b^2 /4 ## is precisely why you may assume ##b^2=20a##. Thus the problem is solved.
 
  • Like
Likes baldbrain
  • #41
nuuskur said:
how do you order arbitrary complex numbers? The expression ##(x,y) ## as an interval makes sense in this context if they are comparable.
complex numbers or not, for simpliclity, I imagined this
picture-of-vertex-of-a-parabola.jpg
 

Attachments

  • picture-of-vertex-of-a-parabola.jpg
    picture-of-vertex-of-a-parabola.jpg
    6.1 KB · Views: 383
  • #42
The first parabola will be B|min = b2/4 + b
 
  • Like
Likes nuuskur
  • #43
Ok. Thanks to @verty @ehild @Mark44 @Ray Vickson & @nuuskur for your inputs. The rest tuned out of the discussion near it's end. So if there's any post you don't agree with...or have some more suggestions to give, please tell me.
Cheers
 
  • #44
baldbrain said:
The answer they've given is an integer.

Is it 35? Just to know whether I've got the right answer before I make a fool of myself telling everyone it's easy! :oldbiggrin:
 
  • Like
Likes nuuskur
  • #45
:oldsurprised:
 
  • #46
baldbrain said:
:oldsurprised:
Please respond using words. I cannot figure out what you are attempting to convey here, and likewise, I cannot figure out which post you are replying to.
 
  • #47
Ray Vickson said:
Please respond using words. I cannot figure out what you are attempting to convey here, and likewise, I cannot figure out which post you are replying to.
Nothing, just reacting to epenguin's post (#44). Humor--plain and simple
 
Back
Top