How to calculate the line equation. Slope of a line.

Would you like to know how to calculate the equation of a line? What data do you need to calculate it? How to interpret the equation of a line?

One of the biggest problems you usually have in finding the line equation is that most of the time it is not clear what form this equation takes. Therefore, it is not known what each of the terms of the equation means, much less how to calculate it.

That’s why I’m going to explain a very simple way to calculate the equation of a line and what data you need as a minimum.

There are other ways of calculating the equation of a line, but what I am going to teach you next will serve as a starting point and will get you out of more than one predicament. For me it is the easiest way to calculate the equation of a line and you will also be able to solve all the exercises that you need to calculate lines, except those that tell you to calculate a certain form of equation.

Once you assimilate it, you will be able to obtain other forms of the equation of a line more easily, but we’ll leave that for later.

I’m going to start by explaining what the equation of a line is like

How is the line equation? The explicit line equation

The equation of a line can have many forms. But now, let’s focus on this one:

calculate the equation of a line

This is the explicit equation of a line. In the first member we have the clear y and in the second member we have two terms, one with x multiplied by the coefficient m and another term formed by the coefficient n.

What do coefficients m and n mean?

I’m going to explain briefly what each one of them means. I don’t want to go into detail because I would give for another whole article and that’s not the purpose of this post either. I just want you to have a global vision.

m is the slope. The slope has to do with the inclination of the line with respect to the x-axis. The steeper the slope, the more inclined the line and the less inclined the slope. It can be positive or negative.

straight line equation

n is the point where the line intersects the y axis:

How to find the equation of a line

For example, these are two equations of two lines:

How to find the equation of a line

how the equation of a line is calculated

If we represent them, we have:

equation of a straight line

The first line:

How to get the equation from a line

Has a slope is m=2 and cuts to the y-axis at point 1, as n=1

The second line:

how to know the equation of a line

Your slope is m=3, so it is more inclined than the previous one. On the other hand, n=2, so this line cuts to the axis and at point 2.

How to calculate the slope of a line?

There are many ways to calculate the slope of a line. I’m going to show you some of them, which is going to be the most used.

As mentioned before, the slope indicates the inclination of the line with respect to the x-axis. This slope is calculated by dividing the vertical distance by the horizontal distance between two points on a line.

Those two points of a line, in general will have coordinates (x1,y1) and (x2,y2) for points 1 and 2 respectively:

formula to get the equation from a line

The vertical distance is calculated by subtracting the y-axis coordinates from each point, and the horizontal distance by subtracting the x-axis coordinates from each point. Therefore m can be calculated with this formula:

Get the equation of a straight line

On the other hand, the line forms an angle α with the horizontal. Another way to calculate the slope, if this angle is known is with the tangent:

calculate slope

Parallel and perpendicular lines.

Another way to obtain the slope of a line is to indicate that it is parallel or perpendicular to another given line.

Parallel lines have the same slope

Perpendicular lines have this relationship between their slopes:

equuación punto pendiente de la recta

Siendo m’ the slope of the perpendicular line.

Therefore, the first thing to do in these cases is to calculate the slope of the given line. To do this, we must put it in its explicit form:

Calculation of the slope of a straight line

Y the quotient m, will be the slope of the line, that is, the number that is multiplied by x. I remind you that if it has nothing, it is equivalent to having a 1.

For example, what’s the slope of this line?

find the slope of a straight line

To obtain it, we first leave the equation in its explicit form:

equation of perpendicular lines

And now it is clearer that the slope is:

slope of a straight formula

What slope would another line have parallel to this one?

Any line parallel to the previous one will have the same slope, i.e. the same coefficient m:

formula of the slope of a line

What slope would another perpendicular line have?

Once we have defined the slope of the given line, the slope of the perpendicular line, keeps this relation as we have seen before:

inclinación de la recta

Thus the slope of the perpendicular line will be:

How to calculate a point on a line

How to find the equation of a line. Formula of the equation point slope

Well, we already know how to calculate slope, but slope alone is not enough to calculate the equation of a line.

Rectas with the same slope are infinite. Therefore, to define the line we want exactly, we also need to know a point where the line we want to calculate passes.

Therefore, to calculate the equation of a line we need to know the slope and a point through which it passes. With these two data, you can calculate the equation of a line with this formula, known as the slope point equation:

normal equation of the straight formula

Where m is the slope and X0 e Yo are the coordinates of the point through which the line passes.

For example: Calculate the equation of a line whose slope is m=3 and passes through point P(2,1)

The data that the statement gives us are these:

equation of the perpendicular line

We replace the data in the dot pending equation:

slope of a straight line example

straight line continuous equation

We Operate:

principal equation of the line

And finally there’s the equation of the line you’re not asking for

equation of a slope

Let’s see another example: Calculate the equation of the parallel line and another perpendicular to it and passing through point P(0,0):

calcululo de pendiente

First of all, you have to get the slope. We already got it in the previous example. Its slope is:

equation of the straight line dot slope

We are going to calculate the line parallel to it and passing through point P(0,0), with the formula of the equation point pending:

equations of parallel and perpendicular lines

We replace the data we have:

recta paralela a otra

We are left:

que es pendiente matematicas

Y we operate to obtain the equation of the line parallel to the given one and passing through point P(0,0):

equation of the line passing through a point

Now we are going to calculate the equation of the perpendicular line. Its slope is:

How to find the slope of a line

We therefore have these data:

How to calculate m and n

That we substitute in the formula:

meaning slope of a line

And finally we have:

How to get the slope of a straight line

No comments yet.

Leave a Reply

Información básica sobre protección de datos - Responsable: David Aroca Aparicio. Finalidad: Publicar los comentarios enviados. Legitimación: Ejecución de la relación comercial o contractual entre ambas partes. Derechos: Acceder, rectificar y suprimir los datos, así como otros derechos como se explica en el aviso legal

Uso de cookies

Usamos cookies propias y de terceros (Google) para que usted tenga la mejor experiencia de usuario, por lo que los terceros reciben información sobre tu uso de este sitio web.

Si continúas navegando, consideramos que aceptas el uso de las cookies. Puedes obtener más info o saber cómo cambiar la configuración en nuestra Política de Cookies.

ACEPTAR
Aviso de cookies
Share This