r/MathHelp • • Nov 16 '20

TUTORING Y=mx+b With Decimals

I am trying to figure out how to put decimals into this equation. I have y=-0.5+b so far but I cant find out y or b. The 2 points are (79,190) and (123,168). I have entered 190 and 168 as y but the answers I receive aren’t correct according to my homework. I have gotten 229.5 and 190.5 as b but they are still incorrect. I don’t want the answer but, simply some steps or the right way to write the equation. If I am violating the rules please tell me this is my first time on this subreddit.

10 Upvotes

7 comments sorted by

1

u/PoliteCanadian2 Nov 16 '20

The formula is y = mx + b.

Once you have the slope plug it in for m then to find b plug in one of the points you are given into x and y. That leaves only b as an unknown.

Once you solve for b then go back to y = mx + b and put in your m and b and you are done.

1

u/[deleted] Nov 16 '20

Thank you so much!

1

u/thunderglaive Nov 16 '20

y=mx+b Where m is the gradient and b is the y-intercept

  1. Find the gradient- y1-y2/x2-x1 = -1/2

  2. Sub gradient into equation: You should get y = -1/2x + b 3)Sub coordinates of any of the 2 points into the equation.

Let’s say you use the first point: You should be getting; 190= -1/2(79) + b

4)Find b (you should get the same Answer regardless of which Coordinates you use) However i’ve tried doing it and i got different answers(Both were 1 off). I think you might’ve typed in wrongly but you should get it correct if you follow the top.

1

u/[deleted] Nov 16 '20

Thanks this helped alot!

1

u/AutoModerator Nov 16 '20

Reminder:

  • What have you tried so far? (See Rule #2)

  • Please don't delete your post. (See Rule #7)

We, the moderators of /r/MathHelp, appreciate that your question contributes to the MathHelp archived questions that will help others searching for similar answers in the future. Thank you for obeying these instructions.

(Note that this is an automatic message posted on every submission by default.)

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

-1

u/fermat1432 Nov 16 '20

Try y=-1/2x+459/2

0

u/harrywk Nov 16 '20

If you’re trying to find the equation of a line going through two given points, (x1,y1) and (x2,y2), use the formula:

Y-y1 = ((y2-y1)/(x2-x1)) • (X-x1)

Plug in values of x1 etc, and rearrange to get in the form Y = mX + c.