# Homework Help: Unknown coordinate given the distance

1. Sep 6, 2010

### hobomoe

1. The problem statement, all variables and given/known data
The distance of point X (k,2) from the line y=x+4 is four.
Find the values of k.

2. Relevant equations

3. The attempt at a solution
(y-2)/(x-k)=-1
y=-x+k+2
I think this gives me the equation of the line from the point to the line y=x+4, but not sure what to do next or if I'm correct.

2. Sep 6, 2010

### CompuChip

What is the distance of the point (1, 2) to the line y = x + 4?
And (6, 2)?
How about (k, 2)?

3. Sep 6, 2010

### hobomoe

I'm lost.. I don't know how to work any of this out..

4. Sep 6, 2010

### JonF

I would suggest graphing the line y=x+4 and y=2. You should be able to identify two points in which these two lines are 4 away from each other (I’ll give you a hint, think perpendicular). Also notice these points satisfy the form of (k,2).

From this point what you do depends on what class your taking, I’ll put the methods in order of likeliness of what class I suspect you are in:

The algebraic approach:
1) You are given the line y =x+4
2) Since our points will be on perpendicular lines, their equation will be in the form of y = -x +b with the point (k,2). Plug this point in and we get b = 2 +k. Plug b back into our equation of the perpendicular line and we get y = -x +2 + k.
3) We now have two lines, y = x +4 and y = -x +2 +k. We want to find the point at which they intersect each other so we can use the distance formula. So we set them equal to each other: x +4 = -x +2 +k, lots of algebra later this gives us x = k/2 -1. Plug this into either equation more algebra yields y = k/2 +3. So we have the point where the lines intersect: (k/2 -1, k/2 + 3)
4) We have two points now (one is where the lines intersect, the other is 2 above the x-axis), so we can use the distance formula: 4 = ( (k/2 – 1 – k)^2 – (k/2 + 3 – 2)^2 )^1/2. Algebraic simplification should give you your answer.

The geometric approach: Draw your perpendicular lines. Label the distances you know (two lines with length 4), all angels are 90 and 45 degree (remember a slope of 1/1 and -1/1 is 45 degrees). Using SAS, ASA, and the properties of 90 45 45 triangles you can get the y intercept of the perpendicular lines and then it’s merely plugging in values.

Trig: Use the law of sines and the 90 and 45 degree angels to calculate the y-intercept of the perpendicular lines.

Precalc: Pick any of the above methods.

Last edited: Sep 6, 2010
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook