r/MathHelp • u/MedicineJourney • Jul 02 '21
Simplifying and Expanding Algebraic Brackets
Hi all, first-time poster here.
I'm having some issues with the expansion and simplification of algebraic expression when asked to do so with negative numbers. Any help as to where I'm going wrong would be greatly appreciated.
(2x + y)2 - (2x + y)
My working for this one is as follows:
(2x + y) (2x + y) - (2x+y)
= 2x2 + 2xy + 2xy + y2 -2x - 2y
Collect like terms
= 2x2 + 4xy + y2 - 2x - 2y (what I'm getting)
the solutions says it is (2x + y) (2x + y - 1) <--- Very different to what I got
2. x2 - (x + y)2
My working for it is:
= x2 + (-x - y) x (-x - y) <--- my logic here : Expanding the brackets, each component becomes negative. When you multiply two negatives, it becomes a positive. That's why in the next line, they're all positive.
= x2 + (x2 + xy + xy + y2)
= 2x4 + 2xy + y2 (what I'm getting)
the solution says : -2xy - y2 (why are there negatives in the actual answer?)
4
u/Hyrnos Jul 02 '21
when you develop (2x+y)(2x+y) it's (2x)^2 + 2*(2xy)+y^2
and (2x)^2 is 4(x^2), which should help you for the first one
also when you have -(2x+y) that's just -2x - y
6
u/PullItFromTheColimit Jul 02 '21
Also, the problem and their solution have a lot of 2x+y appearing in it. If you substitute z=2x+y, you might be able to see better what it is they are doing.
For the second problem, note that squaring a number (multiplication) goes before subtraction. That means that x2 - (x+y)2 is x2 - [(x+y)(x+y)], where I denoted square brackets as an extra pair of brackets to make the order of operations explicit. This might help.
Lastly, a good way to find out in general where you go wrong is the following: algebraic operations like this must hold true for all values of x and y that you can take. Therefore, you can just check with a particular choice if all the equalities hold. My standard choice is x=1 and y=2. Easy to compute, and the chance of it not spotting a mistake is very small.
So what do you do? For all steps, you calculate the expression with these values for x and y (or for others if you want). If between two steps, the numbers are equal, your step is most likely correct. If the numbers are different, your step definitely contains a mistake.
It does not tell you what goes wrong, but at least you know where to look.
3
u/MedicineJourney Jul 02 '21
Thank you so very much for your explanation regarding the orders of operation. That did slip my mind when doing these problems.
Also, I really liked your tip of substituting numbers into the problem to see if I've done it correctly.
1
u/AutoModerator Jul 02 '21
This is an automated reminder:
What have you tried so far? (See Rule #2; to add an image, you may upload it to an external image-sharing site like Imgur and include the link in your post.)
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.
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 Jul 02 '21 edited Jul 02 '21
Q1 is a GCF factoring problem:
Let a=2x+y
Your expression is now a2-a
The 2 terms of your expression have 'a' as a common factor, so factor it out:
a(a-1)
Now substitute 2x+y for a:
(2x+y)(2x+y-1).
1
u/PoliteCanadian2 Jul 02 '21
Number 2 is called a ‘difference of squares’. Google it to see how it factors.
1
u/fermat1432 Jul 02 '21
Q2 is a difference of 2 squares factoring problem.
Let a=x and b=x+y
a2-b2=(a-b)(a+b)=
(x-(x+y))(x+x+y)= and so on.
1
1
u/fermat1432 Jul 02 '21
What were the instructions for Q1 and Q2?
Q1 has a factored answer while Q2 has an expanded answer, although it can be factored.
0
Jul 03 '21
[deleted]
1
u/edderiofer Jul 03 '21
Your comment has been removed because giving out full solutions is not allowed. (See sidebar, rule #2 under "Rules for Answering".)
3
u/theblindgeometer Jul 02 '21 edited Jul 02 '21
For the first problem, there was no need to expand any brackets. That's because you have a like term in the form of (2x+y). Here's how I would do it:
(2x+y)2 - (2x+y) <-- given
(2x+y) is a common factor. Dividing the left term by it leaves you with (2x+y) and dividing the right leaves you with -1:
(2x+y)(2x+y-1)
Thus, the answer you were given.
As for your second problem, it was not correct to render -(x+y)2 as (-x-y)2. That's because there's only one factor of -1 being multiplied by two factors of (x+y), so you can only distribute it into one of them. What you would end up with is actually (x+y)(-x-y).
However, it's easier just to do the expansion as normal, keeping everything inside the brackets with the -1 out front. So what you'd get is -(x+y)2 = -(x2 + y2 + 2xy). If you take it from there:
x2 - (x2 + y2 + 2xy) = -y2 - 2xy, which again is the answer you've been provided with. The reason there are negatives in this answer is due to there being only one factor of -1 as mentioned previously.