Math Help - Help with simplification

1. Help with simplification

$2t^3-2(t+h)^3$

$-6t^2h-6th^2-2h^3$

But I want to know how to get that simplification. I don't quite understand how to. Thanks.

2. Originally Posted by softwareguy

$2t^3-2(t+h)^3$

$-6t^2h-6th^2-2h^3$

But I want to know how to get that simplification. I don't quite understand how to. Thanks.
$(a+b)^3 = {a^3}+{b^3}+3{a^2}b+3a{b^2}$

so you have ,

$2{t^3} - 2 ({t^3}+{h^3}+3t{h^2}+3h{t^2})$

= $2{t^3} - 2{t^3}- 2{h^3}-6t{h^2}-6h{t^2}$

= $-2{h^3}-6t{h^2}-6h{t^2}$

= $-6t^2h-6th^2-2h^3$

3. Note that,

$(a+b)^3 = (a+b)(a+b)(a+b)= (a^2 + 2ab + b^2)(a+b) = a^3 + 3a^2b + 3ab^2 + b^3$

4. Thank you so much guys!