CM2104: Computational Mathematics General Maths: 2. Algebra - Factorisation

Similar documents
Math 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2

JUST THE MATHS UNIT NUMBER 1.5. ALGEBRA 5 (Manipulation of algebraic expressions) A.J.Hobson

Section September 6, If n = 3, 4, 5,..., the polynomial is called a cubic, quartic, quintic, etc.

POLYNOMIALS. x + 1 x x 4 + x 3. x x 3 x 2. x x 2 + x. x + 1 x 1

Core Mathematics 3 Algebra

Chapter Six. Polynomials. Properties of Exponents Algebraic Expressions Addition, Subtraction, and Multiplication Factoring Solving by Factoring

Roots and Coefficients Polynomials Preliminary Maths Extension 1

review To find the coefficient of all the terms in 15ab + 60bc 17ca: Coefficient of ab = 15 Coefficient of bc = 60 Coefficient of ca = -17

Spring Nikos Apostolakis

POLYNOMIALS CHAPTER 2. (A) Main Concepts and Results

( ) Chapter 6 ( ) ( ) ( ) ( ) Exercise Set The greatest common factor is x + 3.

Algebraic Expressions

THE RING OF POLYNOMIALS. Special Products and Factoring

ILLUSTRATIVE EXAMPLES

27 Wyner Math 2 Spring 2019

CHAPTER 1 POLYNOMIALS

Basic Algebra. CAPS Mathematics


6A The language of polynomials. A Polynomial function follows the rule. Degree of a polynomial is the highest power of x with a non-zero coefficient.

Polynomials. In many problems, it is useful to write polynomials as products. For example, when solving equations: Example:

Never leave a NEGATIVE EXPONENT or a ZERO EXPONENT in an answer in simplest form!!!!!

Math Lecture 18 Notes

5.3. Polynomials and Polynomial Functions

IES Parque Lineal - 2º ESO

TECHNIQUES IN FACTORISATION

Additional Practice Lessons 2.02 and 2.03

4 Unit Math Homework for Year 12


Assessment Exemplars: Polynomials, Radical and Rational Functions & Equations

Class IX Chapter 2 Polynomials Maths

Review for Mastery. Integer Exponents. Zero Exponents Negative Exponents Negative Exponents in the Denominator. Definition.

1. A polynomial p(x) in one variable x is an algebraic expression in x of the form

Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i

AFM Review Test Review

A polynomial expression is the addition or subtraction of many algebraic terms with positive integer powers.

Arithmetic Operations. The real numbers have the following properties: In particular, putting a 1 in the Distributive Law, we get

Unit 2 Rational Functionals Exercises MHF 4UI Page 1

Expanding brackets and factorising

Algebra I. Book 2. Powered by...


8.6 Multiplication of Polynomials

Polynomials and Factoring

PhysicsAndMathsTutor.com

Sec 4 Maths. SET A PAPER 2 Question

Factorising Cubic Polynomials - Grade 12 *

ANSWERS. CLASS: VIII TERM - 1 SUBJECT: Mathematics. Exercise: 1(A) Exercise: 1(B)

Core Mathematics 2 Algebra

Section 6.5 A General Factoring Strategy

Read the following definitions and match them with the appropriate example(s) using the lines provided.

Sect Introduction to Rational Expressions

A-Level Maths Induction Summer Work

Factoring Review WS 3.0. Factoring Polynomials Factor and Remainder Theorems. Factoring a Sum or Difference of Cubes Pg. 182 # 1-5

JUST THE MATHS UNIT NUMBER 1.9. ALGEBRA 9 (The theory of partial fractions) A.J.Hobson

UNC Charlotte 2004 Algebra with solutions

Chapter 5 Rational Expressions

Algebra I Vocabulary Cards

Polynomials and Polynomial Equations

5.1, 5.2, 5.3 Properites of Exponents last revised 6/7/2014. c = Properites of Exponents. *Simplify each of the following:

AS PURE MATHS REVISION NOTES

Study Guide for Math 095

Solving equations UNCORRECTED PAGE PROOFS

Grade 8 Factorisation

Lecture 26. Quadratic Equations

Polynomials. Eve Rawley, (EveR) Anne Gloag, (AnneG) Andrew Gloag, (AndrewG)

MS 2001: Test 1 B Solutions

Numerical and Algebraic Fractions

Problems in Algebra. 2 4ac. 2a

Algebra of. polynomials2

Multiplication of Polynomials

Algebra. x + a 0. x 2 + a 1. are constants and a n. x n 1,..., a 0. x n, a n 1

Chapter 5: Exponents and Polynomials

A-2. Polynomials and Factoring. Section A-2 1

Factoring Polynomials. Review and extend factoring skills. LEARN ABOUT the Math. Mai claims that, for any natural number n, the function

Equations in Quadratic Form

Algebra I Vocabulary Cards

Homework 1/Solutions. Graded Exercises

Something that can have different values at different times. A variable is usually represented by a letter in algebraic expressions.

APPENDIX : PARTIAL FRACTIONS

Chapter 3: Section 3.1: Factors & Multiples of Whole Numbers

Chapter 2 Prerequisite Skills BLM Evaluate Functions 1. Given P(x) = x 4 3x 2 + 5x 11, evaluate.

(2) Dividing both sides of the equation in (1) by the divisor, 3, gives: =

Chapter 2 notes from powerpoints

Factorisation CHAPTER Introduction

Lecture 27. Quadratic Formula

Learning Objectives These show clearly the purpose and extent of coverage for each topic.

Adding and Subtracting Polynomials

SCHOOL OF MATHEMATICS MATHEMATICS FOR PART I ENGINEERING. Self-paced Course

Solving Quadratic Equations Review

P4 Polynomials and P5 Factoring Polynomials

Ch 7 Summary - POLYNOMIAL FUNCTIONS

MATH 250 REVIEW TOPIC 3 Partial Fraction Decomposition and Irreducible Quadratics. B. Decomposition with Irreducible Quadratics

Polynomial Functions. x n 2 a n. x n a 1. f x = a o. x n 1 a 2. x 0, , a 1

CONTENTS CHECK LIST ACCURACY FRACTIONS INDICES SURDS RATIONALISING THE DENOMINATOR SUBSTITUTION

SYMBOL NAME DESCRIPTION EXAMPLES. called positive integers) negatives, and 0. represented as a b, where

1.2. Indices. Introduction. Prerequisites. Learning Outcomes

Lesson 3.5 Exercises, pages

Objective Mathematics

Algebra. Mathematics Help Sheet. The University of Sydney Business School

THE DISTRIBUTIVE LAW. Note: To avoid mistakes, include arrows above or below the terms that are being multiplied.

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line?

Transcription:

CM204: Computational Mathematics General Maths: 2. Algebra - Factorisation Prof. David Marshall School of Computer Science & Informatics

Factorisation Factorisation is a way of simplifying algebraic expressions. As we have seen, this can be effective when finding the roots of an equation f (x) = 0. There are many other uses where factorisation can simplify the maths e.g. algebraic fractions Simple factorisation examples: 25ab 2 5a 2 b 40ab 2 24a 2 b = 5ab(5b 3a) 8ab(5b 3a) = 5 8 x 2 2x + = (x ) 2 x 2 3x + 2 = (x )(x 2) 2 / 26

Methods and Tools for Factorisation There are many methods and tools you can use to factorise expressions Common factors Common factors by grouping The ac method Know your algebra! - Practice makes Perfect! 3 / 26

Common factors The simplest form of factorisation: Extract the highest common factors (HCF) from an expression These can be variables and/or integers (coefficients). Example: 24x 2 y 2 8xy 3 The HCF of the coefficients is 6 The HCF of x is x The HCF of y is y 2 So 24x 2 y 2 8xy 3 = 6xy 2 (4x 3y) 4 / 26

Exercise: Common factors Factorise: 8x 4 y 3 + 6x 3 y 2 = 5a 3 b 9a 2 b 2 = 5 / 26

Common factors by grouping Multiple termed expressions can sometimes be factorised into binomial expressions by extracting common factors from each, e.g.: 2ac + 6bc + ad + 3bd = (2ac + 6bc) + (ad + 3bd) = 2c(a + 3b) + d(a + 3b) = (a + 3b)(2c + d) The trick here is to spot the factors! 6 / 26

Exercise: Common factors by grouping Factorise: x 3 + 4x 2 y xy 4y 2 = 7 / 26

Know your Algebra! Recap: General Rules of Algebraic Multiplication: c(a + b) = ac + bc (a + b)(c + d) = ac + ad + bc + bd (a + b) 2 = (a + b)(a + b) = aa + ba + ab + bb = a 2 + 2ab + b 2 (a b)(a+b) = aa+ab ba bb = a 2 +ab ab b 2 = a 2 b 2 8 / 26

Examples: Expanding/Simplifying Expressions We are quite used to expanding algebraic expressions: 3(6a + 3b c) 5(2a b + 3c) = 8a + 9b 3c 0a + 5b 5c = 8a + 4b 8c 2(3m n) + 4(m + 2n) 3(2m + 3n) = 6m 2n + 4m + 8n 6m 9n = 4m 3n (x + )(x + 6) = x 2 + x + 6x + 6 = x 2 + 7x + 6 (x + y)(m + n) = mx + nx + my + ny (x + 4) 2 = x 2 + 8x + 6 (x 3)(x + 3) = x 2 9 9 / 26

Examples: Factorisation Factorisations of the following expressions are: 8x 2 2x = 4x(2x 3) 5x 2 + 5x 3 = 5x 2 ( + 3x) x 2 2x 5 = (x + 3)(x 5) x 2 + 9x + 20 = (x + 5)(x + 4) xz + 2yz 2y x = xz x + 2yz 2y = x(z ) + 2y(z ) = (z )(x + 2y) 2x 2 3x 2 = (2x + )(x 2) 0 / 26

The ac Method Guidance for factorising quadratics of the type ax 2 + bx + c where a 0 Obtain ac i.e. the numerical value of the product ac ignoring the sign of the product. Write down all the possible pairs of factors of ac If c is positive, we select the two factors of ac whose sum is equal to b : both of these factors have the same sign as b. If c is negative, we select the two factors of ac which differ by the value of b ; the numerically larger of these two factors has the same sign as that of b and the other has the opposite sign. In each case, denote the two factors obtained as f and f 2 Then ax 2 + bx + c is now written ax 2 + f x + f 2 x + c and this is factorised by finding common factors. / 26

Example:Factorising quadratics ax 2 + bx + c, a 0 Factorise: 6x 2 + x + 3 So we have a = 6, b =, c = 3 Therefore ac = 8 Factors of 8: (, 8), (2, 9), (3, 6) c is +ve therefore: f and f 2 should add up to b = Therefore the required factors are (2, 9) We therefore write: 6x 2 + x + 3 = 6x 2 + 2x + 9x + 3 = (6x 2 + 9x) + (2x + 3) = 3x(2x + 3) + (2x + 3) = (3x + )(2x + 3) 2 / 26

Exercise:Factorising quadratics ax 2 + bx + c, a or 0 Factorise: 3x 2 4x + 8 = 8x 2 + 8x 5 = 3 / 26

Factors as Algebraic Fractions Trivially: Any factors which appear in BOTH the numerator and denominator are called common factors and can simply be cancelled Simple example: 8x 2 = 3x 6x This is a useful property to similarly apply to algebraic fractions: A fraction is expressed in its simplest form by factorising the numerator and denominator and cancelling any common factors. Example: Simplify x 2 (x )(x + ) x 2 = + 3x + 2 (x + 2)(x + ) = x x + 2 4 / 26

Cubic Equations If f (x) is a cubic function ax 3 + bx 2 + cx + d then Note: the equation f (x) = 0 can have up to three real roots. The number of real roots will depend upon the values of a, b, c and d. Factors of the cubic clearly give us its roots. e.g.s: x 3 6x 2 + x 6 = 0 can be written as (x )(x 2)(x 3) = 0. Consequently, the values of x which satisfy this equation are x =, x = 2 and x = 3 5 / 26

Factor Theorem and Remainder Theorem () Factor theorem Definition: If for a given polynomial function f (x),f (a) = 0 then x a is a factor of the polynomial f (x). Example: Factorise 2x 3 + x 2 3x + 6 If a = then f () = 2 + 3 + 6 0 (x ) is not a factor If a = then f ( ) = 2 + + 3 + 6 0 (x + ) is not a factor If a = 2 then f (2) = 6 + 4 26 + 6=0 (x 2) is a factor 6 / 26

Factor Theorem and Remainder Theorem (2) To find other factors of 2x 3 + x 2 3x + 6 we can now factor out x 2. We need to do arithmetic (long) division: 2x 2 +5x 3 x 2 )2x 3 + x 2 3x +6 2x 3 4x 2 5x 2 3x +6 5x 2 0x -3x +6-3x +6 0 7 / 26

Factor Theorem and Remainder Theorem (3) It follows that 2x 2 + 5x 3 is also a factor of 2x 3 + x 2 3x + 6. Now 2x 2 + 5x 3 = (2x )(x + 3) Therefore (2x )(x + 3) are factors too So all the factors of 2x 3 + x 2 3x + 6 are: (x 2)(2x )(x + 3) 8 / 26

Exercise: Factor Theorem Use the factor theorem to factorise the following polynomial x 3 + 3x 2 x 3: What are the roots of the equation: x 3 + 3x 2 x 3 = 0? 9 / 26

Factor Theorem and Remainder Theorem (4) Remainder theorem: When f (x) is divided by (x a) remainder is f (a). Example: Find the remainder when x 3 + 6x 2 + 7x 4 is divided by x + 3 Using the remainder theorem a = 3 So f (a) = f (x = a = 3), (setting x = 3) x 3 +6x 2 +7x 4 = ( 3) 3 +6( 3) 2 +7( 3) 4 = 27+54 2 4 = 2 20 / 26

Exercise : Remainder Theorem When the polynomial f (x) = x 3 + 8x 2 + kx + 0 is divided by x 2, there is a remainder of 84. Show that k = 7. 2 / 26

Exercise 2: Remainder Theorem Given that x + 3 is a factor of 2x 3 + 9x 2 + ax 6, find the value of a. Using this value of a, solve the equation 2x 3 + 9x 2 + ax 6 = 0. 22 / 26

Sum or difference of two cubes Another formula for factoring is the sum or difference of two cubes. The sum can be represented by and the difference by a 3 + b 3 = (a + b)(a 2 ab + b 2 ) a 3 b 3 = (a b)(a 2 + ab + b 2 ) 23 / 26

Quartic Equations Recap: A Polynomial of Order 4: f (x) = ax 4 + bx 3 + cx 2 + dx + e In principal, the solution to a Quartic uses the same tools as for a cubic and quadratic - it s just a little more long winded or more complex. The same idea, as just introduced with cubics, of using the Factor Theorem applies 24 / 26

4 a 2 2 4 a 2 2 4 + a 2 2 4 + a 2 2 3 (b 2 3ac + 2d) 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 3 (b 2 3ac + 2d) 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 3 (b 2 3ac + 2d) 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 3 (b 2 3ac + 2d) 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 + + + + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 54 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 54 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 54 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 54 3 3 3 3 a 2 a 2 a 2 a 2 3 (b 2 3ac + 2d) 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 3 (b 2 3ac + 2d) 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 3 (b 2 3ac + 2d) 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 3 (b 2 3ac + 2d) 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 54 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 54 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 54 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 54 3 3 3 3 + + 4 a 2 4 a 2 4 a 2 4 a 2 a 3 +4ab 8c 2b + 3 9abc+27c 2 +27a 2 d 72bd+ 4(b 2 3ac+2d) 3 +(2b 3 9abc+27c 2 +27a 2 d 72bd) 2 3 3 2b 3 9abc+27c 2 +27a 2 d 72bd+ 4(b 2 3ac+2d) 3 +(2b 3 9abc+27c 2 +27a 2 d 72bd) 2 3 54 a 3 +4ab 8c 2b + 3 9abc+27c 2 +27a 2 d 72bd+ 4(b 2 3ac+2d) 3 +(2b 3 9abc+27c 2 +27a 2 d 72bd) 2 3 3 2b 3 9abc+27c 2 +27a 2 d 72bd+ 4(b 2 3ac+2d) 3 +(2b 3 9abc+27c 2 +27a 2 d 72bd) 2 3 54 a 3 +4ab 8c 2b + 3 9abc+27c 2 +27a 2 d 72bd+ 4(b 2 3ac+2d) 3 +(2b 3 9abc+27c 2 +27a 2 d 72bd) 2 3 3 2b 3 9abc+27c 2 +27a 2 d 72bd+ 4(b 2 3ac+2d) 3 +(2b 3 9abc+27c 2 +27a 2 d 72bd) 2 3 54 a 3 +4ab 8c 2b + 3 9abc+27c 2 +27a 2 d 72bd+ 4(b 2 3ac+2d) 3 +(2b 3 9abc+27c 2 +27a 2 d 72bd) 2 3 3 2b 3 9abc+27c 2 +27a 2 d 72bd+ 4(b 2 3ac+2d) 3 +(2b 3 9abc+27c 2 +27a 2 d 72bd) 2 3 54 Closed form Quartic Solution A closed form solution for a quartic actually does exist: The four roots r,r2,r3,r4 of a quartic polynomial equation x 4 + ax 3 + bx 2 + cx + d = 0 are given by r = a r2 = a r3 = a r4 = a 4 2b 3 + 2 4 2b 3 + 2 4 2b 3 + 2 4 2b 3 + 2 2b3 9abc + 27c 2 + 27a 2 d 72bd + 2b3 9abc + 27c 2 + 27a 2 d 72bd + 2b3 9abc + 27c 2 + 27a 2 d 72bd + 2b3 9abc + 27c 2 + 27a 2 d 72bd + 2 + 2 2 + 2 2 4b 3 2 2 4b 3 2 2 4b 3 2 2 4b 3 2 2b3 9abc + 27c 2 + 27a 2 d 72bd + 2b3 9abc + 27c 2 + 27a 2 d 72bd + 2b3 9abc + 27c 2 + 27a 2 d 72bd + 2b3 9abc + 27c 2 + 27a 2 d 72bd + The four roots r,r2,r3,r4 of a quartic polynomial equation x First part enlarged: 4 + ax 3 + bx 2 + cx + d = 0 are given by 4 2b 3 + 2 3 (b 2 3ac+2d) 4 2b 3 + 2 3 (b 2 3ac+2d) 4 2b 3 + 2 3 (b 2 3ac+2d) 4 2b 3 + 2 3 (b 2 3ac+2d) r = a 4 a 2 2 4 2b 3 + 2 3 (b 2 3ac + 2d) + 2b3 9abc + 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 r2 = a 4 a 2 2 4 2b 3 + 2 3 (b 2 3ac + 2d) + 2b3 9abc + 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 r3 = a 4 + a 2 2 4 2b 3 + 2 3 (b 2 3ac + 2d) + 2b3 9abc + 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 However, in practice, this is too unwieldy to be used for solving quartic equations r4 = a 4 + a 2 2 4 2b 3 + 2 3 (b 2 3ac + 2d) + 2b3 9abc + (Source http://upload.wikimedia.org/wikipedia/commons/9/99/quartic Formula.svg) 3 2b 3 9abc + 27c 2 + 27a 2 d 72bd + 4(b 2 3ac + 2d) 3 +(2b 3 9abc + 27c 2 + 27a 2 d 72bd) 2 3 25 / 26

Matlab to the Rescue We can use MATLAB to relieve the stress of factorisation: >> syms x ; >> f = 4 x ˆ4 3 x ˆ3 2 x ˆ2 + x ; >> f a c t o r ( f ) ans = x ( x ) (4 x ˆ2 + x ) >> d o u b l e ( s o l v e ( f ) ) ans = 0.0000 0.3904 0.6404 26 / 26