How Does Completing the Square Help Minimize a Quadratic Function?

  • Thread starter Thread starter wooby
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on minimizing the quadratic function represented by the formula aX² + bX + c, where X is a real number. It is established that a minimum exists only if the coefficient 'a' is greater than zero. The method of completing the square is highlighted as a key technique for finding the minimum value, leading to the conclusion that the minimum occurs at X = -b/(2a) and the minimum value is c - (b²/(4a)). Additionally, the relationship b² - 4ac ≤ 0 is clarified in the context of the discriminant, indicating conditions under which the quadratic does not intersect the x-axis.

PREREQUISITES
  • Understanding of quadratic functions and their general form aX² + bX + c
  • Knowledge of calculus, specifically derivatives and their application in optimization
  • Familiarity with the concept of completing the square in algebra
  • Basic understanding of the discriminant in the quadratic formula
NEXT STEPS
  • Study the method of completing the square in-depth for quadratic functions
  • Learn about the implications of the discriminant b² - 4ac in relation to the roots of quadratic equations
  • Explore optimization techniques in calculus, focusing on critical points and their significance
  • Investigate the geometric interpretation of quadratic functions and their graphs
USEFUL FOR

Students studying algebra and calculus, educators teaching quadratic functions, and anyone interested in mathematical optimization techniques.

wooby
Messages
6
Reaction score
0
[tex]aX^2 + bX + c[/tex]

where X belongs to the reals.

I am reading an analysis book and one of the problems asks me to minimize this general form polynomial.

I know that normally you would take the derivative and set it equal to zero, but in this case does that make sense? I would get the minimum is b when X = 0.

If that is the answer, how does that help me to show that

[tex]b^2 -4ac \leq 0[/tex]

Thank-you for the help.
 
Physics news on Phys.org
wooby said:
[tex]aX^2 + bX + c[/tex]

where X belongs to the reals.


I know that normally you would take the derivative and set it equal to zero, but in this case does that make sense? I would get the minimum is b when X = 0.

Are you sure about that? What is the derivative of that function? Also are there any conditions on a, b, and c because I don't think you can find a minimum without conditions, and in fact the function may not even have a minimum without them.
 
wooby said:
[tex]aX^2 + bX + c[/tex]

where X belongs to the reals.

I am reading an analysis book and one of the problems asks me to minimize this general form polynomial.

I know that normally you would take the derivative and set it equal to zero, but in this case does that make sense? I would get the minimum is b when X = 0.

If that is the answer, how does that help me to show that

[tex]b^2 -4ac \leq 0[/tex]

Thank-you for the help.
First, if you really mean the general [itex]ax^2+ bx+ c[/itex] where a,b,c can be any numbers, then it may not have a minimum! It will have a minimum if and only if a> 0.

You don't really need calculus for this: complete the square!
If [itex]y= ax^2+ bx+ c[/itex] then y= a(x^2+ \frac{b}{a}x)+ c. We can make the part inside the parentheses a perfect square by adding [itex]\left(\frac{b}{2a}\right)^2= \frac{b^2}{4a^2}[/itex]. Of course, we also need to subtract it.
[tex]y= a(x^2+\frac{b}{a}x+ \frac{b^2}{4a^2}-\frac{b^2}{4a^2})+ c[tex] [tex]= a(x^2+\frac{b}{a}x+ \frac{b^2}{4a^2})- \frac{b^2}{4a}+ c[/tex]<br /> [tex]= a(x+ \frac{b}{2a})^2+ c- \frac{b^2}{4a}[/tex]<br /> Since a square is never negative, if a> 0, the minimum value occurs when the squared term is 0. That is, when [itex]x= -\frac{b}{2a}[/itex] and, in that case, [itex]y= c-\frac{b^2}{4a}[/itex]. If a< 0, then that is a minimum.<br /> <br /> As for <br /> <blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> I know that normally you would take the derivative and set it equal to zero, but in this case does that make sense? I would get the minimum is b when X = 0. </div> </div> </blockquote> I don't know how in the world you got that result. Did you take the derivative and then set X= 0?? Set the whole derivative equal to 0 and <b>solve</b> for x. The derivative of [itex]y= ax^2+ bx+ c[/itex] is [itex]y'= 2ax+ b[/itex]. That equals 0 when [itex]x= -\frac{b}{2a}[/itex] just as above. And in that case, [itex]y= \frac{b^2}{4a}- \frac{b^2}{2a}+ c= c- \frac{b^2}{4a}[/itex] again, just as before.<br /> <br /> <br /> <blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> If that is the answer, how does that help me to show that <br /> [tex]b^2- 4ac\le 0[/tex] </div> </div> </blockquote> It doesn't! If a, b, c can be anything in the general formula then [itex]b^2- 4ac[/itex] can be anything. Of course, that is the discriminant in the quadratic formula. If it is negative, then the equation [itex]ax^2+ bx+ c= 0[/itex] has no real solutions so the graph does not cross the x-axis. Assuming that a> 0 so this has a minimum, the <b>if the minimum is not negative</b>, that is if [itex]c-\frac{b^2}{4a}\ge 0[/itex] then, geometrically the graph clearly does not cross the x-axis (but may be tangent to it) so there are no real roots (except possibly the vertex itself). Algebraically, it is easy to see that if [itex]c- \frac{b^2}{4a}\ge 0[/itex] then, multiplying by the positive number 4a, [itex]4ac- b^2\ge 0[/itex] so [itex]b^2- 4ac\le 0[/itex].[/tex][/tex]
 
Last edited by a moderator:

Similar threads

  • · Replies 19 ·
Replies
19
Views
4K
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
10K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K