r/askmath Oct 12 '20

Need some arbitration. Linear equation. Argument in comments.

Post image
374 Upvotes

32 comments sorted by

22

u/DickVanJumpstyle Oct 12 '20

My friend and I are having a disagreement about this. I said that in this case X would not be the slope, but that $5 is the slope and that $50 and how many drinks that buys at this bar are variables. u/Reap_sin argues that $50 is constant and the only variable is X, which can be the slope because of the commutative property. That if you plug in the given values it would all come out the same, i.e. if b is 10 and y is $50 then if the slope is 8 then x is 5 and if the slope is 5 then x is 8.

47

u/justincaseonlymyself Oct 12 '20

I said that in this case X would not be the slope

Correct.

but that $5 is the slope

Correct.

and that $50 and how many drinks that buys at this bar are variables.

Not correct. 50 is not a variable. It's clearly a constant.

Reap_sin argues that $50 is constant and the only variable is X

Correct.

which can be the slope because of the commutative property.

Not correct. The slope of a line is the coefficient in front of the variable. It's clear what's the variable and what's the coefficient. X is the variable, and not the slope.

5

u/DickVanJumpstyle Oct 12 '20 edited Oct 12 '20

As I understand it whatever Y is can change to affect a change is X, making them both variable. This being so that you can use the equation to calculate for any budget someone has going into this bar. I.E. y=$5x+10, or is that strictly a WHOLE new equation?

18

u/justincaseonlymyself Oct 12 '20

y = 5x + 10 and 50 = 5x + 10 are two different equations. The former has two variables, and the latter one has only one variable.

2

u/DickVanJumpstyle Oct 12 '20

ok thank you. I was considering $50 as an integer given only to determine x but still held it as y in my mind. A sort of "determined variable" only as an example of one place you could find on the slope.

1

u/Obsessivefrugality Feb 06 '21

In terms of differential equations, y=5x+10 is the general equation. You can plug any value in and solve for y. 50=5x+10 is the exact equation. Solving for x will give you the exact solution for y=50.

1

u/seanthinks Oct 12 '20

“which can be the slope because of the commutative property.

Not correct. The slope of a line is the coefficient in front of the variable. It's clear what's the variable and what's the coefficient. X is the variable, and not the slope.”

This is not (completely) correct. The slope of the line is unique, which means knowing two points on the line (i.e. (0,10) and (5,50)) would be sufficient for determining slope “x”. This is at most nonstandard, but is still plausible.

7

u/OneMeterWonder Oct 12 '20

I mean, it could be the slope if you want to consider this a level set of the function yx+10.

Pedants ASSEMBLE!

0

u/Chand_laBing Oct 12 '20

Meh. This is like saying dy/dx could notate a fraction with a real variable d. Of course it's not wrong, since strings of symbols can feasibly mean anything, but you have to give some license to a speaker or you would never be able to communicate and would be tripped up by simple homonyms, metaphors, etc. It is as clear that m is the slope in y=mx+c as it is what the symbols "=" and "+" mean.

0

u/seanthinks Oct 13 '20

Yes. It IS clear that m is the slope in y = mx + b. It’s also clear that 5 is the slope in y = 5x + 10. But the equation 50 = 5x - 10 could just as easily be obtained from the slope equation m = (50 + 10)/(5+ 0). Here m = x is clear. You have a linear equation which is NOT the equation of a line.

0

u/hymie0 Oct 13 '20

$50 is the specific Y value for which we are currently solving y = 5x + 10. You might have $80 tomorrow. So yes 50 is a constant, but it is subject to change as the Y variable.

2

u/justincaseonlymyself Oct 13 '20

A constant is a constant. It is not subject to change.

If you want to consider another equation, that's fine. But switching to another equation does not make 50 a variable.

2

u/hasha_tagooine Oct 12 '20

Also, the constant $10 here would be the y intercept on a graph if you replaced $50 with the variable y.

2

u/DickVanJumpstyle Oct 12 '20

yeah that part was agreed on

1

u/PoliteCanadian2 Oct 12 '20

The only number that varies here is the variable x. That makes the slope = 5.

1

u/seanthinks Oct 12 '20

Not quite. The term ‘x’ can very if and only ‘y’ also varies. You could have that the variation of x depends on y (I.e. x is a function of y) or y depends on x (y is a function of x). However if y is if you fix one of these variables, as is the case here: 50 = 5x + 10. There is exactly one solution to this equation, even if you don’t know it apriori. This equation has ONLY constants.

20

u/miketinn Oct 12 '20

This is the function of a straight line. It is an introduction into functions which can get far more complex and useful and are used to model many relevant aspects of life. Why are children taught them? So that those children that do want to proceed in science and engineering fields can discover their ability.

3

u/Jackm941 Oct 13 '20

Hate when people say no one uses this stuff, im only starting my engineering path well in my 3rd uear of uni and so far using functions for things like suspension seems really intresting for me as im into motocross and cars etc so damping and rebound etc is cool to see in math form. Vibration stuff to is cool to me. And no im doing electronics and i dont get it but its easy to see how needing to know complex functions is important for radio communications etc.

People really think all this stuff is just magic and you dont need to know math for it or what?

1

u/miketinn Oct 13 '20

Good luck with your studies! It's concerning we live in times where people think knowledge and rediscovering for ourselves what the great minds before us have found is pointless, because if you want to know something you can google it. Those sad arguments as to why they still teach maths because everything is done on devices anyway? We are effectively finding ourselves in a situation where we have an increasingly dumbed down population that is easily manipulated and can't distinguish for themselves fact from fiction.

9

u/[deleted] Oct 12 '20

I use this to budget Baconators throughout the month

3

u/shewel_item Oct 13 '20

Answer to Angelina Elizabeth: so you can start taking derivatives (at any point on any given line), so you can start tracking the growth of your own stock portfolio. And, no -- no one talks about it that much, because they want you to focus on your studies, ofc.

4

u/quijanas Oct 12 '20

The major issue with this problem is that you won't ever get more than two drinks IF YOU DON'T tip on the first two!

2

u/[deleted] Oct 12 '20 edited Oct 12 '20

I would use an inequality to solve this e.g. 10+5x≤50

I think the worded problem was a bad example.

Here's one:

A young sumo wrestler decided to go on a special high-protein diet to gain weight rapidly and at a constant rate. After 8 months, he weighed 138 kilograms. He started at 90 kilograms. Let y represent the sumo wrestler's weight (in kilograms) after x months. Complete the equation:

From that worded problem we can gather the following two points. 0,90 8,138

Now that we have 2 points we can solve the gradient which is 6.

So the equation is Y=6x+90.

As for op's Facebook screen shot, I'd argue it's more or less graphs are just important and y=mx+b is kind of the quadratic equation for graphs, not the best analogy but you get what I mean.

2

u/Qiwas Oct 12 '20

Lol this is a problem from Khan Academy

1

u/[deleted] Oct 12 '20

:thumbsup: they do a good job of showing how algebra fits into real world problems.

1

u/[deleted] Oct 13 '20

You can settle this by assigning units to each part of the equation y = mx + b

y = 50 dollars

m = 5 dollars per 1 drink

x = 8 drinks

b = 10 dollars

A slope has two units, and the only piece of the equation that has two units is m

1

u/[deleted] Oct 13 '20 edited Oct 13 '20

Side note.. if you want to find the slope of a line, pick any two points on the line.

Slope = (y1 - y0) / (x1 - x0)

We already know 8 drinks is $50. So let’s use that as one point. (x0, y0) = (8 drinks, $50)

10 drinks will end up being $60, so (x1, y1) = (10 drinks, $60)

($60 - $50) / (10 drinks - 8 drinks) = $10 / 2 drinks = $5 per drink = m

1

u/Uli_Minati Desmos 😚 Oct 13 '20

Good practice to solving text problems with functions:

  1. Which quantity is variable and its value can be (almost) anything? x
  2. Which quantity is variable, but its value depends on x? y
  3. What value does y have when x is zero? b
  4. When you increase x by 1, how much does y increase? m
  5. If you can't answer 3. or 4.: Do you know any values of y which correspond to a value of x? Plug it into y=mx+b

Unusual but correct version:

  1. You pay different amounts of money, so x: money paid in $
  2. You receive different amounts of drinks depending on how much you paid, so y: number of drinks
  3. When you pay zero, it's not quite clear how many drinks you get since you wouldn't get into the club. Skip this one for now. (Also called "solving for b")
  4. When you pay +1$, you would (mathematically) only get a fifth of a drink. m=1/5
  5. We know that zero drinks cost 10$. This gives us 0 = 1/5*10+b => b=-2
  6. Now we can plug 50$ into the equation! y = 1/5*50-2 = 8

The usual version:

  1. You buy different amounts of drinks, so x: number of drinks
  2. You pay different amounts of money depending on how many drinks you bought, so y: money paid in $
  3. When you buy zero, you pay 10$.
  4. When you buy +1 drink, you pay another 5$.
  5. We know everything!
  6. Now we can plug 50$ into the equation! 50 = 5*x+10 => x=8

1

u/Reap_sin Oct 13 '20

So, there's a lot of things going on here, that have gone unsaid.

First and foremost: we had always agreed that the standard for y=mx+b is that m is the slope. But I posited that commutative property allowed for a potential slip in the picture as calling the number of drinks (left to be vaiable x) the slope.

Understanding the standard function and nomenclature, I was trying to help my buddy here understand that variables become what you assign them. Meaning; if you replace the variables in y=mx+b to any other variation of letters, and remove the context of identifying the standard definitions of the variables, the equation still works for the intended purpose.

Also, starting that (y=mx+b) = (y=xm+b) as an example of how the written [number of drinks = slope] is possible, even though it would visually change the graph, which is unimportant to the context of the original content.

1

u/Genshed Oct 19 '20

Not being a mathematician, my first reaction to this question was - who doesn't tip the bartender in a club?!

That's a variable that is not determined by the terms of the problem.

1

u/yaakovb39 Nov 02 '20

x = 8, how is this a slope?

Replace 50$ with Y and you get an actual linear equation

1

u/TWBS_Sammy Dec 12 '20

Learning it rn and I f/cking hate it. It’s easy, I just hate it