Items tagged with composition composition Tagged Items Feed

Here the potential of maple 2015 to the quantitative study of the decomposition of a vector table is shown in two dimensions. Application for the exclusive use of engineering students, which was implemented with embedded components.


Lenin Araujo Castillo

Archivo Corregido:  Decomposició

Hello All,

I have the PDE system shown below. It is a simple system for 2 unknown functions f1(x,t) and f2(x,t). Also, say we have x=x(t)=e^t for example. How does one solve such PDE system with Maple? I tried including the condition x=e^t in the PDE system itself, but got "System inconsistent" error message. x=x(t) can be looked at as an additional constraint and I am baffled how do I feed it into the PDE solver. 


Perhaps someone has experience with such systems?



f(x, g(x,y)) + f(g(x,y), y) >= f(g(x,y), g(x,y))
f(x, g(x,y)) + f(x, g(x,y)) >= f(g(x,y), y)

f(x, g(x,y)) + f(x, g(x,y)) >= g(f(x,y), y)

f(x, g(x,y))*f(x, g(x,y)) >= f(g(x,y), y)

how to create a combinations of function of another function in maple

Consider the following situation: I have a function f, say

f:=x -> 1+x^2/n;

I want to compute the composition of f with itself; e.g.


So it appears eval does evaluate the threefold composition but not at n=3. Obviously I can wrap this example in a subs() or another eval to get the replacement done; but it is a bit curious and I wonder whether this behaviour is as designed or an "undocumented feature."

I ran across this when investigating whether or how to do the composition for an arbitrary n (so I can e.g. find the limit for n=infinity) and really wanted to ask about that, but I see that such a question was dealt with before by Joe Riel using rsolve so I'll see first how far that approach gets me. In my case the function will be a polynomial vector function with vectorial arguments, providing for some additional challenge.

Mac Dude.


I would like to ask for help with factorization, collection or decomposition of matricies. If I have the symbolic product of matrices:

A := Matrix(2, 2, {(1, 1) = a[11], (1, 2) = a[12], (2, 1) = a[21], (2, 2) = a[22]})

B := Matrix(2, 2, {(1, 1) = b[11], (1, 2) = b[12], (2, 1) = b[21], (2, 2) = b[22]})

then C:= A*B :

Matrix(2, 2, {(1, 1) = a[11]*b[11]+a[12]*b[21], (1, 2) = a[11]*b[12]+a[12]*b[22], (2, 1) = a[21]*b[11]+a[22]*b[21], (2, 2) = a[21]*b[12]+a[22]*b[22]})

and my question follows:

Can I factor this result C and get the imput matrices A and B ? Is any function for this operation ? I would like to use it for matrices 3 time 3 not only for 2 times 2.

Thank you for your help,



RandomCompositions:= proc(n::posint, k::posint)
Compositions:= [seq(C-~1, C= combinat:-composition(n+k, k))],
Rand:= rand(1..nops(Compositions))
()-> Compositions[Rand()]
end proc:

R:= RandomCompositions(9,6):
n:= 2^13:
S:= 'R()' $ n:


I want to compile statistics each number in a sequence cannot  occur  over twice.

The sequences that do not fit the rule above must be ommitted.

The statistic is  Fermi-Dirac statistics.

confused the Bose-Einstein condensation and Fermi-Dirac statistics.

But the theory is right.

RandomCompositions:= proc(n::posint, k::posint)
Compositions:= [seq(C-~1, C= combinat:-composition(n+k, k))],
Rand:= rand(1..nops(Compositions))
()-> Compositions[Rand()]
end proc:

R:= RandomCompositions(9,6):
n:= 10:
S:= 'R()' $ n;

S := [4, 1, 1, 1, 2, 0], [3, 2, 1, 1, 0, 2], [0, 1, 1, 0, 0, 7], [0, 1, 1, 5, 0, 2], [1, 0, 3, 1, 3, 1],

        [1, 3, 1, 1, 0, 3], [1, 4, 2, 0, 2, 0], [5, 0, 0, 3, 1, 0], [1, 1, 1, 4, 0, 2], [0, 1, 2, 1, 0, 5]


[4, 1, 1, 1, 2, 0] , [1, 1, 1, 4, 0, 2]  and [0, 1, 1, 5, 0, 2] , [0, 1, 2, 1, 0, 5]  are same number 

  but different order.

There are two same sequence. I want to  count  as one, and compile statistics the summation, and 

divide by 8.

the result









How to do composition for finite group?

is the composition like permutation group ?

if express finite group like permutation group,

if so, can elements in first row duplicate? can the second row duplicate?

however, do not know how to map when there are more than or equal two choices

my guess is that

if finite group can be expressed into permutation group

for example 3*3 matrx, each column is a permutation group

then there will be 3 permutation groups, when do composition , first column's permutation group composite with first column's permutation group , second composite with second etc

is it right?

(A o C) o Colimit = (B o C) o Colimit

if known A, B, C and framework of Colimit

can it be said colimit?


Bonus, what are A,B,C? <- this can be not answered

i have a sense that substitution represent associative x*y and x+y

is my understanding correct?

if i change associative property to gcd and lcd,

how to do composition?

if associative is a pair of function, x+y, x*y

does it mean that non associative should also a pair


is it possible replace substitution with two operation x+y and x*y?

Good time friends,

Recently, I saw this link There we asked to find the functions f(x) ang g(x) by having both composition functions fog(x) and gof(x). I know what to do to find any of f(x) (or g(x)) if I am given fog(x) (or gof(x)) respectively, but I confess I don't know what to do with this one. Can Maple overcome this knid of problem? Thanks for your time.


if I have two partition Pi and Pi 'I want to know the decomposition of Pi' 

How can i specify the ground field C= complex numbers and calculate a primary decomposition for an ideal defined over C? For example

J:= <x^2 +1 >;

should return x+I, x-I, but instead returns x^2+1

Forgive me for not using the "Maple Math" and "Maple Plot" commands.  I tried, but it says everything that I enter is an invalid expression so I'm just entering it as text...

I define two functions, they plot as expected:


f(x) := sin(x);

g(x) := 2*x;

plot( f(x) );

plot( g(x) );


Now I want to plot the composition:


plot( f(g(x)) ); 


Doesn't work!



be a generating function with 1-p=q in (0,1). Then the repeated function composition


gives me some concrete expression. What is the simplest way to get the general expression for 3 replaced by n?   

Page 1 of 1