factor

Hello Sir;

I try to factor out the following equation:

eq1:=t[1]/2+t[2]/2+(1/2)*(1/alpha)*sqrt(2*alpha^2*t[1]^2+2*alpha^2*t[2]^2+alpha*x);

I want to get it like this form:

eq2:=(1/2)*(t[1]+t[2])+sqrt((1/2)*(t[1]^2+t[2]^2)+x/(4*alpha));

Is it possible to express eq1 to eq2? I do not know
how to factor each term individually.

Thanks

Comments

Beautify

AFAIK it is not possible to persuade Maple to express your eq1 in the form of eq2. Maple tends to see and do things differently from us humans, which can be very irritating at times.

J. Tarr

Factoring

Sungyg,

Try entering this at a command prompt and see what you get.

op(3, eq1)^2: expand(%): Temp := sqrt(%): eq3 := eq1-op(3, eq1)+Temp

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}