Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Basic function solving

  1. Jul 15, 2008 #1
    where does b2 - 4*a*c come from? (for second degree functions)
  2. jcsd
  3. Jul 15, 2008 #2


    User Avatar
    Homework Helper
    Education Advisor
    Gold Member

    That is an expression which is contained in the solution of a quadratic equation (yes, a second degree equation). When we start with a*x^2 + b*x + c = 0, we can perform the process of "Completing the square" in order to find a formula for x. Some textbooks on Intermediate Algebra will show this process, both symbolically and graphically.
  4. Jul 16, 2008 #3


    User Avatar
    Gold Member

    adding to what symbol said, the expression you stated is the argument of the square root function in the solution, which is why the nature of the expression determines the nature of the solutions to a quadratic equation.
  5. Jul 16, 2008 #4
    How is it related to basis functions though?
  6. Jul 16, 2008 #5


    User Avatar
    Staff Emeritus
    Science Advisor

    The quadratic formula is derived from completing the square.

    If ax2 + bx+ c= 0, subtract c from both sides to get
    ax2+ bx= -c

    Now, divide both sides by a:
    x2+ (b/a)x= -c/a.

    We can complete the square by adding (b/2a)2= b2/4a2 to both sides:

    x2+ (b/a)x+ b2/4a2 = b2/4a2- c/a.

    The left sides is a perfect square: (x- b/2a)2. You can multiply that out to see that.

    To add the fractions on the right side, we need to get a common denominator. One denominator is 4a2 and the other is a. To get a common denominator I need to multiply numerator and denominator of the last fraction by 4a: (-c/a)(4a/4a)= -4ac/4a2

    That gives, for the right side, (b2- 4ac)/4a2.

    That's where the "b2- 4ac" comes from.
  7. Jul 16, 2008 #6
    Basically the whole goal of quadratic equations is to solve the equation ax^2 + bx + c = 0 for x.

    It's kind of a trick question though, since sometimes there are no real solutions, depending on what a,b,c are. For example, if a=0, b=0, and c=1, then the equation is 1=0. whoops. For another example, if a=1, b=0, c=1, then the equation is x^2 + 1 = 0, which can't work (think about it). whoops again.

    The value of b^2 + 4*a*c will tell you if the equation has a real solution. If it is positive, there are real solution(s). If it is negative, there are no real solutions. If it is zero, there might be a solution or there might not be.

    The way people figured all this out is through a process called completing the square, which you can read about here:
  8. Jul 16, 2008 #7
    No, there will be a solution.
  9. Jul 16, 2008 #8
    [tex]x^2 + 1 = 0 [/tex] certainly has roots, they are just complex*. Also as already pointed out if [tex]b^2 - 4ac=0[/tex] we will only have one root [tex]x=\frac{-b}{2a}[/tex] meaning that our parabola touches the real line with its apex at the root.

    * The roots are [tex]x=\pm i[/tex] where [tex]i=\sqrt{-1}[/tex]
  10. Jul 16, 2008 #9
    Consider b=0 a=0 c=1.

    While this is true, we are all talking about real solutions.

    Last edited: Jul 16, 2008
  11. Jul 16, 2008 #10
    That is no longer a second degree polynomial.
  12. Jul 16, 2008 #11
    Eh, you can split hairs over definitions like this.Some people may define it like you have, but it is often useful to consider a constant as a degenerate polynomial of degree 2, like where you would consider a line segment a degenerate triangle where the triangle inequality is exactly an equality, or where 2 crossing lines are considered a degenerate hyperbola, and so forth. This way of defining it can be useful since each successive set of higher degree polynomials contains the ones of smaller degree as a subset. You also don't have to worry about piecewise definitions and can simply state it is "ax^2+bx+c for any a,b,c in R", as opposed to "ax^2+bx+c for any a in R/{0}, b,c in R"

    More importantly, if you don't allow lower degree polynomials to be "in" your set of polynomials of a given degree, you can run into problems if you try to consider the polynomials as making up various function space. For example, what would be the zero element of a function space of polynomials of a certain degree?
    Last edited: Jul 16, 2008
  13. Jul 17, 2008 #12
    Just checking that you weren't messing about when you said that [tex]x^2 + 1 =0[/tex] 'cannot work (think about it)' :tongue:
  14. Jul 17, 2008 #13
    Surely everybody defines it like that: the degree is the largest power of x with non-zero coefficient. I can think of nowhere that uses the notion of bx+c to be degenerate quadratic polynomial apart from this thread.

    if a is zero then the quadratic formula, which divides by 2a, is nonsense.

    That isn't important at all. So, they're not a vector space? The set of polynomials of degree at most n is a vector space. The zero polynomial is usually taken to have degree minus infinity in order to make the multiplicative property of degree work nicely.
  15. Jul 17, 2008 #14
    But isnt thats the point... the quadratic formula only applies if a,b,c obey certain propositions.

    If you define it without including degenerate cases, then all polynomials of a given degree becomes a rather useless set, wouldn't you say?

    The tradeoff between the two definitions being, on one hand you will have to say "polynomials of degree at most n" whenever you want to talk about them as a vector space, vs on the other hand you will have to say "minimum degree" when you want to talk about degree norms for the space.
  16. Jul 17, 2008 #15
    Not in the slightest. But you carry on thinking that ax+b is in the "set of degree two polynomials" if you wish - this will put you at odds with just about everyone else I imagine.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Basic function solving
  1. Basic Functions Question (Replies: 34)

  2. Basic trig functions (Replies: 12)