Is there a function in Mathematica to force an expression to be transformed into a given form. For example f[x] is a function of x with known symbolic expression, and the goal is to find constants A and B such that f[x] = A*x + B.
Is yes, is this also possible in Wolfram Alpha?
f[x]is indeed linear, then yes; otherwise, where areAandBsupposed to come from? $\endgroup$f[x] = A + B/x, so I wondered if Mathematica can determine if an expression can be written in that form. $\endgroup$Reduce[f[x] == a /x + b, {x}] // FullSimplifycould be a start. Also please update your question to ask exactly what you need. $\endgroup$