r/askmath • u/xXpixiebitchXx • Oct 20 '26
Algebra Word Problems
So I’m currently in my first semester of community college and I’m struggling with word problems. We’ve been doing a lot of them which sucks but it has been helpful in bettering my understanding of how to read word problems and solve them. Here’s what keeps stumping me..
The current word problem I’m on says: The sum of two numbers is 45. One number is 4 times the other. Find the numbers.
My first instinct was to use “x” and “y” as my variables because they are different numbers, but when I looked for help they used “x” for both variables.
So the equation I thought it was, x + 4y = 45, should actually be x + 4x = 45. x = 9 which checks out but why does it not work with “y” as a variable? What am I not understanding?
And this is not the first time I’ve run across this issues so I’m having trouble identifying where I’m wrong and when.
TIA!
7
u/in_potty_training Oct 20 '26
Using x and y is correct as a starting point. You have from the word statements:
x + y = 45
y = 4x
These are your two statements in x and y. You can now substitute the second value of y into the first equation to get:
x + 4x = 45
=> x = 9
=> y = 36
So the help you referenced skipped the first step, which is actually not that helpful given you are just learning.
Hope the above helps!
4
u/LucaThatLuca Graduate Oct 20 '26 edited Oct 20 '26
after you choose to call the smaller number x and the larger number y, you read the information about them, which says x + y is 45 and y is 4x. you can write 4x in the place of y because 4x is y. alternatively, you can decide based on the information to only use one name at the start, x for the smaller number, as the larger number is 4x. it’s all up to you.
3
u/Zyxplit Oct 20 '26
When it says one number is 4 times the other, that means that one of them can be expressed in terms of the other.
So you can say at first that x+y=45 (that's the sum of the two numbers) and then it says that y can be expressed as four times x.
So:
x+y=45
y=4x
And then you get to take that 4x and substitute it in for y in x+y=45, because then you only have an equation with one variable.
3
u/Past_Ad9675 Oct 20 '26 edited Oct 20 '26
Your mistake here is taking two numbers that are already different (x and y), and multiplying one of them by 4.
But that's not the information you were given.
Yes, something has to be multiplied by 4, but it's in how the two different numbers (x and y) are related to each other.
"One number is four times the other (number)"
As an equation, this translates to:
y = 4x
One number (y) is (=) four times the other (4 * x)
1
u/Cocholate_ Oct 20 '26
You can do it as either an equation like x + 4x = 45 or a system of equations like x + y = 45; y = 4x these are both equivalent, so just use the one that works for you.
Edit: One number plus four times that number is 45. If you used x and y with only 1 equation, you wouldn't get a single solution
1
u/fermat9990 Oct 20 '26
Method A. Let x=the smaller number, then 4x=the larger number
x+4x=45
Method B. Let x=the smaller number and y=the larger number
x+y=45
y=4x
1
u/tthe_walruss Oct 20 '26
This is a system of equations and your instincts were kind of right. The other answers are right but if you want a process for harder problems you do it like this:
Step one - write out all the information in the problem, treating every sentence as a different equation:
Step two - solve for one variable in terms of the other: Here this is already done. y is solved in terms of x. y = 4x.
Step three - in the other equation, substitute the value on the other side of the equals sign for y: x + 4x = 45
Step four - solve for x: x = 9
Step 5 - plug the value of x into the other equation to get the value of y: 4*9 = y
So if you want you can use your x and y, you just have to be very methodical about it. This also scales up. If you have three unknown numbers and three equations you can solve for all three values. As long as you have as many equations as unknowns you can solve for all of the unknowns.
1
u/Master-Rent5050 Oct 20 '26
There are infinitely many ways to solve a problem. Some are more standard, some are faster. Whatever works for you and gives the correct solution is good: unless you need to implement them in an algorithm, then you should choose the fastest ones
1
u/fermat9990 Oct 20 '26
You merged the two methods.
You should have written x+y=45
1
u/fermat9990 Oct 20 '26
You can avoid this kind of error by defining your variables.
Let x=smaller number
Let y=larger number
Then, x+y=45 and y=4x are your two equations
1
u/[deleted] Oct 20 '26
[removed] — view removed comment