Mathematica: Putting an expression in terms of a specific variable

Click For Summary
SUMMARY

The discussion focuses on manipulating a complex algebraic expression in Mathematica to express it in terms of the variable ratio \(\frac{\Delta}{\gamma}\). The user attempted to use the functions Simplify, FullSimplify, and Solve without success. The key solution involves applying a replacement rule, specifically substituting \(\Delta\) with \(\gamma \Delta\) and then solving for \(\Delta\), resulting in a cubic equation in \(\Delta^2\). The attached Mma file contains the original expression for reference.

PREREQUISITES
  • Familiarity with Mathematica syntax and functions
  • Understanding of algebraic expressions and manipulation
  • Knowledge of complex numbers and their representation in Mathematica
  • Basic understanding of cubic equations and their solutions
NEXT STEPS
  • Explore Mathematica's Solve function for algebraic equations
  • Learn about replacement rules in Mathematica for variable substitution
  • Study techniques for simplifying complex expressions in Mathematica
  • Investigate cubic equations and their properties in mathematical software
USEFUL FOR

Mathematics students, researchers, and professionals using Mathematica for algebraic manipulation and expression simplification.

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:

\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)

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

And I want to solve this as a function of \frac{\Delta}{\gamma}. 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

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
0
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K