MAMEWorld >> The Loony Bin
View all threads Index   Flat Mode Flat  

Olivier Galibert
Semi-Lurker
Reged: 09/21/03
Posts: 398
Send PM
Re: Algebra help!
03/20/13 03:05 PM


> Multiply [3 + (2a + b)]˛
>
> Exactly what is says in the book. Even shows how to do it... but I don't understand
> it!

It's easy once you understand where the (a+b)^2=a^2+2ab+b^2 property is coming from.

First you have a layer of right/left distributivity:
(a+b)^2 = (a+b)(a+b) = a.(a+b) + b.(a+b) = aa + ab + ba + bb
(a+b+c)^2 = (a+b+c)(a+b+c) = a(a+b+c) + b(a+b+c) + c(a+b+c) = aa+ab+ac+ba+bb+bc+ca+cb+cc

What you get there is one term for every possible pair of letters, getting 4 of them for 2 initial terms, 9 for three, 16 for four, etc.

Now with the commutativity of multiplication and addition you can fold them together:
- for one letter, you get the pair with two times that letter once
- for two letters you get the pair twice, one in one order and the second the other way around (e.g. ab and ba)

So it generalizes as (a+b+...) = (sum of every term squared) + (sum of 2*every pair of terms in alphabetical order)

In the 3-term case that ends up (a+b+c)^2 = a^2+b^2+c^2+2ab+2ac+2bc

So (2a+b+3)^2 = 4a^2+b^2+9+4ab+12a+6b

Of course, that's not the way they want you to do it. They want you to take the (a+b)^2=a^2+2ab+b^2 as an article of faith, and use a extremely useful method called variable change to reuse it.

What is variable change, you ask? It just means that letters in an equation are just placeholders for whatever you want to put in them (hece the name variable, what they represent can vary). For clarity let's rewrite the equation as (X+Y)^2=X^2+2XY+Y^2.

You want to compute (3+(2a+b))^2, so you can say (and they didn't put the inner parenthesis there per chance):
X = 3
Y = 2a+b

The (3+(2a+b))^2 = (X+Y)^2, which you immediatly turn into X^2 + 2XY + X^2.
You can now substitute X and Y with the values you decided for them, giving:
(3+(2a+b))^2 = 3^2 + 2.3.(2a+b) + (2a+b)^2

Of course you're not going to stop it, so you can simplify and distribute once:
(3+(2a+b))^2 = 9 + 12a + 6b + (2a+b)^2

and the last term is yet another case of applying the property with X=2a and Y=b, giving
(3+(2a+b))^2 = 9 + 12a + 6b + (2a)^2 + 2.2a.b + b^2
(3+(2a+b))^2 = 9 + 12a + 6b + 4a^2 + 4ab + b^2

Which, oh wonder, is the same than the previous result.

OG.







Entire thread
Subject Posted by Posted on
* Algebra help! URherenow 03/20/13 12:15 PM
. * Re: Algebra help! lharms  03/21/13 08:19 PM
. * Heh... I don't know any of that stuff. Dullaron  03/20/13 05:50 PM
. * Re: Algebra help! Olivier Galibert  03/20/13 03:05 PM
. * Re: Algebra help! Hizzout  03/20/13 04:02 PM
. * Re: Algebra help! DrLarryE  03/20/13 12:28 PM
. * nope URherenow  03/20/13 01:44 PM
. * Re: nope Vas Crabb  03/21/13 01:41 AM
. * Re: nope URherenow  03/21/13 05:34 AM
. * Re: nope Vas Crabb  03/21/13 08:12 AM
. * Re: nope URherenow  03/21/13 05:05 PM
. * Re: Algebra help! SmitdoggAdministrator  03/20/13 01:44 PM
. * What the book says (and I still don't understand at all) URherenow  03/20/13 01:51 PM
. * Re: What the book says (and I still don't understand at all) SmitdoggAdministrator  03/20/13 02:37 PM
. * Re: What the book says (and I still don't understand at all) amused  03/20/13 05:28 PM
. * Re: What the book says (and I still don't understand at all) krick  03/21/13 05:25 AM
. * Re: What the book says (and I still don't understand at all) SmitdoggAdministrator  03/20/13 02:01 PM
. * Re: What the book says (and I still don't understand at all) URherenow  03/20/13 11:54 PM
. * Re: What the book says (and I still don't understand at all) Olivier Galibert  03/21/13 11:46 AM

Extra information Permissions
Moderator:  GatKong 
2 registered and 380 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2227