Free Essay

P Arithmetics

In:

Submitted By gabriela28
Words 2445
Pages 10
Computer Project: QR Method for Calculating Eigenvalues

Name _____________________________

Purpose: To see how eigenvalues can be calculated by iterative methods that employ QR factorization, and get some understanding of why such methods work. This type of algorithm is used in all professional software for general eigenvalue calculations today, such as MATLAB's eig function. Prerequisite: Sections 5.2 and 6.4 MATLAB functions used: qr, *, eye, :, tic, toc , for, eig qreigdat, qrbasic, qrshift and randint from Lay's Toolbox Part I. Background. It is not easy to calculate eigenvalues for most matrices. Characteristic polynomials are difficult to compute. Even if you know the characteristic polynomial, algorithms such as Newton's method for finding zeros cannot be depended upon to produce all the zeros with reasonable speed and accuracy. Fortunately, numerical analysts have found an entirely different way to calculate eigenvalues of a matrix A, using the fact that any matrix similar to A has the same eigenvalues. The idea is to create a sequence of matrices similar to A which converges to an upper triangular matrix; if this can be done then the diagonal entries of the limit matrix are the eigenvalues of A. The remarkable discoveries are that the method can be done with great accuracy, and it will converge for almost all matrices. In practice the limit matrix is just block upper triangular, not truly triangular (because only real arithmetic is done), but it is still easy to get the eigenvalues from that. See Note 2 below. The primary reason that modern implementations of this method are efficient and reliable is that a QR factorization can be used to create each new matrix in the sequence. Each QR factorization can be calculated quickly and accurately; it yields easily a new matrix orthogonally similar to the original matrix; and orthogonal similarities tend to minimize the effect of roundoff error on the eigenvalues. The calculations in this project can be done without Lay's Toolbox; see Note 1 below. For more information on the theory, see Note 2 below. 1. (hand) Here you will verify some of the basic matrix properties that underlie this modern method. Suppose A is nxn. Let A = Q0 R0 be a QR factorization of A and create A1 = R0Q0 . Let A1 = Q1R1 be a QR factorization of A1 and create A2 = R 1Q1. Explain why the following are true; use your paper and attach: (a) A = Q0 A1Q0T (c) Q0 Q1 is orthogonal (This is exercise 23, Sec. 5.2) (b) A = (Q0Q1 )A2(Q0 Q1)T (This is exercise 29, Sec. 6.2)

(d) A, A1 and A2 all have the same eigenvalues. 2. (MATLAB) Type qreigdat to get the following matrices. Then use MATLAB's eig function to calculate their eigenvalues, and record their eigenvalues below each matrix: 0 0 -1 4 -1 -6 2 6 -3 4 -9 4 -2 3 -7 0 -2 2 -5 -2 -5 -1 7 -4 -3 -7  1 -2 8  1 2 6 8 -1 2 8 -4 3 2 A3 =  7 -7 6  A4 = 8 5 1 -5 A5 = -6 -6 -1 6 5 A6 = 4 -5 -4 -6 1 0  5 7 -8  9 2 6 2 -8 -5 8 -5 3 -1 -2 3 1 -2 7 -7 -8 6 -9 -1 -6 -5 2 0 7 10 Eigenvalues of each:

  

  

   

   

   

   

Part II. The basic QR algorithm. Definition. The basic QR algorithm for eigenvalues is the iterative process begun in question 1, repeated many times: let A = Q0R0 be a QR factorization of A and create A1 = R0 Q0; let A1 = Q1 R1 be a QR factorization of A1 and create A2 = R1Q1; ...; having created Am, let A m = QmRm be a QR factorization of Am and create A m+1 = Rm Qm; etc. Continue until the entries below the diagonal of Am are sufficiently small (or stop if no convergence is apparent). Page 1 of 4 26. QR Method, Eigenvalues – J.M. Day Jan. 02

3. (MATLAB) For each of the matrices shown above, use the function qrbasic to find how many steps of the basic QR algorithm are needed to make the absolute value of every entry below the diagonal smaller than 0.001, and how many seconds this takes. In the first column of the table on page 3, record the number of steps, the time, and the final matrix. The function qrbasic simply does the commands [Q R] = qr(A), A = R*Q repeatedly. The program will stop when all entries below the diagonal are smaller than 0.001 (or after 200 steps if that test is never met), and it will report the last matrix and the total number of steps done. Typing tic, some command, toc will perform that command and also print the number of seconds required for executing it. Specifically, to perform the calculations for A3 , type tic, qrbasic(A3, 0.001), toc Record the results on page 3. Then repeat this calculation for A4, A 5 and A6.
Part III. Improving the basic QR algorithm by shifting and deflating

It is true that the basic algorithm can fail to converge for some matrices, and even when it does converge it can be extremely slow. There are simple modifications which greatly speed it up and can also make it converge for more matrices. One of these modifications is shifting. The idea is: if A is the original matrix and Am is the current matrix in the iteration, choose a scalar c, then get a QR factorication of the shifted matrix A m - cI, and then undo the shift when you define A m+1 . If the scalars can be chosen so they get closer and closer to an eigenvalue of A, this will dramatically speed up convergence. The next algorithm shows one way to choose the scalars, and also introduces deflating. Before trying out this new algorithm, answer question 4 where you will see the theoretical effect of shifting and why you can deflate after the last row looks like [0 .. 0 x]. 4. (hand) Let A be nxn, let I denote the nxn identity matrix, and let c be a constant. (a) Let λ be an eigenvalue of A. Explain why Ax = λx is true if and only if (A - cI)x = (λ - c )x is true. Use this to explain why the eigenvalues of A - cI are the numbers obtained by subtracting c from each eigenvalue of A. (This is the reason that creating A - cI is called "shifting.") (b) Let A - cI = QR be a QR factorization of A - cI and define A1 = RQ + cI. Show that A = QA1Q .  B C , where B and D are square and O is a zero matrix. Explain why the eigenvalues of A (c) Suppose A =  O D are the eigenvalues of B together with those of D. (This is Supplementary Exercise 10 in Chapter 5.) Definition. The QR algorithm for eigenvalues using diagonal shifts is the following iterative process. Repeat the step described in question 4(b), each time choosing the value for the next scalar c to be the last diagonal entry of the previous matrix Ak . Stop when the last row of Ak looks like [s 1 s2 … s k-1 x] where each s i is very small. Then that last entry x is approximately an eigenvalue of A. (By question 4(c), if each s i were exactly zero, x would be a true eigenvalue of A.) Now deflate -- i.e., create a new smaller matrix by discarding the last row and column. Begin the process again on the new matrix. Continue repeating this process until all eigenvalues have been calculated, or until it appears the limit matrix cannot be improved. 5. (MATLAB) Use the function qrshift to apply the shift-deflate algorithm just described to the four matrices, A3, A 4, A5, A6. Find how many seconds and how many steps are needed to make the absolute value of every entry below the diagonal less than 0.001, then for 0.0001. Record results in the table on page 3. The function qrshift does shifting as described in question 4(b), and it deflates after the entries below the diagonal are less than the tolerance you specify. It will display each deflation, the final matrix and how many iterative steps were done. To perform the calculations for A3 , type tic, qrshift(A3, 0.001), toc Record the results on page 3. (Note: if you want to see the result of each deflation step, type qrshift(A3, 0.001, 1) instead – but this adds CPU time so it prevents you from seeing how much faster qrshift really is.) Next type tic, qrshift(A3, 0.0001), toc , record results, and repeat these calculations for the other matrices. 6. (hand) Discuss: based on what you have seen, how does the basic QR method compare with the shift-deflate QR method?
T

Page 2 of 4

26. QR Method, Eigenvalues – J.M. Day Jan. 02

Results from Question 3 Matrix A3 : Basic QR, tol = 0.001 # steps ___ time = ___ QR with diagonal shifts, tol = 0.001 # steps ___ time ___ QR with diagonal shifts, tol = 0.0001 # steps ___ time ____

Matrix after you stop iterations: ******************************************************************************************** Matrix A4 : Basic QR, QR with diagonal shifts, QR with diagonal shifts, tol = 0.001 tol = 0.001 tol = 0.0001 # steps ___ time = ___ Matrix after you stop iterations: # steps ___ time ___ # steps ___ time ____

******************************************************************************************** Matrix A5 : Basic QR, QR with diagonal shifts, QR with diagonal shifts, tol = 0.001 tol = 0.001 tol = 0.0001 # steps ___ time = ___ # steps ___ time ___ # steps ___ time ____

Matrix after you stop iterations:

******************************************************************************************** Matrix A6 : Basic QR, QR with diagonal shifts, QR with diagonal shifts, tol = 0.001 tol = 0.001 tol = 0.0001 # steps ___ time = ___ Matrix after you stop iterations: # steps ___ time ___ # steps ___ time ____

Page 3 of 4

26. QR Method, Eigenvalues – J.M. Day Jan. 02

Note1. You can do this project without Lay's Toolbox First type in the matrices yourself. The following commands . will accomplish the basic QR method used in question 3, for an nxn matrix A. B = A; bound = 0.001; p = 0; num = 200; while max(max(abs(tril(B,-1)))) > bound % test size of entries in lower triangle [Q R] = qr(B); B = R*Q; p = p+1; if p > num, break, end % break out of while loop end % while p, B The following lines will accomplish the shift-deflate algorithm used in question 5, for an nxn matrix A. B = A; bound = 0.001; p = 0; num = 20; for i = n:-1:2 % work from row n to row 2 B = B(1:i,1:i); % deflate while max(max((abs((B(i,1:i-1))))) > bound % test size of entries in row i, up to the diagonal [Q R] = qr(B-B(i,i)*eye(i)); B = R*Q + B(i,i)*eye(i) ; p = p+1; if p > num, break, end % break out of while loop end % while A(1:i,1:i) = B; % store B in upper left corner of A end % for p, A Note 2. Remarks about convergence. There is an excellent discussion of the theory of the QR method in Understanding the QR Algorithm, by D. Watkins, SIAM Review 24 (1982), pp. 427-440. This paper explains the geometric meaning of the algorithm and how it is an extension of the power method. (The power method is presented in Section 5.7 in Lay's text.) Briefly, the following things are true about the QR method, for an nxn real matrix A. (a) If the eigenvalues of A all have different magnitudes, then the basic QR algorithm will converge to an upper triangular matrix. To see that the basic QR method can fail if two different eigenvalues have the same magnitude, try it  0 1 and  3 -2  , each of which has eigenvalues ±1. on the following matrices:  1 0  4 -3  (b) The matrices used above in this project were chosen so they have only real eigenvalues. However, a general real matrix can have nonreal eigenvalues. In this case, the algorithm described above, which uses only real QR factorizations, cannot possibly converge to an upper triangular matrix (why?). Nevertheless, it is true that a real shift can always be found so that the basic QR method applied to the new matrix will converge to a real block upper triangular matrix whose diagonal blocks are 1x1 or 2x2 matrices; then if you undo the shift, each 1x1 block is an eigenvalue and each 2x2 block easily yields a pair of complex conjugate eigenvalues, of the original matrix. 0100  0 1 0 0010 For example, the following matrices have some complex eigenvalues:  0 0 1 and . Store the first 0001  100  1000 matrix as A. Calculate eig(A) to see what its eigenvalues are. Type [Q R] = qr(A), A = R*Q and repeat this command several times. You will see cycling. Then apply the basic method to A – I. To do that, type qrbasic(A + eye(3), .0001). Now you will see convergence to a block upper triangular matrix with 1x1 and 2x2 blocks as described above. Subtract I from this limit matrix. Solve the characteristic equation for the 2x2 block, and verify that this gives two complex numbers. These will be the nonreal eigenvalues of A, and the 1x1 block contains the third, real, eigenvalue of A. (c) The method shown in (b) can be improved by first doing an orthogonal similarity to A to get a Hessenberg matrix -- one that has zeros below its first subdiagonal. The reason this is better is, if each entry on the first subdiagonal of a Hessenberg matrix is nonzero, then the basic QR algorithm is guaranteed to converge to a block upper triangular matrix. It is quite easy to do an orthogonal similarity to any A to get a Hessenberg matrix.1 So all professional software to calculate eigenvalues begins by calculating a Hessenberg matrix which is orthogonally similar to the original A, and then applies the shift-deflate iterative process to this matrix. As soon as the matrix produced after some step has the form  B C where the entries of O are so small they can be treated as true zeros, then the iterative process is done separately  O D on B and D. Notice this method is a natural for parallel processing.

  

  

1

MATLAB can easily calculate a Hessenberg matrix similar to any A. Try this: A = randint(10), hess(A). Page 4 of 4 26. QR Method, Eigenvalues – J.M. Day Jan. 02

Similar Documents

Premium Essay

Impact of Technology on Math Fact Fluency

...expansion of learners’ comprehension of fundamental mathematical theories along with procedures. Every student, comprising learners with impairments and students vulnerable to failure, require gaining the know-how and capabilities that may allow them into “understanding” math-associated questions which they come across everyday at domicile as well as in upcoming work incidences. Unluckily, substantial evidence exists to designate that such goal isn’t being achieved, particularly for kids manifesting learning problems. Because the initial dispiriting outcomes of arithmetic accomplishment discovered with State Evaluation of Schooling Progress (SESP) during 1974, insufficient evidence exists to indicate that arithmetic accomplishment has increased considerably, particularly for learners with impairments (Spinelli, 2012). The intention for this research is to identify technology effectiveness towards fundamental arithmetic fluency. As a component of the classroom educational involvement, the research was carried out with ten learners with fair to stern cognitive impairments registered into a school of special training. This five-week research employed a solitary-case turnaround plan (ABAB). Data examination involved visual along with numerical techniques of analysis. Four major results arose. Foremost, results showed this campaign of having an affirmative impact on essential math smoothness. Secondly, findings illustrated that trainers discovered that technology (iPad) contained an...

Words: 5716 - Pages: 23

Free Essay

College Math 2 Final Study Guide

...30240 4. Finding n terms in arithmetic sequence an=a1+ (n-1)d 5. Finding n terms in geometric sequence an=a1*rn-1 6. Sum of first n terms of an arithmetic sequence Sn=(a1+an)*n2 7. Absolute value of a Complex number Z=a2+b2 a + bi 8. Finding polar form (z= r*(cos theta + i* sin theta) of complex number (z= a + bi) A = r*cos theta B= r* sin theta R=a2+b2 Theta = tan-1 (ba ) 9. Converting from rectangular (x,y) to polar (r,theta) R= x2+ y2 theta = tan-1 (yx) 10. Dick’s theorem for finding roots (a+bi)^ R=a2+ b2 theta = tan-1 (ba ) r^*( cos (theta * ^) + i* sin (theta * ^)) 11. Finding rectangular from polar X= r*cos theta Y=r*sin theta 12. Law of Sines Sin Aa=Sin Bb= Sin CC 13. Angle of oblique triangle Area = b*c*Sin A2 a*b*Sin C2 a*c*Sin B2 14. Law of Cosines a= b2+c2- 2*b*c*Cos A b= a2+c2- 2*a*c*Cos B c= a2+b2- 2*a*b* Cos C 15. Heroin angle Area = S*S-a*S-b*(S-c) S = a+b+c2 16. Permutations nPr= n!n-r! 17. Combinations nCr= n!n*r!*r! 18. Magnitude of v v= a2+b2 19. Position vector Initial point (x1,y1) Terminal point (x2,y2) V = x2-x1*i+y2- y1*j 20. Word problem V= v*Cos ∅i+ v*Sin ∅j 21. Logarithms logbMN= logbM+ logbN Product Rule logb(MN)= logbM- logbN Quotient Rule logbMp=p*logbM Power Rule 22. A = P*(1+ rn)nt T = logAP(n*(log1+...

Words: 377 - Pages: 2

Free Essay

Hp 12c

...hp 12c financial calculator user's guide H Edition 4 HP Part Number 0012C-90001 File name: hp 12c_user's guide_English_HDPMBF12E44 Page: 1 of 209 Printed Date: 2005/7/29 Dimension: 14.8 cm x 21 cm Notice REGISTER YOUR PRODUCT AT: www.register.hp.com THIS MANUAL AND ANY EXAMPLES CONTAINED HEREIN ARE PROVIDED “AS IS” AND ARE SUBJECT TO CHANGE WITHOUT NOTICE. HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MANUAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. HEWLETT-PACKARD CO. SHALL NOT BE LIABLE FOR ANY ERRORS OR FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE FURNISHING, PERFORMANCE, OR USE OF THIS MANUAL OR THE EXAMPLES CONTAINED HEREIN. © Copyright 1981, 2004 Hewlett-Packard Development Company, L.P. Reproduction, adaptation, or translation of this manual is prohibited without prior written permission of Hewlett-Packard Company, except as allowed under the copyright laws. Hewlett-Packard Company 4995 Murphy Canyon Rd, Suite 301 San Diego, CA 92123 Printing History Edition 4 August 2004 2 File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 2 of 209 Dimension: 14.8 cm x 21 cm I ntroduction A bout This Handbook This hp 12c user's guide is intended to help you get the most out of your investment in your hp 12c Programmable Financial Calculator. Although the ...

Words: 54268 - Pages: 218

Free Essay

Hp12C

...hp 12c financial calculator user's guide H Edition 4 HP Part Number 0012C-90001 File name: hp 12c_user's guide_English_HDPMBF12E44 Printed Date: 2005/7/29 Page: 1 of 209 Dimension: 14.8 cm x 21 cm Notice REGISTER YOUR PRODUCT AT: www.register.hp.com THIS MANUAL AND ANY EXAMPLES CONTAINED HEREIN ARE PROVIDED “AS IS” AND ARE SUBJECT TO CHANGE WITHOUT NOTICE. HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MANUAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. HEWLETT-PACKARD CO. SHALL NOT BE LIABLE FOR ANY ERRORS OR FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE FURNISHING, PERFORMANCE, OR USE OF THIS MANUAL OR THE EXAMPLES CONTAINED HEREIN. © Copyright 1981, 2004 Hewlett-Packard Development Company, L.P. Reproduction, adaptation, or translation of this manual is prohibited without prior written permission of Hewlett-Packard Company, except as allowed under the copyright laws. Hewlett-Packard Company 4995 Murphy Canyon Rd, Suite 301 San Diego, CA 92123 Printing History Edition 4 August 2004 2 File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 2 of 209 Dimension: 14.8 cm x 21 cm Introduction About This Handbook This hp 12c user's guide is intended to help you get the most out of your investment in your hp 12c Programmable Financial Calculator. Although the excitement of acquiring this powerful...

Words: 53555 - Pages: 215

Free Essay

The Role of Curriculum in Teacher Development

...There are several views of curriculum that we, as mathematics educators, often encounter. (In this essay, "we" refers to the group at TERC that has been working through these ideas while developing the K-5 curriculum, Investigations in Number, Data, and Space.) One is that teachers, especially elementary teachers, are so under-prepared in mathematics that the curriculum must do everything for them. It must tell them exactly what to do, when to do it, and in what order. Once this was called "teacher-proof" curriculum. Now, of course, that term is no longer fashionable, so teacher-proof-ness, when it is espoused at all, is couched in other terms. For example, a textbook representative recently described to me the lessons in their teacher's guide by saying, "And it's all scripted for the teacher, so that they know what questions to ask." This view of curriculum assumes that there is a Right Way to organize and teach the curriculum, and that, if we have a curriculum that embodies this right way, students will learn mathematics well. Another view holds that it is only the teacher who knows her students' learning needs well enough to continually modify the classroom environment in response to those needs. Therefore, the teacher must develop her/his own curriculum. Sometimes this view admits that, because teachers are not yet adequately prepared to teach mathematics, we may need innovative curricula now -- temporarily -- until we have accomplished the job of large-scale teacher development...

Words: 3432 - Pages: 14

Premium Essay

Dadada

...Mathematics learning performance and Mathematics learning difficulties in China Ningning Zhao Promotor: Prof. Dr. Martin Valcke Co-promoter: Prof. Dr. Annemie Desoete Proefschrift ingediend tot het behalen van de academische graad van Doctor in de Pedagogische Wetenschappen 2011   This Ph.D research project was funded by Ghent University BOF Research Grant (BOF07/DOS/056)               Acknowledgements There is still a long and indistinct way and I will keep on going to explore the unknown. 路漫漫其修远兮,吾将上下而求索。 - Qu Yuan (340-278 BC) This dissertation would not have been possible unless so many persons contributed to it. The first person I should give my gratitude is Prof. dr. Cong Lixin in Beijing Normal University. It is she who recommanded me to my promoter - Prof. dr. Martin Valcke. Based on the cooperation contact between the two universities, I have the opportunity to start my journey in Ghent University. The fantasty journey started from Year 2007 gudided by the Prof. dr. Martin Valcke. I am heartily thankful to my promoter Prof. dr. Martin Valcke and my co-promotor Prof. dr. Annemie Desoete, whose encouragement, supervision and support from the preliminary to the concluding level enabled me to carry on the research project. My deepest gratitude is to Prof. dr. Martin Valcke. I am not a smart student who always give him so much revision work. It is extremely fortunate for me to have a promoter who is characterized by energy...

Words: 5832 - Pages: 24

Premium Essay

Chapter 1

...Chapter 1 THE RESEARCH PROBLEM Introduction This Action Research was undertaken to describe the impact of teacher-made advance exercises as intervention on disruptive behavior of pupils when learning division skills in elementary arithmetic operation. The subjects of this study were Grade Two – A pupils who were constantly disrupting the class during Mathematics period taken from the list made by the teacher through visual observation. For the last two grading periods handling a cream class, a lot of repeated disruptive behaviors such as incessant talking or getting out of their seats to name a few, which were very taxing to the teacher, were observed. These disruptive behaviors were mostly due to boredom especially to those pupils who got to finish their seatwork fast. This called for a classroom management skill. Hollowell (2013) mentioned in her article that classroom management skills are essential for all teachers. Supervising a group of children with different personalities and backgrounds is a challenging task. You are responsible for their academic growth while ensuring that the learning environment stays welcoming and secure. This includes dealing with disruptive pupils. According to Tyson (2013), disruptive students are always present in every classroom. Regardless of scenario or perhaps how great you happen to be as being a teacher, in one way or another they will and can be found. All of which will develop problems provided an open possibility. But...

Words: 4006 - Pages: 17

Free Essay

Your Mum

...1 Basic Arithmetic TERMINOLOGY Absolute value: The distance of a number from zero on the number line. Hence it is the magnitude or value of a number without the sign Directed numbers: The set of integers or whole numbers f -3, -2, -1, 0, 1, 2, 3, f Exponent: Power or index of a number. For example 23 has a base number of 2 and an exponent of 3 Index: The power of a base number showing how many times this number is multiplied by itself e.g. 2 3 = 2 # 2 # 2. The index is 3 Indices: More than one index (plural) Recurring decimal: A repeating decimal that does not terminate e.g. 0.777777 … is a recurring decimal that can be written as a fraction. More than one digit can recur e.g. 0.14141414 ... Scientific notation: Sometimes called standard notation. A standard form to write very large or very small numbers as a product of a number between 1 and 10 and a power of 10 e.g. 765 000 000 is 7.65 # 10 8 in scientific notation Chapter 1 Basic Arithmetic 3 INTRODUCTION THIS CHAPTER GIVES A review of basic arithmetic skills, including knowing the correct order of operations, rounding off, and working with fractions, decimals and percentages. Work on significant figures, scientific notation and indices is also included, as are the concepts of absolute values. Basic calculator skills are also covered in this chapter. Real Numbers Types of numbers Unreal or imaginary numbers Real numbers Rational numbers Irrational numbers Integers Integers are whole numbers...

Words: 9335 - Pages: 38

Free Essay

Mth 221 Week 1

...5 r = 10 C ( 5 + 10 – 1 , 10 ) C ( 14 , 10 ) 1,001 2.1 2 Identify the primitive statements in problem 1: a. In 2003 George W. Bush was the president of the United States. b. x+3 is a positive integer. c. Fifteen is an even number. d. If Jennifer is late for the party, then her cousin Zachary will be quite angry. e. What time is it? f. As of June 30, 2003, Christine Marie Evert had won the French open a record seven times. 2.2 2 Verify the Absorption Law by means of a truth table. p ∨ (p ∧ q)<->p p or (p and q) p | q | p q | p (p q) | p ∨ (p ∧ q)<->p | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 2.3 2b Use truth tables to verify that each of the following is a logical implication: b. [[(p ∧ q)→r] ∧ ¬q ∧ (p→¬r)]→(¬p ∨¬q) p | q | r | p∧q | [(p∧q)→r] | [(p∧q)→r]∧¬q | (p→¬r) | [[(p∧q)→r]∧¬q∧(p→¬r)] | (¬p ∨¬q) | [[(p ∧ q)→r] ∧ ¬q ∧ (p→¬r)] →(¬p ∨¬q) | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0...

Words: 944 - Pages: 4

Free Essay

Haitian Translators

...Lains Albert Krop High School - Class of 2015 NCAA Division I Initial-Eligibility Current Status Report DI Core Course GPA 3.13 DI SAT/ACT Scores* Score Qualifier DI Core Course Credits Completed Required Needed SAT Score ACT Score None None 570 49 Total Core Course Credits 16 16 0 Grade Points Key: A=4, B=3, C=2, D=1 / # = Weighted Points (d) = Course for students with a diagnosed disability / (t) = Transfer course from another school English Courses Course Grade Points Quality Pts Credits Credits Required Credits Needed ENGLISH 3 ENGLISH 4/H ENGLISH 1 ENGLISH 2 Totals A A C C 4 4 2 2 4 4 2 2 12 1 1 1 1 4 4 0 Math Courses Course Grade Points Quality Pts Credits Credits Required Credits Needed ALGEBRA 2 PRE-CALCULUS GEOMETRY Totals A A B 4 4 3 4 4 3 11 1 1 1 3 3 0 Natural/Physical Science Courses Course Grade Points Quality Pts Credits Credits Required Credits Needed BIOLOGY 1 CHEMISTRY 1 Totals B B 3 3 3 3 6 1 1 2 2 0 Extra English/Math/Science Courses Course Grade Points Quality Pts Credits Credits Required 1 Credits Needed 0 ALGEBRA 1 Totals C 2 2 2 1 1 Social Science Course Grade Points Quality Pts Credits Credits Required Credits Needed AFRICAN AMERICAN HISTORY WORLD HISTORY Totals A C 4 2 4 2 6 1 1 2 2 0 Additional Core Courses Course Grade Points Quality Pts Credits Credits Required Credits Needed FRENCH 1 FRENCH LANGUAGE/AP...

Words: 394 - Pages: 2

Free Essay

Factoring in Mathematics

...Background I am a teacher at Greenpoint High School in the Northern Cape . The school is situated in Greenpoint in Kimberley and it is from gr. 8 to gr. 12 . Greenpoint is a coloured area and the people are very ,poor, jobless and uneducated. Most of the learners have only a single parent or are raised by the grandmother or family. Many learners are using drugs and alcohol and every one out of ten schoolgirl are pregnant. We encounter many discipline problems and not all the teachers are capable to deal with this learners. Our learner total are 920 and the teachers are 26 . The school have a teacher and classroom shortage . There are many social problems at the school and they are struggling mostly with Mathematics . Our feeder school is the local primary school and the total of the gr. 8 learners are near 300 every year. These Gr. 8 learners are very weak in Mathematics and the class sizes are 50 and more. The Gr 9 classes are also very big and most of them pass not Mathematics at the end of the year , but been condened to Gr. 10 . Usually there are only one gr. 10, 11 and Gr.12 class for Mathematics. The passrate for Mathematics in Gr. 9 are so poor that only 10 % of the learners can do pure Mathematics , The rest of the learners should do Mathematical Literacy. The Maths learners are not commited and only a few pass at the end of Gr. 10 . JUSTIFICATION When the grade 8 learners came to our school they usually struggle with Mathematics .The can`t...

Words: 701 - Pages: 3

Premium Essay

Charcoal

...pattern of adding a fixed amount from one term to the next, it is referred to as an  arithmetic sequence.   The number added to each term is constant (always the same). The fixed amount is called the common difference, d,referring to the fact that the difference between two successive terms yields the constant value that was added.   To find the common difference, subtract the first term from the second term. 1.  Find the common difference for this arithmetic sequence                           5, 9, 13, 17 ... | 1.  The common difference, d, can be found by subtracting the first term from the second term, which in this problem yields 4.  Checking shows that 4 is the difference between all of the entries. | 2.  Find the common difference for the arithmetic sequence whose formula is                           an = 6n + 3 | 2. The formula indicates that 6 is the value being added (with increasing multiples) as the terms increase.  A listing of the terms will also show what is happening in the sequence (start with n = 1).                            9, 15, 21, 27, 33, ... The list shows the common difference to be 6. | 3.  Find the 10th term of the sequence                           3, 5, 7, 9, ... | 3. n = 10;  a1 = 3, d = 2  The tenth term is 21. | 4.  Find a7 for an arithmetic sequence where                   a1 = 3x and d = -x. | 4.  n = 7;  a1 = 3x, d = -x | 5.  Find  t15 for an arithmetic sequence where           t3 = -4 + 5i  and  t6 = -13 + 11i     | 5.  Notice...

Words: 1465 - Pages: 6

Free Essay

Mat110

...Module 4 Beginning Algebra Allied American University Author Note This paper was prepared for MAT110, Module 4 Homework Assignment   Directions: Please show all of your work for each problem. If applicable, you may find Microsoft Word’s equation editor helpful in creating mathematical expressions in Word. There is a tutorial on using this equation editor in Module 1 Lecture Notes. You also have the option of hand writing your work and scanning it. 1. Find the greatest common factor. 4, 6, 12. =2 2. Factor. 24x3 + 30x2 = 6x(4x^2+5x) 3. Factor out the GCF with a negative coefficient. –24m2n6 – 8mn5 – 32n4 GFC= 8n^4 = -8n^4(3m^2n^2+n^+4) 4. Factor completely by factoring out any common factors and then factoring by grouping. 6x2 – 5xy + 6x – 5y =(x+1) (6x-5y) 5. The GCF of 15y + 20 is 5. The GCF of 15y + 21 is 3. Find the GCF of the product (15y + 20)(15y + 21). =15 6. The area of a rectangle of length x is given by 15x – x2. Find the width of the rectangle in terms of x. w=15-x 7. Factor the trinomial completely. x2 + 8x – 9 = (x-1) (x+9) 8. Factor the trinomial completely. 2x2 + 16x + 32 = (2x+8) (x+4) 9. Complete the following statement. 6a2 – 5a + 1 = (3a – 1)(__?__) = (2a-1) 10. State whether the following is true or false. x2 – 7x – 30 = (x + 3)(x – 10) = True 11. Factor completely. x2 + 11x + 28 = (x+4) (x+7) 12. Factor completely. 15x2 +...

Words: 783 - Pages: 4

Free Essay

Present Value Tutorial

...First, as discussed above, you need to know the amount and timing of payments to be made or expected to be received. In the first example, you expect $11,000 five years from now. In the second, you expect $200 in year 1, $200 in year 2, $200 in year 3, $200 in year 4, and $10,200 in year 5. Once you’ve determined this, you have a couple of vital pieces of information: You know whether you’re looking at a lump sum, an annuity (a stream of payments), or both. In the first example, it’s a lump sum. In the second, it’s an annuity of $200, and a lump sum of $10,000 (because the $200 in year 5 belongs to the annuity of $200, not to the lump sum of the principal). This tells you what present value tables to use. You use the Present Value of $1 (Present Value of a Single Sum) table to value the lump sums. You use the Present Value of an Ordinary Annuity to value streams of payments. So in the second example, you’d use the PV of $1 table to get the present value of the $10,000 lump sum, and you’d use the PV of an Ordinary Annuity table to get the present value of the five $200 payments. Before you can use the tables, though, there is one more step. You need to find n, and i. * n is the number of interest compounding periods involved. * If you are looking at the PV of a lump sum, n = the number of years before the sum will be paid. In the first example, n = 5. * It is more complicated if you are looking at an annuity. If the annuity stream (interest...

Words: 844 - Pages: 4

Premium Essay

Math

...Algebra is one of the most important subjects someone can learn. It is a subject that transfers into daily life. A lot of people do not realize that they are using algebra. Algebra can be anything from calculating the amount of money you’ve spent on your grocery shopping, designing structural plans for a building, and keeping track of the calories you have in your diet. Our professor told us that in every subject, we use math. My major is chemistry and mathematics is used widely in chemistry as well as all other sciences. Mathematical calculations are absolutely necessary to explore important concepts in chemistry. You’ll need to convert things from one unit to another. For example, you need to convert 12 inches to feet. Also, we use simple arithmetic to balance equations. A lot of things I’ve had learned from this course and one of them was that we use Math for everyday life. I’ve also learned many ways how to solve equations such as linear, quadratic, exponential, and logarithmic equations. All the material that we did learn was all easy to learn and understand. I believe that the instructor did a good job explaining on how to solve problems. If my friend was asking me how to determine the differences between the equation of the ellipse and the equation of the hyperbola, I would first give he or she the definition of the two words ellipse and hyperbola. An ellipse is a set of all points in a plane such that the sum of their distances from two fixed points is a constant. Each fixed...

Words: 623 - Pages: 3