document.write( "Question 1077703: Hi, I'm working on an algebra project and I have a couple of questions that I need help with. The first question is: Write an expression for the width of any rectangle in terms of the length. The second question is: Write a function for the area of any rectangle in terms of the length. Also on this last question I need help on how to graph it and to find the vertex. Thank you! \n" ); document.write( "
Algebra.Com's Answer #692235 by Theo(13342)![]() ![]() You can put this solution on YOUR website! let x equal the length of the rectangle\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "let w equal the width of the rectangle.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "let y = the area of the rectangle.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "area of a rectangle = length * width.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "this translates to:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y = x * w\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "let k = the length of the rectangle minus the width of the rectangle.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you get k = x - w\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "solve this equation for w to get w = x - k\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "your equation for the area of the rectangle was:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y = x * w\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "replace w with x - k and the equation becomes:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y = x * (x - k)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "simplify this equation to get:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y = x^2 - kx\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "this is a quadratic equation.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "if we set y = 0, then it becomes:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "x^2 - kx = 0\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "now it is in standard form of ax^2 + bx + c = 0, where a = 1 and b = -k and c = 0\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the x-coordinate of the vertex of this equation is at x = -b/2a.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "this becomes x = -(-k)/2) which becomes x = k/2.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the y-coordinate of the vertex of this equation is at y = f(-b/2a) which becomes y = f(k/2).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you solve for f(-b/2a) = f(k/2) by replacing x in the equation of y = x^2 - kx with (k/2)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the equation becomes y = (k/2)^2 - k*(k/2)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "simplify this to get y = k^2/4 - k^2/2\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "place all fractions under a common denominator to get y = k^2/4 - 2k^2/4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "combine like terms to get y = -k^2/4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "your vertex is therefore at (k/2, -k^2/4)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "what does this mean in real terms?\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "let's see:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "assume the length of your rectangle is 7 and the width of your rectangle is 3.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "since we set the equation up as y = x * w, where y is the area, x is the length, and w is the width, then we get:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y = x * w becomes y = 7 * 3 which becomes y = 21 which is the area of the rectangle.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "all well and good, except that we want the equation in terms of x.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "we did that earlier and we got:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y = x^2 - kx, where y is the area, x is the length and k is equal to x - w which is the length minus the width.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "when x = 7 and w = 3, we get k = 7 - 3 = 4\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the equation of y = x^2 - kx becomes y = x^2 - 4x\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "if we set y = 0, the equation becomes:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "x^2 - 4x = 0\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "since this is a quadratic equation in standard form, we get:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "a = 1 \n" ); document.write( "b = -4 \n" ); document.write( "c = 0\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the x-coordinate of the vertex is at x = -b/2a which becomes x = 4/2 which becomes x = 2\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the y-coordinate of the vertex is at f(-b/2a) which is at y = 2^2 - 4*2 which is at y = 4 - 8 = -4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the vertex is therefore at (2,-4)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you can graph the equation of y = x^2 - 4x and it will look like this:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " ![]() \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "in this graph, y is the area and x is the length.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the width is assumed to be equal to the length minus 4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "what this means is:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "when the length is 4, the width is 0 \n" ); document.write( "when the length is 5, the width is 1 \n" ); document.write( "when the length is 6, the width is 2 \n" ); document.write( "when the length is 7, the width is 3\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "your area is equal to y.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "you will get:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y is equal to 0 when x is equal to 4 \n" ); document.write( "y is equal to 5 when x is equal to 5 \n" ); document.write( "y is equal to 12 when x is equal to 6 \n" ); document.write( "y is equal to 21 when x is equal to 7\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "vertical lines are placed on the graph to show you the value of y when x is the value indicated by the vertical line.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "that graph is shown below:\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " ![]() \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "what this says is that, as long as you know the value of k, you can find the area of the rectangle in terms of the length.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "since we know the value of k, we can test this out.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the following graph shows the vertex as well as the value of y when x = 7.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " ![]() \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "we know that the value of k is equal to 7 - 3 which is equal to 4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "so we have k = 4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "and we have y = x^2 - kx which becomes y = x^2 - 4x when k = 4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "we also determined that the x-coordinate of the vertex of the equation would be at k/2, and we also determined that the y-coordinate of the vertex of the equation would be at -k^2/4\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the k = 4, we get:\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "x-coordinate of the vertex of the equation is at 4/2 = 2\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y-coordinate of the vertex of the equation is at -4^2/4 = -16/4 = -4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "since we already showed that the vertex of the equation is at (2,-4), then these values based on k = 4 are correct.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "to summarize.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y is the area. \n" ); document.write( "x is the length \n" ); document.write( "k is the value of the length minus the width.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the equation becomes y = x^2 - kx.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the x-coordinate of the vertex of the equation is x = k/2\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "the y-coordinate of the vertex of the equation is y = -k^2/4\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "this should work with any value of length and width.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "let's assume, arbitrarily, that the length is 50 and the width is 75.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "this means that k = 50 - 75 = -25.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y = x^2 - kx becomes y = x^2 + 25x\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "x-coordinate of the vertex becomes y = k/2 = -25/2 = -12.5\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "y-coordinate of the vertex becomes y = -k^2/4 = -156.25\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "when the length is 50, the width is 75 and the area is equal to 50 * 75 = 3750.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "all of this can be seen on the following graph of the equation of y = x^2 + 25x.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " ![]() \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |