# How NOT to Write the Equation of a Line on the GMAT

A question brought an interesting situation to our notice. Let’s start by asking a question: How do we write the equation of a line? There are two formulas:

y = mx + c (where m is the slope and c is the y-intercept)
and
yy1 = m * (xx1) [where m is the slope and (x1,y1) is a point on the line]

We also know that m = (y2y1)/(x2x1) – this is how we find the slope given two points that lie on a line. The variables are x1, y1 and x2, y2, and they represent specific values.

But think about it, is m = (y2y)/(xx1) really the equation of a line? Let’s further clarify this idea using a GMAT practice question:

In the coordinate plane, line k passes through the origin and has slope 2. If points (3,y) and (x,4) are on line k, then x + y =

(A) 3.5
(B) 7
(C) 8
(D) 10
(E) 14

We have been given that the line passes through (0, 0) and has a slope of 2. We can find the equation of the line from this information.

y = mx + c
y = 2x + 0 (Since the line passes through (0, 0), its y-intercept is 0 – when x is 0, y is also 0.)
y = 2x

Since we are given two other points, (3, y) and (x, 4), on the line and we have a slope of 2, many test-takers will be tempted to make another equation for the line using this information.

(4 – y)/(x – 3) = 2
(4 – y) = 2*(x – 3)
Thus, 2+ y = 10

Here, test-takers will use the two equations to solve for x and y and get x = 5/2 and y = 5.

After adding x and y together, they then wonder why 7.5 is not one of the answer choices. If this were an actual GMAT question, it is quite likely that 7.5 would have been one of the options. So all in all, the test-taker would not even have realized that he or she made a mistake, and would choose 7.5 as the (incorrect) answer.

The error is conceptual here. Note that the equation of the line, 2x + y = 10, is not the same as the equation we obtained above, y = 2x. They represent two different lines, but we have only a single line in the question. So which is the actual equation of that line?

To get the second equation, we have used m = (y2y)/(xx1). But is this really the equation of a line? No. This formula doesn’t have y and x, the generic variables for the x– and y-coordinates in the equation of a line.

To further clarify, instead of x and y, try using the variables a and b in the question stem and see if it makes sense:

“In the coordinate plane, line k passes through the origin and has slope 2. If points (3, a) and (b, 4) are on line k, then a + b =”

You can write (4 – a)/(b – 3) = 2 and this would be correct. But can we solve for both a and b here? No – we can write one of them in terms of the other, but we can’t get their exact values.

We know a and b must have specific values. (3, a) is a point on the line y = 2x. For x = 3, the value of of the y-coordinate, a, will be y = 2*3 = 6. Therefore, a = 6.

(b, 4) is also on the line y = 2x. So if the y-coordinate is 4, the x-coordinate, b, will be 4 = 2b, i.e. b = 2. Thus, a + b = 6 + 2 = 8, and our answer is C.

This logic remains the same even if the variables used are x and y, although test-takers often get confused because of it. Let’s solve the question in another way using the variables as given in the original question.

Recall what we have learned about slope in the past. If the slope of the line is 2 and the point (0, 0) lies on the line, the value of y – if point (3, y) also lies on the line – will be 6 (a slope of 2 means a 1-unit increase in x will lead to a 2-unit increase in y).

Again, if point (x, 4) lies on the line too, an increase of 4 in the y-coordinate implies an increase of 2 in the x-coordinate. So x will be 2, and again, x + y = 2 + 6 = 8.

Karishma, a Computer Engineer with a keen interest in alternative Mathematical approaches, has mentored students in the continents of Asia, Europe and North America. She teaches the GMAT for Veritas Prep and regularly participates in content development projects such as this blog!

# How to Solve “Unsolvable” Equations on the GMAT

The moment we see an equation involving the variable x, we have a habit of jumping right into attempting to solve it. But what happens when we are not able to solve it? Let’s say, for example, we have an equation such as x^2 + 1 = 0. How would we solve for x here? We can’t because x has no real value. Note that x^2 is non-negative – it would be either 0 or positive. 1, we know, is positive. So together, a positive number and a non-negative number cannot add up to 0.

In this example, it relatively easy to see that the equation has no real solution. In others, it may not be so obvious, so we will need to use other strategies.

We know how to solve third degree equations. The first solution is found by trial and error – we try simple values such as -2, -1, 0, 1, 2, etc. and are usually able to find the first solution. Then the equation of third degree is split into two factors, including a quadratic. We know how to solve a quadratic, and that is how we get all three solutions, if it has any.

But what if we are unable to find the first solution to a third degree equation by trial and error? Then we should force ourselves to wonder if we even need to solve the equation at all. Let’s take a look at a sample question to better understand this idea:

Is x < 0?
(1) x^3 + x^2 + x + 2 = 0
(2) x^2 – x – 2 < 0

In this problem, x can be any real number – we have no constraints on it. Now, is x negative?

Statement 1: x^3 + x^2 + x + 2 = 0

If we try to solve this equation as we are used to doing, look at what happens:

If you plug in x = 2, you get 16 = 0
If you plug in x = 1, you get 5 = 0
If you plug in x = 0, you get 2 = 0
If you plug in x = -1, you get 1 = 0
If you plug in x = -2, you get -4 = 0

We did not find any root for the equation. What should we do now? Note that when x goes from -1 to -2, the value on the left hand side changes from 1 to -4, i.e. from a positive to a negative. So, in between -1 and -2 there will be some value of x for which the left hand side will become 0. That value of x will not be an integer, but some decimal value such as -1.3 or -1.4, etc.

Even after we find the first root, making the quadratic will be very tricky and then solving it will be another uphill task. So we should ask ourselves whether we even need to solve this equation.

Think about it – can x be positive? If x is indeed positive, x^3, x^2 and x all will be positive. Then, if we add four positive numbers (x^3, x^2, x and 2) we will get a positive sum – we cannot get 0. Obviously x cannot be 0 since that will give us 2 = 0.

This means the value of x must be negative, but what it is exactly doesn’t matter. We know that x has to be negative, and that is sufficient to answer the question.

Statement 2: x^2 – x – 2 < 0

This, we can easily solve:

x^2 – 2x + x – 2 < 0
(x – 2)*(x + 1) < 0

We know how to solve this inequality using the method discussed here.

This this will give us -1 < x < 2.

Since x can be a non-integer value too, x can be negative, 0, or positive. This statement alone is not sufficient,and therefore, the answer is A.

To evaluate Statement 1, we didn’t need to solve the equation at all. We figured out everything we wanted to know by simply using some logic.