cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Simplifying function taking some variables off.

ricasc
4-Participant

Simplifying function taking some variables off.

Hi,

 

I'm trying to rewrite function "f"  in the first line of the picture below in terms of only "x2" and "x3":

 

Find f(x2,x3)Find f(x2,x3)

Any ideas ? Is it possible ? Thanks in advance.

 

Att,

 

Ricardo S.

1 ACCEPTED SOLUTION

Accepted Solutions

As it seems that you tried to use a solve block with "find", here is another approach

Pic.png

View solution in original post

3 REPLIES 3
LucMeekes
23-Emerald III
(To:ricasc)

OK:

x1(x2,x3):=x2+x3

f(x2,x3):=x1(x2,x3)+x2+x3

 

Would essentially become: f(x2,x3):=2*x2+2*x3

Then if (also): x2=x1+5*x3, it would mean that x2=x2+x3+5*x3, so 0=6*x3 and x3=0 and finally this means that

f is not a function of x3.

 

Does not make sense.

What exactly do you want?

Success!
Luc

Werner_E
24-Ruby V
(To:ricasc)

If both condition have to be considered, as Liuc said, this would mean that x3=0 and x1=x2 and f(x2)=2*x2.

Even with other conditions - if you apply two independend conditions, f would only be dependent on one variable, not on two.

Here are two ways to do it with one condition - not sure if thats waht you are looking for:

Pic.png

 

 

 

 

 

 

As it seems that you tried to use a solve block with "find", here is another approach

Pic.png

Top Tags