Basic Examples (5)
Basic Examples
(5)
Complete the square of a quadratic polynomial in :
x
In[13]:=
2
x
Out[13]=
-15+
2
(1+x)
———
Complete the square in of a quadratic polynomial in and :
x
x
y
In[14]:=
2
x
2
y
Out[14]=
-15++7y+2
2
(1+x)
2
y
———
Complete the square in both and :
x
y
In[15]:=
2
x
2
y
Out[15]=
-++2+y
169
8
2
(1+x)
2
7
4
———
Symbolic coefficients are allowed:
In[16]:=
2
x
Out[16]=
-+π+a+x
2
b
4a
2
b
2a
———
Complete the square symbolically for a trivariate quadratic polynomial:
In[17]:=
3
(a+c)
2
x
2
y
2
z
2
(a+z)
Out[17]=
3
(a+c)
2
b
2
3
(a+c)
2
7
4π
2
a
2
1
8
2
a
2
2
b
3
(a+c)
49
π
Possible Issues (3)
Possible Issues
(3)