Mathematica: Putting an expression in terms of a specific variable

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 6K views
camron_m21
Messages
8
Reaction score
1
My problem is this: I have an algebraic expression, and I want to express it in terms of one variable divided by another. It's a fairly large expression, and I'd like to do it in mathematica before attempting it by hand. I've tried Simplify, FullSimplify and Solve, but none of these have done the trick. Here is the expression:

[tex]\alpha = \frac{L}{(1+I_2)} \left(1 - \frac{I_2 \epsilon \gamma_a}{2 \gamma} \frac{((\gamma_a \gamma'' - \Delta^2)(2 \gamma^2 + \Delta^2) - \Delta^2 (\gamma_a + \gamma) \gamma))}{((\gamma_a \gamma'' - \Delta^2)^2 + \Delta^2 (\gamma_a + \gamma)^2}\right)[/tex]

Where [tex]L = \frac{\gamma^2}{\gamma^2 + \Delta^2} , \gamma_a = q \gamma[/tex] , and [tex]\gamma'' = \gamma (1 + I_2)[/tex].

And I want to solve this as a function of [tex]\frac{\Delta}{\gamma}[/tex]. Does anyone know how to do this in Mathematica?
 
Physics news on Phys.org
Essentially you just need to use the replacement rule
\[CapitalDelta] -> \[Gamma] \[Delta]
then solve for \[Delta].

Provided I typed in your equation properly (not all of the parentheses matched up), the result is a messy cubic in \[Delta]^2.

See the attached Mma file.
 

Attachments