<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Completing_the_Square</id>
	<title>Completing the Square - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Completing_the_Square"/>
	<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Completing_the_Square&amp;action=history"/>
	<updated>2026-04-14T14:55:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Completing_the_Square&amp;diff=4551&amp;oldid=prev</id>
		<title>Khanh at 23:22, 15 January 2022</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Completing_the_Square&amp;diff=4551&amp;oldid=prev"/>
		<updated>2022-01-15T23:22:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:22, 15 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l135&quot; &gt;Line 135:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 135:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the numbers ''h'' and ''k'' may be interpreted as the Cartesian coordinates of the vertex (or stationary point) of the parabola. That is, ''h'' is the ''x''-coordinate of the axis of symmetry (i.e. the axis of symmetry has equation ''x = h''), and ''k'' is the minimum value (or maximum value, if ''a''&amp;amp;nbsp;&amp;amp;lt;&amp;amp;nbsp;0) of the quadratic function.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the numbers ''h'' and ''k'' may be interpreted as the Cartesian coordinates of the vertex (or stationary point) of the parabola. That is, ''h'' is the ''x''-coordinate of the axis of symmetry (i.e. the axis of symmetry has equation ''x = h''), and ''k'' is the minimum value (or maximum value, if ''a''&amp;amp;nbsp;&amp;amp;lt;&amp;amp;nbsp;0) of the quadratic function.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One way to see this is to note that the graph of the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/del&gt;function &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(mathematics)|function]] &lt;/del&gt;''&amp;amp;fnof;''(''x'')&amp;amp;nbsp;=&amp;amp;nbsp;''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; is a parabola whose vertex is at the origin&amp;amp;nbsp;(0,&amp;amp;nbsp;0). Therefore, the graph of the function ''&amp;amp;fnof;''(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;amp;nbsp;=&amp;amp;nbsp;(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; is a parabola shifted to the right by ''h'' whose vertex is at (''h'',&amp;amp;nbsp;0), as shown in the top figure. In contrast, the graph of the function ''&amp;amp;fnof;''(''x'')&amp;amp;nbsp;+&amp;amp;nbsp;''k'' =&amp;amp;nbsp;''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;amp;nbsp;+&amp;amp;nbsp;''k'' is a parabola shifted upward by ''k'' whose vertex is at (0,&amp;amp;nbsp;''k''), as shown in the center figure. Combining both horizontal and vertical shifts yields ''&amp;amp;fnof;''(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;amp;nbsp;+&amp;amp;nbsp;''k'' =&amp;amp;nbsp;(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;amp;nbsp;+&amp;amp;nbsp;''k'' is a parabola shifted to the right by ''h'' and upward by ''k'' whose vertex is at (''h'',&amp;amp;nbsp;''k''), as shown in the bottom figure.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One way to see this is to note that the graph of the function ''&amp;amp;fnof;''(''x'')&amp;amp;nbsp;=&amp;amp;nbsp;''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; is a parabola whose vertex is at the origin&amp;amp;nbsp;(0,&amp;amp;nbsp;0). Therefore, the graph of the function ''&amp;amp;fnof;''(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;amp;nbsp;=&amp;amp;nbsp;(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; is a parabola shifted to the right by ''h'' whose vertex is at (''h'',&amp;amp;nbsp;0), as shown in the top figure. In contrast, the graph of the function ''&amp;amp;fnof;''(''x'')&amp;amp;nbsp;+&amp;amp;nbsp;''k'' =&amp;amp;nbsp;''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;amp;nbsp;+&amp;amp;nbsp;''k'' is a parabola shifted upward by ''k'' whose vertex is at (0,&amp;amp;nbsp;''k''), as shown in the center figure. Combining both horizontal and vertical shifts yields ''&amp;amp;fnof;''(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;amp;nbsp;+&amp;amp;nbsp;''k'' =&amp;amp;nbsp;(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;amp;nbsp;+&amp;amp;nbsp;''k'' is a parabola shifted to the right by ''h'' and upward by ''k'' whose vertex is at (''h'',&amp;amp;nbsp;''k''), as shown in the bottom figure.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Solving quadratic equations==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Solving quadratic equations==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l209&quot; &gt;Line 209:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 209:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Applying this procedure to the general form of a quadratic equation leads to the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[Quadratic formula#Derivation of the formula|&lt;/del&gt;quadratic formula&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Applying this procedure to the general form of a quadratic equation leads to the quadratic formula.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Other applications==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Other applications==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Completing_the_Square&amp;diff=3843&amp;oldid=prev</id>
		<title>Khanh at 18:10, 14 November 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Completing_the_Square&amp;diff=3843&amp;oldid=prev"/>
		<updated>2021-11-14T18:10:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:10, 14 November 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l345&quot; &gt;Line 345:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 345:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:quadratic-functions-equations/x2f8bb11595b61c86:completing-square-quadratics/v/solving-quadratic-equations-by-completing-the-square Completing the Square], Khan Academy&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:quadratic-functions-equations/x2f8bb11595b61c86:completing-square-quadratics/v/solving-quadratic-equations-by-completing-the-square Completing the Square], Khan Academy&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;References&lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Licensing &lt;/ins&gt;==  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Narasimhan, Revathi (2008). Precalculus&lt;/del&gt;: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Building Concepts and Connections&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Cengage Learning. pp. 133–134. ISBN 0-618-41301-4&lt;/del&gt;., &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Section Formula for the Vertex of &lt;/del&gt;a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Quadratic Function, page 133–134, figure 2.4.8&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Content obtained and/or adapted from:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Algebra 1, Glencoe, ISBN|0&lt;/del&gt;-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;07-825083-8, pages 539–544&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* [https&lt;/ins&gt;:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;//en&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wikipedia&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;org/wiki/Completing_the_square Completing the square&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Wikipedia] under &lt;/ins&gt;a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;CC BY&lt;/ins&gt;-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;SA license&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;# Algebra 2, Saxon, ISBN|0-939798-62-X, pages 214–214, 241–242, 256–257, 398–401&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Completing_the_Square&amp;diff=1180&amp;oldid=prev</id>
		<title>Khanh at 18:56, 17 September 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Completing_the_Square&amp;diff=1180&amp;oldid=prev"/>
		<updated>2021-09-17T18:56:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:56, 17 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[File:Completing the square.ogv|thumb|Animation depicting the process of completing the square. ([[:File:Completing the square.ogv|Details]], [[:File:Completing the square.gif|animated GIF version]])]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In elementary algebra, '''completing the square''' is a technique for converting a quadratic polynomial of the form&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In elementary algebra, '''completing the square''' is a technique for converting a quadratic polynomial of the form&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Completing_the_Square&amp;diff=1179&amp;oldid=prev</id>
		<title>Khanh: Created page with &quot;Details, :File:Completing the square.gi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Completing_the_Square&amp;diff=1179&amp;oldid=prev"/>
		<updated>2021-09-17T18:54:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/index.php?title=File:Completing_the_square.ogv&quot; title=&quot;File:Completing the square.ogv&quot;&gt;thumb|Animation depicting the process of completing the square. ([[:File:Completing the square.ogv|Details&lt;/a&gt;, :File:Completing the square.gi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:Completing the square.ogv|thumb|Animation depicting the process of completing the square. ([[:File:Completing the square.ogv|Details]], [[:File:Completing the square.gif|animated GIF version]])]]&lt;br /&gt;
&lt;br /&gt;
In elementary algebra, '''completing the square''' is a technique for converting a quadratic polynomial of the form&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ax^2 + bx + c&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to the form&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; a(x-h)^2 + k&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for some values of ''h'' and ''k''.&lt;br /&gt;
&lt;br /&gt;
Completing the square is used in&lt;br /&gt;
* solving quadratic equations,&lt;br /&gt;
* deriving the quadratic formula,&lt;br /&gt;
* graphing quadratic functions,&lt;br /&gt;
* evaluating integrals in calculus, such as Gaussian integrals with a linear term in the exponent,&lt;br /&gt;
* finding Laplace transforms.&lt;br /&gt;
&lt;br /&gt;
In mathematics, completing the square is often applied in any computation involving quadratic polynomials.&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
===Background===&lt;br /&gt;
The formula in elementary algebra for computing the square of a binomial is:&lt;br /&gt;
:&amp;lt;math&amp;gt;(x + p)^2 \,=\, x^2 + 2px + p^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{alignat}{2}&lt;br /&gt;
(x+3)^2 \,&amp;amp;=\, x^2 + 6x + 9 &amp;amp;&amp;amp; (p=3)\\[3pt]&lt;br /&gt;
(x-5)^2 \,&amp;amp;=\, x^2 - 10x + 25\qquad &amp;amp;&amp;amp; (p=-5).&lt;br /&gt;
\end{alignat}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In any perfect square, the coefficient of ''x'' is twice the number ''p'', and the constant term is equal to ''p''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Basic example===&lt;br /&gt;
Consider the following quadratic polynomial:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x^2 + 10x + 28.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This quadratic is not a perfect square, since 28 is not the square of 5:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;(x+5)^2 \,=\, x^2 + 10x + 25.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, it is possible to write the original quadratic as the sum of this square and a constant:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x^2 + 10x + 28 \,=\, (x+5)^2 + 3.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is called '''completing the square'''.&lt;br /&gt;
&lt;br /&gt;
===General description===&lt;br /&gt;
Given any monic quadratic&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x^2 + bx + c,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
it is possible to form a square that has the same first two terms:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left(x+\tfrac{1}{2} b\right)^2 \,=\, x^2 + bx + \tfrac{1}{4}b^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This square differs from the original quadratic only in the value of the constant&lt;br /&gt;
term. Therefore, we can write&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x^2 + bx + c \,=\, \left(x + \tfrac{1}{2}b\right)^2 + k,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;k \,=\, c - \frac{b^2}{4}&amp;lt;/math&amp;gt;. This operation is known as '''completing the square'''.&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{alignat}{1}&lt;br /&gt;
x^2 + 6x + 11 \,&amp;amp;=\, (x+3)^2 + 2 \\[3pt]&lt;br /&gt;
x^2 + 14x + 30 \,&amp;amp;=\, (x+7)^2 - 19 \\[3pt]&lt;br /&gt;
x^2 - 2x + 7 \,&amp;amp;=\, (x-1)^2 + 6.&lt;br /&gt;
\end{alignat}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Non-monic case===&lt;br /&gt;
Given a quadratic polynomial of the form&lt;br /&gt;
:&amp;lt;math&amp;gt;ax^2 + bx + c&amp;lt;/math&amp;gt;&lt;br /&gt;
it is possible to factor out the coefficient ''a'', and then complete the square for the resulting monic polynomial.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
  3x^2 + 12x + 27 &amp;amp;= 3[x^2+4x+9]\\&lt;br /&gt;
          &amp;amp;{}= 3\left[(x+2)^2 + 5\right]\\&lt;br /&gt;
          &amp;amp;{}= 3(x+2)^2 + 3(5)\\&lt;br /&gt;
          &amp;amp;{}= 3(x+2)^2 + 15&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This process of factoring out the coefficient ''a'' can further be simplified by only factorising it out of the first 2 terms. The integer at the end of the polynomial does not have to be included.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
  3x^2 + 12x + 27 &amp;amp;= 3[x^2+4x] + 27\\&lt;br /&gt;
          &amp;amp;{}= 3\left[(x+2)^2 -4\right] + 27\\&lt;br /&gt;
          &amp;amp;{}= 3(x+2)^2 + 3(-4) + 27\\&lt;br /&gt;
          &amp;amp;{}= 3(x+2)^2 - 12 + 27\\&lt;br /&gt;
          &amp;amp;{}= 3(x+2)^2 + 15&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This allows the writing of any quadratic polynomial in the form&lt;br /&gt;
:&amp;lt;math&amp;gt;a(x-h)^2 + k.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Formula===&lt;br /&gt;
====Scalar case====&lt;br /&gt;
The result of completing the square may be written as a formula. For the general case:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ax^2 + bx + c \;=\; a(x-h)^2 + k,\quad\text{where}\quad h = -\frac{b}{2a} \quad\text{and}\quad k = c - ah^2 = c - \frac{b^2}{4a}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Specifically, when ''a''&amp;amp;nbsp;=&amp;amp;nbsp;1:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x^2 + bx + c \;=\; (x-h)^2 + k,\quad\text{where}\quad h = -\frac{b}{2} \quad\text{and}\quad k = c - \frac{b^2}{4}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Matrix case====&lt;br /&gt;
The matrix case looks very similar:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x^{\mathrm{T}}Ax + x^{\mathrm{T}}b + c = (x - h)^{\mathrm{T}}A(x - h) + k \quad\text{where}\quad h = -\frac{1}{2}A^{-1}b \quad\text{and}\quad k = c - \frac{1}{4}b^{\mathrm{T}}A^{-1}b&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; has to be symmetric.&lt;br /&gt;
If &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is not symmetric the formulae for &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; have&lt;br /&gt;
to be generalized to:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;h = -(A+A^{\mathrm{T}})^{-1}b \quad\text{and}\quad k = c - h^{\mathrm{T}}A h = c - b^{\mathrm{T}} (A+A^{\mathrm{T}})^{-1} A (A+A^{\mathrm{T}})^{-1}b&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Relation to the graph==&lt;br /&gt;
[[File:Quartic h shift.svg|thumb|Quartic h shift|Graphs of quadratic functions shifted to the right by h = 0, 5, 10, and 15.]]&lt;br /&gt;
[[File:Quartic v shift.svg|thumb|Quartic v shift|Graphs of quadratic functions shifted upward by k = 0, 5, 10, and 15.]]&lt;br /&gt;
[[File:Quartic hv shift.svg|thumb|Quartic hv shift|Graphs of quadratic functions shifted upward and to the right by 0, 5, 10, and 15.]]&lt;br /&gt;
&lt;br /&gt;
In analytic geometry, the graph of any quadratic function is a parabola in the xy-plane. Given a quadratic polynomial of the form&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a(x-h)^2 + k&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the numbers ''h'' and ''k'' may be interpreted as the Cartesian coordinates of the vertex (or stationary point) of the parabola. That is, ''h'' is the ''x''-coordinate of the axis of symmetry (i.e. the axis of symmetry has equation ''x = h''), and ''k'' is the minimum value (or maximum value, if ''a''&amp;amp;nbsp;&amp;amp;lt;&amp;amp;nbsp;0) of the quadratic function.&lt;br /&gt;
&lt;br /&gt;
One way to see this is to note that the graph of the [[function (mathematics)|function]] ''&amp;amp;fnof;''(''x'')&amp;amp;nbsp;=&amp;amp;nbsp;''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; is a parabola whose vertex is at the origin&amp;amp;nbsp;(0,&amp;amp;nbsp;0). Therefore, the graph of the function ''&amp;amp;fnof;''(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;amp;nbsp;=&amp;amp;nbsp;(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; is a parabola shifted to the right by ''h'' whose vertex is at (''h'',&amp;amp;nbsp;0), as shown in the top figure. In contrast, the graph of the function ''&amp;amp;fnof;''(''x'')&amp;amp;nbsp;+&amp;amp;nbsp;''k'' =&amp;amp;nbsp;''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;amp;nbsp;+&amp;amp;nbsp;''k'' is a parabola shifted upward by ''k'' whose vertex is at (0,&amp;amp;nbsp;''k''), as shown in the center figure. Combining both horizontal and vertical shifts yields ''&amp;amp;fnof;''(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;amp;nbsp;+&amp;amp;nbsp;''k'' =&amp;amp;nbsp;(''x''&amp;amp;nbsp;&amp;amp;minus;&amp;amp;nbsp;''h'')&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&amp;amp;nbsp;+&amp;amp;nbsp;''k'' is a parabola shifted to the right by ''h'' and upward by ''k'' whose vertex is at (''h'',&amp;amp;nbsp;''k''), as shown in the bottom figure.&lt;br /&gt;
&lt;br /&gt;
==Solving quadratic equations==&lt;br /&gt;
Completing the square may be used to solve any quadratic equation. For example:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x^2 + 6x + 5 = 0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first step is to complete the square:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;(x+3)^2 - 4 = 0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next we solve for the squared term:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;(x+3)^2 = 4.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then either&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x+3 = -2 \quad\text{or}\quad x+3 = 2,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and therefore&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x = -5 \quad\text{or}\quad x = -1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This can be applied to any quadratic equation. When the ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; has a coefficient other than 1, the first step is to divide out the equation by this coefficient: for an example see the non-monic case below.&lt;br /&gt;
&lt;br /&gt;
===Irrational and complex roots===&lt;br /&gt;
Unlike methods involving factoring the equation, which is reliable only if the roots are rational, completing the square will find the roots of a quadratic equation even when those roots are irrational or complex. For example, consider the equation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x^2 - 10x + 18 = 0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Completing the square gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;(x-5)^2 - 7 = 0,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;(x-5)^2 = 7.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then either&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x-5 = -\sqrt{7} \quad\text{or}\quad x-5 = \sqrt{7}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In terser language:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x-5 = \pm \sqrt{7},&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x = 5 \pm \sqrt{7}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Equations with complex roots can be handled in the same way. For example:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{array}{c}&lt;br /&gt;
x^2 + 4x + 5 \,=\, 0 \\[6pt]&lt;br /&gt;
(x+2)^2 + 1 \,=\, 0 \\[6pt]&lt;br /&gt;
(x+2)^2 \,=\, -1 \\[6pt]&lt;br /&gt;
x+2 \,=\, \pm i \\[6pt]&lt;br /&gt;
x \,=\, -2 \pm i.&lt;br /&gt;
\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Non-monic case===&lt;br /&gt;
For an equation involving a non-monic quadratic, the first step to solving them is to divide through by the coefficient of ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;. For example:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{array}{c}&lt;br /&gt;
2x^2 + 7x + 6 \,=\, 0 \\[6pt]&lt;br /&gt;
x^2 + \tfrac{7}{2}x + 3 \,=\, 0 \\[6pt]&lt;br /&gt;
\left(x+\tfrac{7}{4}\right)^2 - \tfrac{1}{16} \,=\, 0 \\[6pt]&lt;br /&gt;
\left(x+\tfrac{7}{4}\right)^2 \,=\, \tfrac{1}{16} \\[6pt]&lt;br /&gt;
x+\tfrac{7}{4} = \tfrac{1}{4} \quad\text{or}\quad x+\tfrac{7}{4} = -\tfrac{1}{4} \\[6pt]&lt;br /&gt;
x = -\tfrac{3}{2} \quad\text{or}\quad x = -2.&lt;br /&gt;
\end{array}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Applying this procedure to the general form of a quadratic equation leads to the [[Quadratic formula#Derivation of the formula|quadratic formula]].&lt;br /&gt;
&lt;br /&gt;
==Other applications==&lt;br /&gt;
&lt;br /&gt;
===Integration===&lt;br /&gt;
Completing the square may be used to evaluate any integral of the form&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int\frac{dx}{ax^2+bx+c}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
using the basic integrals&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int\frac{dx}{x^2 - a^2} = \frac{1}{2a}\ln\left|\frac{x-a}{x+a}\right| +C \quad\text{and}\quad&lt;br /&gt;
\int\frac{dx}{x^2 + a^2} = \frac{1}{a}\arctan\left(\frac{x}{a}\right) +C.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, consider the integral&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int\frac{dx}{x^2 + 6x + 13}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Completing the square in the denominator gives:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int\frac{dx}{(x+3)^2 + 4} \,=\, \int\frac{dx}{(x+3)^2 + 2^2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This can now be evaluated by using the substitution&lt;br /&gt;
''u''&amp;amp;nbsp;=&amp;amp;nbsp;''x''&amp;amp;nbsp;+&amp;amp;nbsp;3, which yields&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int\frac{dx}{(x+3)^2 + 4} \,=\, \frac{1}{2}\arctan\left(\frac{x+3}{2}\right)+C.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Complex numbers===&lt;br /&gt;
Consider the expression&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; |z|^2 - b^*z - bz^* + c,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ''z'' and ''b'' are complex numbers, ''z''&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; and ''b''&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; are the complex conjugates of ''z'' and ''b'', respectively, and ''c'' is a real number. Using the identity |''u''|&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = ''uu''&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; we can rewrite this as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; |z-b|^2 - |b|^2 + c , &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is clearly a real quantity. This is because&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  |z-b|^2 &amp;amp;{}=  (z-b)(z-b)^*\\&lt;br /&gt;
          &amp;amp;{}=  (z-b)(z^*-b^*)\\&lt;br /&gt;
          &amp;amp;{}= zz^* - zb^* - bz^* + bb^*\\&lt;br /&gt;
          &amp;amp;{}=  |z|^2 - zb^* - bz^* + |b|^2 .&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As another example, the expression&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ax^2 + by^2 + c ,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ''a'', ''b'', ''c'', ''x'', and ''y'' are real numbers, with ''a''&amp;amp;nbsp;&amp;amp;gt;&amp;amp;nbsp;0 and ''b''&amp;amp;nbsp;&amp;amp;gt;&amp;amp;nbsp;0, may be expressed in terms of the square of the absolute value of a complex number. Define&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;z = \sqrt{a}\,x + i \sqrt{b} \,y .&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
  |z|^2 &amp;amp;{}= z z^*\\&lt;br /&gt;
        &amp;amp;{}= (\sqrt{a}\,x + i \sqrt{b}\,y)(\sqrt{a}\,x - i \sqrt{b}\,y) \\&lt;br /&gt;
        &amp;amp;{}= ax^2 - i\sqrt{ab}\,xy + i\sqrt{ba}\,yx - i^2by^2 \\&lt;br /&gt;
        &amp;amp;{}= ax^2 + by^2 ,&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; ax^2 + by^2 + c = |z|^2 + c . &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Idempotent matrix===&lt;br /&gt;
A matrix ''M'' is idempotent when ''M''&amp;amp;hairsp;&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; = ''M''. Idempotent matrices generalize the idempotent properties of 0 and 1. The completion of the square method of addressing the equation &lt;br /&gt;
:&amp;lt;math&amp;gt;a^2 + b^2 = a ,&amp;lt;/math&amp;gt;&lt;br /&gt;
shows that some idempotent 2&amp;amp;thinsp;×&amp;amp;thinsp;2 matrices are parametrized by a circle in the (''a'',''b'')-plane:&lt;br /&gt;
&lt;br /&gt;
The matrix &amp;lt;math&amp;gt;\begin{pmatrix}a &amp;amp; b \\ b &amp;amp; 1-a \end{pmatrix}&amp;lt;/math&amp;gt; will be idempotent provided &amp;lt;math&amp;gt;a^2 + b^2 = a ,&amp;lt;/math&amp;gt; which, upon completing the square, becomes&lt;br /&gt;
:&amp;lt;math&amp;gt;(a - \tfrac{1}{2})^2 + b^2 = \tfrac{1}{4} .&amp;lt;/math&amp;gt;&lt;br /&gt;
In the (''a'',''b'')-plane, this is the equation of a circle with center (1/2, 0) and radius 1/2.&lt;br /&gt;
&lt;br /&gt;
==Geometric perspective==&lt;br /&gt;
[[Image:Completing the square.svg|right|250px]]&lt;br /&gt;
&lt;br /&gt;
Consider completing the square for the equation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x^2 + bx = a.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; represents the area of a square with side of length ''x'', and ''bx'' represents the area of a rectangle with sides ''b'' and ''x'', the process of completing the square can be viewed as visual manipulation of rectangles.&lt;br /&gt;
&lt;br /&gt;
Simple attempts to combine the ''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; and the ''bx'' rectangles into a larger square result in a missing corner. The term (''b''/2)&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; added to each side of the above equation is precisely the area of the missing corner, whence derives the terminology &amp;quot;completing the square&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==A variation on the technique==&lt;br /&gt;
As conventionally taught, completing the square consists of adding the third term, ''v''&amp;lt;sup&amp;gt;&amp;amp;nbsp;2&amp;lt;/sup&amp;gt; to&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;u^2 + 2uv&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to get a square. There are also cases in which one can add the middle term, either 2''uv'' or &amp;amp;minus;2''uv'', to&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;u^2 + v^2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to get a square.&lt;br /&gt;
&lt;br /&gt;
===Example: the sum of a positive number and its reciprocal===&lt;br /&gt;
By writing&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
x + {1 \over x} &amp;amp;{} = \left(x - 2 + {1 \over x}\right) + 2\\&lt;br /&gt;
                &amp;amp;{}= \left(\sqrt{x} - {1 \over \sqrt{x}}\right)^2 + 2&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
we show that the sum of a positive number ''x'' and its reciprocal is always greater than or equal to 2. The square of a real expression is always greater than or equal to zero, which gives the stated bound; and here we achieve 2 just when ''x'' is 1, causing the square to vanish.&lt;br /&gt;
&lt;br /&gt;
===Example: factoring a simple quartic polynomial===&lt;br /&gt;
Consider the problem of factoring the polynomial&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;x^4 + 324 . &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;(x^2)^2 + (18)^2, &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so the middle term is 2(''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;)(18)&amp;amp;nbsp;=&amp;amp;nbsp;36''x''&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;. Thus we get&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align} x^4 + 324 &amp;amp;{}= (x^4 + 36x^2 + 324 ) - 36x^2  \\&lt;br /&gt;
&amp;amp;{}= (x^2 + 18)^2 - (6x)^2 =\text{a difference of two squares} \\&lt;br /&gt;
&amp;amp;{}= (x^2 + 18 + 6x)(x^2 + 18 - 6x) \\&lt;br /&gt;
&amp;amp;{}= (x^2 + 6x + 18)(x^2 - 6x + 18)&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(the last line being added merely to follow the convention of decreasing degrees of terms).&lt;br /&gt;
&lt;br /&gt;
The same argument shows that &amp;lt;math&amp;gt;x^4 + 4a^4 &amp;lt;/math&amp;gt; is always factorizable as &lt;br /&gt;
:&amp;lt;math&amp;gt;x^4 + 4a^4 =(x^2+2a x + 2a^2)(x^2-2 ax + 2a^2)&amp;lt;/math&amp;gt;&lt;br /&gt;
(Also known as Sophie-Germain Identity).&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://www.youtube.com/watch?v=C206SNAXDGE Completing the Square Method and Solving Quadratic Equations ], The Organic Chemistry Tutor&lt;br /&gt;
* [https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:quadratic-functions-equations/x2f8bb11595b61c86:completing-square-quadratics/v/solving-quadratic-equations-by-completing-the-square Completing the Square], Khan Academy&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
# Narasimhan, Revathi (2008). Precalculus: Building Concepts and Connections. Cengage Learning. pp. 133–134. ISBN 0-618-41301-4., Section Formula for the Vertex of a Quadratic Function, page 133–134, figure 2.4.8&lt;br /&gt;
# Algebra 1, Glencoe, ISBN|0-07-825083-8, pages 539–544&lt;br /&gt;
# Algebra 2, Saxon, ISBN|0-939798-62-X, pages 214–214, 241–242, 256–257, 398–401&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
</feed>