* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download x - CAPS Math and Science
List of important publications in mathematics wikipedia , lookup
Line (geometry) wikipedia , lookup
Vincent's theorem wikipedia , lookup
Elementary mathematics wikipedia , lookup
System of polynomial equations wikipedia , lookup
Recurrence relation wikipedia , lookup
Fundamental theorem of algebra wikipedia , lookup
Elementary algebra wikipedia , lookup
A quadratic equation is a second degree polynomial, usually written in general form: ππ₯ 2 + ππ₯ + π The a, b, and c terms are called the coefficients of the equation, and the x guy is the variable. Technically, the a coefficient is called the quadratic coefficient, the b is the linear coefficient, and the c is the constant term. For whatever reason, these equations are called quadratics, even though theyβre always a second degree polynomial (βquadβ means βfourβ). A solution to a quadratic equation is an x value such that the following equation is true: ππ₯ 2 + ππ₯ + π = 0 Such an x is called a root of the polynomial. Fortunately, thereβs a formula, cleverly referred to as the quadratic formula, that allows us to find these roots. Here it is: βπ ± π2 β 4ππ π₯= 2π The ± term lets us know that there are two roots to this polynomial. This makes sense, since we have an π₯ 2 term in our equation. Find the roots of the quadratic equation: π₯ 2 + 3π₯ + 2 = 0. The most difficult part about solving quadratic equations is remembering the quadratic formula; from there, itβs just a matter of plugging in numbers into it. Here it is again! π₯= βπ ± π2 β 4ππ 2π In this example, π = 1, π = 3, and π = 2. (Even though it doesnβt explicitly say β1x2 + β¦β in the equation, the 1 is understood; itβs just like in grammar, when commands such as βget outβ have an understood βyouβ in front: β(You) get outβ). Letβs plug in our a, b, and c values: π₯= β3 ± 32 β 4(1)(2) 2(1) Time to simplify! π₯= β3 ± 32 β 4(1)(2) 2(1) π₯= β3 ± 9 β 8 2 β3 ± 1 2 β3 ± 1 π₯= 2 π₯= This will give us two answers, since the ± symbol means we have a choice between + and β . β3 + 1 2 = β = β1 2 2 β3β1 4 Then choosing β givesusπ₯ = = β = β2 If we choose + in our ± part: π₯= 2 2 So, our roots of the quadratic are π₯ = β1and π₯ = β2 . We can check that these are indeed the roots by plugging them back into our equation: π₯ = β1: (β1)2 +3(β1) + 2 = 1 β 3 + 2 = β2 + 2 = 0 π₯ = β2: (β2)2 +3(β2) + 2 = 4 β 6 + 2 = β2 + 2 = 0 So π₯ = β1, π₯ = β2 are the roots to the quadratic equation π₯ 2 + 3π₯ + 2 = 0. In that example, the quadratic coefficient a was 1. Quadratic equations like that are called monic polynomials. Whether a quadratic equation is monic or not isnβt really a big deal, though it can come in handy if all the coefficients are divisible by the quadratic coefficient. What is really neat, though, is that any quadratic equation can be written as a monic one! ππ₯ 2 + ππ₯ + π All we have to do is divide everything by a: ππ₯ 2 + ππ₯ + π a π 2 π π π₯ + π₯ + π π π π₯ 2 + ππ π₯ + π π This is really only needed to make the quadratic formula easier to solve, since in this case we have one less variable to plug in. Sometimes, it makes it harder, though, so you have to be careful! The discriminant of the quadratic formula tells us a lot about the number of roots the quadratic will have. The discriminant is this: π2 β 4ππ If our discriminant is positive: We will have two distinct roots: π₯ = βπ+ π2 β4ππ 2π and π₯ = βπβ π2 β4ππ 2π Side note: if the roots are perfect squares (meaning the discriminant is of the form a2), then our roots are rational numbers (fractions or whole numbers). If our discriminant is zero: We will have one root: π₯= If our discriminant is negative: We wonβt have any real roots! βπ 2π When we know the roots of a quadratic equation, we are able to factor it. If the roots to a quadratic are u and v, then the quadratic can be factored into: (x β u)(x β v) This is something that βjust isβ. It makes sense mathematically, though itβs one of those things that are never derived. If we were to plug in u into the above expression, then we would end up with: (u β u)(u β v) = 0(u β v) = 0 The same thing would happen if we plug in v: (v β u)(v β v) = (v β u)0 = 0 This is fantastic, since we know a number is a root of a quadratic when plugging it in gives us zero. Yay! Factor the quadratic equation: 2x2 β 4x β 6 = 0 In order to factor this guy, we need to find out what its roots are. Thatβs not bad; we just have to plug all the numbers into the quadratic formula and weβre done! But, all the coefficients of the equation are divisible by 2. In this case, itβs much easier to divide both sides of the equation by 2, and then plug in whatβs left into the quadratic equation. 2x2 β 4x β 6 = 0 2 2 2 4 6 π₯ β π₯β =0 2 2 2 π₯ 2 β 2π₯ β 3 = 0 Great! Now that we have this quadratic as a monic polynomial, we can solve for the x values that make this equation true. Time to plug the numbers into our quadratic formula: βπ ± π2 β 4ππ π₯= 2π Now our a is 1, b = -2, and c = -3: β(β2) ± (β2)2 β4(1)(β3) π₯= 2(1) π₯= 2 ± 4 + 12 2 2 ± 16) 2 2±4 2 4 π₯= = ± = 1 ± 2 = 3 if we use + 2 2 2 β1 if we use β π₯= So, our roots are x = 3 and x = β1. To factor this equation out, we just need to plug these numbers in as our u and v values from a couple slides ago , and then weβre home free. (x β u)(x β v) We can just put in 3 for u and β1 for v: (x β 3)(x β (-1)) = (x β 3)(x + 1) Donβt forget the 2 we factored out before! Thatβs it! Factored out, 2x2 β 4x β 6 = 2(x β 3)(x + 1). Completing the square is probably the most difficult thing to do involving quadratic equations. After you complete the square, you will have something that will look like this: k (x β a)2 + d Where k and d are constants. Notice what happens when we multiply (x β a)2 out: (x β a)2 = (x β a) (x β a) = x2 β 2ax + a2 So, it appears that the middle b term is twice the number that appears in the completed βsquares part. Also, our c term is just that number squared. When weβre out to complete the square, we have to look at the middle b term. That number will tell us everything we need to know about what the last number will be in order to complete the square. Example: Say we want to complete the square for x2 + 4x + 3. Our middle coefficient is 4. So, the number weβre looking for must be half that, so we want a 2: (x β 2)2 But, the last term in our equation is 3. We know itβs supposed to be 2 squared, which is 4. What do we do about this? Thereβs a nifty trick people like to use, where essentially weβre adding 0 to our expression (which of course is a perfectly legal move; adding zero to anything doesnβt change the expression at all). But, instead of just adding 0, which wonβt help much, we can rewrite 0 as 1 β 1. Why 1 β 1? Iβve chosen 1 because we need 4, but weβre only given a 3. What do we do to make 3 equal to 4? We add 1 to it! But, we have to subtract 1 also, otherwise weβd be changing the expression (which is an extremely bad thing to do). So, our quadratic becomes x2 + 4x + 3 = x2 + 4x + 3 + (1 β 1) = (x2 + 4x + 3 + 1 )β 1 = (x2 + 4x + 4)β 1 = (x + 2)2 β 1 Weβre done! Thatβs how you complete the square for any quadratic equation you like.