Exercises: Distances, parallel and perpendicular lines
- 1
Determine the equation of the line that passes through the point P and is perpendicular to the given line y=mx+t.
y=3x+2
P(3∣5)
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
First determine the slope of the line h perpendicular to g(x):y=3x+2 , where being perpendicular implies
m2=−m11
Plug in the known values.
m2=−31
So the line we are looking for has a slope of −31.
Now determine the y-axis intercept of the line h through P(3∣5) by substituting the point P into the general line equation.
h(xp):yp=m2xp+b
Plug in the values.
5=−31⋅3+b∣+1
Simplify and add 1.
6=b⇔b=6
So the line equation is h(x):y=−31x+6.
Do you have a question?
y=0.5x+1
P(1∣2)
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
First determine the slope of the line h perpendicular to g(x):y=0.5x+1 , where being perpendicular implies
m2=−m11
Plug in the known values.
m2=−0.51=−211=−2
So the line we are looking for has a slope of −2.
Now determine the y-axis intercept of the line h through P(1∣2) by substituting the point P into the general line equation.
h(xp):yp=m2xp+b
Plug in the values.
2=−2⋅1+b ∣+2
Simplify and add 2.
4=b⇒b=4
So the line equation is h(x):y=−2x+4.
Do you have a question?
y=−5x+6
P(−10∣1)
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
First determine the slope of the line h perpendicular to g(x):y=−5x+6 , where being perpendicular implies
m2=−m11
Plug in the known values.
m2=−−51=0.2
So the line we are looking for has a slope of 0.2.
Now determine the y-axis intercept of the line h through P(−10∣1) by substituting the point P into the general line equation.
h(xp):yp=m2xp+b
Plug in the values.
1=0.2⋅(−10)+b ∣+2
Simplify and add 2.
3=b⇒b=3
So the line equation is h(x):y=0.2x+3.
Do you have a question?
y=4x+3
P(2∣−5)
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
First determine the slope of the line h perpendicular to g(x):y=4x+3 , where being perpendicular implies
m2=−m11
Plug in the known values.
m2=−41=−0.25
So the line we are looking for has a slope of −0.25.
Now determine the y-axis intercept of the line h through P(2∣−5) by substituting the point P into the general line equation.
h(xp):yp=m2xp+b
Plug in the values.
−5=−0.25⋅2+b +0.5
Simplify and add 0.5.
−4.5=b⇒b=−4.5
So the line equation is h(x):y=−0.25x−4.5.
Do you have a question?
y=−32x+2
P(4∣6)
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
First determine the slope of the line h perpendicular to g(x):y=−32x+3 , where being perpendicular implies
m2=−m11
Plug in the known values.
m2=−−321=23
So the line we are looking for has a slope of 23.
Now determine the y-axis intercept of the line h through P(4∣6) by substituting the point P into the general line equation.
h(xp):yp=m2xp+b
Plug in the values.
6=23⋅4+b ∣−6
Simplify and subtract 6.
0=b⇒b=0
So the line equation is h(x):y=23x.
Do you have a question?
y=31x−2
P(2∣5)
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
First determine the slope of the line h perpendicular to g(x):y=31x−2 , where being perpendicular implies
m2=−m11
Plug in the known values.
m2=−311=−3
So the line we are looking for has a slope of −3.
Now determine the y-axis intercept of the line h through P(2∣5) by substituting the point P into the general line equation.
h(xp):yp=m2xp+b
Plug in the values.
5=−3⋅2+b ∣+6
Simplify and add 6.
11=b⇒b=11
So the line equation is h(x):y=−3x+11.
Do you have a question?
- 2
Determine the equation of the line g that is parallel to the line h and passes through the point P.
h: y=3x−2; P(1∣0)
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
y=3x−2 ; P(1∣0)
For the line to be parallel to h, it must have the same slope.
The slope of a line is the variable m of the general line equation.
m=3
Setting up the line equation
Plug m=3 and P(1∣0) into the the general line equation.
0 = 3⋅1+t −3 ↓ solve for t
t = −3 Plug m and t into the general line equation.
⇒Line equation: y=3x−3
Do you have a question?
h: y=x−4; P(1∣2)
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
y=x−4 ; P(1∣2)
For the line to be parallel to h, it must have the same slope.
The slope of a line is the variable m of the general line equation.
m=1
Setting up the line equation
Plug m=1 and P(1∣2) into the the general line equation.
2 = 1+t −1 ↓ solve for t
t = 1 Plug m and t into the general line equation.
⇒ Line equation: y=x+1
Do you have a question?
h: y=4x; P(5∣18)
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
y=4x ; P(5∣18)
For the line to be parallel to h, it must have the same slope.
The slope of a line is the variable m of the general line equation.
m=4
Setting up the line equation
Plug m=4 and P(5∣18) into the the general line equation.
18 = 4⋅5+t −20 ↓ solve for t
t = −2 Plug m and t into the general line equation.
⇒ Line equation: y=4x−2
Do you have a question?
h: y=−2x+1; P(−1∣4)
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
y=−2x+1 ; P(−1∣4)
For the line to be parallel to h, it must have the same slope.
The slope of a line is the variable m of the general line equation.
m=−2
Setting up the line equation
Plug m=−2 and P(−1∣4) into the the general line equation.
4 = −2⋅(−1)+t −2 ↓ solve for t
t = 2 Plug m and t into the general line equation.
⇒ Line equation: y=−2x+2
Do you have a question?
- 3
Determine the equation of the straight line through ...
the point P(−3∣4) and being parallel to the x-axis.
Für diese Aufgabe benötigst Du folgendes Grundwissen: Line equation
Parallel to the x-axis, means that the slope is m=0.
Plug m and P into the general line equation.
44==0⋅(−3)+ttAssemble to a line equation.
y=0⋅x+4=4Do you have a question?
the point Q(2∣5) and is parallel to the bisector of the 2nd quadrant (the diagonal pointing down).
Für diese Aufgabe benötigst Du folgendes Grundwissen: Line equation
Parallel to the bisector of the 2nd quadrant means the line has the same slope as the bisector.
The slope of the bisector of the 2nd quadrant is -1
⇒m=−1Plug m into the straight line equation in order to calculate t.
5t==−2+t7∣+2Plug m and t into the general equation of a straight line.
y=−1⋅x+7=−x+7Do you have a question?
the point R(−4∣2) and is parallel to the y-axis.
Für diese Aufgabe benötigst Du folgendes Grundwissen: Line equation
Parallel to the y-axis means that there is no function equation, since an x-value is assigned an infinite number of y-values.
The straight line can therefore only be described as the x-value of R.
⇒x=−4Do you have a question?
the point S(2∣−3) and is parallel to the bisector of the 1st quadrant (the diagonal pointing up).
Für diese Aufgabe benötigst Du folgendes Grundwissen: Line equation
The line being parallel to the bisector of the 1st quadrant means it has the same slope.
The slope of the bisector of the 1st quadrant is 1.
⇒m=1Substitute m and S into the general line equation and solve for t.
−3t==2+t−5∣−2Substitute m and t into the general line equation.
⇒y=x−5Do you have a question?
the origin and is parallel to the straight line AB with A(−72∣−60) and B(−24∣−20).
Für diese Aufgabe benötigst Du folgendes Grundwissen: Line equation
Passing through the origin means, the y-axis intercept is t=0.
Being parallel to the straight line AB means that the line has the same slope as AB.
A(−72∣−60);B(−24∣−20)Calculate the slope m using the difference quotient .
m=−24−(−72)−20−(−60)=4840=65Substitute m and t into the general line equation.
⇒y=65xDo you have a question?
- 4
Two perpendicular lines intersect at S(−2∣−1) .
Determine at least one possible line equations.
Für diese Aufgabe benötigst Du folgendes Grundwissen: Linear function
We need to construct two perpendicular lines with the point of intersection (−2,−1). As you can already see from the problem setting, there are several ways to choose two such straight lines. One possibility is given below. A good criterion to check whether the two chosen straight lines are perpendicular to each other is to check whether m1⋅m2=−1.
For instance, choose the line g with y=g(x)=x+1 and h with y=h(x)=−x−3. Then m1⋅m2=1⋅(−1)=−1and we have g(−2)=−1 and h(−2)=−1. So the point of intersection is on the two lines and they are perpendicular to each other.
Caution:
You may also choose the line y=−1 , which is parallel to the x-axis and passes through the point (−2,−1) . Then there is exactly one line perpendicular to it and passing through this point, namely that one given by x=−2 and running parallel to the y- axis. However, x=−2 does not describe a function but a relation!
- 5
Calculate the distance of the line to the origin.
y=43x−5
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
The shortest connection of any point on the line g(x):y=m1⋅x+b to the origin is a second line h(x):y=m2⋅x+b2 which passes through the origin and is perpendicular to g.
Passing through the origin means h(0)=b2=0.
Being perpendicular means
m2=−m11
Plug in the known value of m1.
m2=−431=−34
So the perpendicular line has the line equation h(x):y=−34x.
Now calculate the intersection point A(xs∣ys) of the two lines by setting equal their line equations.
g(xs) = h(xs) ↓ Plug in the line equations.
−34xs = 43xs−5 −43xs ↓ Get the variable xs on the left side
−1225xs = −5 ⋅(−1) 1225xs = 5 :1225 xs = 512 = 2.4 Now substitute xs into one of the line equations to determine ys.
h(xs):ys=−34xs
Plug in xs=2.4 .
ys=−34⋅2.4=−3.2
The intersection of the lines h and g is therefore at A(2.4∣−3.2).
Now determine the distance of the origin to the calculated intersection point A, this is exactly the shortest distance of the line g to the origin.
d=(xs−x0)2+(ys−y0)2
Plug in the values.
d=(2.4−0)2+(−3.2−0)2
Simplify.
=5.76+10.24=16=4
The shortest distance of the line g to the origin is therefore 4.
Do you have a question?
y=−21x+2
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
The shortest connection of any point on the line g(x):y=m1⋅x+b to the origin is a second line h(x):y=m2⋅x+b2 which passes through the origin and is perpendicular to g.
Passing through the origin means h(0)=b2=0.
Being perpendicular means
m2=−m11
Plug in the known value of m1.
m2=−−211=2
So the perpendicular line has the line equation h(x):y=2x.
Now calculate the intersection point A(xs∣ys) of the two lines by setting equal their line equations.
g(xs) = h(xs) ↓ Plug in the line equations.
−21xs+2 = 2xs −2xs ↓ Get the variable xs on the left side
−2.5xs+2 = 0 −2 ↓ Get the 2 to the right side.
−2.5xs = −2 :(−2.5) xs = 0.8 Now substitute xs into one of the line equations to determine ys.
h(xs):ys=2xs
Plug in xs=0.8 .
ys=2⋅0.8=1.6
The intersection of the lines h and g is therefore at A(0.8∣1.6).
Now determine the distance of the origin to the calculated intersection point A, this is exactly the shortest distance of the line g to the origin.
d=(xs−x0)2+(ys−y0)2
Plug in the values.
d=(0.8−0)2+(1.6−0)2
Simplify.
=0.64+2.56=3.2≈1.79
The shortest distance of the line g to the origin is therefore approximately 1.79.
Do you have a question?
- 6
Calculate the distance of the parallel lines g: y=−21x+2 and h: y=−21x−3 .
Distance between two parallel lines
The shortest path between two parallel lines can be read off along a normal (=perpendicular line) of the two parallel lines .
The distance of the straight lines is equal to the distance between the two intersection points of the normal line with the parallel lines .
Sketch
The construction looks as follows:
md⋅mg = −1 :mg md = mg−1 ↓ Plug in the slope mg=−21
md = −21−1 ↓ Simplify the right-hand side
md = −2 Now set up the line equation.
For this, you need a point T, which lies on line h. For instance, you may take the y-axis intercept of h(x) , which is T(0∣−3) . But any other point is also correct.
Plug T(0∣−3) and md into the general line equation for d to get the parameter t.
−3 = 2⋅(0)+t ↓ multiply out
t = −3 ↓ Plug t and md into the general line equation.
y = 2x−3 Determine the intersection of d and g
First calculate the x-coordinate of the intersection point S.
Normal line d: y=2x−3
Paralle line g: y=−21x+2
Equate both function equations:
2x−3 = −21x+2 +3 2x = −21x+5 +21x 25x = 5 :25 x = 2 Now calculate the y-coordinate of the intersection point S.
y = 2x−3 ↓ Plug in x = 2 .
y = 2⋅2−3 ↓ compute
y = 1 Hence the point S has the following coordinates:
⇒ S(2∣1)
Determine the distance between points S and T.
Determine the distance in x-direction.
T(0∣−3) , S(2∣1)
Calculate the difference of the x-values of S and T.
Δx=2−0=2
Determine the distance in y-direction.
T(0∣−3) , S(2∣1)
Calculate the difference of the y-values.
Δy=1−(−3)=4
Determine the distance in a direct line between the points.
Δx=2
Δy=4
This is done by the Pythagoraen Theorem:
d2 = 22+42 ↓ compute both squares
d2 = 4+16 ↓ add
d2 = 20 ↓ take the root
d = 20 If you enter 20 into a calculator and round the result to two decimal places, you get:
d=20≈4.47
Result
The distance between the two lines is d=20≈4.47.
- 7
Consider the equation y=23x+1.
Zeichne die Gerade zu der Gleichung in ein Koordinatensystem.
Für diese Aufgabe benötigst Du folgendes Grundwissen: Lines in coordinate systems
Choose any point on the line, e.g. the y-axis-intercept (0∣1), and go two to the right and three upwards, which corresponds to a slope of m=23. Connect the two points to obtain a straight line.
Do you have a question?
Set up the equation of the perpendicular line through the point P(3∣2.25).
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
You obtain the slope of the perpendicular (=normal) line by dividing -1 by the original slope.
m = −1:23=1−1⋅32=−32 ↓ Plug the coordinates of P and m into the general line equation.
2.25 = −32⋅3+t = −36+t = −12+t = −2+t +2 ↓ Solve for t.
t = 2.25+2=4.25 Substitute m and t into the general line equation.
y = −32x+4.25 Do you have a question?
Draw the line in the same coordinate system as the line from exercise 1.
Für diese Aufgabe benötigst Du folgendes Grundwissen: Slope/Gradient of a line
Choose any point on the line, e.g. the given point P(3∣2.25) and go, according to the gradient m=−32 , 3 units to the left and 2 units upwards. Connect the two points to obtain a straight line. (see sketch in subtask 1)
Do you have a question?
Calculate the intersection of the two lines.
Calculating the x-coordinate
Set the straight line functions equal to obtain the point of intersection.
23x+1 = −32x+417 +32x∣−1 ↓ Get x to one side.
23x+32x = 417−1 ↓ Factor out x and add the fractions.
613x = 413 :613 x = 46=23=1.5 Calculating the y-coordinate
Plug x into one of the line equations, e.g. that of the given line.
y = 23⋅23+1 = 49+1 = 3.25 ⇒ S(1.5∣3.25)
Do you have a question?
This content is licensed under
CC BY-SA 4.0 → Info