22.2k views
0 votes
What is the equation for the line? enter your answer in the box

What is the equation for the line? enter your answer in the box-example-1
User Uselesssss
by
8.4k points

1 Answer

3 votes
To get the equation of the line, you need two points that belong to this line.
From the given graph, we can choose any two points: (0,-4) and (-2,0)

The general for of the linear straight line is:
y = mx + c where m is the slope and c is the y-intercept

First, we will calculate the slope using the following rule:
slope = (y2-y1) / (x2-x1)
slope (m) = (0--4) / (-2-0) = 4/-2 = -2
The equation of the line now is: y = -2x + c

Then, we will get the value of the c. To do so, we will choose any point and substitute in the equation. I will choose the point (0,-4)
y = -2x + c
-4 = -2(0) + c
c = -4

Based on the above calculations, the equation of the line is:
y = -2x - 4
User Mmdc
by
8.3k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.