How to solve a Cubic Equation Part 3 General Depression and a New Covariant

Size: px
Start display at page:

Download "How to solve a Cubic Equation Part 3 General Depression and a New Covariant"

Transcription

1 ow to Solve a ubic Equation Part 3 ow to solve a ubic Equation Part 3 General Deression and a New ovariant James F. Blinn Microsoft Research blinn@microsoft.com Originally ublished in IEEE omuter Grahics and Alications Nov/Dec 006, ages 9 0 V is good for you. hat s one of the conclusions of this month s book recommendation: Everything Bad Is Good for You: ow oday's Poular ulture Is Actually Making Us Smarter by Steven Johnson. he basic remise is that television series (his rimary examle) have gotten so comlex in their seed of exosition and involved interersonal relationshis that it really exercises your brain just to follow them. And each eisode is not an individual story any more; a given rogram is one continuing mini-series that has to be seen in order without gas for it to make sense. For examle I ve been totally sucked into the series ost, and the whole fun of the series is watching the mystery unfold by seeing the eisodes in sequence. But I missed the first few eisodes of the second season, so I didn t dare look at any of the later eisodes. I ve been forced to wait for the second season to come out on DVD and not look at any fan sites until then. Given that V shows are now all miniseries I don t feel so bad about the fact that this column has evolved into various multi-art series. I had eight articles on 3D lines, two articles on solving quadratic equations, and this is the third one on cubic equations. (It would be nice to make it three articles on cubics, and four on quartics, but there is more than three articles worth say on cubics so it will robably be four). I do try to make each article have a theme so they are roughly self-contained, but I still must start out with the same hrase as all the serialized V shows Previously on Jim Blinn s orner We are looking for the roots [x,w] of the equation 3 3 f x, w Ax 3Bx w 3xw Dw 0 he essian matrix is a useful intermediate result and is calculated as 3 A B AD B BD 3 3 he discriminant of the cubic is the determinant of this matrix det 4 A D 6ABD 4A 4B D 3B 3 3 (0.) (0.)

2 ow to Solve a ubic Equation Part 3 If 0 there are three real roots, if 0 there is a double or trile root, and if 0 there is a single real root. he first ste in solving the cubic is to deress it by transforming in arameter sace to get a cubic with a second coefficient of zero. We transform by the substitution: his gives a transformation in coefficient sace of t u x w x w s v (0.3) 3 3 A t 3t u 3tu u A t s tus t v u s tuv u v B B ts us tsv usv tv uv D 3 3 s 3s v 3sv v D (0.4) We found two transformation matrices that result in a cubic with B 0 : t u 0 0 or s v B A D (0.5) he two ossibilities generate two variants of the algorithm (which I called A and D after the determinant of the transformation.) Each of these generate a deressed olynomial (though some authors use the more rosaic term reduced olynomial ) with A D A 0 0 B or A A B D BD D 3 3 AB 3AB A D D D A 3DB Each of these has a common homogeneous factor which we can toss out giving (0.6) A 0 B 0 or A B BD D 3 3 B 3AB A D D A 3DB So both generate a canonical olynomial to solve: 3 x x D 3 0 Solve this (see [] for details) and transform by the original matrix to get the answer 0 0 B A D x w x or x Both these variants work fine algebraically, but each is numerically good for regions in arameter sace that is different from the other. So far, I have only finished the calculations for the case 0 where there is just one real root, a, and a comlex conjugate air b ic. We found that the best (so far) numerical solution to be:

3 ow to Solve a ubic Equation Part 3 if 3 3 B D A {equivalent to} a b c use algorithm A to calculate a, use algorithm D to calculate b and c otherwise use algorithm D to calculate a, use algorithm A to calculate b and c. Generalizing the deressing transformation Given the two choices of deressing transformations, Equation (0.5), it is natural to ask if there are any others. Of course there are. So let s find all ossible transformations (values of s,,v) that make B 0. From Equation (0.4) we have (0.7) B t sa tus t v B u s tuv u vd Proceeding as we did with quadratic olynomials we will arameterize the desired set of transformations in terms of the first row []. So given we find the roer that makes B 0 by rewriting equation (0.7) as An that satisfies this is : B s t A tub u v t B tu u D 0 s t B tu u D v t A tub u (0.8) Actually any nonzero multile of these values will also work, but for now I ll stick with just the values in Equation (0.8). he transformation this generates is singular if the following is zero. tv su t t A tub u t B tu u D u 3 3 t A 3t ub 3tu u D f t, u In other words, this transformation will be singular if the () we chose was a root of the original cubic. his situation will turn out to be not all that bad, but I ll defer a comlete discussion of this until Part 5. Now that we ve transformed to get B 0 let s see what the other coefficients are as functions of (). Evaluating A, and D We first exand out the matrix formulation of equation (0.4) to get the formulas for A,, D. 3 3 A t A 3t ub 3tu u D ts A us tsv B usv tv uv D 3 3 D s A 3s vb 3sv v D (0.9) 3

4 ow to Solve a ubic Equation Part 3 We recognize A as just f() which is also the determinant of the transformation. hinking of A as now a A t, u f t, u. he other two values and D can be had in terms of function of () we have simly just t and u by simly lugging the values from equation (0.8) into equation (0.9). his will result in a exression for that is fifth order in () and for D that is sixth order in (). Needless to say, doing this exlicitly will turn into an algebraic quagmire. And this quagmire obscures the very nice algebraic fact that,, A t, u as a factor. We saw a secial the exression for t u and Dt u both contain the olynomial case of this in equation (0.6) of the original Algorithm A (where []=[,0]) and Algorithm D (where []=[0,]). o see the general case more clearly I will drag in my favorite algebraic simlification tool, the tensor diagram. ensor Diagram Essentials I ve described this notation scheme in various revious articles []. But there are a few new constructions that we will need here so let s start out with a brief review. Polynomials as ensors We are interested in linear, quadratic and cubic homogeneous olynomials l x, w Ax Bw q x, w Ax Bxw w f x, w Ax 3Bx w 3xw Dw 3 3 We can write these as vector-matrix roducts (though the cubic olynomial is a bit clunky in this notation). A l x, w x w B A B x q x, w x w B w A B B x x f x, w x w B D w w he coefficients form tensors of rank (a vector for the linear olynomial), rank (a matrix for the quadratic) and rank 3 (for the cubic). Next, we will give names to the tensors and give alternate, indexed, names to their elements. A 0 B A B 00 0 B 0 A B B B D he vector will be dot-roducted with these. As a bookkeeing convention we will write its elements indices as suerscrits. 4

5 ow to Solve a ubic Equation Part 3 0 x w hen we can write the olynomial functions as nested sums. l q f i i, j i, j, k i i i j i, j i j k ijk (0.0) Note that I m kinda running out of letters here so I ve overloaded the notation a bit. I use boldface to reresent the tensor and italic with subscrits to reresent its elements, and I use italic without subscrits as one of the elements of. We will next disense with exlicit indices anyway so this is just temorary scaffolding. o disense with exlicit indices we write equation (0.0) in diagram form as follows. l q f Each vector/matrix/tensor is a node. he number of connection oints equals the number of indices. Each summed-over index is an arc connecting the two nodes containing that index. he arrow on the arc oints from a connection oint on a arameter vector (reresenting a suerscrit or contravariant index) to a connection oint on a coefficient tensor (reresenting a subscrited or covariant index) I want to oint out something here that is retty obvious, but that we will build on later. Given a tensor, we may extract out the coefficients by lugging in articular values for the arameter vector. For examle we can lug in the arameter vectors [, 0] and [0, ] to get the A and D coefficients.,0 0, A,0 D 0,,0 Slightly less obvious is the following. We can extract out the other coefficients by lugging different arameter vectors into the three inuts. I have colored the nodes here simly to emhasize the attern. 0, (0.),0,0 B 0, 0,,0 0, (0.) 5

6 ow to Solve a ubic Equation Part 3 ransformations If we transform the arameter vector via a matrix he diagram version is t u x w x w s v = Note that the matrix has one arrow in and one out. his is called a mixed tensor in distinction to the ure covariant tensor that reresents a quadratic olynomial. o see the effect of on the tensor we form = So the transformed tensor is just the inside ortion = (0.3) Given the tensor we can extract the coefficients A, B,, D by lugging in the arameter vectors [,0] and [0,] in the atterns from equation (0.) and (0.). Given the internal structure of from equation (0.3) these will go straight into the transformation matrix. We observe that,0 = 0, = his means that the coefficients A, B,, D in terms of elements of the original tensor are: 6

7 ow to Solve a ubic Equation Part 3 A B D his is the diagram version of equation (0.4) and is called blossoming. (0.4) he Esilon ensor wo vectors and 0 0 are homogeneously equivalent (differ by only a nonzero homogeneous scale factor) if the following is true or We can write this exression as a matrix roduct We give the name esilon to the x anti-symmetric matrix. In diagram notation it would look like a node with two connecting arcs joined to the and nodes. But we have to be careful. Since esilon is antisymmetric reversing the ositions of and will fli the sign: (0.5) I want to make this visually aarent with the node diagram so I make the node shae itself asymmetric. he diagram version of equation (0.5) is = - A rotation of a diagram or other connectivity-reserving rearrangement of its nodes doesn t affect its algebraic meaning. But a mirror reflection of an esilon node will fli the sign. = - It s imortant to note that, in this diagram, and don t have to be just single vectors. hey can reresent any other more comlex collections of nodes and arcs; if you fli an esilon anywhere inside a comlex diagram you fli its algebraic sign. he esilon tensor is also good for reresenting determinants of matrices. onsider the following A B 0 B A B 0 B 7

8 ow to Solve a ubic Equation Part 3 Now ut two of these end to end B A B A B A 0 B B 0 B A his is (minus) the determinant of, times an identity matrix. Diagrammatically: (0.6) = -det You can write the determinant as a simle scalar by connecting the dangling arcs, which is the same as taking the trace of the matrix. det (0.7) (0.8) he factor of on the right hand side comes from taking the trace of the right hand side of equation (0.6). Another way to look at this is to take the trace of the version in equation (0.7) and note that a single arc reresents a x identity matrix whose trace is. Why ensor Diagrams are ool here are several things I like about tensor diagram notation. First of all, they are a good visualization tool since they reresent certain algebraic roerties visually: Symmetry of the tensors is reflected in the roundness of the nodes, so that exchanging any two inut arcs leaves the algebraic values unchanged. And anti-symmetry of the esilon is reflected in the shae of its node. But there are two main things that are articularly nice: tensor diagrams automatically reresent transformationally invariant quantities, and they allow easy algebraic maniulations. et s look at the first of these. Invariants onsider the following construction t s 0 t u 0 tv su u v 0 s v tv su 0 he right hand side is just the determinant of times the esilon matrix. hat is: = det Now look at what haens when we form the determinant of a transformed matrix (0.9) 8

9 ow to Solve a ubic Equation Part 3 = det Each air of s on either side of an esilon extracts out into a factor of det for the resulting exression. Since there are two such factors here, the sign of the determinant of is unchanged by any arameter transformation. he mere writing of an exression as a tensor exression (in either diagram or index form) constitutes a roof that it reresents a transformationally invariant quantity. Each esilon in the diagram will turn into a factor of det when a transformation is alied. So if the diagram contains an even number of esilons its sign is invariant under transformation. If it contains an odd number just the zeroness is invariant. he number of esilon nodes in a diagram is called the weight. An Invariant of the ubic As we stated in art of this series [3], the essian of the cubic is a quadratic olynomial formed as the determinant of the matrix of second derivatives. What does this look like in diagram notation? he first derivative of f(x,w) is a vector comosed of the artial derivatives fx, f w which can be written in diagram notation by simly loing off one inut node: f f 3 Ax Bxw w Bx xw Dw x w x,w = 3 he second derivative matrix comes from loing of two nodes x,w (0.0) fxx fxw Ax Bw Bx w 6 6 fxw f ww Bx w x Dw x,w he determinant of this, as rescribed by equation (0.8), will be fxx fxw det 8 fxw f ww x,w x,w I decided, for convenience, to define the essian matrix (equation (0.)) without the constant factor of 8 giving us Next we look at the cubic discriminant, = - det, which in diagram form is (0.) 9

10 ow to Solve a ubic Equation Part 3 det Plug in equation (0.) twice, once for each, and the minus s from that equation go away leaving us with the cubic invariant he existence of six esilons in this diagram immediately verifies the statement made in art that the discriminant of a transformed cubic differs from the discriminant of the original by a factor of 6 det ovariants Now let s look at what haens to the essian when we transform the tensor. he essian of the transformed tensor is = - Alying equation (0.3) and then equation (0.9) gives us = - = - det = det So the essian transforms, as a quadratic, by the same transform that was alied to the cubic; the transform of the essian is the essian of the transform. his not-entirely-surrising fact is still imortant. It means that the essian is geometrically locked to the cubic and reresents a transformationally invariant roerty. his tye of object is called a covariant of the cubic. In fact, the main difference between an invariant and a covariant is that an invariant is a scalar and a covariant is a tensor it still has some dangling arcs. Much of the early work on invariants and covariants of homogeneous olynomials (also called forms or quantics) was due to David ilbert. A good resource is [4] which is a recent rerint of a series of lectures originally given in 897 and which gave me a lot of the insiration for this and later derivations. ilbert did not use diagrams, but rather develoed what amounts to a set of lexicograhic rules for testing whether olynomials in A,B,,D like equation (0.) were invariants. For examle if you rename the coefficients 0

11 ow to Solve a ubic Equation Part 3 with indices A a3, B a, a, D a0 and consider owers to be just relications of a quantity (so that A D a3a3a0a ) then a necessary (but not sufficient) condition for a olynomial in the a 0 i s to be an invariant is that the sum of the subscrits in each term is the same. For equation (0.) you can verify for yourself that that index sum for each term is 6 (which equals the weight of the exression, or diagramwise, the number of esilons). Deression in diagram form o make B 0 we had to choose the second row of the transformation according to Equation (0.8). We can write this in terms of esilon with s v t B tu u D t A tub u 0 t A tub u t B tu u D 0 omaring this to the first derivative diagram of equation (0.0) shows us the diagram form of [] = Plugging this into the diagrams of equation (0.4) gives us the following. For B we have (0.) B = his is of form Which is identically zero, as we exect, since we designed () to make this haen. Next, for we have = and for D we have

12 ow to Solve a ubic Equation Part 3 D = Now let s see how to maniulate these diagrams into something simler. Doing hings with Diagrams So far, I ve used tensors only as a reresentation scheme for olynomial exressions. he real ower is in using them to maniulate exressions. he technique is based on the observation that there can be only two linearly indeendent -vectors. Any third vector must be a linear combination of the first two. A little fiddling can show that the scale factors in the linear combination are given by the following identity: In diagram notation this looks like M M M M M M = + M M Rearranging this a bit to ut, and M in a fixed osition, and lugging in another tensor as a laceholder, we get M = + M M (0.3) Now the cool thing is that this works even if,,, and M are not simly vectors. hey can be more general tensors with any number of other arrows ointing into and out of them that don t directly articiate in the identity, but just go along for the ride. his basic identity then allows us to reconnect the arrows of any diagram to construct two new diagrams whose sum is equal to the original one. As a useful examle, suose the nodes and M were actually quadratics R and with an esilon between them. Our diagram equation would look like R = + R R lean this u with a coule of esilon mirrors (and associated sign flis) for neatness and get the following identity:

13 ow to Solve a ubic Equation Part 3 R = - R As a secial case of this identity, consider what haens if you lug in R=. he identity turns into something we ve seen before, a combination of equations (0.7) and (0.8). = + R (0.4) (0.5) So whenever we see a chain of two identical quadratics, we can aly this identity and slit the diagram into two disjoint ieces. his trick alies immediately to our diagram for Simlifying ets start with the diagram and bend it around a bit (with a sign fli) to get = - We can now aly identity (0.5), treating the two diagram ieces inside the gray ellises as the quadratic. We get he diagram has fallen aart into two disjoint ieces. Each iece is an indeendent factor of the net exression. And one of the ieces is, as advertised, the value of A. Simlifying D (0.6) o simlify the diagram for D we again start by bending the diagram around a bit and fliing an esilon (and the sign). 3

14 ow to Solve a ubic Equation Part 3 = - his time we aly the more general identity of Equation (0.4) to the to gray regions and get D - Now look at the first term on the right hand side. What do you see? et me give you a hint by the following grouing. Remarkably, this is two identical things (indicated by the blue areas) on each side of an esilon (the middle one of the three). So it s ZERO. his is great. We like things that are zero. his makes D equal to just the second term. D Again notice the factor of A. (0.7) 4

15 ow to Solve a ubic Equation Part 3 General Deression et s ut all this together. Using the general transformation of equation (0.3) with the second row, [], 3 3 defined by equation (0.) we have deressed our olynomial into the form Ax 3xw Dw. hen A f t, u from looking at equations (0.6) and (0.7) we see that we can remove the constant factor of this exression giving the net equation we need to solve as: Where 3 3 x 3xw Dw 0 D (0.8) Algorithms A and D are simly secial cases of this with []=[,0] and []=[0,] resectively. But now we have a whole continuum of and D values arameterized by []. We now think of and D as olynomial functions of (). he exression for is something we ve seen already; it s just the half of the essian evaluated at (). But what about D? What is D? D is now a homogeneous cubic olynomial in (). And, since equation (0.8) shows it written as a tensor diagram, it is also a covariant of the original cubic tensor. (ilbert calls this the skew covariant because the weight is odd.) So you can also think of D as a maing of one cubic olynomial to another one, D. For concreteness, let s exlicitly find this maing. Equation (0.8), written as a matrix roduct looks like s Dt, u t u v Plugging in equation (0.8) for [], exanding out and collecting like terms for t 3 etc gives with 3 3, 3 3 D t u A t B t u tu D u D D D D 3 A A D 3AB B D B A ABD B D AD B D B D 3 D AD 3BD et s see what else we can find out about this maing. D (0.9) 5

16 ow to Solve a ubic Equation Part 3 D is a transformation of I will now show that the maing D is just a arameter-sace transformation of. Of course any cubic of a articular tye is just a arameter transformation of other cubics of the same tye. But this transformation is secial; it s just the roduct of with esilon,. In diagram form this is = Note that lugging in an esilon has changed the two-arrows-in matrix to a one-in-and-one-out matrix that tyifies a transformation matrix. he transformed cubic is then ˆ o see why Ĉ is homogeneously equivalent to D we again do a derivation using tensor diagrams. I m not going to do this in detail here, but the rocess is very similar to what we ve seen before. he net result is We can see that this is at least reasonable since the number of nodes, esilons and arcs is the same; they are just connected together differently. he only slightly tricky art in the roof is that you will encounter the following diagram fragment = - his fragment is identically zero, which you can rove by alying the basic identity of equation (0.3) to the arcs marked in red. Now what about the essian of the cubic D? Since the essian oeration is a covariant and since we transform by D we can simly transform the essian of by to find the essian of D. We get to get 6

17 ow to Solve a ubic Equation Part 3 = So we get almost trivially that the essians of and D are the same u to a homogeneous scalar. In art we talked about the sace of ossible cubics as being foliated by a network of lines of constant essian. We have just shown that and D lie on the same line in this sace. Finally let s think about what haens if we aly the D oeration twice; what is DD? Well, Equation (0.7) basically tells us that the matrix is its own inverse (u to a homogeneous scale factor). In other words alying the D oeration twice gets us back to the original cubic. D is a function of other covariants At first it might seem that the discovery of D gives us something new about the cubic olynomial. But in fact it turns out that D is a function of the other three in/covariants that we already know about. Just looking at equation (0.8) it s not immediately obvious how this can be. Any attemt to rocess the diagram for D into something else, using the basic identity in Equation (0.3), doesn t get us anywhere. But if we instead start laying with the square of D (formed by just lacing two coies side by side) we make some rogress. he first ste uses Equation (0.3) on this air as follows = + Figure shows the ultimate result (which requires a few more alications of Equation (0.3)). Again, as a visual sanity check note that each term in figure has the same number of s, s and esilons; they are just connected together in different ways. 7

18 ow to Solve a ubic Equation Part 3 = + Figure Syzygy relating the in/covariants of We can write the diagram of figure algebraically as Which simlifies to Dx, w Ax, w x, w 3, 4,, 3 D x w x w A x w his is the generalization of equation 3 of art to a general [] instead of [,0]. his sort of relation is called a syzygy. As a general rincile, any diagram that contains an odd number of esilons can usually be related to simler in/covariants by rocessing its square in this fashion. Examles et s round out our intuition about the essian and the D oeration by looking at what they do to each of the four tyes of cubics. I ll start with a secific examle of each tye and aly equation (0.) to get the essian, both in the form of the matrix and of its associated quadratic olynomial which I ll write as (f), and then aly equation (0.9) to calculate D f. hen I ll discuss how this looks for a more general cubic of that tye. ye 3 3 he simlest exemlar of trile-root cubics is f x, w x. Plugging this into equation (0.) shows that the essian is identically zero (this is the defining characteristic of a trile-root cubic). hen equation (0.9) shows that D is also identically zero. We ll catalog these as ye his is tyified by the function x D x f x, w 3x w which leads to

19 ow to Solve a ubic Equation Part x w x D 3x w x 3 he transformation that mas f to D is singular, so it is able to change the tye of the cubic from ye to ye 3 that is, to the cubic that has a trile root where the original f has a double root. here s a nice geometric interretation of this henomenon. Recall that in art we found that the discriminant surface 0, where all tye cubics reside, is a ruled surface. A articular ruling line is the set of all tye cubics that share the same essian. he set of all tye 3 cubics lies on a crease in the discriminant surface and each ruling line crosses this crease exactly once. he oeration of forming the D of a tye cubic then consists of following along its ruling line to the crease. Generalizing the single root at w=0 to instead be at Ax 3Bw 0 gives us, after the aroriate comutation: 0 0 B 0, 3 3 Ax Bx w B x 0 B, D Ax 3Bx w B x he coefficient A does not aear in the formulas for and D ; only the location of the double root matters. his means that a ruling line (a line of constant essian) is also a line of constant double root. Sliding u and down along this line just changes the single root until, at the crease, the single root momentarily coincides with the double root. ye 3 A nice examle of a tye cubic is f x, w xx 3wx 3w x 3xw. If you lot the three roots as lines through the origin in the x,w lane you find that they are equally saced 60 degrees aart, Figure. Some comutation gives: 0, x 3 xw x w D x 3xw, 0 3x w 3x w w he essian has no real roots. he matrix that transforms f to D is a 90 degree rotation so D has three roots interleaved between the three roots of f, again see figure. 9

20 ow to Solve a ubic Equation Part 3 w Roots of f x Roots of D f Figure. Roots of tye cubic and its covariants For a general tye cubic, the essian will always have no real roots and be negative definite. Now recall that the roots of corresond to the eigenvectors of, so the transformation from f to D has no real eigenvectors. his means that it is always a generalized rotation that is, one with some ossible additional shearing. So we have the situation that sliding a tye cubic along a line of constant essian basically rotates its roots until it gets to D. But there s something else that s interesting. In figure note that a rotation of 90 degrees is not the only rotation that can change f into D. A rotation of 30 degrees and - 30 degrees will also work. In the general case the matrix is not the only transformation that does the job. Another matrix that works is one that is effectively the cube root of. ye f x, w x x 3w x 3xw ere our concrete examle will be omutation reveals 3 so it has one real root at [x,w]=[0,]. 0 3, 3 0 x xw x w 0, D x 3 xw 3 x w w he essian has two real roots, [x,w]=[,] and [x,w]=[-,]. he transformation matrix simly exchanges x and w; it is a mirror about the line x=w. So D is a cubic with one real root at [x,w]=[,0]. See figure 3. 0

21 ow to Solve a ubic Equation Part 3 w Root of f x Root of D f Roots of f Figure 3. Roots of tye cubic and its covariants In the general case will always have two real eigenvectors and a negative determinant (since 0). D f. But here s the really interesting So it will mirror the single real root of f into the single real root of thing: Recall that in art I showed that lines of constant essian for tye cubics intersect the trileroot curve at two oints. hese two trile-root cubics are the cubes of the roots of the essian. In our secial case these are x w 3 and x w 3 D f, that is also on this constant. Now we have a new cubic, essian line. his means that these four cubic olynomials are linearly deendent; in articular in our secial case we can easily see that: f D f x w f D f x w So traveling along the constant-essian line we encounter, in order, f, x w, D f, x w get back to f. What can we do with this? and then Our ultimate goal here is twofold. We want to get insight into how cubic olynomials work: what are the in/covariants and their geometric interretations, how does a transformation in arameter sace relate to the transformation in coefficient sace, etc. But, more ractically, we are also interested in finding numerically sound ways to calculate the roots of a cubic. o do this it is useful to have more than one way to calculate the roots. For examle, when we were solving quadratics we found numerical roblems in the exression B B A / A when B is ositive and A B. But knowing about the roblem was only useful because there was another way to calculate the same value: / B B A, that didn t have numerical roblems. Similarly, last time we found two algorithms that comlement each other in solving tye cubics so that at least one of them (retty much) will be numerically nice. In art 4 we will show a reliminary solution to tye cubics, and in art 5, with the insights gained in this article, we will work on finding numerically nice solutions to all cubics. Meanwhile, I ll get back to my ost DVD s. I wonder if Walt will get rescued. (I ll bet he does.)

22 ow to Solve a ubic Equation Part 3 References [] J. F. Blinn, ow to Solve a ubic Equation, Part he case, IEEE G&A, Vol 6, No 4, Jul/Aug 006, ages [] J. F. Blinn, Polynomial Discriminants Part ensor Diagrams IEEE G&A, Jan/Feb 00, and J. F. Blinn, uartic Discriminants and ensor Invariants, IEEE G&A, Mar/Ar 00, both rerinted in Jim Blinn s orner: Notation, Notation, Notation, hater 0, Morgan auffman, 003. [3] J. F. Blinn, ow to Solve a ubic Equation, Part he Shae of the Discriminant, IEEE G&A, Vol 6, No 3, 006, ages [4] D. ilbert, heory of Algebraic Invariants, ambridge University Press, 993.

Complex Conjugation and Polynomial Factorization

Complex Conjugation and Polynomial Factorization Comlex Conjugation and Polynomial Factorization Dave L. Renfro Summer 2004 Central Michigan University I. The Remainder Theorem Let P (x) be a olynomial with comlex coe cients 1 and r be a comlex number.

More information

6.042/18.062J Mathematics for Computer Science December 12, 2006 Tom Leighton and Ronitt Rubinfeld. Random Walks

6.042/18.062J Mathematics for Computer Science December 12, 2006 Tom Leighton and Ronitt Rubinfeld. Random Walks 6.042/8.062J Mathematics for Comuter Science December 2, 2006 Tom Leighton and Ronitt Rubinfeld Lecture Notes Random Walks Gambler s Ruin Today we re going to talk about one-dimensional random walks. In

More information

More Properties of Limits: Order of Operations

More Properties of Limits: Order of Operations math 30 day 5: calculating its 6 More Proerties of Limits: Order of Oerations THEOREM 45 (Order of Oerations, Continued) Assume that!a f () L and that m and n are ositive integers Then 5 (Power)!a [ f

More information

SOME PROPERTIES OF EXTENSIONS OF SMALL DEGREE OVER Q. 1. Quadratic Extensions

SOME PROPERTIES OF EXTENSIONS OF SMALL DEGREE OVER Q. 1. Quadratic Extensions SOME PROPERTIES OF EXTENSIONS OF SMALL DEGREE OVER Q TREVOR ARNOLD Abstract This aer demonstrates a few characteristics of finite extensions of small degree over the rational numbers Q It comrises attemts

More information

The Cubic Formula. The quadratic formula tells us the roots of a quadratic polynomial, a polynomial of the form ax 2 + bx + c. The roots (if b 2 b+

The Cubic Formula. The quadratic formula tells us the roots of a quadratic polynomial, a polynomial of the form ax 2 + bx + c. The roots (if b 2 b+ The Cubic Formula The quadratic formula tells us the roots of a quadratic olynomial, a olynomial of the form ax + bx + c. The roots (if b b+ 4ac 0) are b 4ac a and b b 4ac a. The cubic formula tells us

More information

1 Gambler s Ruin Problem

1 Gambler s Ruin Problem Coyright c 2009 by Karl Sigman 1 Gambler s Ruin Problem Let N 2 be an integer and let 1 i N 1. Consider a gambler who starts with an initial fortune of $i and then on each successive gamble either wins

More information

Pythagorean Triples and Rational Points on the Unit Circle

Pythagorean Triples and Rational Points on the Unit Circle Pythagorean Triles and Rational Points on the Unit Circle Solutions Below are samle solutions to the roblems osed. You may find that your solutions are different in form and you may have found atterns

More information

As we have seen, there is a close connection between Legendre symbols of the form

As we have seen, there is a close connection between Legendre symbols of the form Gauss Sums As we have seen, there is a close connection between Legendre symbols of the form 3 and cube roots of unity. Secifically, if is a rimitive cube root of unity, then 2 ± i 3 and hence 2 2 3 In

More information

CUBIC AND QUARTIC FORMULAS. James T. Smith San Francisco State University

CUBIC AND QUARTIC FORMULAS. James T. Smith San Francisco State University CUBIC AND QUARTIC FORMULAS James T. Smith San Francisco State University Quadratic formula You ve met the uadratic formula in algebra courses: the solution of the uadratic euation ax + bx + c = 0 with

More information

Price Elasticity of Demand MATH 104 and MATH 184 Mark Mac Lean (with assistance from Patrick Chan) 2011W

Price Elasticity of Demand MATH 104 and MATH 184 Mark Mac Lean (with assistance from Patrick Chan) 2011W Price Elasticity of Demand MATH 104 and MATH 184 Mark Mac Lean (with assistance from Patrick Chan) 2011W The rice elasticity of demand (which is often shortened to demand elasticity) is defined to be the

More information

ENFORCING SAFETY PROPERTIES IN WEB APPLICATIONS USING PETRI NETS

ENFORCING SAFETY PROPERTIES IN WEB APPLICATIONS USING PETRI NETS ENFORCING SAFETY PROPERTIES IN WEB APPLICATIONS USING PETRI NETS Liviu Grigore Comuter Science Deartment University of Illinois at Chicago Chicago, IL, 60607 lgrigore@cs.uic.edu Ugo Buy Comuter Science

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

The Lognormal Distribution Engr 323 Geppert page 1of 6 The Lognormal Distribution

The Lognormal Distribution Engr 323 Geppert page 1of 6 The Lognormal Distribution Engr 33 Geert age 1of 6 The Lognormal Distribution In general, the most imortant roerty of the lognormal rocess is that it reresents a roduct of indeendent random variables. (Class Handout on Lognormal

More information

How to Solve a Cubic Equation Part 1 The Shape of the Discriminant

How to Solve a Cubic Equation Part 1 The Shape of the Discriminant How to Solve a Cubic Equation Part The Shape of the Discriminant James F. Blinn Microsoft Research blinn@microsoft.com Originally published in IEEE Computer Graphics and Applications May/Jun 006, pages

More information

C-Bus Voltage Calculation

C-Bus Voltage Calculation D E S I G N E R N O T E S C-Bus Voltage Calculation Designer note number: 3-12-1256 Designer: Darren Snodgrass Contact Person: Darren Snodgrass Aroved: Date: Synosis: The guidelines used by installers

More information

Point Location. Preprocess a planar, polygonal subdivision for point location queries. p = (18, 11)

Point Location. Preprocess a planar, polygonal subdivision for point location queries. p = (18, 11) Point Location Prerocess a lanar, olygonal subdivision for oint location ueries. = (18, 11) Inut is a subdivision S of comlexity n, say, number of edges. uild a data structure on S so that for a uery oint

More information

Effect Sizes Based on Means

Effect Sizes Based on Means CHAPTER 4 Effect Sizes Based on Means Introduction Raw (unstardized) mean difference D Stardized mean difference, d g Resonse ratios INTRODUCTION When the studies reort means stard deviations, the referred

More information

Stat 134 Fall 2011: Gambler s ruin

Stat 134 Fall 2011: Gambler s ruin Stat 134 Fall 2011: Gambler s ruin Michael Lugo Setember 12, 2011 In class today I talked about the roblem of gambler s ruin but there wasn t enough time to do it roerly. I fear I may have confused some

More information

Linear Algebra Notes

Linear Algebra Notes Linear Algebra Notes Chapter 19 KERNEL AND IMAGE OF A MATRIX Take an n m matrix a 11 a 12 a 1m a 21 a 22 a 2m a n1 a n2 a nm and think of it as a function A : R m R n The kernel of A is defined as Note

More information

Pinhole Optics. OBJECTIVES To study the formation of an image without use of a lens.

Pinhole Optics. OBJECTIVES To study the formation of an image without use of a lens. Pinhole Otics Science, at bottom, is really anti-intellectual. It always distrusts ure reason and demands the roduction of the objective fact. H. L. Mencken (1880-1956) OBJECTIVES To study the formation

More information

Chapter 17. Orthogonal Matrices and Symmetries of Space

Chapter 17. Orthogonal Matrices and Symmetries of Space Chapter 17. Orthogonal Matrices and Symmetries of Space Take a random matrix, say 1 3 A = 4 5 6, 7 8 9 and compare the lengths of e 1 and Ae 1. The vector e 1 has length 1, while Ae 1 = (1, 4, 7) has length

More information

Beyond the F Test: Effect Size Confidence Intervals and Tests of Close Fit in the Analysis of Variance and Contrast Analysis

Beyond the F Test: Effect Size Confidence Intervals and Tests of Close Fit in the Analysis of Variance and Contrast Analysis Psychological Methods 004, Vol. 9, No., 164 18 Coyright 004 by the American Psychological Association 108-989X/04/$1.00 DOI: 10.1037/108-989X.9..164 Beyond the F Test: Effect Size Confidence Intervals

More information

Vieta s Formulas and the Identity Theorem

Vieta s Formulas and the Identity Theorem Vieta s Formulas and the Identity Theorem This worksheet will work through the material from our class on 3/21/2013 with some examples that should help you with the homework The topic of our discussion

More information

5 Homogeneous systems

5 Homogeneous systems 5 Homogeneous systems Definition: A homogeneous (ho-mo-jeen -i-us) system of linear algebraic equations is one in which all the numbers on the right hand side are equal to : a x +... + a n x n =.. a m

More information

Precalculus Prerequisites a.k.a. Chapter 0. August 16, 2013

Precalculus Prerequisites a.k.a. Chapter 0. August 16, 2013 Precalculus Prerequisites a.k.a. Chater 0 by Carl Stitz, Ph.D. Lakeland Community College Jeff Zeager, Ph.D. Lorain County Community College August 6, 0 Table of Contents 0 Prerequisites 0. Basic Set

More information

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1. MATH10212 Linear Algebra Textbook: D. Poole, Linear Algebra: A Modern Introduction. Thompson, 2006. ISBN 0-534-40596-7. Systems of Linear Equations Definition. An n-dimensional vector is a row or a column

More information

United Arab Emirates University College of Sciences Department of Mathematical Sciences HOMEWORK 1 SOLUTION. Section 10.1 Vectors in the Plane

United Arab Emirates University College of Sciences Department of Mathematical Sciences HOMEWORK 1 SOLUTION. Section 10.1 Vectors in the Plane United Arab Emirates University College of Sciences Deartment of Mathematical Sciences HOMEWORK 1 SOLUTION Section 10.1 Vectors in the Plane Calculus II for Engineering MATH 110 SECTION 0 CRN 510 :00 :00

More information

LS.6 Solution Matrices

LS.6 Solution Matrices LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions

More information

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013 Notes on Orthogonal and Symmetric Matrices MENU, Winter 201 These notes summarize the main properties and uses of orthogonal and symmetric matrices. We covered quite a bit of material regarding these topics,

More information

1 Review of Least Squares Solutions to Overdetermined Systems

1 Review of Least Squares Solutions to Overdetermined Systems cs4: introduction to numerical analysis /9/0 Lecture 7: Rectangular Systems and Numerical Integration Instructor: Professor Amos Ron Scribes: Mark Cowlishaw, Nathanael Fillmore Review of Least Squares

More information

Greeting Card Boxes. Preparation and Materials. Planning chart

Greeting Card Boxes. Preparation and Materials. Planning chart Leader Overview ACTIVITY 13 Greeting Card Boxes In this activity, members of your grou make cool boxes out of old (or new) greeting cards or ostcards. But first, they ractice making boxes from grid aer,

More information

SECTION 6: FIBER BUNDLES

SECTION 6: FIBER BUNDLES SECTION 6: FIBER BUNDLES In this section we will introduce the interesting class o ibrations given by iber bundles. Fiber bundles lay an imortant role in many geometric contexts. For examle, the Grassmaniann

More information

Synopsys RURAL ELECTRICATION PLANNING SOFTWARE (LAPER) Rainer Fronius Marc Gratton Electricité de France Research and Development FRANCE

Synopsys RURAL ELECTRICATION PLANNING SOFTWARE (LAPER) Rainer Fronius Marc Gratton Electricité de France Research and Development FRANCE RURAL ELECTRICATION PLANNING SOFTWARE (LAPER) Rainer Fronius Marc Gratton Electricité de France Research and Develoment FRANCE Synosys There is no doubt left about the benefit of electrication and subsequently

More information

The Method of Partial Fractions Math 121 Calculus II Spring 2015

The Method of Partial Fractions Math 121 Calculus II Spring 2015 Rational functions. as The Method of Partial Fractions Math 11 Calculus II Spring 015 Recall that a rational function is a quotient of two polynomials such f(x) g(x) = 3x5 + x 3 + 16x x 60. The method

More information

Solving Quadratic Equations

Solving Quadratic Equations 9.3 Solving Quadratic Equations by Using the Quadratic Formula 9.3 OBJECTIVES 1. Solve a quadratic equation by using the quadratic formula 2. Determine the nature of the solutions of a quadratic equation

More information

An important observation in supply chain management, known as the bullwhip effect,

An important observation in supply chain management, known as the bullwhip effect, Quantifying the Bullwhi Effect in a Simle Suly Chain: The Imact of Forecasting, Lead Times, and Information Frank Chen Zvi Drezner Jennifer K. Ryan David Simchi-Levi Decision Sciences Deartment, National

More information

Computational Finance The Martingale Measure and Pricing of Derivatives

Computational Finance The Martingale Measure and Pricing of Derivatives 1 The Martingale Measure 1 Comutational Finance The Martingale Measure and Pricing of Derivatives 1 The Martingale Measure The Martingale measure or the Risk Neutral robabilities are a fundamental concet

More information

SQUARE GRID POINTS COVERAGED BY CONNECTED SOURCES WITH COVERAGE RADIUS OF ONE ON A TWO-DIMENSIONAL GRID

SQUARE GRID POINTS COVERAGED BY CONNECTED SOURCES WITH COVERAGE RADIUS OF ONE ON A TWO-DIMENSIONAL GRID International Journal of Comuter Science & Information Technology (IJCSIT) Vol 6, No 4, August 014 SQUARE GRID POINTS COVERAGED BY CONNECTED SOURCES WITH COVERAGE RADIUS OF ONE ON A TWO-DIMENSIONAL GRID

More information

Lectures on the Dirichlet Class Number Formula for Imaginary Quadratic Fields. Tom Weston

Lectures on the Dirichlet Class Number Formula for Imaginary Quadratic Fields. Tom Weston Lectures on the Dirichlet Class Number Formula for Imaginary Quadratic Fields Tom Weston Contents Introduction 4 Chater 1. Comlex lattices and infinite sums of Legendre symbols 5 1. Comlex lattices 5

More information

TRANSCENDENTAL NUMBERS

TRANSCENDENTAL NUMBERS TRANSCENDENTAL NUMBERS JEREMY BOOHER. Introduction The Greeks tried unsuccessfully to square the circle with a comass and straightedge. In the 9th century, Lindemann showed that this is imossible by demonstrating

More information

Project Management and. Scheduling CHAPTER CONTENTS

Project Management and. Scheduling CHAPTER CONTENTS 6 Proect Management and Scheduling HAPTER ONTENTS 6.1 Introduction 6.2 Planning the Proect 6.3 Executing the Proect 6.7.1 Monitor 6.7.2 ontrol 6.7.3 losing 6.4 Proect Scheduling 6.5 ritical Path Method

More information

Name: Section Registered In:

Name: Section Registered In: Name: Section Registered In: Math 125 Exam 3 Version 1 April 24, 2006 60 total points possible 1. (5pts) Use Cramer s Rule to solve 3x + 4y = 30 x 2y = 8. Be sure to show enough detail that shows you are

More information

3.6. The factor theorem

3.6. The factor theorem 3.6. The factor theorem Example 1. At the right we have drawn the graph of the polynomial y = x 4 9x 3 + 8x 36x + 16. Your problem is to write the polynomial in factored form. Does the geometry of the

More information

The Online Freeze-tag Problem

The Online Freeze-tag Problem The Online Freeze-tag Problem Mikael Hammar, Bengt J. Nilsson, and Mia Persson Atus Technologies AB, IDEON, SE-3 70 Lund, Sweden mikael.hammar@atus.com School of Technology and Society, Malmö University,

More information

X How to Schedule a Cascade in an Arbitrary Graph

X How to Schedule a Cascade in an Arbitrary Graph X How to Schedule a Cascade in an Arbitrary Grah Flavio Chierichetti, Cornell University Jon Kleinberg, Cornell University Alessandro Panconesi, Saienza University When individuals in a social network

More information

Linearly Independent Sets and Linearly Dependent Sets

Linearly Independent Sets and Linearly Dependent Sets These notes closely follow the presentation of the material given in David C. Lay s textbook Linear Algebra and its Applications (3rd edition). These notes are intended primarily for in-class presentation

More information

Introduction to NP-Completeness Written and copyright c by Jie Wang 1

Introduction to NP-Completeness Written and copyright c by Jie Wang 1 91.502 Foundations of Comuter Science 1 Introduction to Written and coyright c by Jie Wang 1 We use time-bounded (deterministic and nondeterministic) Turing machines to study comutational comlexity of

More information

The impact of metadata implementation on webpage visibility in search engine results (Part II) q

The impact of metadata implementation on webpage visibility in search engine results (Part II) q Information Processing and Management 41 (2005) 691 715 www.elsevier.com/locate/inforoman The imact of metadata imlementation on webage visibility in search engine results (Part II) q Jin Zhang *, Alexandra

More information

A Multivariate Statistical Analysis of Stock Trends. Abstract

A Multivariate Statistical Analysis of Stock Trends. Abstract A Multivariate Statistical Analysis of Stock Trends Aril Kerby Alma College Alma, MI James Lawrence Miami University Oxford, OH Abstract Is there a method to redict the stock market? What factors determine

More information

On the predictive content of the PPI on CPI inflation: the case of Mexico

On the predictive content of the PPI on CPI inflation: the case of Mexico On the redictive content of the PPI on inflation: the case of Mexico José Sidaoui, Carlos Caistrán, Daniel Chiquiar and Manuel Ramos-Francia 1 1. Introduction It would be natural to exect that shocks to

More information

Automatic Search for Correlated Alarms

Automatic Search for Correlated Alarms Automatic Search for Correlated Alarms Klaus-Dieter Tuchs, Peter Tondl, Markus Radimirsch, Klaus Jobmann Institut für Allgemeine Nachrichtentechnik, Universität Hannover Aelstraße 9a, 0167 Hanover, Germany

More information

1 2 3 1 1 2 x = + x 2 + x 4 1 0 1

1 2 3 1 1 2 x = + x 2 + x 4 1 0 1 (d) If the vector b is the sum of the four columns of A, write down the complete solution to Ax = b. 1 2 3 1 1 2 x = + x 2 + x 4 1 0 0 1 0 1 2. (11 points) This problem finds the curve y = C + D 2 t which

More information

Multiperiod Portfolio Optimization with General Transaction Costs

Multiperiod Portfolio Optimization with General Transaction Costs Multieriod Portfolio Otimization with General Transaction Costs Victor DeMiguel Deartment of Management Science and Oerations, London Business School, London NW1 4SA, UK, avmiguel@london.edu Xiaoling Mei

More information

POISSON PROCESSES. Chapter 2. 2.1 Introduction. 2.1.1 Arrival processes

POISSON PROCESSES. Chapter 2. 2.1 Introduction. 2.1.1 Arrival processes Chater 2 POISSON PROCESSES 2.1 Introduction A Poisson rocess is a simle and widely used stochastic rocess for modeling the times at which arrivals enter a system. It is in many ways the continuous-time

More information

A Quick Algebra Review

A Quick Algebra Review 1. Simplifying Epressions. Solving Equations 3. Problem Solving 4. Inequalities 5. Absolute Values 6. Linear Equations 7. Systems of Equations 8. Laws of Eponents 9. Quadratics 10. Rationals 11. Radicals

More information

Introduction to Matrix Algebra

Introduction to Matrix Algebra Psychology 7291: Multivariate Statistics (Carey) 8/27/98 Matrix Algebra - 1 Introduction to Matrix Algebra Definitions: A matrix is a collection of numbers ordered by rows and columns. It is customary

More information

First Law, Heat Capacity, Latent Heat and Enthalpy

First Law, Heat Capacity, Latent Heat and Enthalpy First Law, Heat Caacity, Latent Heat and Enthaly Stehen R. Addison January 29, 2003 Introduction In this section, we introduce the first law of thermodynamics and examine sign conentions. Heat and Work

More information

Assignment 9; Due Friday, March 17

Assignment 9; Due Friday, March 17 Assignment 9; Due Friday, March 17 24.4b: A icture of this set is shown below. Note that the set only contains oints on the lines; internal oints are missing. Below are choices for U and V. Notice that

More information

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Lecture L3 - Vectors, Matrices and Coordinate Transformations S. Widnall 16.07 Dynamics Fall 2009 Lecture notes based on J. Peraire Version 2.0 Lecture L3 - Vectors, Matrices and Coordinate Transformations By using vectors and defining appropriate operations between

More information

Concurrent Program Synthesis Based on Supervisory Control

Concurrent Program Synthesis Based on Supervisory Control 010 American Control Conference Marriott Waterfront, Baltimore, MD, USA June 30-July 0, 010 ThB07.5 Concurrent Program Synthesis Based on Suervisory Control Marian V. Iordache and Panos J. Antsaklis Abstract

More information

Polynomial Invariants

Polynomial Invariants Polynomial Invariants Dylan Wilson October 9, 2014 (1) Today we will be interested in the following Question 1.1. What are all the possible polynomials in two variables f(x, y) such that f(x, y) = f(y,

More information

R&DE (Engineers), DRDO. Theories of Failure. rd_mech@yahoo.co.in. Ramadas Chennamsetti

R&DE (Engineers), DRDO. Theories of Failure. rd_mech@yahoo.co.in. Ramadas Chennamsetti heories of Failure ummary Maximum rincial stress theory Maximum rincial strain theory Maximum strain energy theory Distortion energy theory Maximum shear stress theory Octahedral stress theory Introduction

More information

Number Theory Naoki Sato <ensato@hotmail.com>

Number Theory Naoki Sato <ensato@hotmail.com> Number Theory Naoki Sato 0 Preface This set of notes on number theory was originally written in 1995 for students at the IMO level. It covers the basic background material that an

More information

PRIME NUMBERS AND THE RIEMANN HYPOTHESIS

PRIME NUMBERS AND THE RIEMANN HYPOTHESIS PRIME NUMBERS AND THE RIEMANN HYPOTHESIS CARL ERICKSON This minicourse has two main goals. The first is to carefully define the Riemann zeta function and exlain how it is connected with the rime numbers.

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +

More information

Memory management. Chapter 4: Memory Management. Memory hierarchy. In an ideal world. Basic memory management. Fixed partitions: multiple programs

Memory management. Chapter 4: Memory Management. Memory hierarchy. In an ideal world. Basic memory management. Fixed partitions: multiple programs Memory management Chater : Memory Management Part : Mechanisms for Managing Memory asic management Swaing Virtual Page relacement algorithms Modeling age relacement algorithms Design issues for aging systems

More information

Section 1.5 Exponents, Square Roots, and the Order of Operations

Section 1.5 Exponents, Square Roots, and the Order of Operations Section 1.5 Exponents, Square Roots, and the Order of Operations Objectives In this section, you will learn to: To successfully complete this section, you need to understand: Identify perfect squares.

More information

A Simple Model of Pricing, Markups and Market. Power Under Demand Fluctuations

A Simple Model of Pricing, Markups and Market. Power Under Demand Fluctuations A Simle Model of Pricing, Markus and Market Power Under Demand Fluctuations Stanley S. Reynolds Deartment of Economics; University of Arizona; Tucson, AZ 85721 Bart J. Wilson Economic Science Laboratory;

More information

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.

Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions. Chapter 1 Vocabulary identity - A statement that equates two equivalent expressions. verbal model- A word equation that represents a real-life problem. algebraic expression - An expression with variables.

More information

Eigenvalues and Eigenvectors

Eigenvalues and Eigenvectors Chapter 6 Eigenvalues and Eigenvectors 6. Introduction to Eigenvalues Linear equations Ax D b come from steady state problems. Eigenvalues have their greatest importance in dynamic problems. The solution

More information

Albert D. Rich. Soft Warehouse, Inc.

Albert D. Rich. Soft Warehouse, Inc. 4 Simlifying Suare Roots of Suare Roots by Denesting David J. Jerey The University of Western Ontario Albert D. Rich Soft Warehouse, Inc. Abstract: We discuss why it is imortant to try to simlify the suare

More information

Factoring Polynomials and Solving Quadratic Equations

Factoring Polynomials and Solving Quadratic Equations Factoring Polynomials and Solving Quadratic Equations Math Tutorial Lab Special Topic Factoring Factoring Binomials Remember that a binomial is just a polynomial with two terms. Some examples include 2x+3

More information

15.062 Data Mining: Algorithms and Applications Matrix Math Review

15.062 Data Mining: Algorithms and Applications Matrix Math Review .6 Data Mining: Algorithms and Applications Matrix Math Review The purpose of this document is to give a brief review of selected linear algebra concepts that will be useful for the course and to develop

More information

This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore.

This document is downloaded from DR-NTU, Nanyang Technological University Library, Singapore. This document is downloaded from DR-NTU, Nanyang Technological University Library, Singaore. Title Automatic Robot Taing: Auto-Path Planning and Maniulation Author(s) Citation Yuan, Qilong; Lembono, Teguh

More information

Solutions to Math 51 First Exam January 29, 2015

Solutions to Math 51 First Exam January 29, 2015 Solutions to Math 5 First Exam January 29, 25. ( points) (a) Complete the following sentence: A set of vectors {v,..., v k } is defined to be linearly dependent if (2 points) there exist c,... c k R, not

More information

COLLEGE ALGEBRA. Paul Dawkins

COLLEGE ALGEBRA. Paul Dawkins COLLEGE ALGEBRA Paul Dawkins Table of Contents Preface... iii Outline... iv Preliminaries... Introduction... Integer Exponents... Rational Exponents... 9 Real Exponents...5 Radicals...6 Polynomials...5

More information

Web Application Scalability: A Model-Based Approach

Web Application Scalability: A Model-Based Approach Coyright 24, Software Engineering Research and Performance Engineering Services. All rights reserved. Web Alication Scalability: A Model-Based Aroach Lloyd G. Williams, Ph.D. Software Engineering Research

More information

Notes on Determinant

Notes on Determinant ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without

More information

1 Shapes of Cubic Functions

1 Shapes of Cubic Functions MA 1165 - Lecture 05 1 1/26/09 1 Shapes of Cubic Functions A cubic function (a.k.a. a third-degree polynomial function) is one that can be written in the form f(x) = ax 3 + bx 2 + cx + d. (1) Quadratic

More information

Session 7 Bivariate Data and Analysis

Session 7 Bivariate Data and Analysis Session 7 Bivariate Data and Analysis Key Terms for This Session Previously Introduced mean standard deviation New in This Session association bivariate analysis contingency table co-variation least squares

More information

Factoring Polynomials

Factoring Polynomials Factoring Polynomials Hoste, Miller, Murieka September 12, 2011 1 Factoring In the previous section, we discussed how to determine the product of two or more terms. Consider, for instance, the equations

More information

Introduction to Matrices

Introduction to Matrices Introduction to Matrices Tom Davis tomrdavis@earthlinknet 1 Definitions A matrix (plural: matrices) is simply a rectangular array of things For now, we ll assume the things are numbers, but as you go on

More information

A graphical introduction to the budget constraint and utility maximization

A graphical introduction to the budget constraint and utility maximization EC 35: ntermediate Microeconomics, Lecture 4 Economics 35: ntermediate Microeconomics Notes and Assignment Chater 4: tilit Maimization and Choice This chater discusses how consumers make consumtion decisions

More information

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued). MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors Jordan canonical form (continued) Jordan canonical form A Jordan block is a square matrix of the form λ 1 0 0 0 0 λ 1 0 0 0 0 λ 0 0 J = 0

More information

To give it a definition, an implicit function of x and y is simply any relationship that takes the form:

To give it a definition, an implicit function of x and y is simply any relationship that takes the form: 2 Implicit function theorems and applications 21 Implicit functions The implicit function theorem is one of the most useful single tools you ll meet this year After a while, it will be second nature to

More information

A MOST PROBABLE POINT-BASED METHOD FOR RELIABILITY ANALYSIS, SENSITIVITY ANALYSIS AND DESIGN OPTIMIZATION

A MOST PROBABLE POINT-BASED METHOD FOR RELIABILITY ANALYSIS, SENSITIVITY ANALYSIS AND DESIGN OPTIMIZATION 9 th ASCE Secialty Conference on Probabilistic Mechanics and Structural Reliability PMC2004 Abstract A MOST PROBABLE POINT-BASED METHOD FOR RELIABILITY ANALYSIS, SENSITIVITY ANALYSIS AND DESIGN OPTIMIZATION

More information

Static and Dynamic Properties of Small-world Connection Topologies Based on Transit-stub Networks

Static and Dynamic Properties of Small-world Connection Topologies Based on Transit-stub Networks Static and Dynamic Proerties of Small-world Connection Toologies Based on Transit-stub Networks Carlos Aguirre Fernando Corbacho Ramón Huerta Comuter Engineering Deartment, Universidad Autónoma de Madrid,

More information

(Refer Slide Time: 2:03)

(Refer Slide Time: 2:03) Control Engineering Prof. Madan Gopal Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 11 Models of Industrial Control Devices and Systems (Contd.) Last time we were

More information

The risk of using the Q heterogeneity estimator for software engineering experiments

The risk of using the Q heterogeneity estimator for software engineering experiments Dieste, O., Fernández, E., García-Martínez, R., Juristo, N. 11. The risk of using the Q heterogeneity estimator for software engineering exeriments. The risk of using the Q heterogeneity estimator for

More information

Frequentist vs. Bayesian Statistics

Frequentist vs. Bayesian Statistics Bayes Theorem Frequentist vs. Bayesian Statistics Common situation in science: We have some data and we want to know the true hysical law describing it. We want to come u with a model that fits the data.

More information

c 2009 Je rey A. Miron 3. Examples: Linear Demand Curves and Monopoly

c 2009 Je rey A. Miron 3. Examples: Linear Demand Curves and Monopoly Lecture 0: Monooly. c 009 Je rey A. Miron Outline. Introduction. Maximizing Pro ts. Examles: Linear Demand Curves and Monooly. The Ine ciency of Monooly. The Deadweight Loss of Monooly. Price Discrimination.

More information

Math 4310 Handout - Quotient Vector Spaces

Math 4310 Handout - Quotient Vector Spaces Math 4310 Handout - Quotient Vector Spaces Dan Collins The textbook defines a subspace of a vector space in Chapter 4, but it avoids ever discussing the notion of a quotient space. This is understandable

More information

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Linear Algebra Notes for Marsden and Tromba Vector Calculus Linear Algebra Notes for Marsden and Tromba Vector Calculus n-dimensional Euclidean Space and Matrices Definition of n space As was learned in Math b, a point in Euclidean three space can be thought of

More information

Similarity and Diagonalization. Similar Matrices

Similarity and Diagonalization. Similar Matrices MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that

More information

ASEN 3112 - Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1

ASEN 3112 - Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1 19 MDOF Dynamic Systems ASEN 3112 Lecture 1 Slide 1 A Two-DOF Mass-Spring-Dashpot Dynamic System Consider the lumped-parameter, mass-spring-dashpot dynamic system shown in the Figure. It has two point

More information

Review Jeopardy. Blue vs. Orange. Review Jeopardy

Review Jeopardy. Blue vs. Orange. Review Jeopardy Review Jeopardy Blue vs. Orange Review Jeopardy Jeopardy Round Lectures 0-3 Jeopardy Round $200 How could I measure how far apart (i.e. how different) two observations, y 1 and y 2, are from each other?

More information

6.3 Conditional Probability and Independence

6.3 Conditional Probability and Independence 222 CHAPTER 6. PROBABILITY 6.3 Conditional Probability and Independence Conditional Probability Two cubical dice each have a triangle painted on one side, a circle painted on two sides and a square painted

More information

Measuring relative phase between two waveforms using an oscilloscope

Measuring relative phase between two waveforms using an oscilloscope Measuring relative hase between two waveforms using an oscilloscoe Overview There are a number of ways to measure the hase difference between two voltage waveforms using an oscilloscoe. This document covers

More information

[1] Diagonal factorization

[1] Diagonal factorization 8.03 LA.6: Diagonalization and Orthogonal Matrices [ Diagonal factorization [2 Solving systems of first order differential equations [3 Symmetric and Orthonormal Matrices [ Diagonal factorization Recall:

More information