Algebra Factorisation Prof David Marshall School of Computer Science Informatics brPage 3br Factorisation The ac Method Cubic Equations Quartic Equations Factorisation Factorisation is a way of simplifying algebraic expressions As we have seen thi ID: 87006
Download Pdf The PPT/PDF document "CM Scientic Computing and Multimedia App..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
FactorisationTheacMethod CubicEquationsQuarticEquations Factorisation Factorisationisawayofsimplifyingalgebraicexpressions. Aswehaveseen,thiscanbeeectivewhenndingtherootsofanequationf(x)=0. Therearemanyotheruseswherefactorisationcansimplifythemathse.g.algebraicfractionsSimplefactorisationexamples: 25ab215a2b 40ab224a2b=5ab(5b3a) 8ab(5b3a)=5 8 x22x+1=(x1)2 x23x+2=(x1)(x2)2/26 FactorisationTheacMethod CubicEquationsQuarticEquations MethodsandToolsforFactorisation Therearemanymethodsandtoolsyoucanusetofactoriseexpressions Commonfactors Commonfactorsbygrouping Theacmethod Knowyouralgebra!-PracticemakesPerfect!3/26 FactorisationTheacMethod CubicEquationsQuarticEquations Commonfactors Thesimplestformoffactorisation: Extractthehighestcommonfactors(HCF)fromanexpression Thesecanbevariablesand/orintegers(coecients).Example:24x2y218xy3 TheHCFofthecoecientsis6 TheHCFofxisx TheHCFofyisy2So24x2y218xy3=6xy2(4x3y)4/26 FactorisationTheacMethod CubicEquationsQuarticEquations Exercise:Commonfactors Factorise: 8x4y3+6x3y2= 15a3b9a2b2=5/26 FactorisationTheacMethod CubicEquationsQuarticEquations Commonfactorsbygrouping Multipletermedexpressionscansometimesbefactorisedintobinomialexpressionsbyextractingcommonfactorsfromeach,e.g.:2ac+6bc+ad+3bd=(2ac+6bc)+(ad+3bd)=2c(a+3b)+d(a+3b)=(a+3b)(2c+d)Thetrickhereistospotthefactors!6/26 FactorisationTheacMethod CubicEquationsQuarticEquations Exercise:Commonfactorsbygrouping Factorise: x3+4x2yxy4y2=7/26 FactorisationTheacMethod CubicEquationsQuarticEquations KnowyourAlgebra! Recap:GeneralRulesofAlgebraicMultiplication: c(a+b)=ac+bc (a+b)(c+d)=ac+ad+bc+bd (a+b)2=(a+b)(a+b)=aa+ba+ab+bb=a2+2ab+b2 (ab)(a+b)=aa+abbabb=a2+ababb2=a2b28/26 FactorisationTheacMethod CubicEquationsQuarticEquations Examples:Expanding/SimplifyingExpressions Wearequiteusedtoexpandingalgebraicexpressions: 3(6a+3bc)5(2ab+3c)=18a+9b3c10a+5b15c=8a+14b18c 2(3mn)+4(m+2n)3(2m+3n)=6m2n+4m+8n6m9n=4m3n (x+1)(x+6)=x2+x+6x+6=x2+7x+6 (x+y)(m+n)=mx+nx+my+ny (x+4)2=x2+8x+16 (x3)(x+3)=x299/26 FactorisationTheacMethod CubicEquationsQuarticEquations Examples:Factorisation Factorisationsofthefollowingexpressionsare: 8x212x=4x(2x3) 5x2+15x3=5x2(1+3x) x22x15=(x+3)(x5) x2+9x+20=(x+5)(x+4) xz+2yz2yx=xzx+2yz2y=x(z1)+2y(z1)=(z1)(x+2y) 2x23x2=(2x+1)(x2)10/26 FactorisationTheacMethod CubicEquationsQuarticEquations TheacMethod Guidanceforfactorisingquadraticsofthetypeax2+bx+cwherea6=0 Obtainjacji.e.thenumericalvalueoftheproductacignoringthesignoftheproduct. Writedownallthepossiblepairsoffactorsofjacj Ifcispositive,weselectthetwofactorsofjacjwhosesumisequaltojbj:bothofthesefactorshavethesamesignasb. Ifcisnegative,weselectthetwofactorsofjacjwhichdierbythevalueofjbj;thenumericallylargerofthesetwofactorshasthesamesignasthatofbandtheotherhastheoppositesign. Ineachcase,denotethetwofactorsobtainedasf1andf2 Thenax2+bx+cisnowwrittenax2+f1x+f2x+candthisisfactorisedbyndingcommonfactors.11/26 FactorisationTheacMethod CubicEquationsQuarticEquations Example:Factorisingquadraticsax2+bx+c,a6=0 Factorise:6x2+11x+3Sowehave a=6,b=11,c=3 Thereforejacj=18 Factorsof18:(1;18);(2;9);(3;6) cis+vetherefore: f1andf2shouldadduptojbj=11 Thereforetherequiredfactorsare(2;9)Wethereforewrite:6x2+11x+3=6x2+2x+9x+3=(6x2+9x)+(2x+3)=3x(2x+3)+1(2x+3)=(3x+1)(2x+3)12/26 FactorisationTheacMethod CubicEquationsQuarticEquations Exercise:Factorisingquadraticsax2+bx+c,a6=1or0 Factorise: 3x214x+8= 8x2+18x5=13/26 FactorisationTheacMethod CubicEquationsQuarticEquations FactorsasAlgebraicFractions Trivially:AnyfactorswhichappearinBOTHthenumeratoranddenominatorarecalledcommonfactorsandcansimplybecancelledSimpleexample:18x2 6x=3xThisisausefulpropertytosimilarlyapplytoalgebraicfractions: Afractionisexpressedinitssimplestformbyfactorisingthenumeratoranddenominatorandcancellinganycommonfactors.Example:Simplifyx21 x2+3x+2=(x1)(x+1) (x+2)(x+1)=x1 x+214/26 FactorisationTheacMethod CubicEquationsQuarticEquations CubicEquations Iff(x)isacubicfunctionax3+bx2+cx+dthen theequationf(x)=0canhaveuptothreerealroots.Note: Thenumberofrealrootswilldependuponthevaluesofa,b,candd. Factorsofthecubicclearlygiveusitsroots.e.g.s:x36x2+11x6=0canbewrittenas(x1)(x2)(x3)=0. Consequently,thevaluesofxwhichsatisfythisequationarex=1,x=2andx=315/26 FactorisationTheacMethod CubicEquationsQuarticEquations FactorTheoremandRemainderTheorem(1) FactortheoremDenition:Ifforagivenpolynomialfunctionf(x),f(a)=0thenxaisafactorofthepolynomialf(x).Example:Factorise2x3+x213x+6 Ifa=1thenf(1)=2+113+66=0|(x1)isnotafactor Ifa=1thenf(1)=2+1+13+66=0|(x+1)isnotafactor Ifa=2thenf(2)=16+426+6=0|(x2)isafactor16/26 13x+62x x2!10 FactorisationTheacMethod CubicEquationsQuarticEquations FactorTheoremandRemainderTheorem(2) Tondotherfactorsof2x3+x213x+6wecannowfactoroutx2.Weneedtodoarithmetic(long)division: 17/26 FactorisationTheacMethod CubicEquationsQuarticEquations FactorTheoremandRemainderTheorem(3) Itfollowsthat2x2+5x3isalsoafactorof2x3+x213x+6.Now2x2+5x3=(2x1)(x+3)Therefore(2x1)(x+3)arefactorstooSoallthefactorsof2x3+x213x+6are:(x2)(2x1)(x+3)18/26 FactorisationTheacMethod CubicEquationsQuarticEquations Exercise:FactorTheorem Usethefactortheoremtofactorisethefollowingpolynomialx3+3x2x3:Whataretherootsoftheequation:x3+3x2x3=0?19/26 FactorisationTheacMethod CubicEquationsQuarticEquations FactorTheoremandRemainderTheorem(4) Remaindertheorem:Whenf(x)isdividedby(xa)remainderisf(a).Example:Findtheremainderwhenx3+6x2+7x4isdividedbyx+3 Usingtheremaindertheorema=3 Sof(a)=f(x=a=3),(settingx=3)x3+6x2+7x4=(3)3+6(3)2+7(3)4=27+54214=220/26 FactorisationTheacMethod CubicEquationsQuarticEquations Exercise1:RemainderTheorem Whenthepolynomialf(x)=x3+8x2+kx+10isdividedbyx2,thereisaremainderof84.Showthatk=17.21/26 FactorisationTheacMethod CubicEquationsQuarticEquations Exercise2:RemainderTheorem Giventhatx+3isafactorof2x3+9x2+ax6,ndthevalueofa.Usingthisvalueofa,solvetheequation2x3+9x2+ax6=0.22/26 FactorisationTheacMethod CubicEquationsQuarticEquations Sumordierenceoftwocubes Anotherformulaforfactoringisthesumordierenceoftwocubes.Thesumcanberepresentedbya3+b3=(a+b)(a2ab+b2)andthedierencebya3b3=(ab)(a2+ab+b2)23/26 FactorisationTheacMethod CubicEquationsQuarticEquations QuarticEquations Recap:APolynomialofOrder4:f(x)=ax4+bx3+cx2+dx+eInprincipal,thesolutiontoaQuarticusesthesametoolsasforacubicandquadratic-it'sjustalittlemorelongwindedormorecomplex. Thesameidea,asjustintroducedwithcubics,ofusingtheFactorTheoremapplies24/26 """""#a24!2b3+213(b2!3ac+12d) %!4( 254) 2+27a2d!72bd+%!4(b 2d!72bd+%!4( 254) 9abc+27c2 +12d)3+(2b3!9abc+27c2+27 !72bd+% 254) !72bd+%!4(b 2&13!'( %!4( 254) 9abc+27c2 9abc+27c2 254&1 %!4( !72bd+%!4(b 2&13!'( !2b3!9abc+27c2 "!4(b2!3ac+12d)3+(2b3!9abc+27c2 9abc+27c2 254&1 !72bd+% 254) !72bd+%!4(b 2&13!'( %!4( 254) 213(b2!3ac+12d) 9abc+27c2 9abc+27c2 254&1 """""#a24!2b3+213(b2!3ac+12d) %!4( 254) 2+27a2d!72bd+%!4(b 2d!72bd+%!4( 254) 9abc+27c2 +12d)3+(2b3!9abc+27c2+27 !72bd+% 254) !72bd+%!4(b 2&13!'( %!4( 254) 9abc+27c2 9abc+27c2 254&1 %!4( !72bd+%!4(b 2&13!'( !2b3!9abc+27c2 "!4(b2!3ac+12d)3+(2b3!9abc+27c2 9abc+27c2 254&1 !72bd+% 254) !72bd+%!4(b 2&13!'( %!4( 254) 213(b2!3ac+12d) 9abc+27c2 9abc+27c2 254&1 FactorisationTheacMethod CubicEquationsQuarticEquations ClosedformQuarticSolution Aclosedformsolutionforaquarticactuallydoesexist: Firstpartenlarged: However,inpractice,thisistoounwieldytobeusedforsolvingquarticequations(Sourcehttp://planetmath.org/encyclopedia/QuarticFormula.html )25/26 FactorisationTheacMethod CubicEquationsQuarticEquations MatlabtotheRescue WecanuseMATLABtorelievethestressoffactorisation: symsx;f=4x^43x^32x^2+x;factor(f)ans=x(x1)(4x^2+x1)double(solve(f))ans=01.00000.39040.6404 26/26 CM2202:ScienticComputingandMultimediaApplicationsGeneralMaths:2.Algebra-FactorisationProf.DavidMarshallSchoolofComputerScience&Informatics