Line on a Plane, Various Equations.

There are such forms of writing the equation of a line:

1) y=kx+b, where k is the slope coefficient, and b is the segment the line cuts off on the OY axis.

Image

2) yy0=k(xx0) - the equation of the line passing through a given point P(x0,y0) at a given angle α to the OX axis (k=tanα).

Image

3) xx1x2x1=yy1y2y1 - the equation of the line passing through two points M(x1,y1) and N(x2,y2).

Image

4) xa+yb=1 - the line equation in intercept form on the axes, where a and b are the lengths of the segments that the line cuts off on the coordinate axes.

Image

5) xx0l=yy0m - the canonical equation of the line, where S=(l,m) is the direction vector of the line, i.e., a vector parallel to the line (SL), with point P(x0,y0)L.

6) A(xx0)+B(yy0)=0 - the equation of the line L, passing through the point M(x0,y0) perpendicular to the vector N=(A,B). The vector N is called the normal vector of the line.

Image

Ax+By+C=0 - the general equation of the line L, where N=(A,B) is the normal vector of the line L.

Image

xcosα+ycosβp=0 - the normal form of the line equation, where cosα and cosβ are the directional cosines of the normal vector n, directed from the origin towards the line, and p>0 is the distance from the origin to the line.

The general equation of the line is converted to the normal form by multiplying by the normalizing factor μ=sgn CA2+B2.

The distance from the point P(x0,y0) to the line L:Ax+By+C=0 is calculated using the formulad=|Ax0+By0+CA2+B2|.

The positioning of two lines on the plane.

Conditions for the parallelism of two lines:

1) Let L1:k1x+b1, k1=tanα1;

L2:k2x+b2, k2=tanα2.

Lines L1 and L2 are parallel if and only if k1=k2.

Image

2) Let L1:xx1l1=yy1m1, S1=(l1,m1);

L2:xx2l2=yy2m2, S2=(l2,m2).

Lines L1 and L2 are parallel if and only if S1S2l1l2=m1m2.

Image

3)Let L1:A1x+B1y+C1=0, N1=(A1,B1);

L2:A2x+B2y+C2=0, N2=(A2,B2).

Lines L1 and L2 are parallel if and only if N1N2A1A2=B1B2.

Image

Conditions for the perpendicularity of two lines:

1) Let L1:k1x+b1, k1=tanα1;

L2:k2x+b2, k2=tanα2.

L1L2k1k2=1.

Image

2) Let L1:xx1l1=yy1m1, S1=(l1,m1);

L2:xx2l2=yy2m2, S2=(l2,m2).

L1L2S1S2l1l2+m1m2=0.

Image

3) Let L1:A1x+B1y+C1=0, N1=(A1,B1);

L2:A2x+B2y+C2=0, N2=(A2,B2).

L1L2N1N2A1A2+B1B2=0.

Image

The angle between two lines:

1) Let L1:k1x+b1, k1=tanα1;

L2:k2x+b2, k2=tanα2.

tan((L1,L2)^)=k1k21+k1k2.

Image

2) Let L1:xx1l1=yy1m1, S1=(l1,m1);

L2:xx2l2=yy2m2, S2=(l2,m2).

cos((L1,L2)^)=l1l2+m1m2l12+m12l22+m22.

Image

3) Let L1:A1x+B1y+C1=0, N1=(A1,B1);

L2:A2x+B2y+C2=0, N2=(A2,B2).

cos((L1,L2)^)=A1A2+B1B2A12+B12A22+B22.

Image

Examples:

2.141.

Solution:

a) The line L is defined by the point M0(1;2)L and the normal vector N(2;2). Required: 1) Write the equation of the line, bring it to general form, and construct the line; 2) Convert the general equation to the normal form and indicate the distance from the origin to the line.

By substituting into formula 6) for the line equation (A(xx0)+B(yy0)=0) the coordinates of the point (x0;y0)=M0(1;2) and the vector (A;B)=N(2;2), we get:

2(x+1)+2(y2)=0. Now, let's bring this equation to the general form:

2x+2+2y4=0

2x+2y2=0

x+y1=0.

The normal form of the line equation looks like xcosα+ycosβp=0, where cosα and cosβ are the directional cosines of the normal vector n, directed from the origin towards the line, and p>0 is the distance from the origin to the line.

The general equation of the line is converted to the normal form by multiplying by the normalizing factor μ=sgn CA2+B2.

For our line, we have A=1;B=1;C=1sgn C=1. Thus, μ=11+1=12.

Write the normal equation of the line:

x+y1=012

12x+12y12=0.

The distance from the origin is p=12.

Answer: 2(x+1)+2(y2)=0; general equation x+y1=0; normal equation of the line 12x+12y12=0; p=12.

{loadposition user1}

2.142

a) The line L is defined by the point M0(1;2)L and the direction vector S(3;1). Required: 1) Write the equation of the line, bring it to the general form, and construct the line; 2) Convert the general equation to the normal form and indicate the distance from the origin to the line.

Solution:

Substitute into formula 5) for line equations (xx0l=yy0m) the coordinates of the point (x0;y0)=M0(1;2) and the vector (l;m)=S(3;1): x+13=y21

Now, let's bring this equation to the general form:

1(x+1)=3(y2)

x13y+6=0

x+3y5=0.

The general equation of the line is converted to the normal form by multiplying by the normalizing factor μ=sgn CA2+B2.

For our line, we have A=1;B=3;C=5sgn C=1. Thus, μ=11+9=110.

Write the normal equation of the line:

x+3y5=0|110

110x+310y510=0.

The distance from the origin is p=510.

Answer: x+13=y21; general equation x+3y5=0; normal equation of the line 110x+310y510=0; p=510.

2.143.

a) The line L is given by its two points M1(1;2)L and M2(1;0)L. Required: 1) Write the equation of the line, bring it to the general form and construct the line; 2) Convert the general equation to the normal form and indicate the distance from the origin to the line.

Solution.

Substitute into formula 3) for the line equations (xx1x2x1=yy1y2y1) the coordinates of the points M1(1;2)=(x1;y1) and M2(1;0)=(x2;y2): x111=y202x12=y22.

Next, let's bring this equation to the general form:

2(x1)=2(y2)

x1=y2

xy+1=0.

The general equation of the line is converted to the normal form by multiplying by the normalizing factor μ=sgn CA2+B2.

For our line, we have A=1;B=1;C=1sgn C=1. Thus, μ=11+1=12.

Write the normal equation of the line:

xy+1=0|12

12x+12y12=0.

The distance from the origin is p=12.

Answer: x12=y22; general equation xy+1=0; normal equation of the line 12x+12y12=0; p=12.

2.150.

For triangle ABC given by the vertices A(1;2),B(2;2),C(6;1):

Find the equation of side AB;

Find the equation of altitude CD and calculate its length h=|CD|;

Find the angle between the altitude CD and the median BM.

Solution:

Let's create a diagram:

Image

The equation of the line AB can be found using the formula for a line passing through two points xx1x2x1=yy1y2y1.

In our case, we have (x1;y1)=A(1;2) and (x2;y2)=B(2;2).

We substitute the points' coordinates into the line equation. We obtain x121=y222x1=y24. Now, let's write down the general equation of the line AB:

4(x1)=y24x+4=y24x+y6=0.

2) The equation of line CD can be found using equation (6): A(xx0)+B(yy0)=0 - the equation of the line L that passes through point M(x0,y0) perpendicular to vector N=(A,B).

In our case, the altitude CD is the line that passes through point C perpendicular to the vector AB.

Thus, we have, (x0;y0)=C=(6;1);N=AB=(21;22)=(1;4).

We substitute these coordinates into the line equation:

1(x6)4(y1)=0x64y+4=0x4y2=0.

Therefore, the equation of the line CD: x4y2=0.

To find the length of altitude h=|CD|, we need to find the coordinates of point D, the intersection of lines CD and AB:

{x4y2=04x+y6=0.

Solve the system of equations using the method of elimination:

{x4y2=04x+y6=0. {x=4y+24x+y6=0.

{x=4y+24(4y+2)+y6=0. {x=4y+216y+8+y6=0.

{x=8/17+2=26/17y=2/17..

Therefore, we have D(2617,217). Now we can find the length of the altitude CD:

h=|CD|=(xdxc)2+(ydyc)2=(26/176)2+(2/171)2= (2610217)2+(21717)2=762+192172=6137172=191717=1917.

3) The equation of the altitude CD has already been found in step 2). Let's find the equation of the median BM. We will find it using the formula for the equation of a line passing through two points.

The coordinates of point B=(2,2); the coordinates of point M can be found as the midpoint of side AC: xM=xA+xC2;yM=yA+yC2.

xM=1+62=3.5; yM=2+12=1.5.

Substitute the coordinates of points B(2;2) and M(3.5;1.5) into the equation of the line.

xx1x2x1=yy1y2y1:

x23.52=y(2)1.5(2)x21.5=y+23.5

3.5(x2)=1.5(y+2)3.5x7=1.5y+33.5x1.5y10=0.

Next, knowing the general equations of the two lines CD:x4y2=0 and BM:3.5x1.5y10=0, we can find the angle between them using the formula

cos(L1,L2)^= A1A2+B1B2A12+B12A22+B22,

where L1:A1x+B1y+C1=0, N1=(A1,B1);

L2:A2x+B2y+C2=0, N2=(A2,B2).

For our lines, we have: (A1,B1)=(1,4) and (A2,B2)=(3.5,1.5).

From here,

cos(CD,BM)^= 13.5+(4)(1.5)12+(4)23.52+(1.5)2=9.51714.5=19986.

Answer: 1) AB:4x+y6=0.

2) CD: x4y2=0; h=|CD|=1917;

3) cos(CD,BM)^= 19986.

2.160. In the isosceles triangle ABC, the vertex C is given as (4,3), the equation of the base AC is 2xy5=0, and the equation of the side AB is xy=0. Find the equation of the side BC.

Solution.

Let's find the coordinates of the vertex A as the intersection point of the lines AB and AC:

{xy=02xy5=0{x=y2yy5=0{x=yy=5{x=5y=5

Thus, we have the coordinates of the vertices at the base of the isosceles triangle as A(5,5) and C(4,3). Let's find the coordinates of the vertex B(x,y). We know that this point belongs to the line AB:xy=0 and that AB=BC. Let's write down the formulas for the lengths of the sides AB and BC:

|AB|=(x5)2+(y5)2;

|BC|=(x4)2+(y3)2.

Next, to find the coordinates of point B, let's solve the system of equations:

{xy=0(x5)2+(y5)2=(x4)2+(y3)2 {xy=0x210x+25+y210y+25=x28x+16+y26y+9

{xy=02x4y+25=0{x=y2y4y+25=0

{x=yy=256. We found the coordinates of pointB(256,256).

Knowing the coordinates of points B and C, we can write the equation of line BC as a line passing through two points (xx1x2x1=yy1y2y1):

x42564=y32563x425246=y325186

x41=y377x28=y37xy25=0.

Answer: 7xy25=0.

2.165. Given two opposite vertices of a square A(1;3) and C(1;1). Find the coordinates of the other two vertices and write down the equations of its sides.

Solution:

Let's find the equation of the diagonal AC:

x111=y313x12=y32xy+2=0.

Let's find its midpoint: xO=xA+xC2;yO=yA+yC2.

xO=112=0;yO=3+12=2O=(0;2).

Next, let's find the equation of the second diagonal of the square - the line passing through point O perpendicular to the line AC. For the line AC, the normal vector has coordinates N=(1;1). The line perpendicular to the line AC is parallel to the normal vector N. Therefore, the equation of the line BD is written using formula 5) (xx0l=yy0m), where (x0,y0)=O(0;2), (l,m)=N=(1,1):

x1=y21x=y+2x+y2=0.

It is clear that AO=CO=BO=DO. Let's find the length of segment AO: AO=(01)2+(23)2=2.

Next, we will look for the coordinates of points B and D that lie on the line BD and satisfy BO=DO=AO.

{x+y2=0(0x)2+(2y)2=2

{x=2y(y2)2+(2y)2=2

{x=2y|2y|2=2{x=2y|2y|=1{x=2y[2y1=12y2=1

{x=2y[y1=1y2=3 {[x1=1x2=1[y1=1y2=3

Thus, we have found the coordinates of vertices B(1;1) and D(1;3). Knowing the coordinates of the square's vertices, let's write the equations of its sides using formula (3) - xx1x2x1=yy1y2y1 - the equation of a line passing through two points M(x1,y1) and N(x2,y2).

A(1;3), B(1;1), C(1;1), D(1;3).

AB: x111=y313x10=y32 2(x1)=0x=1.

BC: x111=y111x11=y10 0(x1)=1(y1)y=1.

CD: x+11+1=y131x+10=y12 2(x+1)=0(y1)x=1.

DA: x111=y333x12=y30 0(x1)=2(y3)y=3.

Answer:A(1;3), B(1;1), C(1;1), D(1;3); AB: x=1; BC: y=1; CD: x=1; DA: y=3.

Tags: Line on a Plane, Various Equations, algebraic lines, geometry