{"id":395,"date":"2015-10-26T17:52:07","date_gmt":"2015-10-26T17:52:07","guid":{"rendered":"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/?post_type=chapter&#038;p=395"},"modified":"2015-11-12T18:38:00","modified_gmt":"2015-11-12T18:38:00","slug":"completing-the-square","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/chapter\/completing-the-square\/","title":{"raw":"Completing the Square","rendered":"Completing the Square"},"content":{"raw":"Not all quadratic equations can be factored or can be solved in their original form using the square root property. In these cases, we may use a method for solving a <strong>quadratic equation<\/strong> known as <strong>completing the square<\/strong>. Using this method, we add or subtract terms to both sides of the equation until we have a perfect square trinomial on one side of the equal sign. We then apply the square root property. To complete the square, the leading coefficient, <em>a<\/em>, must equal 1. If it does not, then divide the entire equation by <em>a<\/em>. Then, we can use the following procedures to solve a quadratic equation by completing the square.\r\n\r\nWe will use the example [latex]{x}^{2}+4x+1=0[\/latex] to illustrate each step.\r\n<ol>\r\n\t<li>Given a quadratic equation that cannot be factored, and with [latex]a=1[\/latex], first add or subtract the constant term to the right sign of the equal sign.\r\n<div style=\"text-align: center;\">[latex]{x}^{2}+4x=-1[\/latex]<\/div><\/li>\r\n\t<li>Multiply the <em>b <\/em>term by [latex]\\frac{1}{2}[\/latex] and square it.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\frac{1}{2}\\left(4\\right)=2\\hfill \\\\ {2}^{2}=4\\hfill \\end{array}[\/latex]<\/div><\/li>\r\n\t<li>Add [latex]{\\left(\\frac{1}{2}b\\right)}^{2}[\/latex] to both sides of the equal sign and simplify the right side. We have\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}{x}^{2}+4x+4=-1+4\\hfill \\\\ {x}^{2}+4x+4=3\\hfill \\end{array}[\/latex]<\/div><\/li>\r\n\t<li>The left side of the equation can now be factored as a perfect square.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}{x}^{2}+4x+4=3\\hfill \\\\ {\\left(x+2\\right)}^{2}=3\\hfill \\end{array}[\/latex]<\/div><\/li>\r\n\t<li>Use the square root property and solve.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\sqrt{{\\left(x+2\\right)}^{2}}=\\pm \\sqrt{3}\\hfill \\\\ x+2=\\pm \\sqrt{3}\\hfill \\\\ x=-2\\pm \\sqrt{3}\\hfill \\end{array}[\/latex]<\/div><\/li>\r\n\t<li>The solutions are [latex]x=-2+\\sqrt{3}[\/latex], [latex]x=-2-\\sqrt{3}[\/latex].<\/li>\r\n<\/ol>\r\n<div class=\"textbox shaded\">\r\n<h3>Example 8: Solving a Quadratic by Completing the Square<\/h3>\r\nSolve the quadratic equation by completing the square: [latex]{x}^{2}-3x - 5=0[\/latex].\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Solution<\/h3>\r\nFirst, move the constant term to the right side of the equal sign.\r\n<div style=\"text-align: center;\">[latex]{x}^{2}-3x=5[\/latex]<\/div>\r\nThen, take [latex]\\frac{1}{2}[\/latex] of the <em>b <\/em>term and square it.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\frac{1}{2}\\left(-3\\right)=-\\frac{3}{2}\\hfill \\\\ {\\left(-\\frac{3}{2}\\right)}^{2}=\\frac{9}{4}\\hfill \\end{array}[\/latex]<\/div>\r\nAdd the result to both sides of the equal sign.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }{x}^{2}-3x+{\\left(-\\frac{3}{2}\\right)}^{2}=5+{\\left(-\\frac{3}{2}\\right)}^{2}\\hfill \\\\ {x}^{2}-3x+\\frac{9}{4}=5+\\frac{9}{4}\\hfill \\end{array}[\/latex]<\/div>\r\nFactor the left side as a perfect square and simplify the right side.\r\n<div>[latex]{\\left(x-\\frac{3}{2}\\right)}^{2}=\\frac{29}{4}[\/latex]<\/div>\r\nUse the square root property and solve.\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\sqrt{{\\left(x-\\frac{3}{2}\\right)}^{2}}\\hfill&amp;=\\pm \\sqrt{\\frac{29}{4}}\\hfill \\\\ \\left(x-\\frac{3}{2}\\right)\\hfill&amp;=\\pm \\frac{\\sqrt{29}}{2}\\hfill \\\\ x\\hfill&amp;=\\frac{3}{2}\\pm \\frac{\\sqrt{29}}{2}\\hfill \\end{array}[\/latex]<\/div>\r\nThe solutions are [latex]x=\\frac{3}{2}+\\frac{\\sqrt{29}}{2}[\/latex], [latex]x=\\frac{3}{2}-\\frac{\\sqrt{29}}{2}[\/latex].\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It 7<\/h3>\r\nSolve by completing the square: [latex]{x}^{2}-6x=13[\/latex].\r\n\r\n<a href=\"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/chapter\/solutions-to-selected-exercises-2\/\" target=\"_blank\">Solution<\/a>\r\n\r\n<\/div>","rendered":"<p>Not all quadratic equations can be factored or can be solved in their original form using the square root property. In these cases, we may use a method for solving a <strong>quadratic equation<\/strong> known as <strong>completing the square<\/strong>. Using this method, we add or subtract terms to both sides of the equation until we have a perfect square trinomial on one side of the equal sign. We then apply the square root property. To complete the square, the leading coefficient, <em>a<\/em>, must equal 1. If it does not, then divide the entire equation by <em>a<\/em>. Then, we can use the following procedures to solve a quadratic equation by completing the square.<\/p>\n<p>We will use the example [latex]{x}^{2}+4x+1=0[\/latex] to illustrate each step.<\/p>\n<ol>\n<li>Given a quadratic equation that cannot be factored, and with [latex]a=1[\/latex], first add or subtract the constant term to the right sign of the equal sign.\n<div style=\"text-align: center;\">[latex]{x}^{2}+4x=-1[\/latex]<\/div>\n<\/li>\n<li>Multiply the <em>b <\/em>term by [latex]\\frac{1}{2}[\/latex] and square it.\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\frac{1}{2}\\left(4\\right)=2\\hfill \\\\ {2}^{2}=4\\hfill \\end{array}[\/latex]<\/div>\n<\/li>\n<li>Add [latex]{\\left(\\frac{1}{2}b\\right)}^{2}[\/latex] to both sides of the equal sign and simplify the right side. We have\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}{x}^{2}+4x+4=-1+4\\hfill \\\\ {x}^{2}+4x+4=3\\hfill \\end{array}[\/latex]<\/div>\n<\/li>\n<li>The left side of the equation can now be factored as a perfect square.\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}{x}^{2}+4x+4=3\\hfill \\\\ {\\left(x+2\\right)}^{2}=3\\hfill \\end{array}[\/latex]<\/div>\n<\/li>\n<li>Use the square root property and solve.\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\sqrt{{\\left(x+2\\right)}^{2}}=\\pm \\sqrt{3}\\hfill \\\\ x+2=\\pm \\sqrt{3}\\hfill \\\\ x=-2\\pm \\sqrt{3}\\hfill \\end{array}[\/latex]<\/div>\n<\/li>\n<li>The solutions are [latex]x=-2+\\sqrt{3}[\/latex], [latex]x=-2-\\sqrt{3}[\/latex].<\/li>\n<\/ol>\n<div class=\"textbox shaded\">\n<h3>Example 8: Solving a Quadratic by Completing the Square<\/h3>\n<p>Solve the quadratic equation by completing the square: [latex]{x}^{2}-3x - 5=0[\/latex].<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<p>First, move the constant term to the right side of the equal sign.<\/p>\n<div style=\"text-align: center;\">[latex]{x}^{2}-3x=5[\/latex]<\/div>\n<p>Then, take [latex]\\frac{1}{2}[\/latex] of the <em>b <\/em>term and square it.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\frac{1}{2}\\left(-3\\right)=-\\frac{3}{2}\\hfill \\\\ {\\left(-\\frac{3}{2}\\right)}^{2}=\\frac{9}{4}\\hfill \\end{array}[\/latex]<\/div>\n<p>Add the result to both sides of the equal sign.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\text{ }{x}^{2}-3x+{\\left(-\\frac{3}{2}\\right)}^{2}=5+{\\left(-\\frac{3}{2}\\right)}^{2}\\hfill \\\\ {x}^{2}-3x+\\frac{9}{4}=5+\\frac{9}{4}\\hfill \\end{array}[\/latex]<\/div>\n<p>Factor the left side as a perfect square and simplify the right side.<\/p>\n<div>[latex]{\\left(x-\\frac{3}{2}\\right)}^{2}=\\frac{29}{4}[\/latex]<\/div>\n<p>Use the square root property and solve.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{l}\\sqrt{{\\left(x-\\frac{3}{2}\\right)}^{2}}\\hfill&=\\pm \\sqrt{\\frac{29}{4}}\\hfill \\\\ \\left(x-\\frac{3}{2}\\right)\\hfill&=\\pm \\frac{\\sqrt{29}}{2}\\hfill \\\\ x\\hfill&=\\frac{3}{2}\\pm \\frac{\\sqrt{29}}{2}\\hfill \\end{array}[\/latex]<\/div>\n<p>The solutions are [latex]x=\\frac{3}{2}+\\frac{\\sqrt{29}}{2}[\/latex], [latex]x=\\frac{3}{2}-\\frac{\\sqrt{29}}{2}[\/latex].<\/p>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 7<\/h3>\n<p>Solve by completing the square: [latex]{x}^{2}-6x=13[\/latex].<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/chapter\/solutions-to-selected-exercises-2\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\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-395\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><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":276,"menu_order":4,"template":"","meta":{"_candela_citation":"[{\"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\":\"\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-395","chapter","type-chapter","status-publish","hentry"],"part":211,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/users\/276"}],"version-history":[{"count":3,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/395\/revisions"}],"predecessor-version":[{"id":675,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/395\/revisions\/675"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/parts\/211"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/395\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/media?parent=395"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=395"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/contributor?post=395"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/odessa-collegealgebra\/wp-json\/wp\/v2\/license?post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}