Message Boards Message Boards

GROUPS:

Distribution of an expression

Posted 8 years ago
5189 Views
|
5 Replies
|
0 Total Likes
|

Hi, i would like to know which function can i use in Mathematica to have a distribution of an expression? for example:

(A^2+m^2 )*?^2*(A+B)

becomes

A^3*?^2+A*m^2*?^2+A^2*B*?^2+B*m^2*?^2

I don't want to have any brackets (in an other meaning, a command that give the opposite of "simplify" command) thanks.

POSTED BY: djouaher zo
5 Replies
Posted 8 years ago

I have this fonction? f1=Sin[b??(-m^2/a^2 +(m?(k_? ))/ab)] I want to distribute "b ? " into the square to obtain: f1=Sin?(-b^2?^2m^2/a^2 +b^2?^2(m?(k_? ))/ab) After I suppose??=a/b I will have:f1=Sin?(-?^2m^2/?^2 +?^2(m?(k_? ))/?)

My question is : is there a command in mathematica that can give me this result?

POSTED BY: djouaher zo
In[14]:= Expand[Cos[(x + y)^2]]

Out[14]= Cos[(x + y)^2]

In[15]:= Map[Expand, Cos[(x + y)^2], 1]

Out[15]= Cos[x^2 + 2 x y + y^2]
POSTED BY: Frank Kampas
Posted 8 years ago

thanks

POSTED BY: djouaher zo

Expand

POSTED BY: Frank Kampas
Posted 8 years ago

when I have an expression with cosinus or sinus [ex. b²(1/b²t+cos(b²(s/t²+k/t²))] the "expand" command does not expand terms in brackets after cosinus. How can I do to expand this part?

POSTED BY: djouaher zo
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract