Sales Toll Free No: 1-855-666-7446

How to Turn A Graph into An Equation?

TopLine equation represents the relation between two variables. This equation is called as linear equation. In this equation value of one variable depends upon another. Let us see how to turn a graph into an equation.
First of all we are requiring a graph. Now we will determine the starting and ending points of line from graph. As we get the coordinates of line we can convert it into an equation with help of a graph. Let us see this process to get the line equation step by step.

Step 1: First of all we require starting points say (x1, y1) and ending points (x2, y2) of line. Now calculate the Slope of line. We have a formula to get the slope of line:

m = (y2 – y1) / (x2 – x1),

Assume that we have the coordinates (2, 0) and (-1, 3) then slope of line will be:

m = (3 - 0) / (-1 - 2) = -1,

Step 2: Now we will calculate the y- intercept. We will multiply the slope of line with starting 'x' point and subtract it from the starting 'y' point as:

y intercept = 0 – (-1) * 2 = 2.

Step 3: Now as we know that equation of line is y = mx + c. Here 'm' is the slope of line and 'c' is the y- intercept of line. We have already calculated 'm' and 'c' of line. Now we will place these values in line equation.

Y = mx + c,

Y = -x + 2,

Step 4: If we want to verify the equation we can put the coordinates in equation and verify it.

0 = -2 + 2 = 0 and,

3 = 1 + 3 = 3.