Straight line equation easy question

3 replies · 2K views · last reply
sameh1
Messages
9
Reaction score
0
i have an easy question i Know how to calculate the slope but how I can get all the equation I know before that the equation is -2x+2 I know how to calculate the slope it
is y2-y1/x2-x1 but how can I get +2
I attach a file describing the question
 
Attachments
  • Handwritten sketch of a line segment from (0,2) on the y-axis to (1,0) on the x-axis, with the equation -2x+2 written and slope calculated as (0-2)/(1-0) = -2.
    scan0084.jpg
    4.1 KB · Views: 449
Last edited:
The constant is the same as the point where the line crosses the y-axis. So in this case you see it crosses at positive 2 so the constant will be +2.
 
your question is somewhat confusing...if you are asking how to get a slope = 2, you need a different line. the slope of a straight line is constant. y = -2x +2 is a straight line and you calculated the slope correctly, -2.

To find a line with slope = 2, use slope equation...y=mx+b.