Polynomials and Intro to Complex Numbers • Summary • January 2011
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Solving Cubic Polynomials
Solving Cubic Polynomials 1.1 The general solution to the quadratic equation There are four steps to finding the zeroes of a quadratic polynomial. 1. First divide by the leading term, making the polynomial monic. a 2. Then, given x2 + a x + a , substitute x = y − 1 to obtain an equation without the linear term. 1 0 2 (This is the \depressed" equation.) 3. Solve then for y as a square root. (Remember to use both signs of the square root.) a 4. Once this is done, recover x using the fact that x = y − 1 . 2 For example, let's solve 2x2 + 7x − 15 = 0: First, we divide both sides by 2 to create an equation with leading term equal to one: 7 15 x2 + x − = 0: 2 2 a 7 Then replace x by x = y − 1 = y − to obtain: 2 4 169 y2 = 16 Solve for y: 13 13 y = or − 4 4 Then, solving back for x, we have 3 x = or − 5: 2 This method is equivalent to \completing the square" and is the steps taken in developing the much- memorized quadratic formula. For example, if the original equation is our \high school quadratic" ax2 + bx + c = 0 then the first step creates the equation b c x2 + x + = 0: a a b We then write x = y − and obtain, after simplifying, 2a b2 − 4ac y2 − = 0 4a2 so that p b2 − 4ac y = ± 2a and so p b b2 − 4ac x = − ± : 2a 2a 1 The solutions to this quadratic depend heavily on the value of b2 − 4ac. -
Factoring Polynomials
EAP/GWL Rev. 1/2011 Page 1 of 5 Factoring a polynomial is the process of writing it as the product of two or more polynomial factors. Example: — Set the factors of a polynomial equation (as opposed to an expression) equal to zero in order to solve for a variable: Example: To solve ,; , The flowchart below illustrates a sequence of steps for factoring polynomials. First, always factor out the Greatest Common Factor (GCF), if one exists. Is the equation a Binomial or a Trinomial? 1 Prime polynomials cannot be factored Yes No using integers alone. The Sum of Squares and the Four or more quadratic factors Special Cases? terms of the Sum and Difference of Binomial Trinomial Squares are (two terms) (three terms) Factor by Grouping: always Prime. 1. Group the terms with common factors and factor 1. Difference of Squares: out the GCF from each Perfe ct Square grouping. 1 , 3 Trinomial: 2. Sum of Squares: 1. 2. Continue factoring—by looking for Special Cases, 1 , 2 2. 3. Difference of Cubes: Grouping, etc.—until the 3 equation is in simplest form FYI: A Sum of Squares can 1 , 2 (or all factors are Prime). 4. Sum of Cubes: be factored using imaginary numbers if you rewrite it as a Difference of Squares: — 2 Use S.O.A.P to No Special √1 √1 Cases remember the signs for the factors of the 4 Completing the Square and the Quadratic Formula Sum and Difference Choose: of Cubes: are primarily methods for solving equations rather 1. Factor by Grouping than simply factoring expressions. -
NP-Hardness of Deciding Convexity of Quartic Polynomials and Related Problems
NP-hardness of Deciding Convexity of Quartic Polynomials and Related Problems Amir Ali Ahmadi, Alex Olshevsky, Pablo A. Parrilo, and John N. Tsitsiklis ∗y Abstract We show that unless P=NP, there exists no polynomial time (or even pseudo-polynomial time) algorithm that can decide whether a multivariate polynomial of degree four (or higher even degree) is globally convex. This solves a problem that has been open since 1992 when N. Z. Shor asked for the complexity of deciding convexity for quartic polynomials. We also prove that deciding strict convexity, strong convexity, quasiconvexity, and pseudoconvexity of polynomials of even degree four or higher is strongly NP-hard. By contrast, we show that quasiconvexity and pseudoconvexity of odd degree polynomials can be decided in polynomial time. 1 Introduction The role of convexity in modern day mathematical programming has proven to be remarkably fundamental, to the point that tractability of an optimization problem is nowadays assessed, more often than not, by whether or not the problem benefits from some sort of underlying convexity. In the famous words of Rockafellar [39]: \In fact the great watershed in optimization isn't between linearity and nonlinearity, but convexity and nonconvexity." But how easy is it to distinguish between convexity and nonconvexity? Can we decide in an efficient manner if a given optimization problem is convex? A class of optimization problems that allow for a rigorous study of this question from a com- putational complexity viewpoint is the class of polynomial optimization problems. These are op- timization problems where the objective is given by a polynomial function and the feasible set is described by polynomial inequalities. -
Quadratic Polynomials
Quadratic Polynomials If a>0thenthegraphofax2 is obtained by starting with the graph of x2, and then stretching or shrinking vertically by a. If a<0thenthegraphofax2 is obtained by starting with the graph of x2, then flipping it over the x-axis, and then stretching or shrinking vertically by the positive number a. When a>0wesaythatthegraphof− ax2 “opens up”. When a<0wesay that the graph of ax2 “opens down”. I Cit i-a x-ax~S ~12 *************‘s-aXiS —10.? 148 2 If a, c, d and a = 0, then the graph of a(x + c) 2 + d is obtained by If a, c, d R and a = 0, then the graph of a(x + c)2 + d is obtained by 2 R 6 2 shiftingIf a, c, the d ⇥ graphR and ofaax=⇤ 2 0,horizontally then the graph by c, and of a vertically(x + c) + byd dis. obtained (Remember by shiftingshifting the the⇥ graph graph of of axax⇤ 2 horizontallyhorizontally by by cc,, and and vertically vertically by by dd.. (Remember (Remember thatthatd>d>0meansmovingup,0meansmovingup,d<d<0meansmovingdown,0meansmovingdown,c>c>0meansmoving0meansmoving thatleft,andd>c<0meansmovingup,0meansmovingd<right0meansmovingdown,.) c>0meansmoving leftleft,and,andc<c<0meansmoving0meansmovingrightright.).) 2 If a =0,thegraphofafunctionf(x)=a(x + c) 2+ d is called a parabola. If a =0,thegraphofafunctionf(x)=a(x + c)2 + d is called a parabola. 6 2 TheIf a point=0,thegraphofafunction⇤ ( c, d) 2 is called thefvertex(x)=aof(x the+ c parabola.) + d is called a parabola. The point⇤ ( c, d) R2 is called the vertex of the parabola. -
The Quadratic Formula You May Recall the Quadratic Formula for Roots of Quadratic Polynomials Ax2 + Bx + C
For example, when we take the polynomial f (x) = x2 − 3x − 4, we obtain p 3 ± 9 + 16 2 which gives 4 and −1. Some quick terminology 2 I We say that 4 and −1 are roots of the polynomial x − 3x − 4 or solutions to the polynomial equation x2 − 3x − 4 = 0. 2 I We may factor x − 3x − 4 as (x − 4)(x + 1). 2 I If we denote x − 3x − 4 as f (x), we have f (4) = 0 and f (−1) = 0. The quadratic formula You may recall the quadratic formula for roots of quadratic polynomials ax2 + bx + c. It says that the solutions to this polynomial are p −b ± b2 − 4ac : 2a Some quick terminology 2 I We say that 4 and −1 are roots of the polynomial x − 3x − 4 or solutions to the polynomial equation x2 − 3x − 4 = 0. 2 I We may factor x − 3x − 4 as (x − 4)(x + 1). 2 I If we denote x − 3x − 4 as f (x), we have f (4) = 0 and f (−1) = 0. The quadratic formula You may recall the quadratic formula for roots of quadratic polynomials ax2 + bx + c. It says that the solutions to this polynomial are p −b ± b2 − 4ac : 2a For example, when we take the polynomial f (x) = x2 − 3x − 4, we obtain p 3 ± 9 + 16 2 which gives 4 and −1. 2 I We may factor x − 3x − 4 as (x − 4)(x + 1). 2 I If we denote x − 3x − 4 as f (x), we have f (4) = 0 and f (−1) = 0. -
Nature of the Discriminant
Name: ___________________________ Date: ___________ Class Period: _____ Nature of the Discriminant Quadratic − b b 2 − 4ac x = b2 − 4ac Discriminant Formula 2a The discriminant predicts the “nature of the roots of a quadratic equation given that a, b, and c are rational numbers. It tells you the number of real roots/x-intercepts associated with a quadratic function. Value of the Example showing nature of roots of Graph indicating x-intercepts Discriminant b2 – 4ac ax2 + bx + c = 0 for y = ax2 + bx + c POSITIVE Not a perfect x2 – 2x – 7 = 0 2 b – 4ac > 0 square − (−2) (−2)2 − 4(1)(−7) x = 2(1) 2 32 2 4 2 x = = = 1 2 2 2 2 Discriminant: 32 There are two real roots. These roots are irrational. There are two x-intercepts. Perfect square x2 + 6x + 5 = 0 − 6 62 − 4(1)(5) x = 2(1) − 6 16 − 6 4 x = = = −1,−5 2 2 Discriminant: 16 There are two real roots. These roots are rational. There are two x-intercepts. ZERO b2 – 4ac = 0 x2 – 2x + 1 = 0 − (−2) (−2)2 − 4(1)(1) x = 2(1) 2 0 2 x = = = 1 2 2 Discriminant: 0 There is one real root (with a multiplicity of 2). This root is rational. There is one x-intercept. NEGATIVE b2 – 4ac < 0 x2 – 3x + 10 = 0 − (−3) (−3)2 − 4(1)(10) x = 2(1) 3 − 31 3 31 x = = i 2 2 2 Discriminant: -31 There are two complex/imaginary roots. There are no x-intercepts. Quadratic Formula and Discriminant Practice 1. -
Exponents and Polynomials Exponent Is Defined to Be One Divided by the Nonzero Number to N 2 a Means the Product of N Factors, Each of Which Is a (I.E
how Mr. Breitsprecher’s Edition March 9, 2005 Web: www.clubtnt.org/my_algebra Examples: Quotient of a Monomial by a Easy does it! Let's look at how • (35x³ )/(7x) = 5x² to divide polynomials by starting Monomial • (16x² y² )/(8xy² ) = 2x with the simplest case, dividing a To divide a monomial by a monomial by a monomial. This is monomial, divide numerical Remember: Any nonzero number really just an application of the coefficient by numerical coefficient. divided by itself is one (y²/y² = 1), Quotient Rule that was covered Divide powers of same variable and any nonzero number to the zero when we reviewed exponents. using the Quotient Rule of power is defined to be one (Zero Next, we'll look at dividing a Exponent Rule). Exponents – when dividing polynomial by a monomial. Lastly, exponentials with the same base we we will see how the same concepts • 42x/(7x³ ) = 6/x² subtract the exponent on the are used to divide a polynomial by a denominator from the exponent on Remember: The fraction x/x³ polynomial. Are you ready? Let’s the numerator to obtain the exponent simplifies to 1/x². The Negative begin! on the answer. Exponent Rule says that any nonzero number to a negative Review: Exponents and Polynomials exponent is defined to be one divided by the nonzero number to n 2 a means the product of n factors, each of which is a (i.e. 3 = 3*3, or 9) the positive exponent obtained. We -2 Exponent Rules could write that answer as 6x . • Product Role: am*an=am+n Quotient of a Polynomial by a • Power Rule: (am)n=amn Monomial n n n • Power of a Product Rule: (ab) = a b To divide a polynomial by a n n n • Power of a Quotient Rule: (a/b) =a /b monomial, divide each of the terms • Quotient Rule: am/an=am-n of the polynomial by a monomial. -
Formula Sheet 1 Factoring Formulas 2 Exponentiation Rules
Formula Sheet 1 Factoring Formulas For any real numbers a and b, (a + b)2 = a2 + 2ab + b2 Square of a Sum (a − b)2 = a2 − 2ab + b2 Square of a Difference a2 − b2 = (a − b)(a + b) Difference of Squares a3 − b3 = (a − b)(a2 + ab + b2) Difference of Cubes a3 + b3 = (a + b)(a2 − ab + b2) Sum of Cubes 2 Exponentiation Rules p r For any real numbers a and b, and any rational numbers and , q s ap=qar=s = ap=q+r=s Product Rule ps+qr = a qs ap=q = ap=q−r=s Quotient Rule ar=s ps−qr = a qs (ap=q)r=s = apr=qs Power of a Power Rule (ab)p=q = ap=qbp=q Power of a Product Rule ap=q ap=q = Power of a Quotient Rule b bp=q a0 = 1 Zero Exponent 1 a−p=q = Negative Exponents ap=q 1 = ap=q Negative Exponents a−p=q Remember, there are different notations: p q a = a1=q p q ap = ap=q = (a1=q)p 1 3 Quadratic Formula Finally, the quadratic formula: if a, b and c are real numbers, then the quadratic polynomial equation ax2 + bx + c = 0 (3.1) has (either one or two) solutions p −b ± b2 − 4ac x = (3.2) 2a 4 Points and Lines Given two points in the plane, P = (x1; y1);Q = (x2; y2) you can obtain the following information: p 2 2 1. The distance between them, d(P; Q) = (x2 − x1) + (y2 − y1) . x + x y + y 2. -
(Trying To) Solve Higher Order Polynomial Equations. Featuring a Recall of Polynomial Long Division
(Trying to) solve Higher order polynomial equations. Featuring a recall of polynomial long division. Some history: The quadratic formula (Dating back to antiquity) allows us to solve any quadratic equation. ax2 + bx + c = 0 What about any cubic equation? ax3 + bx2 + cx + d = 0? In the 1540's Cardano produced a \cubic formula." It is too complicated to actually write down here. See today's extra credit. What about any quartic equation? ax4 + bx3 + cx2 + dx + e = 0? A few decades after Cardano, Ferrari produced a \quartic formula" More complicated still than the cubic formula. In the 1820's Galois (age ∼19) proved that there is no general algebraic formula for the solutions to a degree 5 polynomial. In fact there is no purely algebraic way to solve x5 − x − 1 = 0: Galois died in a duel at age 21. This means that, as disheartening as it may feel, we will never get a formulaic solution to a general polynomial equation. The best we can get is tricks that work sometimes. Think of these tricks as analogous to the strategies you use to factor a degree 2 polynomial. Trick 1 If you find one solution, then you can find a factor and reduce to a simpler polynomial equation. Example. 2x2 − x2 − 1 = 0 has x = 1 as a solution. This means that x − 1 MUST divide 2x3 − x2 − 1. Use polynomial long division to write 2x3 − x2 − 1 as (x − 1) · (something). Now find the remaining two roots 1 2 For you: Find all of the solutions to x3 + x2 + x + 1 = 0 given that x = −1 is a solution to this equation. -
Factoring and Roots
Factoring and roots Definition: A polynomial is a function of the form: n n−1 f(x) = anx + an−1x + ::: + a1x + a0 where an; an−1; : : : ; a1; a0 are real numbers and n is a nonnegative integer. The domain of a polynomial is the set of all real numbers. The degree of the polynomial is the largest power of x that appears. Division Algorithm for Polynomials: If p(x) and d(x) denote polynomial functions and if d(x) is a polynomial whose degree is greater than zero, then there are unique polynomial functions q(x) and r(x) such that p(x) r(x) d(x) = q(x) + d(x) or p(x) = q(x)d(x) + r(x). where r(x) is either the zero polynomial or a polynomial of degree less than that of d(x) In the equation above, p(x) is the dividend, d(x) is the divisor, q(x) is the quotient and r(x) is the remainder. We say d(x) divides p(x) () the remainder is 0 () p(x) = d(x)q(x) () d(x) is a factor of p(x). p(x) If d(x) is a factor of p(x), the other factor of p(x) is q(x), the quotient of d(x) . p(x) • Given d(x) , divide (using Long Division or Synthetic Division (if applicable)) to get the quotient q(x) and remainder r(x). Write the answer in division algorithm form: p(x) = d(x)q(x) + r(x). x3+1 • Write x−1 in division law form. -
Annotations of Kostant's Paper
ANNOTATIONS OF KOSTANT’S PAPER VIPUL NAIK Abstract. Here, I annotate Section 0 of Kostant’s paper on “Lie Group Representations on Polynomial Rings”. 1. The setup 1.1. Automorphisms of the polynomial ring. Let’s start with a commutative unital ring R and consider an R algebra S. Then an R automorphism of S is an automorphism of S that restricts to the identity map on R. The question I discuss here is: what is the structure of the R automorphism group of S when S is a free R algebra? That is, what is AutR(R[x1, x2, . xn])? To specify any endomorphism of S fixing R, we need to describe where each xi goes. Each xi goes to a polynomial pi(x1, x2 . xn). Every such choice of polynomials gives a unique endomorphism. Thus the structure of EndR(S) is simply the collection of all n tuples of polynomials with multiplication being composition. Note that EndR(S) is a noncommutative monoid. An linear endomorphism(defined) of R[x1, x2 . xn] is an automorphism that sends each xi to a linear combination of the xis. The composite of two linear maps corresponds to the composite of the n corresponding endomorphisms of R[x1, x2 . xn]. Thus, Mn(R) (the monoid of linear maps on R ) is a submonoid of EndR(R[x1, x2 . xn]). A linear automorphism(defined) is thus an invertible linear endomorphism. The corresponding linear map lies in GLn(R). Thus, GLn(R) is a subgroup of AutR(R[x1, x2 . xn]). What is so special about linear automorphisms? 1.2. -
Lesson 4-1 Polynomials
Lesson 4-1: Polynomial Functions L.O: I CAN determine roots of polynomial equations. I CAN apply the Fundamental Theorem of Algebra. Date: ________________ 풏 풏−ퟏ Polynomial in one variable – An expression of the form 풂풏풙 + 풂풏−ퟏ풙 + ⋯ + 풂ퟏ풙 + 풂ퟎ where the coefficients 풂ퟎ,풂ퟏ,…… 풂풏 represent complex numbers, 풂풏 is not zero, and n represents a nonnegative integer. Degree of a polynomial in one variable– The greatest exponent of the variable of the polynomial. Leading Coefficient – The coefficient of the term with the highest degree. Polynomial Function – A function y = P(x) where P(x) is a polynomial in one variable. Zero– A value of x for which f(x)=0. Polynomial Equation – A polynomial that is set equal to zero. Root – A solution of the equation P(x)=0. Imaginary Number – A complex number of the form a + bi where 풃 ≠ ퟎ 풂풏풅 풊 풊풔 풕풉풆 풊풎풂품풊풏풂풓풚 풖풏풊풕 . Note: 풊ퟐ = −ퟏ, √−ퟏ = 풊 Complex Number – Any number that can be written in the form a + bi, where a and b are real numbers and 풊 is the imaginary unit. Pure imaginary Number – The complex number a + bi when a = 0 and 풃 ≠ ퟎ. Fundamental Theorem of Algebra – Every polynomial equation with degree greater than zero has at least one root in the set of complex numbers. Corollary to the Fundamental Theorem of Algebra – Every polynomial P(x) of degree n ( n>0) can be written as the product of a constant k (풌 ≠ ퟎ) and n linear factors. 푷(풙) = 풌(풙 − 풓ퟏ)(풙 − 풓ퟐ)(풙 − 풓ퟑ) … .