Question 812096
It would not make sense for the total rectangular area to be 9 feet wide, wide a very small 9 foot by 9 foot living room on one end, and a very long 9-foot wide dining area attached, like this:
{{{drawing(300,100,-1,29,-0.5,9.5,
rectangle(0,0,9,9),rectangle(9,0,28,9),
locate(2,5,living),locate(15,5,dining)
)}}} That would be an easy answer, but a ridiculous floor plan.
 
What they have in mind looks like this:
{{{drawing(400,250,-1.5,22.5,-1.5,13.5,
rectangle(0,0,12,12),rectangle(12,0,21,12),
locate(4,6,living),locate(15,6,dining),
locate(12.2,7,x),locate(5.5,12,x),locate(16,12,9)
)}}} The living area is a square with sides measuring {{{x}}}{{{feet}}}. The dining room measures {{{x}}}{{{feet}}} by 9 feet.
The total combined living plus dining area is a rectangle measuring {{{x}}}{{{feet}}} by {{{x+9}}}{{{feet}}} .
So {{{x(x+9)=252}}} is your starting equation.
You want to find {{{x}}} .
 
From there on, I would suggest factoring. It gets you from here to the answer in a few short steps.
 
If you cannot or will not do factoring, you can transform that equation into a more familiar form, and solve it without factoring.
{{{x(x+9)=252}}}-->{{{x^2+9x=252}}}-->{{{x^2+9x-252=0}}}
Then you could solve by completing the square, or apply the quadratic formula.
I'll show you both ways further down.
In the meantime, I will try to convince you that factoring often makes math easier.
 
The factoring required for this problem is easy, but it is good practice because, in math, factoring never completely goes away. It keeps coming back. When you are done with the math chapter on polynomials and factoring, you may think that you can forget it. (I did). Forget that idea. The need for factoring will keep coming up, over, and over, for as long as you have a math class.
 
Back to the problem.
The starting equation, {{{x(x+9)=252}}} says that there are two numbers, {{{x}}} and {{{x+9}}} , that area {{{9}}} units apart, and multiply to give {{{252}}} .
What are the factors of 252? You can tell that it is even, so {{{2}}} is a factor. You may even realize that it is a multiple of {{{4}}} because {{{52}}} is a multiple of {{{4}}} .
You realize that it is a multiple of {{{3}}} and {{{9}}} because the digits add up to {{{9}}}.
If you divide {{{252}}} by {{{4}}} , or divide by {{{2}}} twice , you get {{{63=7*9}}} , so that tells you that {{{7}}} is also a factor, and that
{{{252=4*7*9=2*2*7*3*3}}}.
However, you do not need to figure out all that to solve the problem. You just need two numbers, differing by 9, whose product is 252.
You can start trying numbers in order.
{{{1*252=252}}}
{{{2*126=252}}}
{{{3*84=252}}}
{{{4*63=252}}}
5 is not a factor but 252 divided by 6 is 42, so
{{{6*42=252}}}
So far the pairs of factors differ in a lot more than 9,
{{{42-6=36>9}}} but the differences are getting smaller.
7 and 8 do not evenly divide 252, but 9 does, and
{{{9*28=252}}}
10 and 11 do not work, but 252 divides by 12 to give 21, so
{{{12*21=252}}} and {{{21-12=9}}} so we have found the two factors
{{{highlight(x=12)}}} and {{{x+9=12+9=21}}} are the width and length of the whole rectangle, and the living area is a square with sides measuring {{{highlight(12ft)}}} .
 
Solving the quadratic equation by completing the square:
If a quadratic equation has solutions that are rational numbers, it is easy enough to solve it by factoring (although not always as easy as done above).
Otherwise you can do it without formulas by "completing the square."
Starting from {{{x^2+9x=252}}} , you could realize that the left side of that equation is part of
{{{(x+9/2)^2=x^2+9x+81/4}}} ,
so adding {{{81/4}}} to both sides of the equal sign in {{{x^2+9x=252}}} you get
{{{x^2+9x+81/4=252+81/4}}}
{{{(x+9/2)^2=1008/4+81/4}}}
{{{(x+9/2)^2=1089/4}}}
{{{(x+9/2)^2=(33/2)^2}}}
So either {{{x+9/2=33/2}}}-->{{{x=33/2-9/2}}}-->{{{x=24/2}}}-->{{{highlight(x=12)}}} ,
or {{{x+9/2=-33/2}}}-->{{{x=-33/2-9/2}}}-->{{{x=-24/2}}}-->{{{x=-21}}} , which does not make sense as a room length because it is a negative number.
 
Solving the quadratic equation by using the quadratic formula:
A quadratic equation of the form {{{ax^2+bx+c=0}}} ,
if it has any real solutions, the solutions are given by
{{{x = (-b +- sqrt( b^2-4*a*c ))/(2*a) }}}
That applies to {{{x^2+9x-252=0}}}  , where
{{{a=1}}} , {{{b=9}}} , and {{{c=-252}}} .
So {{{x = (-9 +- sqrt(9^2-4*1*(-252) ))/(2*1) }}}
{{{x = (-9 +- sqrt(81+1008))/2 }}}
{{{x = (-9 +- sqrt(1089))/2 }}}
{{{x = (-9 +- 33)/2 }}} --> {{{system(x=(-9 + 33)/2=24/2=12, "or",x=(-9 - 33)/2=-42/2=-21)}}}
Since {{{x=-21}}} cannot be the measurement of the side of the living area in feet, the only solution that makes sense, so {{{highlight(x=12)}}} and the living area is a square with sides measuring {{{highlight(12ft)}}} .