# Can You Write The Equation Of The Line That Passes Through The Points (12, 6) And (12,-4). Show All Your Work For Credit?

There is no change in the x value between the two points. The line is x=12 by inspection of the given data. There's no work to show.
thanked the writer.
You can also solve this using algebra and the following formulas:

Y = mx + b (where m is the slope of the line, and b is the y intercept)

m = (y1 - y2) / (x1 - x2) (equation for finding the slope of a line given two points)

x = a (equation for a vertical line where 'a' is some number )
First, find the slope of the line by plugging in the two points:

M = ( 6 - (-4) ) / ( 12 - 12)

m = 10 / 0

m is undefined (cannot divide by zero)

This tells us that the line is a vertical line. A vertical line has an undefined slope. Thus, we need to use the equation for a vertical line. Plug in the point (12, 6) into the equation:

X = a (a is some number)

12 = a

Now we know the value of 'a'. So, we can write the equation for the line:

#### x = 12

thanked the writer.