gmat math: lines and slope in the x-y plane

here are a set of practice gmat questions about the cartesian plane.

1) what is the equation of the line that goes through (–2, 3) and (5, –4)?

    (a) y = –x + 1
    (b) y = x + 5
    (c) y = –3x/7 + 15/7
    (d) y = –4x/3 + 1/3
    (e) y = 9x/5 + 33/5

2) the line y = 5x/3 + b goes through the point (7, –1).  what is the value of b?

    (a) 3
    (b) –5/3
    (c) –7/5
    (d) 16/3
    (e) –38/3

3) a line that passes through (–1, –4) and (3, k) has a slope = k.  what is the value of k?

    (a) 3/4
    (b) 1
    (c) 4/3
    (d) 2
    (e) 7/2

if these problems make your head spin, you have found the right post.

 

slope

slope is a measure of how steep a line is.  there is very algebraic formula for the slope, and if you know that, that’s great!  if you don’t know that formula, or used to know it and can’t remember it, i will say: fuhgeddaboudit!    here’s a much better way of thinking about slope.  slope is rise over run.

to calculate rise and run, first have to put the two points in order.  it actually doesn’t matter which one we say is the first and which one, the second: all that matters is that we are consistent.

the rise is the vertical change — the change in y-coordinate (second point minus first).  the run is the horizontal change — the change in the x-coordinate (again, second minus first).  once we have rise & run, divide them, rise divided by run, to find the slope.

for example, suppose our points are (–2, 4) and (5, 1).  for the sake of argument, we’ll say that’s the order — (–2, 4) is the “first” and (5, 1) is the “second.”  the rise is the change in height, the change in y-coordinate: 1 – 4 = –3 (notice, we had to do second minus first, which gave us a negative here!)   the run is the horizontal change, the change in x-coordinate: 5 – (–2) = 5 + 2 = 7 (remember: subtracting a negative is the same as adding a positive!).  now, rise/run = –3/7 —- that’s the slope.  slope is definitely something you need to understand for the gmat quantitative section.

whenever you find a slope, i strongly suggest doing a rough sketch, just to verify that the sign of the slope (positive or negative) and the value of the slope are approximately correct.  here’s a sketch of this particular calculation:

slope triangle

your sketch, of course, does not need to be this precise.  even a rough sketch would verify that, yes, the slope should be negative.   again, i highly recommend performing this visual check every time you calculate slope.

 

equations in the x-y plane

let’s get a bit philosophical for a moment.  the technical name of the x-y plane is the cartesian plane, named after its inventor, mr. rene descartes.  although you may have met this sometime in middle school math and may now take it for granted, it is actually a brilliant mathematical device.  it allowed for the unification of two ancient branches of mathematics: algebra and geometry.  in more practical terms, every equation (an algebraic object) corresponds to a picture (a geometric object).  that is a very deep idea.

 

equations of lines

a straight line is a very simple picture, and not surprisingly it has a very simple equation.  there are a few different ways to write a line, but the most popular and easiest to understand is y = mx + b.  the m is the slope of the line.  the b is the y-intercept: where the line crosses the y-axis.  for any given line, m & b are constants: for a given line, both m & b equal a fixed number.  by contrast, x & y (sometimes call the “graphing variables”) do not equal just one thing.  this is not the “x” of ordinary solve-for-x algebra.  this is a very deep idea — x & y don’t equal any one pair of values; rather, every single point (x, y) on the line, the entire continuous infinity of points that make up that line — every single one of them satisfies the equation of the line.  that is a powerful and often underappreciated mathematical idea.

 

finding the equation of a line

sometimes the gmat will give you the equation of a line already in y = mx + b form.  sometimes, the gmat give you the line in another form (e.g. 3x + 7y = 22), and you will have to do a little algebraic re-arranging —- essentially, solve for y —- to bring the equation into y = mx + b form.  sometimes, though, as in problem #2 above, they give you two points and ask you to find the equation of a line.  here the procedure.  first, find the slope (as demonstrated above).   now, plug the slope in for “m” in the y = mx + b equation, and pick either point (it doesn’t matter which one) and plug those coordinates in for x & y in this equation.  this will produce an equation in which everything has a numerical value except for “b” — that means, you can solve this equation for the value of b.   once you know m & b, you know the equation of the line.

 

practice

after this introduction, go back and try those practice problems again before reading the solutions below.  here’s another relevant practice question:

4) http://gmat.www.catharsisit.com/questions/821

in the next post, i will discuss midpoints and the issue of parallel & perpendicular lines.  see also, the related posts on distance in the cartesian plane, the quadrants, and the special properties of the line y = x.

 

explanation of practice questions

1) here, we will follow the procedure we demonstrated in the last section.  call (–2, 3) the “first” point and (5, –4), the “second.”  rise = –4 – 3 = –7.  run = 5 – (–2) = 7.  slope = rise/run = –7/7 = –1.  visual check:

yes, it makes sense that the slope is negative.  we have the slope, so plug m = –1 and (x, y) = (–2, 3) into y = mx + b:

3 = (–1)*(–2) + b

3 = 2 + b

1 = b

so, plugging in m = –1 and b = 1, we get an equation y = –x + 1.  answer = a

2) here, we already have the slope, so we just need to follow the second half of the “finding the equation” procedure.  plug (x, y) = (7, –1) into this equation:

{-1}  =  {{5(7)}/3} + b  =  {35/3} + b

b  =  {-35/3} - 1 =  {-35/3} - {3/3}  =  -{38/3}

answer = e

3) this is a considerably more difficult one, which will involve some algebra.  let’s say that the “first” point is (–1, –4) and the “second,” (3, k).  the rise = k + 4, which involves a variable.  the run = 3 – (–1) = 4.  there the slope is (k + 4)/4, and we can set this equal to k and solve for k.

{{k + 4}/4} = k

k + 4 = 4k

4 = 3k

k = 4/3

answer = c

 

author

  • mike mᶜgarry

    mike served as a gmat expert at magoosh, helping create hundreds of lesson videos and practice questions to help guide gmat students to success. he was also featured as “member of the month” for over two years at gmat club. mike holds an a.b. in physics (graduating magna cum laude) and an m.t.s. in religions of the world, both from harvard. beyond standardized testing, mike has over 20 years of both private and public high school teaching experience specializing in math and physics. in his free time, mike likes smashing foosballs into orbit, and despite having no obvious cranial deficiency, he insists on rooting for the ny mets. learn more about the gmat through mike’s youtube video explanations and resources like what is a good gmat score? and the gmat diagnostic test.

more from magoosh