{"id":1457,"date":"2021-12-02T19:38:06","date_gmt":"2021-12-03T00:38:06","guid":{"rendered":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/chapter\/10-3-completing-the-square\/"},"modified":"2023-08-31T18:44:07","modified_gmt":"2023-08-31T22:44:07","slug":"completing-the-square","status":"publish","type":"chapter","link":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/chapter\/completing-the-square\/","title":{"raw":"10.3 Completing the Square","rendered":"10.3 Completing the Square"},"content":{"raw":"<h1>How To \u201cComplete the Square\u201d\u00a0Visually[footnote]Adapted from <a href=\"https:\/\/medium.com\/i-math\/how-to-complete-the-square-8ca76a416972\">Brett Berry<\/a>[\/footnote]<\/h1>\r\nLet\u2019s use an area model to visualize how to complete the square of the following equation:\r\n\r\n[latex]y = x^2 + 2x + 12[\/latex]\r\n\r\nThe area model used by Brett Berry is fairly straightforward, having multiple variations and forms that can be found online. The standard explanation begins by representing [latex]x^2[\/latex] as a square whose sides are both [latex]x[\/latex] units in length and make an area of [latex]x^2[\/latex].\r\n\r\n<img class=\"alignleft wp-image-1452 size-medium\" src=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2021\/12\/chapter-9.3_image-1-291x300.jpg\" alt=\"square block showing x squared as area\" width=\"291\" height=\"300\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\nNext, add [latex]2x[\/latex] to the block defined as [latex]x^2[\/latex]. This is done by taking the [latex]2x[\/latex] block and cutting it in half, then add to both sides of your original square [latex]x[\/latex]. This acts to continue the sides of [latex]x[\/latex] in two directions by [latex]1x[\/latex].\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignright wp-image-1453 size-medium\" src=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-2-287x300.jpg\" alt=\"square adding smaller rectangles to side and bottom\" width=\"287\" height=\"300\" \/>In this example, the square length on each side has increased by 1, but as you can see from the diagram, this larger square is missing the corner piece. To complete the square, add a small piece to complete the visual square. The question is, what is the area of this missing piece?\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<img class=\"alignleft wp-image-1454 size-medium\" src=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-3-300x298.jpg\" alt=\"square block with missing value for bottom right corner\" width=\"300\" height=\"298\" \/>Since the blue blocks adjacent to our missing piece are both 1 unit wide, deduce that the missing block has an area of 1 \u00d7 1 = 1.\r\n\r\nAlso note that, by adding together the outermost units of the square, the area of the square becomes the desired binomial squared [latex](x+1)^2[\/latex].\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<img class=\"size-medium wp-image-1455 alignright\" src=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-4-300x291.jpg\" alt=\"\" width=\"300\" height=\"291\" \/>Now, all that\u2019s left to do is literally complete the square and adjust for the extra units. To do this, first, fill in the area of the purple square, which is known to be 1. Since the original equation had a constant of 12, subtract 1 from 12 to account for the 1 added to the square.\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<img class=\"aligncenter wp-image-1456\" src=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-5-300x131.jpg\" alt=\"12-1=11\" width=\"408\" height=\"178\" \/>\r\n\r\nThe square is now complete! The square is [latex](x+1)^2[\/latex] with 11 leftover. The extra 11 can simply be added to the end of our binomial squared: [latex]y = (x + 1)^2 + 11[\/latex].\r\n\r\nIn the problems most likely be required to solve, [latex]y = 0[\/latex], so the original equation will not be written as [latex]y = x^2 + 2x + 12[\/latex]; rather, it will be [latex]0 = x^2 + 2x + 12[\/latex].\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 10.3.1<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nSolve for [latex]x[\/latex] in the equation [latex]0 = x^2 + 8x + 12[\/latex].\r\n\r\nThe first step is to complete the square. Rather than drawing out a sketch to show the process of completing the square, simply take half the middle term and rewrite [latex]x^2 + 8x[\/latex] as [latex](x + 4)^2[\/latex].\r\n\r\nWhen squared out [latex](x + 4)^2[\/latex], it is [latex]x^2 + 8x + 16[\/latex].\r\n\r\nNote that this is 4 larger than the original [latex]0 = x^2 + 8x + 12[\/latex]. This means that [latex](x + 4)^2 - 4[\/latex] is the same as [latex]0 = x^2 + 8x + 12[\/latex].\r\n\r\nThe equation needed to be solved has now become [latex]0 = (x + 4)^2 - 4[\/latex]. First, add 4 to each side:\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{rrrrrrr}\r\n0&amp;=&amp;(x&amp;+&amp;4)^2&amp;-&amp;4 \\\\\r\n+4&amp;=&amp;&amp;&amp;&amp;+&amp;4 \\\\\r\n\\hline\r\n4&amp;=&amp;(x&amp;+&amp;4)^2&amp;&amp; \\\\\r\n\\end{array}[\/latex]<\/p>\r\nNow take the square root from both sides:\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{rrlll}\r\n(4)^{\\frac{1}{2}}&amp;=&amp;[(x&amp;+&amp;4)^2]^{\\frac{1}{2}} \\\\\r\n\\pm 2&amp;=&amp;\\phantom{([}x&amp;+&amp;4\r\n\\end{array}[\/latex]<\/p>\r\nSubtracting 4 from both sides leaves [latex]x = -4 \\pm 2[\/latex], which gives the solutions [latex]x=-6[\/latex] and [latex]x=-2[\/latex].\r\n\r\nIt is always wise to check answers in the original equation, which for these two yield:\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{rrcllrl}\r\nx&amp;=&amp;-6:&amp;&amp;&amp;&amp; \\\\ \\\\\r\n0&amp;=&amp;x^2&amp;+&amp;8x&amp;+&amp;12 \\\\\r\n0&amp;=&amp;(-6)^2&amp;+&amp;8(-6)&amp;+&amp;12 \\\\\r\n0&amp;=&amp;36&amp;-&amp;48&amp;+&amp;12\\checkmark \\\\ \\\\ \\\\\r\nx&amp;=&amp;-2:&amp;&amp;&amp;&amp; \\\\ \\\\\r\n0&amp;=&amp;x^2&amp;+&amp;8x&amp;+&amp;12 \\\\\r\n0&amp;=&amp;(-2)^2&amp;+&amp;8(-2)&amp;+&amp;12 \\\\\r\n0&amp;=&amp;4&amp;-&amp;16&amp;+&amp;12\\checkmark\r\n\\end{array}[\/latex]<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\nSometimes, it is required to complete the square where there is some value \u2260 1 in front of the [latex]x^2[\/latex]. For example:\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 10.3.2<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nSolve for [latex]x[\/latex] in the equation [latex]0 = 2x^2 + 12x - 7[\/latex].\r\n\r\nThe first step is to factor 2 from both terms in [latex]2x^2 + 12x[\/latex], which then leaves [latex]0=2(x^2+6x) - 7[\/latex].\r\n\r\nIsolating [latex]x^2 + 6x[\/latex] yields [latex]x^2 + 6x = \\dfrac{7}{2}[\/latex].\r\n\r\nAs before, complete the square for [latex]x^2 + 6x[\/latex], which yields [latex](x + 3)^2[\/latex]. When squared out [latex](x + 3)^2[\/latex], you get [latex]x^2 + 6x + 9[\/latex].\r\n\r\nNow add 9 to the other side of the equation:\r\n<p style=\"text-align: center;\">[latex]x^2+6x+9=\\dfrac{7}{2}+9[\/latex]<\/p>\r\nSimplifying this yields:\r\n<p style=\"text-align: center;\">[latex](x + 3)^2 = \\dfrac{25}{2}[\/latex]<\/p>\r\nNow take the square root from both sides:\r\n<p style=\"text-align: center;\">[latex][(x + 3)^2]^{\\frac{1}{2}} = \\left(\\dfrac{25}{2}\\right)^{\\frac{1}{2}}[\/latex]<\/p>\r\nWhich leaves:\r\n<p style=\"text-align: center;\">[latex]x + 3 = \\pm \\left(\\dfrac{25}{2}\\right)^{\\frac{1}{2}}[\/latex]<\/p>\r\nSubtract 3 from both sides:\r\n<p style=\"text-align: center;\">[latex]x = -3 \\pm \\left(\\dfrac{25}{2}\\right)^{\\frac{1}{2}}[\/latex]<\/p>\r\nRationalizing the denominator yields:\r\n<p style=\"text-align: center;\">[latex]x = -3 + \\dfrac{5\\sqrt{2}}{2}\\text{ or }x = -3 - \\dfrac{5\\sqrt{2}}{2}[\/latex]<\/p>\r\nWhen checking these answers in the original equation, both solutions are valid.\r\n\r\n<\/div>\r\n<\/div>\r\n<h1>Questions<\/h1>\r\nFind the value that completes the square and then rewrite as a perfect square.\r\n<ol class=\"twocolumn\">\r\n \t<li>[latex]x^2-30x+\\underline{\\phantom{00}}[\/latex]<\/li>\r\n \t<li>[latex]a^2-24a+\\underline{\\phantom{00}}[\/latex]<\/li>\r\n \t<li>[latex]m^2-36m+\\underline{\\phantom{00}}[\/latex]<\/li>\r\n \t<li>[latex]x^2-34x+\\underline{\\phantom{00}}[\/latex]<\/li>\r\n \t<li>[latex]x^2-15x+\\underline{\\phantom{00}}[\/latex]<\/li>\r\n \t<li>[latex]r^2-19r+\\underline{\\phantom{00}}[\/latex]<\/li>\r\n \t<li>[latex]y^2-y+\\underline{\\phantom{00}}[\/latex]<\/li>\r\n \t<li>[latex]p^2-17p+\\underline{\\phantom{00}}[\/latex]<\/li>\r\n<\/ol>\r\nSolve each equation by completing the square.\r\n<ol class=\"twocolumn\" start=\"9\">\r\n \t<li>[latex]x^2-16x+55=0[\/latex]<\/li>\r\n \t<li>[latex]n^2-4n-12=0[\/latex]<\/li>\r\n \t<li>[latex]v^2-4v-21=0[\/latex]<\/li>\r\n \t<li>[latex]b^2+8b+7=0[\/latex]<\/li>\r\n \t<li>[latex]x^2-8x=-6[\/latex]<\/li>\r\n \t<li>[latex]x^2-13=4x[\/latex]<\/li>\r\n \t<li>[latex]3k^2+24k=-1[\/latex]<\/li>\r\n \t<li>[latex]4a^2+36a=-2[\/latex]<\/li>\r\n<\/ol>\r\n<a class=\"internal\" href=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/back-matter\/answer-key-10-3\/\">Answer Key 10.3<\/a>","rendered":"<h1>How To \u201cComplete the Square\u201d\u00a0Visually<a class=\"footnote\" title=\"Adapted from Brett Berry\" id=\"return-footnote-1457-1\" href=\"#footnote-1457-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a><\/h1>\n<p>Let\u2019s use an area model to visualize how to complete the square of the following equation:<\/p>\n<p>[latex]y = x^2 + 2x + 12[\/latex]<\/p>\n<p>The area model used by Brett Berry is fairly straightforward, having multiple variations and forms that can be found online. The standard explanation begins by representing [latex]x^2[\/latex] as a square whose sides are both [latex]x[\/latex] units in length and make an area of [latex]x^2[\/latex].<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-1452 size-medium\" src=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2021\/12\/chapter-9.3_image-1-291x300.jpg\" alt=\"square block showing x squared as area\" width=\"291\" height=\"300\" srcset=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2021\/12\/chapter-9.3_image-1-291x300.jpg 291w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2021\/12\/chapter-9.3_image-1-65x67.jpg 65w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2021\/12\/chapter-9.3_image-1-225x232.jpg 225w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2021\/12\/chapter-9.3_image-1-350x361.jpg 350w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2021\/12\/chapter-9.3_image-1.jpg 360w\" sizes=\"auto, (max-width: 291px) 100vw, 291px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Next, add [latex]2x[\/latex] to the block defined as [latex]x^2[\/latex]. This is done by taking the [latex]2x[\/latex] block and cutting it in half, then add to both sides of your original square [latex]x[\/latex]. This acts to continue the sides of [latex]x[\/latex] in two directions by [latex]1x[\/latex].<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-1453 size-medium\" src=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-2-287x300.jpg\" alt=\"square adding smaller rectangles to side and bottom\" width=\"287\" height=\"300\" srcset=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-2-287x300.jpg 287w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-2-65x68.jpg 65w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-2-225x235.jpg 225w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-2-350x366.jpg 350w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-2.jpg 376w\" sizes=\"auto, (max-width: 287px) 100vw, 287px\" \/>In this example, the square length on each side has increased by 1, but as you can see from the diagram, this larger square is missing the corner piece. To complete the square, add a small piece to complete the visual square. The question is, what is the area of this missing piece?<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-1454 size-medium\" src=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-3-300x298.jpg\" alt=\"square block with missing value for bottom right corner\" width=\"300\" height=\"298\" srcset=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-3-300x298.jpg 300w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-3-150x150.jpg 150w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-3-65x64.jpg 65w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-3-225x223.jpg 225w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-3-350x347.jpg 350w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-3.jpg 374w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>Since the blue blocks adjacent to our missing piece are both 1 unit wide, deduce that the missing block has an area of 1 \u00d7 1 = 1.<\/p>\n<p>Also note that, by adding together the outermost units of the square, the area of the square becomes the desired binomial squared [latex](x+1)^2[\/latex].<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1455 alignright\" src=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-4-300x291.jpg\" alt=\"\" width=\"300\" height=\"291\" srcset=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-4-300x291.jpg 300w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-4-65x63.jpg 65w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-4-225x218.jpg 225w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-4-350x339.jpg 350w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-4.jpg 398w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/>Now, all that\u2019s left to do is literally complete the square and adjust for the extra units. To do this, first, fill in the area of the purple square, which is known to be 1. Since the original equation had a constant of 12, subtract 1 from 12 to account for the 1 added to the square.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1456\" src=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-5-300x131.jpg\" alt=\"12-1=11\" width=\"408\" height=\"178\" srcset=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-5-300x131.jpg 300w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-5-768x336.jpg 768w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-5-65x28.jpg 65w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-5-225x98.jpg 225w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-5-350x153.jpg 350w, https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-content\/uploads\/sites\/304\/2022\/11\/chapter-9.3_image-5.jpg 798w\" sizes=\"auto, (max-width: 408px) 100vw, 408px\" \/><\/p>\n<p>The square is now complete! The square is [latex](x+1)^2[\/latex] with 11 leftover. The extra 11 can simply be added to the end of our binomial squared: [latex]y = (x + 1)^2 + 11[\/latex].<\/p>\n<p>In the problems most likely be required to solve, [latex]y = 0[\/latex], so the original equation will not be written as [latex]y = x^2 + 2x + 12[\/latex]; rather, it will be [latex]0 = x^2 + 2x + 12[\/latex].<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 10.3.1<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Solve for [latex]x[\/latex] in the equation [latex]0 = x^2 + 8x + 12[\/latex].<\/p>\n<p>The first step is to complete the square. Rather than drawing out a sketch to show the process of completing the square, simply take half the middle term and rewrite [latex]x^2 + 8x[\/latex] as [latex](x + 4)^2[\/latex].<\/p>\n<p>When squared out [latex](x + 4)^2[\/latex], it is [latex]x^2 + 8x + 16[\/latex].<\/p>\n<p>Note that this is 4 larger than the original [latex]0 = x^2 + 8x + 12[\/latex]. This means that [latex](x + 4)^2 - 4[\/latex] is the same as [latex]0 = x^2 + 8x + 12[\/latex].<\/p>\n<p>The equation needed to be solved has now become [latex]0 = (x + 4)^2 - 4[\/latex]. First, add 4 to each side:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rrrrrrr}  0&=&(x&+&4)^2&-&4 \\\\  +4&=&&&&+&4 \\\\  \\hline  4&=&(x&+&4)^2&& \\\\  \\end{array}[\/latex]<\/p>\n<p>Now take the square root from both sides:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rrlll}  (4)^{\\frac{1}{2}}&=&[(x&+&4)^2]^{\\frac{1}{2}} \\\\  \\pm 2&=&\\phantom{([}x&+&4  \\end{array}[\/latex]<\/p>\n<p>Subtracting 4 from both sides leaves [latex]x = -4 \\pm 2[\/latex], which gives the solutions [latex]x=-6[\/latex] and [latex]x=-2[\/latex].<\/p>\n<p>It is always wise to check answers in the original equation, which for these two yield:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{rrcllrl}  x&=&-6:&&&& \\\\ \\\\  0&=&x^2&+&8x&+&12 \\\\  0&=&(-6)^2&+&8(-6)&+&12 \\\\  0&=&36&-&48&+&12\\checkmark \\\\ \\\\ \\\\  x&=&-2:&&&& \\\\ \\\\  0&=&x^2&+&8x&+&12 \\\\  0&=&(-2)^2&+&8(-2)&+&12 \\\\  0&=&4&-&16&+&12\\checkmark  \\end{array}[\/latex]<\/p>\n<\/div>\n<\/div>\n<p>Sometimes, it is required to complete the square where there is some value \u2260 1 in front of the [latex]x^2[\/latex]. For example:<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 10.3.2<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Solve for [latex]x[\/latex] in the equation [latex]0 = 2x^2 + 12x - 7[\/latex].<\/p>\n<p>The first step is to factor 2 from both terms in [latex]2x^2 + 12x[\/latex], which then leaves [latex]0=2(x^2+6x) - 7[\/latex].<\/p>\n<p>Isolating [latex]x^2 + 6x[\/latex] yields [latex]x^2 + 6x = \\dfrac{7}{2}[\/latex].<\/p>\n<p>As before, complete the square for [latex]x^2 + 6x[\/latex], which yields [latex](x + 3)^2[\/latex]. When squared out [latex](x + 3)^2[\/latex], you get [latex]x^2 + 6x + 9[\/latex].<\/p>\n<p>Now add 9 to the other side of the equation:<\/p>\n<p style=\"text-align: center;\">[latex]x^2+6x+9=\\dfrac{7}{2}+9[\/latex]<\/p>\n<p>Simplifying this yields:<\/p>\n<p style=\"text-align: center;\">[latex](x + 3)^2 = \\dfrac{25}{2}[\/latex]<\/p>\n<p>Now take the square root from both sides:<\/p>\n<p style=\"text-align: center;\">[latex][(x + 3)^2]^{\\frac{1}{2}} = \\left(\\dfrac{25}{2}\\right)^{\\frac{1}{2}}[\/latex]<\/p>\n<p>Which leaves:<\/p>\n<p style=\"text-align: center;\">[latex]x + 3 = \\pm \\left(\\dfrac{25}{2}\\right)^{\\frac{1}{2}}[\/latex]<\/p>\n<p>Subtract 3 from both sides:<\/p>\n<p style=\"text-align: center;\">[latex]x = -3 \\pm \\left(\\dfrac{25}{2}\\right)^{\\frac{1}{2}}[\/latex]<\/p>\n<p>Rationalizing the denominator yields:<\/p>\n<p style=\"text-align: center;\">[latex]x = -3 + \\dfrac{5\\sqrt{2}}{2}\\text{ or }x = -3 - \\dfrac{5\\sqrt{2}}{2}[\/latex]<\/p>\n<p>When checking these answers in the original equation, both solutions are valid.<\/p>\n<\/div>\n<\/div>\n<h1>Questions<\/h1>\n<p>Find the value that completes the square and then rewrite as a perfect square.<\/p>\n<ol class=\"twocolumn\">\n<li>[latex]x^2-30x+\\underline{\\phantom{00}}[\/latex]<\/li>\n<li>[latex]a^2-24a+\\underline{\\phantom{00}}[\/latex]<\/li>\n<li>[latex]m^2-36m+\\underline{\\phantom{00}}[\/latex]<\/li>\n<li>[latex]x^2-34x+\\underline{\\phantom{00}}[\/latex]<\/li>\n<li>[latex]x^2-15x+\\underline{\\phantom{00}}[\/latex]<\/li>\n<li>[latex]r^2-19r+\\underline{\\phantom{00}}[\/latex]<\/li>\n<li>[latex]y^2-y+\\underline{\\phantom{00}}[\/latex]<\/li>\n<li>[latex]p^2-17p+\\underline{\\phantom{00}}[\/latex]<\/li>\n<\/ol>\n<p>Solve each equation by completing the square.<\/p>\n<ol class=\"twocolumn\" start=\"9\">\n<li>[latex]x^2-16x+55=0[\/latex]<\/li>\n<li>[latex]n^2-4n-12=0[\/latex]<\/li>\n<li>[latex]v^2-4v-21=0[\/latex]<\/li>\n<li>[latex]b^2+8b+7=0[\/latex]<\/li>\n<li>[latex]x^2-8x=-6[\/latex]<\/li>\n<li>[latex]x^2-13=4x[\/latex]<\/li>\n<li>[latex]3k^2+24k=-1[\/latex]<\/li>\n<li>[latex]4a^2+36a=-2[\/latex]<\/li>\n<\/ol>\n<p><a class=\"internal\" href=\"https:\/\/opentextbc.ca\/intermediatealgebraberg\/back-matter\/answer-key-10-3\/\">Answer Key 10.3<\/a><\/p>\n<hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-1457-1\">Adapted from <a href=\"https:\/\/medium.com\/i-math\/how-to-complete-the-square-8ca76a416972\">Brett Berry<\/a> <a href=\"#return-footnote-1457-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":90,"menu_order":3,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":"cc-by-nc-sa"},"chapter-type":[],"contributor":[],"license":[56],"class_list":["post-1457","chapter","type-chapter","status-publish","hentry","license-cc-by-nc-sa"],"part":1446,"_links":{"self":[{"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/pressbooks\/v2\/chapters\/1457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/wp\/v2\/users\/90"}],"version-history":[{"count":2,"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/pressbooks\/v2\/chapters\/1457\/revisions"}],"predecessor-version":[{"id":2157,"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/pressbooks\/v2\/chapters\/1457\/revisions\/2157"}],"part":[{"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/pressbooks\/v2\/parts\/1446"}],"metadata":[{"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/pressbooks\/v2\/chapters\/1457\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/wp\/v2\/media?parent=1457"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/pressbooks\/v2\/chapter-type?post=1457"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/wp\/v2\/contributor?post=1457"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/opentextbc.ca\/intermediatealgebraberg\/wp-json\/wp\/v2\/license?post=1457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}