The Quadratic Formula No One Taught You

  Рет қаралды 138,364

Dr Barker

Dr Barker

Күн бұрын

We derive an alternative version of the quadratic formula, then explore advantages and disadvantages of each version. This includes values for which they are defined, and the effect of rounding on the accuracy of solutions.
00:00 Intro
00:19 Derivation 1
02:29 Derivation 2
04:55 Problems with the original formula
07:40 Problems with the new formula
11:31 Comparison of accuracy
14:17 Why you should use both

Пікірлер: 318
@KarlFredrik
@KarlFredrik 3 ай бұрын
Crazy how I never thought of this during my 35 years of solving 2nd degree equations.
@user-jc2lz6jb2e
@user-jc2lz6jb2e 3 ай бұрын
Because it doesn't work if x = 0. Why choose a method that doesn't work for all cases, has roots in the denominator, and takes the same amount of work?
@HoSza1
@HoSza1 3 ай бұрын
Because of numerical stability? Have you seen the video til the very end?
@bjornfeuerbacher5514
@bjornfeuerbacher5514 3 ай бұрын
@@user-jc2lz6jb2e Using the quadratic formula for x = 0 is anyway not sensible at all. In such cases, we have an equation of the form a x² + b x = 0, and by factoring to x (ax + b) = 0, it's obvious that x = 0 is a solution.
@theimmux3034
@theimmux3034 3 ай бұрын
​@@user-jc2lz6jb2e why would you ever use the quadratic formula to solve for the solutions if one of them is x = 0?
@user-eu1zc1xm5k
@user-eu1zc1xm5k 3 ай бұрын
Ditto.
@frobozz55
@frobozz55 3 ай бұрын
IMHO, I would keep the "minus over plus" in the alternate formula.
@RexxSchneider
@RexxSchneider 3 ай бұрын
Absolutely right. Then you can see that the corresponding root for the two formulae comes about when you add the discriminant in one formula and subtract it in the other.
@hiyayahiyaya5645
@hiyayahiyaya5645 2 ай бұрын
in fact , it isn't something new , we have the formula of product of roots , αβ=c/a let α=(-b±√(b²-4ac))/(2a) we can get β=2c/(-b±√(b²-4ac))
@anonymoususer2756
@anonymoususer2756 2 ай бұрын
Yes, because if you multiply them together you get x^2 = c/a, when it should be x(1)x(2) = c/a.
@abve2517
@abve2517 3 ай бұрын
I was aware of this version. In days of old when computers ran on steam and precision was to 3 or 4 decimal places, the standard formula failed if b was much bigger than c say b=10000 and c is 0.1 then the c is lost in the computing rounding. The alternate formula takes the c into account and contributes to the computation. It would be interesting to see what happens with modern day computations with the two formulas when b is very much bigger than c.
@wirmaple7336
@wirmaple7336 2 ай бұрын
As a CS student, you can use a "decimal" (128-bit) or even an arbitrary-precision data type and there will be no rounding errors. However, doubles still have rounding errors (especially with very large numbers)
@leif1075
@leif1075 2 ай бұрын
This is basically the same formula..is there any advantage to it?
@rachit7645
@rachit7645 2 ай бұрын
​@@wirmaple7336They were talking about the old times
@undercoveragent9889
@undercoveragent9889 2 ай бұрын
@@leif1075 It avoids the 'divide by zero' problem when a=0.
@edg42
@edg42 Ай бұрын
​@@undercoveragent9889The formulas no longer applies for bx+c=0.
@NoNameAtAll2
@NoNameAtAll2 3 ай бұрын
slowly turning into blackpenredpen, I see :)
@mndtr0
@mndtr0 3 ай бұрын
Just need 2X speed...
@YO-BIZZY
@YO-BIZZY 2 ай бұрын
@@mndtr0 bprp is on crack and meth at the same time
@shafiandpritha7701
@shafiandpritha7701 2 ай бұрын
I remember coming across this equation myself about two years ago while I was trying to find the proof behind the quadratic formula. Really good to know there are other people out there interested in this stuff.
@SaidVSMath
@SaidVSMath 3 ай бұрын
This is genuinely so freaking cool. Thank you for sharing, great work as always Dr Barker!
@gametimewitharyan6665
@gametimewitharyan6665 3 ай бұрын
For people in the comments saying what about a,b,c = 0 You should look at what this formulas means. It gives the roots of the 2nd degree polynomial ax^2 + bx + c = 0 Here, if a,b,c = 0 then what are you even solving for?
@subzero.cuber47
@subzero.cuber47 3 ай бұрын
0 + 0 + 0 = 0
@matheusjahnke8643
@matheusjahnke8643 2 ай бұрын
If a=0 it's not a 2nd degree polinomial; If c=0 then it is on the form of ax²+bx=0.... x(ax+b)=0... so the solutions are x=0 or x=-b/a; Given x=2c/(b+- sqrt(b²-4ac)... since c=0 we have x=0/(2b)=0... or x=0/0 I mean... for that last bit the formula still works... you just need to be more careful: evaluate lim_(c -> 0) 2c/(b+ sqrt(b²-4ac)) [assuming b>0.... else use +sqrt(b²-4ac)... since sqrt(b²)=-b if b
@RCHobbyist463
@RCHobbyist463 2 ай бұрын
Having taken a Numerics class, I appreciate how well this video presents the challenges of trying to get accurate numbers out of a computer.
@gametimewitharyan6665
@gametimewitharyan6665 3 ай бұрын
Rationalising the numerator was really cool for me. I had earlier tried using the quadratic formula to get the roots of a linear polynomial but was not successful because division by zero, but I wasn't able to think of rationalizing the numerator which would allow the quadratic formula to also work for linear polynomial
@algorithminc.8850
@algorithminc.8850 3 ай бұрын
Great stuff. Enjoying your channel. Always fun to go after problems from every direction ... can optimize for the needs of particular engineering problems. Thanks. Cheers ...
@pojuantsalo3475
@pojuantsalo3475 3 ай бұрын
When a quadratic equation is multiplied by the number making the coefficient a = -1/2 (so we have -0.5x² + bx + c = 0), the familiar quadratic formula simplifies into x = b ± √(b²+2c).
@wyattstevens8574
@wyattstevens8574 3 ай бұрын
@@keescanalfp5143 Here's two I've learned for factoring or solving: 1. Slide and divide Solve a related quadratic, x²+bx+ac, and divide the negative roots by a total product of a to get this factor back. If you end up with fractional roots, just clear the denominators. 2. Po Shen Loh's alternative method Divide out a factor of a. Looking at the coefficients, recast the quadratic as x²-2mx+p. (m is 1/a times the mean of the roots, and p is the product divided by a) Now x= m+/-sqrt(m²-p).
@keescanalfp5143
@keescanalfp5143 3 ай бұрын
yeah . so then first you divide the whole thing by 2a . an other view can come up by using an alternative standard form which favours an even value of b . when solving the form ax² + 2bx + c = 0 , you might get rid of any kind of coefficient 2 and 4 . you will however keep the denominator, of course unless a = 1 . x_¹,² = [-b ± √(b² - ac) ] / a .
@wyattstevens8574
@wyattstevens8574 3 ай бұрын
@@keescanalfp5143 That's *almost* the same as Po Shen Loh's method- he divides out the factor of a so now a=1 anyway!
@karolakkolo123
@karolakkolo123 3 ай бұрын
The absolute best version of the quadratic formula though is when you divide both sides by a, and change b into 2b and c into c^2. Then what you get is that for the quadratic equation x²+2bx+c² = 0, the solutions are x = -b ± √(b² - c²), which is nice because you have a difference of two squares inside of the square root, and that actually allows you to express the formula in a yet simpler way: let b+c = p and b-c = q. The quadratic formula becomes x = -(p+q)/2 ± √pq, which is kind of cool because it expresses the roots in terms of the arithmetic and geometric means (of the same two numbers) added together
@poetry_pulse2705
@poetry_pulse2705 2 ай бұрын
I myself discovered this 4 years ago (while I was in my 10th standard) and showed it to my teachers. But no one gave proper attention. 😞😞😞
@Shakti258
@Shakti258 2 ай бұрын
Wow brilliant 🥇🏆👏👏
@poetry_pulse2705
@poetry_pulse2705 2 ай бұрын
@@Shakti258 Thank you🙏🙏🙏
@PluetoeInc.
@PluetoeInc. 2 ай бұрын
interesting indeed , how did you come across this thought ? like what were the previous bogies in the train of thought that led to this .
@poetry_pulse2705
@poetry_pulse2705 2 ай бұрын
@@PluetoeInc. I used concepts of sum and products of roots of a quadratic equation and the original qudratic formula. After some calculations I arrived at that new formula.
@bucc5207
@bucc5207 2 ай бұрын
I was in my thirties when I first encountered this version of the quadratic formula, in a wonderful book called Numerical Recipes. For computational accuracy, you want to choose the radical term with the largest absolute value. So define S = -b + sqrt(b*b-4ac) when b0. Then the two solutions are S/2a and 2c/S.
@jarrodfrench957
@jarrodfrench957 2 ай бұрын
This comment really helped me understand that you don't necessarily want to use only one of the formulas but using both to help with accuracy! Thanks for posting this!
@bucc5207
@bucc5207 2 ай бұрын
@@jarrodfrench957 you're welcome!
@mrphlip
@mrphlip 3 ай бұрын
At first, I thought couldn't you multiply the two formulas together, and cancel out the square root entirely, and just end up with x² = something simple? But then I realised that the root that has the + in one form is the one that has the - in the other form, so they won't actually cancel out if you multiply the same root to itself. But if you multiply the two roots together, you do get a bunch of cancellation... and it ends up collapsing down to x1*x2 = c/a, which is one of Vieta's formulas.
@quandarkumtanglehairs4743
@quandarkumtanglehairs4743 3 ай бұрын
He demonstrated 'systems of equations' between two derivations of the same expression, a nice tactic and one I had NEVER considered in the taken-for-granted Quadratic Formula. And he did it in pieces without saying, directly, "We'll now use a System of Equations to solve for abx." It grew organically and I really dig that.
@piedepew
@piedepew 2 ай бұрын
Are you vieta?​@@quandarkumtanglehairs4743
@pauselab5569
@pauselab5569 Ай бұрын
Yup exactly what is used for cubics
@beatn2473
@beatn2473 3 ай бұрын
We looked at the accuracy issue to introduce Vieta's formulas. Quite nice!
@skilz8098
@skilz8098 2 ай бұрын
Nice job on presenting where each version has its pros and cons due to proportional rounding errors when the precision of floating points numbers is involved. Perhaps extend this topic towards complex analysis where we might try to find the arccos of the angle generated by the dot products of the various roots within a given quadratic even if the roots are complex values... now that would make for an interesting math video!
@johnmorey2633
@johnmorey2633 3 ай бұрын
First time I have ever seen this. Really interesting. Thank you.
@philippetrov4881
@philippetrov4881 3 ай бұрын
It's more an informatics than a mathematics topic. If you program it, you'll find indeed that the better results are coming from the mixed formula. Great topic for better understanding of the rounding errors with floating point numbers!
@neologicalgamer3437
@neologicalgamer3437 2 ай бұрын
Multiply the first formula by the second formula. You get the big b term to cancel our, and you're left with 2c/2a, which ends up being x^2 = c/a, which finally ends with x = ±√(c/a)
@snowballh1969
@snowballh1969 2 ай бұрын
Great observation! However, your final conclusion is unfortunately incorrect, because just like another comment said, the "+-" in the second formula should really be "-+". When both "+-" are the same sign you actually get two different roots using the two formulae. Therefore multiplying the two would give x1 * x2 = c/a, confirming part of the Vieta's formulae that states the product of the two roots in a quadratic is c/a. Interesting idea to multiply them though!
@davidellis1929
@davidellis1929 3 ай бұрын
An entirely different approach is to verify that the roots of cx^2+bx+a=0 are the reciprocals of the roots of ax^2+bx+c=0. Using either the traditional quadratic formula or the new formula in this video, it's straightforward to demonstrate that the product of each root of the first equation and the opposite-signed root of the second equation is 1.
@frobozz55
@frobozz55 3 ай бұрын
Reciprocal roots generalize to higher dimensions, as well. I once posed a problem for a high school math competition: One of the roots of ax^4+bx^3+cx^2+dx+e=0 is 2. Name one of the roots of ex^4+dx^3+cx^2+bx+a=0.
@xyannail4678
@xyannail4678 2 ай бұрын
​@@frobozz55 Also 2.
@frobozz55
@frobozz55 2 ай бұрын
@@xyannail4678 Nope. Plug 2 into the first equation, and you get 16a+8b+4c+2d+e=0. If you plug 2 into the second equation you get 16e+8d+4c+2b+a=0. These aren't the same thing. The clue was "reciprocal roots".
@xyannail4678
@xyannail4678 2 ай бұрын
@@frobozz55 1/2. Please I don't know if you mean conjugate roots, give me a bone here or help or tell me where to try and challenge myself to get the solution. Am I supposed to Ruffini my way out of this one?
@frobozz55
@frobozz55 2 ай бұрын
@@xyannail4678 1/2 is correct. 1/2 is the reciprocal of 2. There's no Ruffini here. If you plug 2 into the first equation and 1/2 into the second equation, you can find that they are equivalent.
@eilonpoem1587
@eilonpoem1587 2 ай бұрын
For both formlas you can get all the solutions, even those where the denominator is zero. You do this by taking the limit a-->0 (for the original formula) or c-->0 (for the new one) and use the taylor expanaion of the square root (or, equivalently, use the L'hospital rule, as in both cases both the denominator and numerator tend to zero).
@kennethgee2004
@kennethgee2004 2 ай бұрын
and for good reason. We rationalize the denominator so that the calculation is straight forward. take the simple case of 1/sqrt(2) VS sqrt(2)/2: to work that out using long division the first one is not doable. whereas the second is irrational but if we are willing to cutoff the calculation at some point we can do that calculation.
@johnspeno8163
@johnspeno8163 2 ай бұрын
Great treatment of the approximations. Barker yer the man!!
@Youtube_Stole_My_Handle_Too
@Youtube_Stole_My_Handle_Too 3 ай бұрын
Very well done!
@thidasvinnath8017
@thidasvinnath8017 3 ай бұрын
Great Job Never really thought to play around with the quadratic equation like, did you find this out on your own or has this been documented before? either way keep up the good work
@Aurochs330
@Aurochs330 2 ай бұрын
Hello, why is it still a quadratic if a = 0? Wouldn’t the highest degree then be just x^1 making the expression a binomial? What am I missing?
@viveksaxena8430
@viveksaxena8430 2 ай бұрын
Awesome Great learning Thanx bro
@Ansam__
@Ansam__ 2 ай бұрын
The final part is very interesting ! I was thinking u were going to use the taylor series for the sqrt to have a better approximation, but you backsided the problem with the other formula
@meccamiles7816
@meccamiles7816 3 ай бұрын
Very clever. Thanks for sharing.
@david_porthouse
@david_porthouse 2 ай бұрын
Many real world quadratic equations are only slightly quadratic and we are only interested in one of the roots, the one closest to -c/b. This is when this approach comes into its own. There’s an example concerning the blockage in a wind tunnel in my Thesis.
@nuranichandra2177
@nuranichandra2177 2 ай бұрын
Indeed a novel perspective into the roots of the ubiquitous quadratic equation.
@chrisikaris5891
@chrisikaris5891 2 ай бұрын
Very nice work!
@jack-ll8zj
@jack-ll8zj Ай бұрын
Unbelievable sir you dicovered a formula 😮😮😮
@josemieles8764
@josemieles8764 2 ай бұрын
A quadratic equation is a second order equation written as ax2 + bx + c = 0 where a, b, and c are coefficients of real numbers and a ≠ 0.
@AruberutoCh
@AruberutoCh Ай бұрын
It is not second order, it is second degree. The order of the differential equation is the highest order of derivative in the function.
@rv706
@rv706 3 ай бұрын
It makes sense that the expression for the discriminant is unchanged: having an intrinsic geometric meaning ("The scheme cut out by the quadratic polynomial is non-reduced") it should be invariant under the projective transformation x-->1/x .
@afsarrashid2967
@afsarrashid2967 2 ай бұрын
It's Amazing...to see❤️❤️
@MichaelMaths_
@MichaelMaths_ 3 ай бұрын
I only know about this because of my numerical methods class that featured it since sometimes it gives a more accurate result than the standard formula
@usernameisamyth
@usernameisamyth 2 ай бұрын
another good work
@RexxSchneider
@RexxSchneider 3 ай бұрын
From 5:56 onward, there's no need to consider the two cases where b>=0 and b
@pritamroy9320
@pritamroy9320 3 ай бұрын
Right. Also in that case the equation is not even quadratic when a = 0. What the hell are we even using a quadratic equation formula for in that scenario. Then whole point of a quadratic equation is when p(x) = 0 where p(x) is a quadratic polynomial, generally of ge form ax²+bx+c where a,b,c are real numbers and a≠0. So there's no relevance when a = 0. Smh
@RexxSchneider
@RexxSchneider 3 ай бұрын
@@pritamroy9320 Well, perhaps we might want to write a program to solve a family of quadratic equations as part of a mathematical model, where the leading coefficient could vary depending on some as yet unmeasured condition. It would be good to know that the formula to write the algorithm we used didn't fail to return a solution if a happened to be 0 in some instance. The error would happen using the normal quadratic formula and we would get no solution with that algorithm. However, the alternate formula only throws an error on one branch (which can be caught and discarded), while the other branch would return the correct solution to the resulting linear equation.
@typo691
@typo691 3 ай бұрын
Yeah this part really confounded me. The fact that the square root function always returns the posotive root in the reals is why we have that plusminus convention to begin with
@pritamroy9320
@pritamroy9320 2 ай бұрын
@@RexxSchneider I understand. Thank you for explaining.
@Bhuvan_MS
@Bhuvan_MS 2 ай бұрын
Yes, I was actually confused as to why he took separate cases for values of b.
@Ensign_Cthulhu
@Ensign_Cthulhu 3 ай бұрын
The problems with the new formula seem to arise when (a) the starting equation isn't even a quadratic (a = 0) or when the quadratic has a common term in x that can be factored out and solved trivially (c = 0). In neither case would you reach for the original quadratic formula anyway, so the problem cases are irrelevant. Also, if you take the original quadratic formula answer for 8 - sqrt(60) and plug that into a calculator, rather than approximating, you do get the right answer.
@major__kong
@major__kong 3 ай бұрын
For the given example, the computer doesn't struggle. There's still enough floating point precision to give a good result. However, that isn't always the case. Sometimes the difference gets close to epsilon, the smallest number the computer can represent. Then results get whacky. But this is all an academic discussion. In the real world, computational libraries are doing these numeric checks to avoid garbage out or the end user does these checks if they're smart. For example, I might check if a ~ 0 before using the quadratic formula. If it is, I'll assume it's a linear equation with a = 0 and use x = -c/b
@derekschmidt5705
@derekschmidt5705 3 ай бұрын
If you were writing a subroutine that returns values for x, and sometimes a and c are zero and sometimes nonzero, you don't want to have to write a separate subroutine to handle those cases and selectively call the other function.
@TurdBoi-tf5lf
@TurdBoi-tf5lf 2 ай бұрын
Of course it gives right answer. That's not what the point was tho
@TurdBoi-tf5lf
@TurdBoi-tf5lf 2 ай бұрын
​@@derekschmidt5705 exactly
@pietergeerkens6324
@pietergeerkens6324 3 ай бұрын
I love this! It's been over 40 years since last seeing such a careful examination of avoiding subtraction in a numerical calculation. This was one of our numerical methods assignments, but I don't recall anyone at the time noting that rationalization of the numerator could avoid the subtraction. However, haven't you swapped the two cases in the last few minutes? That to be avoided is when the sign being used for sqrt(discriminant) is equal to that of (b); and hence opposite of that for (-b). If programming this, I think I'd simply always select the roots as: x_1 = [ -b + sign(-b) * | sqrt(discriminant) | ] / 2a x_2 = 2c / [ -b + sign(-b) * | sqrt(discriminant) | ]
@Fire_Axus
@Fire_Axus 3 ай бұрын
your feelings are irrational
@violintegral
@violintegral 3 ай бұрын
So, to phrase it another way, we want to avoid the cases where +/-b and sqrt(b^2 - 4ac) are both positive? So when b is negative, we ignore the -b - sqrt(b^2 - 4ac) solutions (as Dr. Barker did at the end) and when b is positive, we ignore the -b + sqrt(b^2 - 4ac) solutions.
@violintegral
@violintegral 3 ай бұрын
So, to put it simply, the two equations we choose depends on the sign of b, which Dr. Barker failed to mention at the end of the video
@pietergeerkens6324
@pietergeerkens6324 3 ай бұрын
@@violintegral Not really. I find Dr. Barker's description at the end quite sufficient; except I believe he's pointing at the wrong equation of each pair as he gives that summary.
@pietergeerkens6324
@pietergeerkens6324 3 ай бұрын
@@violintegral No; other way around. We seek the case where the signs are the same, and a sum (meaning, moving twice in the same direction on the number line) rather than a difference (meaning, moving twice in opposite directions on the number line) is being performed between the two terms in numerator/denominator of the rational expression.
@jameskoh3463
@jameskoh3463 2 ай бұрын
Is the -b - sqrt(b^2 - 4ac) argument general? Or does it apply only to this particular case and thus for each cases, we have to determine which one is close to zero to apply the appropriate formula?
@Shrutithenerd
@Shrutithenerd 2 ай бұрын
Amazing content. 👍
@nicolascamargo8339
@nicolascamargo8339 2 ай бұрын
Muy buen video, se razona todo paso a paso
@samarthasamartha4778
@samarthasamartha4778 2 ай бұрын
It is smilar formula like Mullers method for finding approximated root of polynomial equation
@shauas4224
@shauas4224 25 күн бұрын
From computational point of view, I guess you could use this to find inverse of roots without having to do division so its kinda cool. Never thought about this
@matteoallegro5491
@matteoallegro5491 Ай бұрын
The concept explained at around 9:00 could be very useful when solving a parametric equation with a (or c or both) depending on the parameter. I'll keep this in mind!!!!
@robertbachman9521
@robertbachman9521 3 ай бұрын
Forman Acton in his book 'Real Computing Made Real' preserves accuracy by solving the quadratic as follows: Divide the standard formula through by a and then redefine the parameters as x^2+2b'x+c'=0. Note b' is not the same as b/a, but has a new definition. Then: x(+ -) = -b' + - sqrt(b'^2-c'). Compute the x for the case where the 2 terms have the same sign. Now the product of x(+) and x(-) = c' or x(+)*x(-)=c'. Use this equation to solve for the other x. Similar idea to the final proposed solution in the video (avoiding a subtraction).
@jceepf
@jceepf 2 ай бұрын
As a person who programs in physics for practical purposes, this is a constant problem. You want to avoid dividing by a quantity which can be zero or close to zero.... otherwise you need two formulae depending on that quantity. I also use automatic differentiation: this collapses completely if a=0. The natural way, with this frame of mine, is to use the original formula and multiply top and bottom by -b -+sqrt(Delta).... It would not occur to me to solve for 1/x. Very cute alternative point of view.
@avmathtech6162
@avmathtech6162 2 ай бұрын
when dividing by x means we are assuming that x should not be zero right? so if the one of the root of the equation is zero can we still apply this formula?
@Mosnouk
@Mosnouk 3 ай бұрын
intersting video as usual
@ccmplayer87
@ccmplayer87 3 ай бұрын
Thank you Sir! I usually use Po-Shen Lo method to solve quadratic equation. Nevertheless, now I have more formula that I can teach to my students.
@krozjr5009
@krozjr5009 2 ай бұрын
11:00 Interestingly, given we have an indeterminate form 0/0, taking a limit as c approaches 0 then applying L’Hôpital’s Rule eventually does actually give us -b/a there. So it kind of does give us both solutions, it’s just involved and shaky when it comes to the one we’d be expecting to see. Of course in practice it’d be much easier to just notice (or if programming, to code in a check for) c=0 and solve directly.
@freddiepage6162
@freddiepage6162 2 ай бұрын
This also shows if you know one root x+, then the other is x- = c/(a x+)
@cxpKSip
@cxpKSip 3 ай бұрын
This is a more general, and applicable quadratic equation. Interesting.
@christophernguyen1750
@christophernguyen1750 Ай бұрын
At 7:07, I’m confused. If b was negative then substituting a -b into the new equation would get 2c/-(-b)+-sqrt(-b)^2 which simplifies to 2c/b+-b which gives two solutions c/b and 2c/0 which is not the same as the 2 solutions if b was positive since it’s not -c/b
@soyoltoi
@soyoltoi 2 ай бұрын
It's kind of interesting how the signs flip, giving you the second solution where the normal quadratic formula gave you the first. I wonder if this relates to some kind of symmetry, maybe the fact 1/x is an involution?
@karolakkolo123
@karolakkolo123 3 ай бұрын
The absolute best version of the quadratic formula though is when you divide both sides by a, and change b into 2b and c into c^2. Then what you get is that for the quadratic equation x²+2bx+c² = 0, the solutions are x = -b ± √(b² - c²), which is nice because you have a difference of two squares inside of the square root, and that actually allows you to express the formula in a yet simpler way: let b+c = p and b-c = q. The quadratic formula becomes x = -(p+q)/2 ± √pq, which is kind of cool because it expresses the roots in terms of the arithmetic and geometric means (of the same two numbers) added together
@tunneloflight
@tunneloflight Ай бұрын
Dividing by a number with 1 significant digit gives a result with 1 significant digit. i.e. ~ 10 to ~20. 13.3 and 15.7 expressed to one significant digit are identical ~10 to 20.
@keescanalfp5143
@keescanalfp5143 28 күн бұрын
could be that the doctor doesn't know very well the meaning of the concept of significant digits . so many people just count the number of digits after the decimal dot , in our continental europe the comma .
@3snoW_
@3snoW_ 3 ай бұрын
Another alternative way of the quadratic formula which is quite elegant is the following: If instead of starting with ax² + bx + c = 0 we instead start with Ax² + 2Bx + C = 0 (where A = a, B = b/2 and C = c), we can then express the roots with a simpler equation: x = ( -B ± √(B² - AC) ) / A I find it interesting because when you do (x + N)² you get x² + 2Nx + N², so the 2 in the middle seems to naturally appear when dealing with quadratics, and to naturally fit in the quadratic formula.
@AndrejPanjkov
@AndrejPanjkov 3 ай бұрын
so now i wonder if there is some sort of regularised formula that works for all the exceptional cases.
@alphalunamare
@alphalunamare 11 күн бұрын
So if b^2 = 4ac+1 or 4ac then and only then is the same answer is given by both formulations?
@marcgriselhubert3915
@marcgriselhubert3915 2 ай бұрын
We have x1 = (-b -sqrt(delta))/2.a and x2 = (-b +sqrt(delta))/2.a (for a0, c0 to have x1 and x2 0, and naturally delta = b^2 -4.a.c >= 0). As x1.x2 = c/a, we have x1 = c/(a.x2) = c/((-b +sqrt(delta))/2) = 2.c/(-b+sqrt(delta), and same for x2, x2 = 2.c/(-b - -sqrt(delta)) These formulas are scarcely taught probably because the ordinary formulas are sufficient for students and may be because it is not a good idea to put "a priori" a radical at the denominator.
@khelwood
@khelwood 3 ай бұрын
Comparing the accuracy of the two formulas, you calculated the first version to 1 decimal place, then calculated the second, wrote it down to 2 decimal places, and said "look, more accurate".
@karolissad.4270
@karolissad.4270 3 ай бұрын
I have this gripe as well
@mikeflowerdew7877
@mikeflowerdew7877 3 ай бұрын
The extra precision came without increasing the precision of the square root - the remaining digits in the first version were all zero. He also didn't say "look, more accurate", he identified that one solution was actually worse with the new formula, and spent several minutes explaining what was going on. The problem of subtracting two nearly equal numbers is a real issue in any kind of numerical computation, he just used 1dp so it would be easier to explain
@quandarkumtanglehairs4743
@quandarkumtanglehairs4743 3 ай бұрын
Because the next decimal place was greater than zero. Still a good observation to consider. +1 for this one.
@PixalonGC
@PixalonGC 3 ай бұрын
yes, this is exactly why teachers tell you to approximate only at the very last step
@mikeflowerdew7877
@mikeflowerdew7877 3 ай бұрын
@@PixalonGC Indeed, though in this case using double precision (15-16 decimal digits) wouldn't have really helped Jane the point. The point is that for _any_ fixed initial precision, one formula gives a better result than the other.
@TGRRohit
@TGRRohit 2 ай бұрын
When there is no a term then infinity is also a root of the eqn this is highly useful in coordination geometry
@alex_ramjiawan
@alex_ramjiawan Ай бұрын
Can i just ask, why did he keep rounding 7.75 to 7.7?
@Alreyathyet
@Alreyathyet 2 ай бұрын
Good luck Dr good moerning
@AdityaKantKushwaha
@AdityaKantKushwaha 2 ай бұрын
Shreedharacharya Formula❤
@Punklorde_Mentality
@Punklorde_Mentality Ай бұрын
I think the 2nd case at 6:35 is wrong because the square root of anu number should always be positive. Yes, x^2=4 has 2 solutions 2 and -2 but if we take square root on both sides, we have to add a +- sign that is +-x=2 which gives us the desired solution. The plus minus is there to handle the case that b is negative in the first place so it's unneccessary(wrong) to take the 2nd case. But apart from that, great video, learnt new concepts about something I'm familiar with😁😁
@firesoul2759
@firesoul2759 2 ай бұрын
I wish I knew this sooner
@anonymoususer2756
@anonymoususer2756 2 ай бұрын
There’s a symmetry between the two formulae for when a = 0 and c = 0. When a = 0: Old formula gives 1/0 (undefined) and 0/0 (indeterminate) New formula gives 1/0 (undefined) and -c/b (solution) When c = 0: New formula gives 0 (solution) and 0/0 (indeterminate) Old formula gives 0 (solution) and -b/a (solution)
@arcuscotangens
@arcuscotangens 2 ай бұрын
Is there any benefit to not normalizing the equation to begin with by dividing by a? I was pretty shocked when I found out that this cumbersome formula is taught anywhere at all like this.
@marcoottina654
@marcoottina654 3 ай бұрын
Is it, therefore, x = c/a ?
@drowzeerutherford6037
@drowzeerutherford6037 Ай бұрын
I discovered this version on my own.
@starrysky5190
@starrysky5190 3 ай бұрын
I have been taught in my junior high school: x_1 + x_2 = -b/a ...(1) x_1*x_2 = ac ...(2) By the 2nd formula, you get the formula of 1/x.
@randomrandomizer
@randomrandomizer 2 ай бұрын
If a is zero it’s not a quadratic any more and the solution is staring you in the face, so you don’t need a formuka??
@chibimentor
@chibimentor 3 ай бұрын
does encore remove synthesis of religious entitlement from the quadratic information within the centre of use, while unity and uniform correlate a relay/tandem styled upon a mask shared between differening alignment, I don't mind neutral bad tenor/giphy/the matrix as a revealing cycle of emotion debate lvl 4+
@anujrajput7649
@anujrajput7649 2 ай бұрын
Amazing love from❤❤❤❤ indian
@MathEducation100M
@MathEducation100M 2 ай бұрын
Nice
@chayansarma4443
@chayansarma4443 2 ай бұрын
If b=c=0 how can we get solutions using this form Also if c=0 there is a solution x= -b/a which we will not get from this form.
@Lordmewtwo151
@Lordmewtwo151 3 ай бұрын
Just seeing the thumbnail, this second quadratic formula almost looks like the reciprocal of the first. Almost. Edit: About the segment when a=0. Can't we just use the formula for a linear equation?
@SummerFrost23
@SummerFrost23 3 ай бұрын
It is written in wikipedia.
@senthilsoundara7836
@senthilsoundara7836 2 ай бұрын
Quadratic equation "a" should not be zero. If a is zero it will become linear When b^2 = 4ac your formula will give one solution as undefined whereas the original one gives correct
@dudasaturno1754
@dudasaturno1754 Ай бұрын
@estudematematica, pode dar uma olhada nisso aqui e nos dizer se tem fundamento???
@innovationsanonymous8841
@innovationsanonymous8841 2 ай бұрын
nice. since you showed me yours, I'll show you mine: (-b +- sqrt(b**2 + (y-c)4a))/2a combining the two should work (haven't checked, but x=x): 2c/(-b +- sqrt(b**2 + (y-c)4a))
@nathanbarnes3969
@nathanbarnes3969 3 ай бұрын
You have to assume that x = 0 is not a solution to the equation as this invalidates the derivation of the alternative formula, where it is necessary to either divide by x^2, or use the term 1/x, both undefined when x = 0
@SuperRousku
@SuperRousku 3 ай бұрын
When x = 0 is a solution, c is also zero. In that case you can anyways save a lot of computation by checking for the special cases of any of the of the coefficients being zero: - a = 0: x = -c/b - b = 0: x = ±√(-c/a) - c = 0: x = 0 or x = -b/a Checking for c = 0 as a special case is especially advantageous, as it avoids performing an entirely unnecessary square root operation.
@SuperRousku
@SuperRousku 3 ай бұрын
You can clear this case by checking for c = 0. That has the additional advantage that you can get the other root simply as x = -b/a without the unnecessary square root operation.
@gamingnorm9369
@gamingnorm9369 3 ай бұрын
If you plot both graphs you'll see that both formula are well integrated together
@TamissonReis
@TamissonReis 2 ай бұрын
Ok, nice. But you could argue that x²=c/a The error is that the derivation of the new formula consider that ± becomes -+
@Bhuvan_MS
@Bhuvan_MS 2 ай бұрын
It is more appropriate to mention that (x1)(x2)=c/a and not x²=c/a This is one of Vieta's formulae for sum and product of roots.
@kmyc89
@kmyc89 2 ай бұрын
(12:05) 'just' say _2sqrt(15)_ or next time prepare a different equation
@chrismen83240
@chrismen83240 Ай бұрын
if you write sqrt(b^2-4ac) = sqrt(b^2) - 2ac/sqrt(b^2) + O(c^2) you can still get the solution -c/b
@ib9rt
@ib9rt 3 ай бұрын
Isn't it the case that sqrt(b^2) is always equal to |b|, since b^2 is always positive, and the square root of a positive number is always the principle root, which is also positive?
@julianbruns7459
@julianbruns7459 3 ай бұрын
Yes, but if b is negative, |b|=-b because it switches sign (-b is positive btw)
@ib9rt
@ib9rt 3 ай бұрын
@@julianbruns7459 Good point. I guess I had a brain hiccup.
@RexxSchneider
@RexxSchneider 3 ай бұрын
@@julianbruns7459 But surely √(b^2) is conventionally taken to be positive, therefore √(b^2) is *always* equal to |b|, no matter what sign b has. You'll find that @ib8rt is right.
@trytea
@trytea 2 ай бұрын
I'm a little confused. Since when is squaring a negative number still remains negative? Sqrt((-b)^2)) should result in b. Sure the end result is the same but it's just the principle.
@Orion_Fritz
@Orion_Fritz Ай бұрын
Yeah, it was rather confusing, especially since sqrt(x²) is the literal definition of the absolute value function |x|.
@nikethan8541
@nikethan8541 2 ай бұрын
My physics sir had already taught this formula to us
@alexmeanin8049
@alexmeanin8049 2 ай бұрын
To have radical in the bottom is BOLD solution, no doubts. Reason, that noone hear about this, is obvious. 😅😅😅😅😅 I can bring a NUMBER of such stuff, no problemo.
@N00byEdge
@N00byEdge 2 ай бұрын
why don't you look the alternative formula where you have to divide the entire polynomial by a first? then you don't have to worry about the pesky a = 0 either. In my opinion, it's also easier to remember. x^2 + bx + c = 0 x = -b/2 +- sqrt((b/2)^2 - c)
@trueriver1950
@trueriver1950 2 ай бұрын
Intuitively obvious, if you reflect for a moment on the equation ax² + bxy + cy² = 0 which is to be solved for the ratio of x/y. Clearly x/y is found by the traditional formula. By symmetry, y/x must be found by the inverse after swapping a and c. That's the formula given here. Setting y=1 we get the usual quadratic formula for x. Setting x=1 we get the "new" formula. As given, this is just a plausibility argument, but it can easily be made rigorous.
@miguelcontreras8372
@miguelcontreras8372 Ай бұрын
PFFF i know that formula since i was in scholl. Actually, it was one of the questions in test
@alberttatlock1541
@alberttatlock1541 2 ай бұрын
Why is a=0 a special case quadratic equation? Surely if a=0 its not a quadratic, its a linear equation.
@Grassmpl
@Grassmpl 3 ай бұрын
Need c/=0 for this version.
@nabla_mat
@nabla_mat 3 ай бұрын
The famous alumroF citardauQ!
@trueriver1950
@trueriver1950 2 ай бұрын
I have a marvellous proof but my mirror does not have wide enough margins😊
solving equations but they get increasingly awesome
10:44
blackpenredpen
Рет қаралды 1,1 МЛН
A Satisfying Divisibility Proof
6:47
Dr Barker
Рет қаралды 46 М.
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 6 МЛН
Beautiful gymnastics 😍☺️
00:15
Lexa_Merin
Рет қаралды 15 МЛН
You use the quadratic formula all the time, but where did it come from?
8:38
Numberphile's Square-Sum Problem was solved! #SoME2
26:37
HexagonVideos
Рет қаралды 385 М.
A Fun Twist on a Familiar Problem
9:01
Dr Barker
Рет қаралды 8 М.
So Why Do We Treat It That Way?
7:51
BriTheMathGuy
Рет қаралды 143 М.
EXTREME quintic equation! (very tiring)
31:27
blackpenredpen
Рет қаралды 641 М.
Why π^π^π^π could be an integer (for all we know!).
15:21
Stand-up Maths
Рет қаралды 3,3 МЛН
Quadratic formula for non-constant coefficients
9:10
blackpenredpen
Рет қаралды 83 М.
"It's just a Coincidence"
8:28
Digital Genius
Рет қаралды 566 М.
Every Weird Math Paradox
11:15
ThoughtThrill
Рет қаралды 288 М.
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН