I want to extract a factor from the equations, it's not a common factor, just a factor defined by myself, like this:
(ac+b) --> c(a+b/c)
I have tried Factor,FactorTerms,Eliminate, but it do not work as I expect, if the factor do not contained in the terms, it could not be extracted, like:
b=c*(b/c)
I turn to MATHEMATICA for its ability on symbolic calculations, I want to replace pen and paper with the computer program, for convenient and accuracy. Sometimes I need to rearrange the equations to extract some factors or apply some math skills, but the MATHEMATICA always automatically simplify my expression.
This is my equation:
-((b La r \[Omega] - b k La^2 \[Omega]^2)/(
g h k w + g h k^3 La^2 w)) == 1
I want to extract (\[Omega]^2*b)/(k^2*g*h*w) and put this part on one side and the other parts on the other side, like this:
(\[Omega]^2*b)/(k^2*g*h*w) == the other part
I have tried:
eq11=-((b La r \[Omega] - b k La^2 \[Omega]^2)/(
g h k w + g h k^3 La^2 w)) == 1
eq12 = Times[(\[Omega]^2*b)/(k^2*g*h*w),
Divide[eq11[[1]], (\[Omega]^2*b)/(k^2*g*h*w)]]
and
factorOut[fac_][expr_] :=
Replace[expr, p_Plus :> fac Simplify[p/fac], All]
factorOut[(\[Omega]^2*b)/(k^2*g*h*w)][eq11]
I would appreciate it if who can fix my problem


