{"id":1591,"date":"2022-04-15T00:45:03","date_gmt":"2022-04-15T00:45:03","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/?post_type=chapter&#038;p=1591"},"modified":"2024-08-15T05:28:48","modified_gmt":"2024-08-15T05:28:48","slug":"3-5-3-factoring-the-difference-of-squares-and-the-sum-difference-of-cubes","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/chapter\/3-5-3-factoring-the-difference-of-squares-and-the-sum-difference-of-cubes\/","title":{"raw":"3.5.4: Factoring - Difference of Squares and the Sum and Difference of Cubes","rendered":"3.5.4: Factoring &#8211; Difference of Squares and the Sum and Difference of Cubes"},"content":{"raw":"<iframe\r\nsrc=\"https:\/\/www.chatbase.co\/chatbot-iframe\/ejVb5sgc1-w972OOCgl5x\"\r\nwidth=\"100%\"\r\nstyle=\"height: 100%; min-height: 700px\"\r\nframeborder=\"0\"\r\n><\/iframe>\r\n\r\n<div class=\"wrapper\">\r\n<div id=\"wrap\">\r\n<div id=\"content\" role=\"main\">\r\n<div id=\"post-276\" class=\"standard post-276 chapter type-chapter status-publish hentry\">\r\n<div class=\"entry-content\">\r\n<div class=\"textbox learning-objectives\">\r\n<h3>Learning Outcomes<\/h3>\r\n<ul>\r\n \t<li>Factor a difference of squares<\/li>\r\n \t<li>Factor a sum and a difference of cubes<\/li>\r\n<\/ul>\r\n<\/div>\r\nWe now have several methods in our factoring arsenal. We should always look for a greatest common factor of all terms first, then how we proceed is primarily determined by the number of terms we have. If we have 4 terms, we should look at factoring by grouping. When we have a trinomial function of the form [latex]f(x)=ax^2+bx+c[\/latex] trial and error or the ac-method are well suited for factoring. In this section, we are going to consider binomial functions of a special type; the difference of squares, and the sum or difference of cubes.\r\n<h2>Factoring a Difference of Squares<\/h2>\r\nWhen we multiply two binomials, we usually end up with a trinomial. For example, [latex](x+3)(x-4)=x^2-x-12[\/latex]. That is why we try to factor trinomials back into the product of two binomials. However, there is an occasion when the coefficients of the [latex]x[\/latex]-terms end up with opposite signs and cancel each other out. For example, [latex](2x-3)(2x+3)=4x^2\\color{blue}{+6x-6x}-9=4x^2-9[\/latex]. When this happens we end up with a difference of two squares. [latex]4x^2=(2x)^2[\/latex] and [latex]9=3^2[\/latex].\r\n\r\nIn general,\r\n<p style=\"text-align: center;\">[latex](a-b)(a+b)=a^2+ab-ab-b^2=a^2-b^2[\/latex]<\/p>\r\n\r\n<div>Therefore,<\/div>\r\n<div style=\"text-align: center;\">[latex]{a}^{2}-{b}^{2}=\\left(a-b\\right)\\left(a+b\\right)[\/latex]<\/div>\r\nWe can use this equation to factor any difference of squares.\r\n<div class=\"textbox shaded\">\r\n<h3>factoring a difference of squares into binomials<\/h3>\r\n<ol>\r\n \t<li>Confirm that the two terms are perfect squares: [latex]f(x)=a^2-b^2[\/latex]<\/li>\r\n \t<li>Write the factored form as [latex]f(x)=\\left(a-b\\right)\\left(a+b\\right)[\/latex].<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div class=\"textbox examples\">\r\n<h3>Example 1<\/h3>\r\nFactor [latex]f(x)=9{x}^{2}-25[\/latex].\r\n<h4>Solution<\/h4>\r\nWe have two terms and a difference. We need to check that [latex]9x^2[\/latex] and [latex]25[\/latex] are perfect squares.\r\n\r\n[latex]9{x}^{2}=3^2x^2=(3x)^2[\/latex] and [latex]25=5^2[\/latex] so they are both perfect squares.\r\n\r\nPlease note that [latex]3^2x^2=3\\cdot3\\cdot x\\cdot x=3\\cdot x\\cdot 3\\cdot x=(3x)(3x)=(3x)^2[\/latex].\r\n\r\nThe binomial [latex]9{x}^{2}-25[\/latex] represents a difference of squares and can be rewritten as [latex]\\left(3x-5\\right)\\left(3x + 5\\right)[\/latex].\r\n\r\nConsequently,\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}f(x)&amp;=9{x}^{2}-25\\\\&amp;=\\left(3x-5\\right)\\left(3x + 5\\right)\\end{aligned}[\/latex]<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox tryit\">\r\n<h3>Try It 1<\/h3>\r\nFactor:\r\n\r\n1. [latex]f(x)=81{y}^{2}-100[\/latex]\r\n\r\n2. [latex]g(x)=100-9x^2[\/latex]\r\n\r\n3. [latex]h(x)=36x^2-49[\/latex]\r\n\r\n4. [latex]f(x)=4x^2+9[\/latex]\r\n<div class=\"qa-wrapper\" style=\"display: block;\"><\/div>\r\n[reveal-answer q=\"hjm821\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"hjm821\"]\r\n\r\n1.\r\n\r\n[latex]\\begin{aligned}f(x)&amp;=81{y}^{2}-100\\\\&amp;=(9y-10)(9y+10)\\end{aligned}[\/latex]\r\n\r\n2.\r\n\r\n[latex]\\begin{aligned}f(x)&amp;=100-9x^2\\\\&amp;=(10-3x)(10+3x)\\end{aligned}[\/latex]\r\n\r\n3.\r\n\r\n[latex]\\begin{aligned}f(x)&amp;=36x^2-225\\\\&amp;=(6x-7)(6x+7)\\end{aligned}[\/latex]\r\n\r\n4.\r\n\r\n[latex]f(x)=4x^2+9[\/latex] is prime.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nDid you notice that the <em>sum<\/em> of squares [latex]a^2+b^2[\/latex] is prime? Only the <em>difference<\/em> of squares factors.\r\n<div class=\"textbox shaded\">\r\n<h3>sum of squares<\/h3>\r\n<p style=\"text-align: left;\">For all values [latex]a, b[\/latex],<\/p>\r\n<p style=\"text-align: center;\">[latex]a^2+b^2[\/latex] is prime<\/p>\r\n\r\n<\/div>\r\nSometimes we have a greatest common factor to deal with before we have the difference of two squares.\r\n<div class=\"textbox examples\">\r\n<h3>Example 2<\/h3>\r\nFactor [latex]f(x)=3x^2-48[\/latex]\r\n\r\nSolution\r\n\r\nWe have a difference of two terms but neither [latex]3x^2[\/latex] nor [latex]48[\/latex] are perfect squares. However, they do have a common factor of 3:\u00a0[latex]3x^2=3\\cdot x^2[\/latex] and\u00a0[latex]48=3\\cdot 16[\/latex]. After \"pulling out\" the GCF 3, we are left with the difference of two squares.\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}f(x)&amp;=3x^2-48\\\\&amp;=3(x^2-16)\\\\&amp;=3(x^2-4^2)\\\\&amp;=3(x-4)(x+4)\\end{aligned}[\/latex]<\/p>\r\n\r\n<\/div>\r\n<div class=\"textbox tryit\">\r\n<h3>Try It 2<\/h3>\r\nFactor:\r\n\r\n1. [latex]f(x)=5x^2-20[\/latex]\r\n\r\n2. [latex]g(x)=-7x^2+63[\/latex]\r\n\r\n3. [latex]h(x)=-32x^2-72[\/latex]\r\n\r\n[reveal-answer q=\"hjm353\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"hjm353\"]\r\n\r\n1.\r\n\r\n[latex]\\begin{aligned}f(x)&amp;=5x^2-20\\\\&amp;=5(x-2)(x+2)\\end{aligned}[\/latex]\r\n\r\n2.\r\n\r\n[latex]\\begin{aligned}g(x)&amp;=-7x^2+63\\\\&amp;=-7(x-3)(x+3)\\end{aligned}[\/latex]\r\n\r\n3.\r\n\r\n[latex]\\begin{aligned}h(x)&amp;=-32x^2-72\\\\&amp;=-8(4x^2+9)\\end{aligned}[\/latex] Remember that the sum of two squares is prime.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nPerfect squares always have an exponent that is divisible by 2. For example, [latex](x^2)^2=x^4[\/latex]; [latex](x^3)^2=x^6[\/latex];\u00a0[latex](x^5)^2=x^{10}[\/latex]; 4, 6, and 10 are all divisible by 2. So the difference of two squares can be applied when exponents are even.\r\n<div class=\"textbox examples\">\r\n<h3>Example 3<\/h3>\r\nFactor [latex]f(x)=16x^4-1[\/latex]\r\n<h4>Solution<\/h4>\r\n[latex]16x^4=4\\cdot 4\\cdot x^2\\cdot x^2=(4x^2)(4x^2)=(4x^2)^2[\/latex] so is a perfect square.\r\n\r\n[latex]\\begin{aligned}f(x)&amp;=16x^4-1\\\\&amp;=(4x^2)^2-1^2\\\\&amp;=(4x^2-1)(4x^2+1)\\;\\;\\;\\;\\;\\text{We are not done! } 4x^2-1\\text{ is the difference of two squares.}\\\\&amp;=(2x-1)(2x+1)(4x^2+1)\\end{aligned}[\/latex]\r\n\r\n<\/div>\r\n<div class=\"textbox tryit\">\r\n<h3>Try It 3<\/h3>\r\nFactor:\r\n\r\n1. [latex]f(x)=25x^4-81[\/latex]\r\n\r\n2. [latex]g(x)=x^4-16[\/latex]\r\n\r\n[reveal-answer q=\"hjm818\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"hjm818\"]\r\n\r\n1. [latex]f(x)=25x^4-81=(5x^2-9)(5x^2+9)[\/latex]\r\n\r\n2. [latex]g(x)=x^4-16=(x-2)(x+2)(x^2+4)[\/latex]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2>Factoring the Sum and Difference of Cubes<\/h2>\r\nAnother binomial form that can be factored is the sum or difference of cubes. When we multiply a binomial and a trinomial we usually end up with a polynomial with 4 terms. Occasionally, some of the terms get cancelled out and we end up with the sum or difference of two cubes, [latex]a^3+b^3[\/latex] or [latex]a^3-b^3[\/latex]. Although the sum of two squares cannot be factored, the sum of two cubes can be factored into a binomial and a trinomial.\r\n<div class=\"textbox shaded\">\r\n<h3>factoring the Sum and Difference of Cubes<\/h3>\r\nFor all values [latex]a, b[\/latex]:\r\n<div style=\"text-align: center;\">[latex]{a}^{3}+{b}^{3}=\\left(a+b\\right)\\left({a}^{2}-ab+{b}^{2}\\right)[\/latex]<\/div>\r\n&nbsp;\r\n<div style=\"text-align: center;\">[latex]{a}^{3}-{b}^{3}=\\left(a-b\\right)\\left({a}^{2}+ab+{b}^{2}\\right)[\/latex]<\/div>\r\n<\/div>\r\nNotice the pattern of + and \u2013 signs in the formulas.\r\n<div style=\"text-align: center;\">[latex]{a}^{3}\\color{blue}{+}{b}^{3}=\\left(a\\color{blue}{+}b\\right)\\left({a}^{2}\\color{red}{-}ab\\color{blue}{+}{b}^{2}\\right)[\/latex]<\/div>\r\n<div><\/div>\r\n<div style=\"text-align: center;\">[latex]{a}^{3}\\color{red}{-}{b}^{3}=\\left(a\\color{red}{-}b\\right)\\left({a}^{2}\\color{blue}{+}ab\\color{blue}{+}{b}^{2}\\right)[\/latex]<\/div>\r\n<div><\/div>\r\n<div>The binomial factor is always the same sign as the sum or difference. That sign changes for the middle term of the trinomial. The last term in the trinomial is always positive.<\/div>\r\n<div><\/div>\r\n<div class=\"textbox examples\">\r\n<h3>Example 4<\/h3>\r\nFactor [latex]f(x)={x}^{3}+512[\/latex].\r\n<h4>Solution<\/h4>\r\n[latex]{x}^{3}[\/latex] and [latex]512=8^3[\/latex] are perfect cubes.\r\n\r\nThe sum of cubes formula says [latex]a^b+b^3=(a+b)(a^2-ab+b^2)[\/latex] [latex]\\left(x+8\\right)\\left({x}^{2}-8x+64\\right)[\/latex].\r\n\r\nSo with [latex]a=x[\/latex] and [latex]b=8[\/latex], we get:\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}f(x)&amp;={x}^{3}+512\\\\&amp;=(x+8)(x^2-8x+64)\\end{aligned}[\/latex]<\/p>\r\n\r\n<h4>Analysis of the Solution<\/h4>\r\nAfter writing the sum of cubes this way, we may need to think whether the binomial and trinomial can be factored further. For this example, both the binomial and trinomial are prime.\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox tryit\">\r\n<h3>Try It 4<\/h3>\r\nFactor the sum of cubes [latex]f(x)=216{a}^{3}+{b}^{3}[\/latex].\r\n\r\n[reveal-answer q=\"hjm362\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"hjm362\"][latex]f(x)=\\left(6a+b\\right)\\left(36{a}^{2}-6ab+{b}^{2}\\right)[\/latex][\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox examples\">\r\n<h3>Example 5<\/h3>\r\nFactor [latex]g(x)=8{x}^{3}-125[\/latex].\r\n<h4>Solution<\/h4>\r\nNotice that [latex]8{x}^{3}=(2x)^3[\/latex] and [latex]125=5^3[\/latex] are perfect cubes. Therefore, we have the difference of two cubes.\r\n\r\nThe formula says [latex]a^3-b^3=(a-b)(a^2+ab+b^2)[\/latex], so writing [latex]a=2x[\/latex] and [latex]b=5[\/latex]:\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}f(x)&amp;=8x^3-125\\\\&amp;=(2x)^3-5^3\\\\&amp;=\\left(2x - 5\\right)\\left(4{x}^{2}+10x+25\\right)\\end{aligned}[\/latex].<\/p>\r\n\r\n<h4>Analysis of the Solution<\/h4>\r\nJust as with the sum of cubes, the trinomial factor is always prime so there is no more factoring to be done.\r\n\r\n<\/div>\r\n<div class=\"textbox tryit\">\r\n<h3>Try It 5<\/h3>\r\nFactor:\r\n\r\n1. [latex]f(x)=1,000{x}^{3}-1[\/latex]\r\n\r\n2. [latex]g(x)=27x^3-8[\/latex]\r\n\r\n3. [latex]h(x)=64x^3+125[\/latex]\r\n\r\n[reveal-answer q=\"hjm604\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"hjm604\"]\r\n\r\n1.\r\n\r\n[latex]\\begin{aligned}f(x)&amp;=1,000{x}^{3}-1\\\\&amp;=(10x-1)(100x^2+10x+1)\\end{aligned}[\/latex]\r\n\r\n2.\r\n\r\n[latex]\\begin{aligned}g(x)&amp;=27x^3-8\\\\&amp;=(3x-2)(9x^2+6x+4)\\end{aligned}[\/latex]\r\n\r\n3.\r\n\r\n[latex]\\begin{aligned}h(x)&amp;=64x^3+125\\\\&amp;=(4x+5)(16x^2-20x+25)\\end{aligned}[\/latex]\r\n\r\n[\/hidden-answer]\r\n<div class=\"qa-wrapper\" style=\"display: block;\"><\/div>\r\n<\/div>\r\nRemember that we should always look for a GCF between terms when we are factoring.\r\n<div class=\"textbox examples\">\r\n<h3>Example 6<\/h3>\r\nFactor [latex]f(x)=128x^4-54x[\/latex]\r\n<h4>Solution<\/h4>\r\nFirst, notice that there is a common factor of [latex]2x[\/latex].\r\n\r\n[latex]\\begin{aligned}f(x)&amp;=128x^4-54x\\\\&amp;=2x(64x^3-27)\\\\&amp;=2x\\left ((4x)^3-3^3\\right )\\\\&amp;=2x(4x-3)(16x^2+12x+9)\\end{aligned}[\/latex]\r\n\r\n<\/div>\r\n<div class=\"textbox tryit\">\r\n<h3>Try It 6<\/h3>\r\nFactor:\r\n\r\n1. [latex]f(x)=500x^5+4x^2[\/latex]\r\n\r\n2. [latex]g(x)=-16x^4-2x[\/latex]\r\n\r\n3. [latex]h(x)=108+32x^3[\/latex]\r\n\r\n[reveal-answer q=\"hjm439\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"hjm439\"]\r\n\r\n1.\r\n\r\n[latex]\\begin{aligned}f(x)&amp;=500x^5+4x^2\\\\&amp;=4x^2(5x+1)(25x^2-5x+1)\\end{aligned}[\/latex]\r\n\r\n2.\r\n\r\n[latex]\\begin{aligned}g(x)&amp;=-16x^4-2x\\\\&amp;=-2x(2x+1)(4x^2-2x+1)\\end{aligned}[\/latex]\r\n\r\n3.\r\n\r\n[latex]\\begin{aligned}h(x)&amp;=108+32x^3\\\\&amp;=4(2x+3)(4x^2-6x+9)\\end{aligned}[\/latex]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n\r\n<script>\r\nwindow.embeddedChatbotConfig = {\r\nchatbotId: \"ejVb5sgc1-w972OOCgl5x\",\r\ndomain: \"www.chatbase.co\"\r\n}\r\n<\/script>\r\n<script\r\nsrc=\"https:\/\/www.chatbase.co\/embed.min.js\"\r\nchatbotId=\"ejVb5sgc1-w972OOCgl5x\"\r\ndomain=\"www.chatbase.co\"\r\ndefer>\r\n<\/script>\r\n\r\n<iframe\r\nsrc=\"https:\/\/www.chatbase.co\/chatbot-iframe\/ejVb5sgc1-w972OOCgl5x\"\r\nwidth=\"100%\"\r\nstyle=\"height: 100%; min-height: 700px\"\r\nframeborder=\"0\"\r\n><\/iframe>","rendered":"<p><iframe src=\"https:\/\/www.chatbase.co\/chatbot-iframe\/ejVb5sgc1-w972OOCgl5x\" width=\"100%\" style=\"height: 100%; min-height: 700px\" frameborder=\"0\"><\/iframe><\/p>\n<div class=\"wrapper\">\n<div id=\"wrap\">\n<div id=\"content\" role=\"main\">\n<div id=\"post-276\" class=\"standard post-276 chapter type-chapter status-publish hentry\">\n<div class=\"entry-content\">\n<div class=\"textbox learning-objectives\">\n<h3>Learning Outcomes<\/h3>\n<ul>\n<li>Factor a difference of squares<\/li>\n<li>Factor a sum and a difference of cubes<\/li>\n<\/ul>\n<\/div>\n<p>We now have several methods in our factoring arsenal. We should always look for a greatest common factor of all terms first, then how we proceed is primarily determined by the number of terms we have. If we have 4 terms, we should look at factoring by grouping. When we have a trinomial function of the form [latex]f(x)=ax^2+bx+c[\/latex] trial and error or the ac-method are well suited for factoring. In this section, we are going to consider binomial functions of a special type; the difference of squares, and the sum or difference of cubes.<\/p>\n<h2>Factoring a Difference of Squares<\/h2>\n<p>When we multiply two binomials, we usually end up with a trinomial. For example, [latex](x+3)(x-4)=x^2-x-12[\/latex]. That is why we try to factor trinomials back into the product of two binomials. However, there is an occasion when the coefficients of the [latex]x[\/latex]-terms end up with opposite signs and cancel each other out. For example, [latex](2x-3)(2x+3)=4x^2\\color{blue}{+6x-6x}-9=4x^2-9[\/latex]. When this happens we end up with a difference of two squares. [latex]4x^2=(2x)^2[\/latex] and [latex]9=3^2[\/latex].<\/p>\n<p>In general,<\/p>\n<p style=\"text-align: center;\">[latex](a-b)(a+b)=a^2+ab-ab-b^2=a^2-b^2[\/latex]<\/p>\n<div>Therefore,<\/div>\n<div style=\"text-align: center;\">[latex]{a}^{2}-{b}^{2}=\\left(a-b\\right)\\left(a+b\\right)[\/latex]<\/div>\n<p>We can use this equation to factor any difference of squares.<\/p>\n<div class=\"textbox shaded\">\n<h3>factoring a difference of squares into binomials<\/h3>\n<ol>\n<li>Confirm that the two terms are perfect squares: [latex]f(x)=a^2-b^2[\/latex]<\/li>\n<li>Write the factored form as [latex]f(x)=\\left(a-b\\right)\\left(a+b\\right)[\/latex].<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox examples\">\n<h3>Example 1<\/h3>\n<p>Factor [latex]f(x)=9{x}^{2}-25[\/latex].<\/p>\n<h4>Solution<\/h4>\n<p>We have two terms and a difference. We need to check that [latex]9x^2[\/latex] and [latex]25[\/latex] are perfect squares.<\/p>\n<p>[latex]9{x}^{2}=3^2x^2=(3x)^2[\/latex] and [latex]25=5^2[\/latex] so they are both perfect squares.<\/p>\n<p>Please note that [latex]3^2x^2=3\\cdot3\\cdot x\\cdot x=3\\cdot x\\cdot 3\\cdot x=(3x)(3x)=(3x)^2[\/latex].<\/p>\n<p>The binomial [latex]9{x}^{2}-25[\/latex] represents a difference of squares and can be rewritten as [latex]\\left(3x-5\\right)\\left(3x + 5\\right)[\/latex].<\/p>\n<p>Consequently,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}f(x)&=9{x}^{2}-25\\\\&=\\left(3x-5\\right)\\left(3x + 5\\right)\\end{aligned}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox tryit\">\n<h3>Try It 1<\/h3>\n<p>Factor:<\/p>\n<p>1. [latex]f(x)=81{y}^{2}-100[\/latex]<\/p>\n<p>2. [latex]g(x)=100-9x^2[\/latex]<\/p>\n<p>3. [latex]h(x)=36x^2-49[\/latex]<\/p>\n<p>4. [latex]f(x)=4x^2+9[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block;\"><\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"qhjm821\">Show Answer<\/span><\/p>\n<div id=\"qhjm821\" class=\"hidden-answer\" style=\"display: none\">\n<p>1.<\/p>\n<p>[latex]\\begin{aligned}f(x)&=81{y}^{2}-100\\\\&=(9y-10)(9y+10)\\end{aligned}[\/latex]<\/p>\n<p>2.<\/p>\n<p>[latex]\\begin{aligned}f(x)&=100-9x^2\\\\&=(10-3x)(10+3x)\\end{aligned}[\/latex]<\/p>\n<p>3.<\/p>\n<p>[latex]\\begin{aligned}f(x)&=36x^2-225\\\\&=(6x-7)(6x+7)\\end{aligned}[\/latex]<\/p>\n<p>4.<\/p>\n<p>[latex]f(x)=4x^2+9[\/latex] is prime.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>Did you notice that the <em>sum<\/em> of squares [latex]a^2+b^2[\/latex] is prime? Only the <em>difference<\/em> of squares factors.<\/p>\n<div class=\"textbox shaded\">\n<h3>sum of squares<\/h3>\n<p style=\"text-align: left;\">For all values [latex]a, b[\/latex],<\/p>\n<p style=\"text-align: center;\">[latex]a^2+b^2[\/latex] is prime<\/p>\n<\/div>\n<p>Sometimes we have a greatest common factor to deal with before we have the difference of two squares.<\/p>\n<div class=\"textbox examples\">\n<h3>Example 2<\/h3>\n<p>Factor [latex]f(x)=3x^2-48[\/latex]<\/p>\n<p>Solution<\/p>\n<p>We have a difference of two terms but neither [latex]3x^2[\/latex] nor [latex]48[\/latex] are perfect squares. However, they do have a common factor of 3:\u00a0[latex]3x^2=3\\cdot x^2[\/latex] and\u00a0[latex]48=3\\cdot 16[\/latex]. After &#8220;pulling out&#8221; the GCF 3, we are left with the difference of two squares.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}f(x)&=3x^2-48\\\\&=3(x^2-16)\\\\&=3(x^2-4^2)\\\\&=3(x-4)(x+4)\\end{aligned}[\/latex]<\/p>\n<\/div>\n<div class=\"textbox tryit\">\n<h3>Try It 2<\/h3>\n<p>Factor:<\/p>\n<p>1. [latex]f(x)=5x^2-20[\/latex]<\/p>\n<p>2. [latex]g(x)=-7x^2+63[\/latex]<\/p>\n<p>3. [latex]h(x)=-32x^2-72[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"qhjm353\">Show Answer<\/span><\/p>\n<div id=\"qhjm353\" class=\"hidden-answer\" style=\"display: none\">\n<p>1.<\/p>\n<p>[latex]\\begin{aligned}f(x)&=5x^2-20\\\\&=5(x-2)(x+2)\\end{aligned}[\/latex]<\/p>\n<p>2.<\/p>\n<p>[latex]\\begin{aligned}g(x)&=-7x^2+63\\\\&=-7(x-3)(x+3)\\end{aligned}[\/latex]<\/p>\n<p>3.<\/p>\n<p>[latex]\\begin{aligned}h(x)&=-32x^2-72\\\\&=-8(4x^2+9)\\end{aligned}[\/latex] Remember that the sum of two squares is prime.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>Perfect squares always have an exponent that is divisible by 2. For example, [latex](x^2)^2=x^4[\/latex]; [latex](x^3)^2=x^6[\/latex];\u00a0[latex](x^5)^2=x^{10}[\/latex]; 4, 6, and 10 are all divisible by 2. So the difference of two squares can be applied when exponents are even.<\/p>\n<div class=\"textbox examples\">\n<h3>Example 3<\/h3>\n<p>Factor [latex]f(x)=16x^4-1[\/latex]<\/p>\n<h4>Solution<\/h4>\n<p>[latex]16x^4=4\\cdot 4\\cdot x^2\\cdot x^2=(4x^2)(4x^2)=(4x^2)^2[\/latex] so is a perfect square.<\/p>\n<p>[latex]\\begin{aligned}f(x)&=16x^4-1\\\\&=(4x^2)^2-1^2\\\\&=(4x^2-1)(4x^2+1)\\;\\;\\;\\;\\;\\text{We are not done! } 4x^2-1\\text{ is the difference of two squares.}\\\\&=(2x-1)(2x+1)(4x^2+1)\\end{aligned}[\/latex]<\/p>\n<\/div>\n<div class=\"textbox tryit\">\n<h3>Try It 3<\/h3>\n<p>Factor:<\/p>\n<p>1. [latex]f(x)=25x^4-81[\/latex]<\/p>\n<p>2. [latex]g(x)=x^4-16[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"qhjm818\">Show Answer<\/span><\/p>\n<div id=\"qhjm818\" class=\"hidden-answer\" style=\"display: none\">\n<p>1. [latex]f(x)=25x^4-81=(5x^2-9)(5x^2+9)[\/latex]<\/p>\n<p>2. [latex]g(x)=x^4-16=(x-2)(x+2)(x^2+4)[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h2>Factoring the Sum and Difference of Cubes<\/h2>\n<p>Another binomial form that can be factored is the sum or difference of cubes. When we multiply a binomial and a trinomial we usually end up with a polynomial with 4 terms. Occasionally, some of the terms get cancelled out and we end up with the sum or difference of two cubes, [latex]a^3+b^3[\/latex] or [latex]a^3-b^3[\/latex]. Although the sum of two squares cannot be factored, the sum of two cubes can be factored into a binomial and a trinomial.<\/p>\n<div class=\"textbox shaded\">\n<h3>factoring the Sum and Difference of Cubes<\/h3>\n<p>For all values [latex]a, b[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]{a}^{3}+{b}^{3}=\\left(a+b\\right)\\left({a}^{2}-ab+{b}^{2}\\right)[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<div style=\"text-align: center;\">[latex]{a}^{3}-{b}^{3}=\\left(a-b\\right)\\left({a}^{2}+ab+{b}^{2}\\right)[\/latex]<\/div>\n<\/div>\n<p>Notice the pattern of + and \u2013 signs in the formulas.<\/p>\n<div style=\"text-align: center;\">[latex]{a}^{3}\\color{blue}{+}{b}^{3}=\\left(a\\color{blue}{+}b\\right)\\left({a}^{2}\\color{red}{-}ab\\color{blue}{+}{b}^{2}\\right)[\/latex]<\/div>\n<div><\/div>\n<div style=\"text-align: center;\">[latex]{a}^{3}\\color{red}{-}{b}^{3}=\\left(a\\color{red}{-}b\\right)\\left({a}^{2}\\color{blue}{+}ab\\color{blue}{+}{b}^{2}\\right)[\/latex]<\/div>\n<div><\/div>\n<div>The binomial factor is always the same sign as the sum or difference. That sign changes for the middle term of the trinomial. The last term in the trinomial is always positive.<\/div>\n<div><\/div>\n<div class=\"textbox examples\">\n<h3>Example 4<\/h3>\n<p>Factor [latex]f(x)={x}^{3}+512[\/latex].<\/p>\n<h4>Solution<\/h4>\n<p>[latex]{x}^{3}[\/latex] and [latex]512=8^3[\/latex] are perfect cubes.<\/p>\n<p>The sum of cubes formula says [latex]a^b+b^3=(a+b)(a^2-ab+b^2)[\/latex] [latex]\\left(x+8\\right)\\left({x}^{2}-8x+64\\right)[\/latex].<\/p>\n<p>So with [latex]a=x[\/latex] and [latex]b=8[\/latex], we get:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}f(x)&={x}^{3}+512\\\\&=(x+8)(x^2-8x+64)\\end{aligned}[\/latex]<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p>After writing the sum of cubes this way, we may need to think whether the binomial and trinomial can be factored further. For this example, both the binomial and trinomial are prime.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox tryit\">\n<h3>Try It 4<\/h3>\n<p>Factor the sum of cubes [latex]f(x)=216{a}^{3}+{b}^{3}[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"qhjm362\">Show Answer<\/span><\/p>\n<div id=\"qhjm362\" class=\"hidden-answer\" style=\"display: none\">[latex]f(x)=\\left(6a+b\\right)\\left(36{a}^{2}-6ab+{b}^{2}\\right)[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox examples\">\n<h3>Example 5<\/h3>\n<p>Factor [latex]g(x)=8{x}^{3}-125[\/latex].<\/p>\n<h4>Solution<\/h4>\n<p>Notice that [latex]8{x}^{3}=(2x)^3[\/latex] and [latex]125=5^3[\/latex] are perfect cubes. Therefore, we have the difference of two cubes.<\/p>\n<p>The formula says [latex]a^3-b^3=(a-b)(a^2+ab+b^2)[\/latex], so writing [latex]a=2x[\/latex] and [latex]b=5[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}f(x)&=8x^3-125\\\\&=(2x)^3-5^3\\\\&=\\left(2x - 5\\right)\\left(4{x}^{2}+10x+25\\right)\\end{aligned}[\/latex].<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p>Just as with the sum of cubes, the trinomial factor is always prime so there is no more factoring to be done.<\/p>\n<\/div>\n<div class=\"textbox tryit\">\n<h3>Try It 5<\/h3>\n<p>Factor:<\/p>\n<p>1. [latex]f(x)=1,000{x}^{3}-1[\/latex]<\/p>\n<p>2. [latex]g(x)=27x^3-8[\/latex]<\/p>\n<p>3. [latex]h(x)=64x^3+125[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"qhjm604\">Show Answer<\/span><\/p>\n<div id=\"qhjm604\" class=\"hidden-answer\" style=\"display: none\">\n<p>1.<\/p>\n<p>[latex]\\begin{aligned}f(x)&=1,000{x}^{3}-1\\\\&=(10x-1)(100x^2+10x+1)\\end{aligned}[\/latex]<\/p>\n<p>2.<\/p>\n<p>[latex]\\begin{aligned}g(x)&=27x^3-8\\\\&=(3x-2)(9x^2+6x+4)\\end{aligned}[\/latex]<\/p>\n<p>3.<\/p>\n<p>[latex]\\begin{aligned}h(x)&=64x^3+125\\\\&=(4x+5)(16x^2-20x+25)\\end{aligned}[\/latex]<\/p>\n<\/div>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block;\"><\/div>\n<\/div>\n<p>Remember that we should always look for a GCF between terms when we are factoring.<\/p>\n<div class=\"textbox examples\">\n<h3>Example 6<\/h3>\n<p>Factor [latex]f(x)=128x^4-54x[\/latex]<\/p>\n<h4>Solution<\/h4>\n<p>First, notice that there is a common factor of [latex]2x[\/latex].<\/p>\n<p>[latex]\\begin{aligned}f(x)&=128x^4-54x\\\\&=2x(64x^3-27)\\\\&=2x\\left ((4x)^3-3^3\\right )\\\\&=2x(4x-3)(16x^2+12x+9)\\end{aligned}[\/latex]<\/p>\n<\/div>\n<div class=\"textbox tryit\">\n<h3>Try It 6<\/h3>\n<p>Factor:<\/p>\n<p>1. [latex]f(x)=500x^5+4x^2[\/latex]<\/p>\n<p>2. [latex]g(x)=-16x^4-2x[\/latex]<\/p>\n<p>3. [latex]h(x)=108+32x^3[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"qhjm439\">Show Answer<\/span><\/p>\n<div id=\"qhjm439\" class=\"hidden-answer\" style=\"display: none\">\n<p>1.<\/p>\n<p>[latex]\\begin{aligned}f(x)&=500x^5+4x^2\\\\&=4x^2(5x+1)(25x^2-5x+1)\\end{aligned}[\/latex]<\/p>\n<p>2.<\/p>\n<p>[latex]\\begin{aligned}g(x)&=-16x^4-2x\\\\&=-2x(2x+1)(4x^2-2x+1)\\end{aligned}[\/latex]<\/p>\n<p>3.<\/p>\n<p>[latex]\\begin{aligned}h(x)&=108+32x^3\\\\&=4(2x+3)(4x^2-6x+9)\\end{aligned}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><script>\nwindow.embeddedChatbotConfig = {\nchatbotId: \"ejVb5sgc1-w972OOCgl5x\",\ndomain: \"www.chatbase.co\"\n}\n<\/script><br \/>\n<script src=\"https:\/\/www.chatbase.co\/embed.min.js\" defer=\"defer\">\n<\/script><\/p>\n<p><iframe src=\"https:\/\/www.chatbase.co\/chatbot-iframe\/ejVb5sgc1-w972OOCgl5x\" width=\"100%\" style=\"height: 100%; min-height: 700px\" frameborder=\"0\"><\/iframe><\/p>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-1591\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Original<\/div><ul class=\"citation-list\"><li>Revision and Adaptation. <strong>Authored by<\/strong>: Hazel McKenna. <strong>Provided by<\/strong>: Utah Valley University. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><li>Revision and Adaptation. <strong>Provided by<\/strong>: Lumen Learning. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><li>Try It hjm439; hjm604; hjm362; hjm818; hjm353; hjm821. Examples 3, 5, 6.. <strong>Authored by<\/strong>: Hazel McKenna. <strong>Provided by<\/strong>: Utah Valley University. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>College Algebra. <strong>Authored by<\/strong>: Abramson, Jay et al.. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2\">http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Download for free at http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2<\/li><li>Question ID 7919, 7929, 7922. <strong>Authored by<\/strong>: Tyler Wallace. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: IMathAS Community License, CC-BY + GPL<\/li><li>Question ID 93666, 93668. <strong>Authored by<\/strong>: Michael Jenck. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: IMathAS Community License CC-BY + GPL<\/li><\/ul><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Specific attribution<\/div><ul class=\"citation-list\"><li>College Algebra. <strong>Authored by<\/strong>: OpenStax College Algebra. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface\">http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":422608,"menu_order":13,"template":"","meta":{"_candela_citation":"[{\"type\":\"original\",\"description\":\"Revision and Adaptation\",\"author\":\"Hazel McKenna\",\"organization\":\"Utah Valley University\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc-attribution\",\"description\":\"College Algebra\",\"author\":\"OpenStax College Algebra\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"original\",\"description\":\"Revision and Adaptation\",\"author\":\"\",\"organization\":\"Lumen Learning\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"College Algebra\",\"author\":\"Abramson, Jay et al.\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download for free at http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@5.2\"},{\"type\":\"original\",\"description\":\"Try It hjm439; hjm604; hjm362; hjm818; hjm353; hjm821. Examples 3, 5, 6.\",\"author\":\"Hazel McKenna\",\"organization\":\"Utah Valley University\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"Question ID 7919, 7929, 7922\",\"author\":\"Tyler Wallace\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"IMathAS Community License, CC-BY + GPL\"},{\"type\":\"cc\",\"description\":\"Question ID 93666, 93668\",\"author\":\"Michael Jenck\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"IMathAS Community License CC-BY + GPL\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1591","chapter","type-chapter","status-publish","hentry"],"part":1176,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/pressbooks\/v2\/chapters\/1591","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/wp\/v2\/users\/422608"}],"version-history":[{"count":28,"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/pressbooks\/v2\/chapters\/1591\/revisions"}],"predecessor-version":[{"id":4549,"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/pressbooks\/v2\/chapters\/1591\/revisions\/4549"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/pressbooks\/v2\/parts\/1176"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/pressbooks\/v2\/chapters\/1591\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/wp\/v2\/media?parent=1591"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=1591"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/wp\/v2\/contributor?post=1591"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/uvu-combinedalgebra\/wp-json\/wp\/v2\/license?post=1591"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}