I could not break this equation. Please help meplease help me fit my equation into my margins!List of equations, including equation contents and captionPlease how can I write this equation in latex?help in writing equationequation reference too close to equationLaTex error please helpHow continue a equation next lineI need help to write this equationequation custom horizontal alignment & numbering each rowCan anyone please help me to solve this? No equation number is appearing for this code
Is there a rule that prohibits us from using 2 possessives in a row?
chmod would set file permission to 000 no matter what permission i try to set
Are there regional foods in Westeros?
Uncommanded roll at high speed
Why to use water tanks from Space shuttle in museum?
Team member doesn't give me the minimum time to complete a talk
How should I push back against my job assigning "homework"?
How to prevent bad sectors?
What does the behaviour of water on the skin of an aircraft in flight tell us?
How do I subvert the tropes of a train heist?
Can't connect to Internet in bash using Mac OS
Is it possible to kill all life on Earth?
Strange math syntax in old basic listing
Could IPv6 make NAT / port numbers redundant?
What are the slash markings on Gatwick's 08R/26L?
Can non-English-speaking characters use wordplay specific to English?
Smart people send dumb people to a new planet on a space craft that crashes into a body of water
Where can I find the list of all tendons in the human body?
What is the indigenous Russian word for a wild boar?
If a problem only occurs randomly once in every N times on average, how many tests do I have to perform to be certain that it's now fixed?
Can a non-EU citizen travel within the Schengen area without identity documents?
Expenditure in Poland - Forex doesn't have Zloty
What is the intuition behind uniform continuity?
How was Apollo supposed to rendezvous in the case of a lunar abort?
I could not break this equation. Please help me
please help me fit my equation into my margins!List of equations, including equation contents and captionPlease how can I write this equation in latex?help in writing equationequation reference too close to equationLaTex error please helpHow continue a equation next lineI need help to write this equationequation custom horizontal alignment & numbering each rowCan anyone please help me to solve this? No equation number is appearing for this code
f_2=fracsqrtfracs-4 textmpsi^2s-4 textme^2 left(16 textca textcw textEE^2 g
textgpsi s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^8-64
textca textcw textEE^2 g textgpsi textme^2 s sqrts left(-4 textme^2+4
textmpsi^2+sright) cos (theta ) textmZ^8+8 textca textcw textEE^2 g textgpsi s^4
cos (theta ) textmZ^6-32 textca textcw textEE^2 g textgpsi textme^2 s^3 cos
(theta ) textmZ^6+16 textca textcw textEE^2 g textgpsi s^2 sqrts left(-4
textme^2+4 textmpsi^2+sright) Gamma ^2 cos (theta ) textmZ^6-64 textca textcw
textEE^2 g textgpsi textme^2 s sqrts left(-4 textme^2+4 textmpsi^2+sright) Gamma
^2 cos (theta ) textmZ^6-40 textca textcw textEE^2 g textgpsi s^3 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^6+160 textca textcw textEE^2 g
textgpsi textme^2 s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^6-16 textca textcw textEE^2 g textgpsi s^5 cos (theta ) textmZ^4+64
textca textcw textEE^2 g textgpsi textme^2 s^4 cos (theta ) textmZ^4+8 textca
textcw textEE^2 g textgpsi s^4 Gamma ^2 cos (theta ) textmZ^4-32 textca textcw
textEE^2 g textgpsi textme^2 s^3 Gamma ^2 cos (theta ) textmZ^4-8 textca textcw
textEE^2 g textgpsi s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright) Gamma ^2 cos
(theta ) textmZ^4+32 textca textcw textEE^2 g textgpsi textme^2 s^2 sqrts left(-4
textme^2+4 textmpsi^2+sright) Gamma ^2 cos (theta ) textmZ^4+32 textca textcw
textEE^2 g textgpsi s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^4-128 textca textcw textEE^2 g textgpsi textme^2 s^3 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^4-8 a textca textcv g^2
textgpsi^2 s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright) sqrttextmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^4+32 a textca textcv g^2 textgpsi^2
textme^2 s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) sqrttextmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^4+8 textca textcw textEE^2 g
textgpsi s^6 cos (theta ) textmZ^2-32 textca textcw textEE^2 g textgpsi textme^2
s^5 cos (theta ) textmZ^2-8 textca textcw textEE^2 g textgpsi s^5 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^2+32 textca textcw textEE^2 g
textgpsi textme^2 s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^2-8 a textca textcv g^2 textgpsi^2 s^5 sqrttextmZ^4+left(Gamma ^2-2 sright)
textmZ^2+s^2 cos (theta ) textmZ^2+32 a textca textcv g^2 textgpsi^2 textme^2 s^4
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2+8 a textca
textcv g^2 textgpsi^2 s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright)
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2-32 a textca
textcv g^2 textgpsi^2 textme^2 s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright)
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2right) theta
left(s-4 textmpsi^2right)256 textcw^2 textmZ^4 pi ^2 s^3 left(textmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2right)^3/2
equations
add a comment |
f_2=fracsqrtfracs-4 textmpsi^2s-4 textme^2 left(16 textca textcw textEE^2 g
textgpsi s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^8-64
textca textcw textEE^2 g textgpsi textme^2 s sqrts left(-4 textme^2+4
textmpsi^2+sright) cos (theta ) textmZ^8+8 textca textcw textEE^2 g textgpsi s^4
cos (theta ) textmZ^6-32 textca textcw textEE^2 g textgpsi textme^2 s^3 cos
(theta ) textmZ^6+16 textca textcw textEE^2 g textgpsi s^2 sqrts left(-4
textme^2+4 textmpsi^2+sright) Gamma ^2 cos (theta ) textmZ^6-64 textca textcw
textEE^2 g textgpsi textme^2 s sqrts left(-4 textme^2+4 textmpsi^2+sright) Gamma
^2 cos (theta ) textmZ^6-40 textca textcw textEE^2 g textgpsi s^3 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^6+160 textca textcw textEE^2 g
textgpsi textme^2 s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^6-16 textca textcw textEE^2 g textgpsi s^5 cos (theta ) textmZ^4+64
textca textcw textEE^2 g textgpsi textme^2 s^4 cos (theta ) textmZ^4+8 textca
textcw textEE^2 g textgpsi s^4 Gamma ^2 cos (theta ) textmZ^4-32 textca textcw
textEE^2 g textgpsi textme^2 s^3 Gamma ^2 cos (theta ) textmZ^4-8 textca textcw
textEE^2 g textgpsi s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright) Gamma ^2 cos
(theta ) textmZ^4+32 textca textcw textEE^2 g textgpsi textme^2 s^2 sqrts left(-4
textme^2+4 textmpsi^2+sright) Gamma ^2 cos (theta ) textmZ^4+32 textca textcw
textEE^2 g textgpsi s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^4-128 textca textcw textEE^2 g textgpsi textme^2 s^3 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^4-8 a textca textcv g^2
textgpsi^2 s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright) sqrttextmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^4+32 a textca textcv g^2 textgpsi^2
textme^2 s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) sqrttextmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^4+8 textca textcw textEE^2 g
textgpsi s^6 cos (theta ) textmZ^2-32 textca textcw textEE^2 g textgpsi textme^2
s^5 cos (theta ) textmZ^2-8 textca textcw textEE^2 g textgpsi s^5 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^2+32 textca textcw textEE^2 g
textgpsi textme^2 s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^2-8 a textca textcv g^2 textgpsi^2 s^5 sqrttextmZ^4+left(Gamma ^2-2 sright)
textmZ^2+s^2 cos (theta ) textmZ^2+32 a textca textcv g^2 textgpsi^2 textme^2 s^4
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2+8 a textca
textcv g^2 textgpsi^2 s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright)
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2-32 a textca
textcv g^2 textgpsi^2 textme^2 s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright)
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2right) theta
left(s-4 textmpsi^2right)256 textcw^2 textmZ^4 pi ^2 s^3 left(textmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2right)^3/2
equations
6
Let me guess: This was generated by some computer algebra system, Maple perhaps?
– Harald Hanche-Olsen
Apr 13 at 20:13
4
I don't think breaking the equation into separate lines will help with the readability. It's a mess. Go back to maple and try to find a better output. Or start by finding where the fraction switches, and print the numerator and denominator separately.
– Teepeemm
Apr 13 at 20:34
add a comment |
f_2=fracsqrtfracs-4 textmpsi^2s-4 textme^2 left(16 textca textcw textEE^2 g
textgpsi s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^8-64
textca textcw textEE^2 g textgpsi textme^2 s sqrts left(-4 textme^2+4
textmpsi^2+sright) cos (theta ) textmZ^8+8 textca textcw textEE^2 g textgpsi s^4
cos (theta ) textmZ^6-32 textca textcw textEE^2 g textgpsi textme^2 s^3 cos
(theta ) textmZ^6+16 textca textcw textEE^2 g textgpsi s^2 sqrts left(-4
textme^2+4 textmpsi^2+sright) Gamma ^2 cos (theta ) textmZ^6-64 textca textcw
textEE^2 g textgpsi textme^2 s sqrts left(-4 textme^2+4 textmpsi^2+sright) Gamma
^2 cos (theta ) textmZ^6-40 textca textcw textEE^2 g textgpsi s^3 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^6+160 textca textcw textEE^2 g
textgpsi textme^2 s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^6-16 textca textcw textEE^2 g textgpsi s^5 cos (theta ) textmZ^4+64
textca textcw textEE^2 g textgpsi textme^2 s^4 cos (theta ) textmZ^4+8 textca
textcw textEE^2 g textgpsi s^4 Gamma ^2 cos (theta ) textmZ^4-32 textca textcw
textEE^2 g textgpsi textme^2 s^3 Gamma ^2 cos (theta ) textmZ^4-8 textca textcw
textEE^2 g textgpsi s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright) Gamma ^2 cos
(theta ) textmZ^4+32 textca textcw textEE^2 g textgpsi textme^2 s^2 sqrts left(-4
textme^2+4 textmpsi^2+sright) Gamma ^2 cos (theta ) textmZ^4+32 textca textcw
textEE^2 g textgpsi s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^4-128 textca textcw textEE^2 g textgpsi textme^2 s^3 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^4-8 a textca textcv g^2
textgpsi^2 s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright) sqrttextmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^4+32 a textca textcv g^2 textgpsi^2
textme^2 s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) sqrttextmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^4+8 textca textcw textEE^2 g
textgpsi s^6 cos (theta ) textmZ^2-32 textca textcw textEE^2 g textgpsi textme^2
s^5 cos (theta ) textmZ^2-8 textca textcw textEE^2 g textgpsi s^5 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^2+32 textca textcw textEE^2 g
textgpsi textme^2 s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^2-8 a textca textcv g^2 textgpsi^2 s^5 sqrttextmZ^4+left(Gamma ^2-2 sright)
textmZ^2+s^2 cos (theta ) textmZ^2+32 a textca textcv g^2 textgpsi^2 textme^2 s^4
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2+8 a textca
textcv g^2 textgpsi^2 s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright)
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2-32 a textca
textcv g^2 textgpsi^2 textme^2 s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright)
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2right) theta
left(s-4 textmpsi^2right)256 textcw^2 textmZ^4 pi ^2 s^3 left(textmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2right)^3/2
equations
f_2=fracsqrtfracs-4 textmpsi^2s-4 textme^2 left(16 textca textcw textEE^2 g
textgpsi s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^8-64
textca textcw textEE^2 g textgpsi textme^2 s sqrts left(-4 textme^2+4
textmpsi^2+sright) cos (theta ) textmZ^8+8 textca textcw textEE^2 g textgpsi s^4
cos (theta ) textmZ^6-32 textca textcw textEE^2 g textgpsi textme^2 s^3 cos
(theta ) textmZ^6+16 textca textcw textEE^2 g textgpsi s^2 sqrts left(-4
textme^2+4 textmpsi^2+sright) Gamma ^2 cos (theta ) textmZ^6-64 textca textcw
textEE^2 g textgpsi textme^2 s sqrts left(-4 textme^2+4 textmpsi^2+sright) Gamma
^2 cos (theta ) textmZ^6-40 textca textcw textEE^2 g textgpsi s^3 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^6+160 textca textcw textEE^2 g
textgpsi textme^2 s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^6-16 textca textcw textEE^2 g textgpsi s^5 cos (theta ) textmZ^4+64
textca textcw textEE^2 g textgpsi textme^2 s^4 cos (theta ) textmZ^4+8 textca
textcw textEE^2 g textgpsi s^4 Gamma ^2 cos (theta ) textmZ^4-32 textca textcw
textEE^2 g textgpsi textme^2 s^3 Gamma ^2 cos (theta ) textmZ^4-8 textca textcw
textEE^2 g textgpsi s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright) Gamma ^2 cos
(theta ) textmZ^4+32 textca textcw textEE^2 g textgpsi textme^2 s^2 sqrts left(-4
textme^2+4 textmpsi^2+sright) Gamma ^2 cos (theta ) textmZ^4+32 textca textcw
textEE^2 g textgpsi s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^4-128 textca textcw textEE^2 g textgpsi textme^2 s^3 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^4-8 a textca textcv g^2
textgpsi^2 s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright) sqrttextmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^4+32 a textca textcv g^2 textgpsi^2
textme^2 s^2 sqrts left(-4 textme^2+4 textmpsi^2+sright) sqrttextmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^4+8 textca textcw textEE^2 g
textgpsi s^6 cos (theta ) textmZ^2-32 textca textcw textEE^2 g textgpsi textme^2
s^5 cos (theta ) textmZ^2-8 textca textcw textEE^2 g textgpsi s^5 sqrts left(-4
textme^2+4 textmpsi^2+sright) cos (theta ) textmZ^2+32 textca textcw textEE^2 g
textgpsi textme^2 s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright) cos (theta )
textmZ^2-8 a textca textcv g^2 textgpsi^2 s^5 sqrttextmZ^4+left(Gamma ^2-2 sright)
textmZ^2+s^2 cos (theta ) textmZ^2+32 a textca textcv g^2 textgpsi^2 textme^2 s^4
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2+8 a textca
textcv g^2 textgpsi^2 s^4 sqrts left(-4 textme^2+4 textmpsi^2+sright)
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2-32 a textca
textcv g^2 textgpsi^2 textme^2 s^3 sqrts left(-4 textme^2+4 textmpsi^2+sright)
sqrttextmZ^4+left(Gamma ^2-2 sright) textmZ^2+s^2 cos (theta ) textmZ^2right) theta
left(s-4 textmpsi^2right)256 textcw^2 textmZ^4 pi ^2 s^3 left(textmZ^4+left(Gamma
^2-2 sright) textmZ^2+s^2right)^3/2
equations
equations
edited Apr 13 at 19:56
Phelype Oleinik
28.5k64894
28.5k64894
asked Apr 13 at 19:56
Sahabub JahediSahabub Jahedi
161
161
6
Let me guess: This was generated by some computer algebra system, Maple perhaps?
– Harald Hanche-Olsen
Apr 13 at 20:13
4
I don't think breaking the equation into separate lines will help with the readability. It's a mess. Go back to maple and try to find a better output. Or start by finding where the fraction switches, and print the numerator and denominator separately.
– Teepeemm
Apr 13 at 20:34
add a comment |
6
Let me guess: This was generated by some computer algebra system, Maple perhaps?
– Harald Hanche-Olsen
Apr 13 at 20:13
4
I don't think breaking the equation into separate lines will help with the readability. It's a mess. Go back to maple and try to find a better output. Or start by finding where the fraction switches, and print the numerator and denominator separately.
– Teepeemm
Apr 13 at 20:34
6
6
Let me guess: This was generated by some computer algebra system, Maple perhaps?
– Harald Hanche-Olsen
Apr 13 at 20:13
Let me guess: This was generated by some computer algebra system, Maple perhaps?
– Harald Hanche-Olsen
Apr 13 at 20:13
4
4
I don't think breaking the equation into separate lines will help with the readability. It's a mess. Go back to maple and try to find a better output. Or start by finding where the fraction switches, and print the numerator and denominator separately.
– Teepeemm
Apr 13 at 20:34
I don't think breaking the equation into separate lines will help with the readability. It's a mess. Go back to maple and try to find a better output. Or start by finding where the fraction switches, and print the numerator and denominator separately.
– Teepeemm
Apr 13 at 20:34
add a comment |
2 Answers
2
active
oldest
votes
First, the source needs to be broken up inserting line breaks at suitable places so you can get some idea of the total structure of the formula. An editor that will show you matching parentheses and highlight text according to chosen patterns is a great help here.
It turns out that the formula is a fraction in which most of the text is a parenthesised expression in the denumerator. That needs to be taken out, named, and typeset explicitly. I chose to call this expression Ξ.
Also, there are lots of unnecessary left
… right
pairs. I deleted those. Further, I replaced text
by the more appropriate mathrm
. I ended up with the following code. It's a complete, compilable latex document. It still has multiple issues that need to be dealt with before you have a readable output. Most importantly, all the multicharacter variable names need some spacing around them. Use ,
for that.
documentclassarticle
usepackagemathtools,amsfonts
allowdisplaybreaks[1]
begindocument
beginequation
f_2=frac
sqrtfracs-4 mathrmmpsi^2s-4 mathrmme^2
Xi theta (s-4 mathrmmpsi^2)
256 mathrmcw^2 mathrmmZ^4 pi ^2 s^3
(mathrmmZ^4
+(Gamma ^2-2 s) mathrmmZ^2+s^2)^3/2
endequation
where
beginalign*
Xi&=16 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^8
\&
-64 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s
sqrts (-4 mathrmme^2 +4 mathrmmpsi^2+s) cos (theta ) mathrmmZ^8
+8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^4
cos (theta ) mathrmmZ^6
\&
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s^3 cos
(theta ) mathrmmZ^6
\&
+16 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^6
\&
-64 mathrmca mathrmcw
mathrmEE^2 g mathrmgpsi mathrmme^2 s
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^6
\&
-40 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^6
\&
+160 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s) cos (theta )
mathrmmZ^6
\&
-16 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi s^5 cos (theta ) mathrmmZ^4
\&
+64 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s^4
cos (theta ) mathrmmZ^4
\&
+8 mathrmca
mathrmcw mathrmEE^2 g mathrmgpsi s^4 Gamma ^2 cos (theta ) mathrmmZ^4
\&
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2
s^3 Gamma ^2 cos (theta ) mathrmmZ^4
\&
-8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^4
\&
+32 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^4
\&
+32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^4
\&
-128 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi mathrmme^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^4
\&
-8 a mathrmca mathrmcv g^2 mathrmgpsi^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^4
\&
+32 a mathrmca mathrmcv g^2 mathrmgpsi^2
mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^4
\&
+8 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi s^6 cos (theta ) mathrmmZ^2
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2
s^5 cos (theta ) mathrmmZ^2
\&
-8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^5
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^2
\&
+32 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi mathrmme^2 s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s) cos (theta )
mathrmmZ^2
\&
-8 a mathrmca mathrmcv g^2 mathrmgpsi^2 s^5
sqrtmathrmmZ^4+(Gamma ^2-2 s)
mathrmmZ^2+s^2 cos (theta ) mathrmmZ^2
\&
+32 a mathrmca mathrmcv g^2 mathrmgpsi^2 mathrmme^2 s^4
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
\&
+8 a mathrmca
mathrmcv g^2 mathrmgpsi^2 s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
\&
-32 a mathrmca
mathrmcv g^2 mathrmgpsi^2 mathrmme^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
endalign*
enddocument
add a comment |
There are a lot of repeated items in your equation. I suggest you do something like the following, which (a) eliminates all left
and right
sizing directives (this is necessary because left
and right
disallow line breaks) and expresses f_2
as the product and ratio of less-complex items. The repeated items are treated as new variables named psi
, phi
, kappa
, and lambda
; you're obviously free to come up with more descriptive variable names.
documentclassarticle
usepackagemathtools
newcommandvn[1]mathrm,#1
begindocument
noindent
Put
$psi=sqrtsmash[b]s (-4 vnme^2+4 vnmpsi^2+s)$,
$phi=sqrtsmash[b]vnmZ^4 +(Gamma^2-2 s) vnmZ^2+s^2$,
$kappa= vnca vncw vnEE^2, g vngpsicostheta$, and
$lambda=vnca vncv, g^2 vngpsi^2costheta$.
Then
beginalign*
f_2 &=ucdot vcdot theta(s-4 vnmpsi^2)/w, \
shortintertextwhere
u &= biggl(fracs-4 vnmpsi^2s-4 vnme^2biggr)^!1/2 \
v &=beginaligned[t]
&16 kappa s^2 psi vnmZ^8
-64 kappa vnme^2 s psi vnmZ^8
\&+8 kappa s^4 vnmZ^6
-32 kappa vnme^2 s^3 vnmZ^6
\&+16 kappa s^2 psi Gamma^2 vnmZ^6
-64 kappa vnme^2 s psi Gamma^2 vnmZ^6
\&-40 kappa s^3 psi vnmZ^6
+160kappa vnme^2 s^2 psi vnmZ^6
\&-16 kappa s^5 vnmZ^4
+64 kappa vnme^2 s^4 vnmZ^4
\&+8 kappa s^4 Gamma^2 vnmZ^4
-32 kappa vnme^2 s^3 Gamma^2 vnmZ^4
\&-8 kappa s^3 psi Gamma^2 vnmZ^4
+32 kappa vnme^2 s^2 psi Gamma^2 vnmZ^4
\&+32 kappa s^4 psi vnmZ^4
-128kappa vnme^2 s^3 psi vnmZ^4
\&+8 kappa s^6 vnmZ^2
-32 kappa vnme^2 s^5 vnmZ^2
\&-8 kappa s^5 psi vnmZ^2
+32 kappa vnme^2 s^4 psi vnmZ^2
\&-8 alambda s^3 psi phi vnmZ^4
+32alambda vnme^2 s^2 psi phi vnmZ^4
\&-8 alambda s^5 phi vnmZ^2
+32alambda vnme^2 s^4 psi vnmZ^2
\&+8 alambda s^4 psi phi vnmZ^2
-32alambda vnme^2 s^3 psi phi vnmZ^2
endaligned\
shortintertextand
w &=256 vncw^2 vnmZ^4 pi^2 s^3 phi^3/cos^3theta
endalign*
enddocument
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484702%2fi-could-not-break-this-equation-please-help-me%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
First, the source needs to be broken up inserting line breaks at suitable places so you can get some idea of the total structure of the formula. An editor that will show you matching parentheses and highlight text according to chosen patterns is a great help here.
It turns out that the formula is a fraction in which most of the text is a parenthesised expression in the denumerator. That needs to be taken out, named, and typeset explicitly. I chose to call this expression Ξ.
Also, there are lots of unnecessary left
… right
pairs. I deleted those. Further, I replaced text
by the more appropriate mathrm
. I ended up with the following code. It's a complete, compilable latex document. It still has multiple issues that need to be dealt with before you have a readable output. Most importantly, all the multicharacter variable names need some spacing around them. Use ,
for that.
documentclassarticle
usepackagemathtools,amsfonts
allowdisplaybreaks[1]
begindocument
beginequation
f_2=frac
sqrtfracs-4 mathrmmpsi^2s-4 mathrmme^2
Xi theta (s-4 mathrmmpsi^2)
256 mathrmcw^2 mathrmmZ^4 pi ^2 s^3
(mathrmmZ^4
+(Gamma ^2-2 s) mathrmmZ^2+s^2)^3/2
endequation
where
beginalign*
Xi&=16 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^8
\&
-64 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s
sqrts (-4 mathrmme^2 +4 mathrmmpsi^2+s) cos (theta ) mathrmmZ^8
+8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^4
cos (theta ) mathrmmZ^6
\&
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s^3 cos
(theta ) mathrmmZ^6
\&
+16 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^6
\&
-64 mathrmca mathrmcw
mathrmEE^2 g mathrmgpsi mathrmme^2 s
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^6
\&
-40 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^6
\&
+160 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s) cos (theta )
mathrmmZ^6
\&
-16 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi s^5 cos (theta ) mathrmmZ^4
\&
+64 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s^4
cos (theta ) mathrmmZ^4
\&
+8 mathrmca
mathrmcw mathrmEE^2 g mathrmgpsi s^4 Gamma ^2 cos (theta ) mathrmmZ^4
\&
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2
s^3 Gamma ^2 cos (theta ) mathrmmZ^4
\&
-8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^4
\&
+32 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^4
\&
+32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^4
\&
-128 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi mathrmme^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^4
\&
-8 a mathrmca mathrmcv g^2 mathrmgpsi^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^4
\&
+32 a mathrmca mathrmcv g^2 mathrmgpsi^2
mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^4
\&
+8 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi s^6 cos (theta ) mathrmmZ^2
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2
s^5 cos (theta ) mathrmmZ^2
\&
-8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^5
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^2
\&
+32 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi mathrmme^2 s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s) cos (theta )
mathrmmZ^2
\&
-8 a mathrmca mathrmcv g^2 mathrmgpsi^2 s^5
sqrtmathrmmZ^4+(Gamma ^2-2 s)
mathrmmZ^2+s^2 cos (theta ) mathrmmZ^2
\&
+32 a mathrmca mathrmcv g^2 mathrmgpsi^2 mathrmme^2 s^4
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
\&
+8 a mathrmca
mathrmcv g^2 mathrmgpsi^2 s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
\&
-32 a mathrmca
mathrmcv g^2 mathrmgpsi^2 mathrmme^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
endalign*
enddocument
add a comment |
First, the source needs to be broken up inserting line breaks at suitable places so you can get some idea of the total structure of the formula. An editor that will show you matching parentheses and highlight text according to chosen patterns is a great help here.
It turns out that the formula is a fraction in which most of the text is a parenthesised expression in the denumerator. That needs to be taken out, named, and typeset explicitly. I chose to call this expression Ξ.
Also, there are lots of unnecessary left
… right
pairs. I deleted those. Further, I replaced text
by the more appropriate mathrm
. I ended up with the following code. It's a complete, compilable latex document. It still has multiple issues that need to be dealt with before you have a readable output. Most importantly, all the multicharacter variable names need some spacing around them. Use ,
for that.
documentclassarticle
usepackagemathtools,amsfonts
allowdisplaybreaks[1]
begindocument
beginequation
f_2=frac
sqrtfracs-4 mathrmmpsi^2s-4 mathrmme^2
Xi theta (s-4 mathrmmpsi^2)
256 mathrmcw^2 mathrmmZ^4 pi ^2 s^3
(mathrmmZ^4
+(Gamma ^2-2 s) mathrmmZ^2+s^2)^3/2
endequation
where
beginalign*
Xi&=16 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^8
\&
-64 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s
sqrts (-4 mathrmme^2 +4 mathrmmpsi^2+s) cos (theta ) mathrmmZ^8
+8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^4
cos (theta ) mathrmmZ^6
\&
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s^3 cos
(theta ) mathrmmZ^6
\&
+16 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^6
\&
-64 mathrmca mathrmcw
mathrmEE^2 g mathrmgpsi mathrmme^2 s
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^6
\&
-40 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^6
\&
+160 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s) cos (theta )
mathrmmZ^6
\&
-16 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi s^5 cos (theta ) mathrmmZ^4
\&
+64 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s^4
cos (theta ) mathrmmZ^4
\&
+8 mathrmca
mathrmcw mathrmEE^2 g mathrmgpsi s^4 Gamma ^2 cos (theta ) mathrmmZ^4
\&
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2
s^3 Gamma ^2 cos (theta ) mathrmmZ^4
\&
-8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^4
\&
+32 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^4
\&
+32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^4
\&
-128 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi mathrmme^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^4
\&
-8 a mathrmca mathrmcv g^2 mathrmgpsi^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^4
\&
+32 a mathrmca mathrmcv g^2 mathrmgpsi^2
mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^4
\&
+8 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi s^6 cos (theta ) mathrmmZ^2
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2
s^5 cos (theta ) mathrmmZ^2
\&
-8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^5
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^2
\&
+32 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi mathrmme^2 s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s) cos (theta )
mathrmmZ^2
\&
-8 a mathrmca mathrmcv g^2 mathrmgpsi^2 s^5
sqrtmathrmmZ^4+(Gamma ^2-2 s)
mathrmmZ^2+s^2 cos (theta ) mathrmmZ^2
\&
+32 a mathrmca mathrmcv g^2 mathrmgpsi^2 mathrmme^2 s^4
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
\&
+8 a mathrmca
mathrmcv g^2 mathrmgpsi^2 s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
\&
-32 a mathrmca
mathrmcv g^2 mathrmgpsi^2 mathrmme^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
endalign*
enddocument
add a comment |
First, the source needs to be broken up inserting line breaks at suitable places so you can get some idea of the total structure of the formula. An editor that will show you matching parentheses and highlight text according to chosen patterns is a great help here.
It turns out that the formula is a fraction in which most of the text is a parenthesised expression in the denumerator. That needs to be taken out, named, and typeset explicitly. I chose to call this expression Ξ.
Also, there are lots of unnecessary left
… right
pairs. I deleted those. Further, I replaced text
by the more appropriate mathrm
. I ended up with the following code. It's a complete, compilable latex document. It still has multiple issues that need to be dealt with before you have a readable output. Most importantly, all the multicharacter variable names need some spacing around them. Use ,
for that.
documentclassarticle
usepackagemathtools,amsfonts
allowdisplaybreaks[1]
begindocument
beginequation
f_2=frac
sqrtfracs-4 mathrmmpsi^2s-4 mathrmme^2
Xi theta (s-4 mathrmmpsi^2)
256 mathrmcw^2 mathrmmZ^4 pi ^2 s^3
(mathrmmZ^4
+(Gamma ^2-2 s) mathrmmZ^2+s^2)^3/2
endequation
where
beginalign*
Xi&=16 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^8
\&
-64 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s
sqrts (-4 mathrmme^2 +4 mathrmmpsi^2+s) cos (theta ) mathrmmZ^8
+8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^4
cos (theta ) mathrmmZ^6
\&
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s^3 cos
(theta ) mathrmmZ^6
\&
+16 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^6
\&
-64 mathrmca mathrmcw
mathrmEE^2 g mathrmgpsi mathrmme^2 s
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^6
\&
-40 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^6
\&
+160 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s) cos (theta )
mathrmmZ^6
\&
-16 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi s^5 cos (theta ) mathrmmZ^4
\&
+64 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s^4
cos (theta ) mathrmmZ^4
\&
+8 mathrmca
mathrmcw mathrmEE^2 g mathrmgpsi s^4 Gamma ^2 cos (theta ) mathrmmZ^4
\&
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2
s^3 Gamma ^2 cos (theta ) mathrmmZ^4
\&
-8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^4
\&
+32 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^4
\&
+32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^4
\&
-128 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi mathrmme^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^4
\&
-8 a mathrmca mathrmcv g^2 mathrmgpsi^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^4
\&
+32 a mathrmca mathrmcv g^2 mathrmgpsi^2
mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^4
\&
+8 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi s^6 cos (theta ) mathrmmZ^2
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2
s^5 cos (theta ) mathrmmZ^2
\&
-8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^5
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^2
\&
+32 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi mathrmme^2 s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s) cos (theta )
mathrmmZ^2
\&
-8 a mathrmca mathrmcv g^2 mathrmgpsi^2 s^5
sqrtmathrmmZ^4+(Gamma ^2-2 s)
mathrmmZ^2+s^2 cos (theta ) mathrmmZ^2
\&
+32 a mathrmca mathrmcv g^2 mathrmgpsi^2 mathrmme^2 s^4
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
\&
+8 a mathrmca
mathrmcv g^2 mathrmgpsi^2 s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
\&
-32 a mathrmca
mathrmcv g^2 mathrmgpsi^2 mathrmme^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
endalign*
enddocument
First, the source needs to be broken up inserting line breaks at suitable places so you can get some idea of the total structure of the formula. An editor that will show you matching parentheses and highlight text according to chosen patterns is a great help here.
It turns out that the formula is a fraction in which most of the text is a parenthesised expression in the denumerator. That needs to be taken out, named, and typeset explicitly. I chose to call this expression Ξ.
Also, there are lots of unnecessary left
… right
pairs. I deleted those. Further, I replaced text
by the more appropriate mathrm
. I ended up with the following code. It's a complete, compilable latex document. It still has multiple issues that need to be dealt with before you have a readable output. Most importantly, all the multicharacter variable names need some spacing around them. Use ,
for that.
documentclassarticle
usepackagemathtools,amsfonts
allowdisplaybreaks[1]
begindocument
beginequation
f_2=frac
sqrtfracs-4 mathrmmpsi^2s-4 mathrmme^2
Xi theta (s-4 mathrmmpsi^2)
256 mathrmcw^2 mathrmmZ^4 pi ^2 s^3
(mathrmmZ^4
+(Gamma ^2-2 s) mathrmmZ^2+s^2)^3/2
endequation
where
beginalign*
Xi&=16 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^8
\&
-64 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s
sqrts (-4 mathrmme^2 +4 mathrmmpsi^2+s) cos (theta ) mathrmmZ^8
+8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^4
cos (theta ) mathrmmZ^6
\&
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s^3 cos
(theta ) mathrmmZ^6
\&
+16 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^6
\&
-64 mathrmca mathrmcw
mathrmEE^2 g mathrmgpsi mathrmme^2 s
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^6
\&
-40 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^6
\&
+160 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s) cos (theta )
mathrmmZ^6
\&
-16 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi s^5 cos (theta ) mathrmmZ^4
\&
+64 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2 s^4
cos (theta ) mathrmmZ^4
\&
+8 mathrmca
mathrmcw mathrmEE^2 g mathrmgpsi s^4 Gamma ^2 cos (theta ) mathrmmZ^4
\&
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2
s^3 Gamma ^2 cos (theta ) mathrmmZ^4
\&
-8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^4
\&
+32 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
Gamma ^2 cos (theta ) mathrmmZ^4
\&
+32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^4
\&
-128 mathrmca mathrmcw mathrmEE^2
g mathrmgpsi mathrmme^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^4
\&
-8 a mathrmca mathrmcv g^2 mathrmgpsi^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^4
\&
+32 a mathrmca mathrmcv g^2 mathrmgpsi^2
mathrmme^2 s^2
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^4
\&
+8 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi s^6 cos (theta ) mathrmmZ^2
-32 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi mathrmme^2
s^5 cos (theta ) mathrmmZ^2
\&
-8 mathrmca mathrmcw mathrmEE^2 g mathrmgpsi s^5
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
cos (theta ) mathrmmZ^2
\&
+32 mathrmca mathrmcw mathrmEE^2 g
mathrmgpsi mathrmme^2 s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s) cos (theta )
mathrmmZ^2
\&
-8 a mathrmca mathrmcv g^2 mathrmgpsi^2 s^5
sqrtmathrmmZ^4+(Gamma ^2-2 s)
mathrmmZ^2+s^2 cos (theta ) mathrmmZ^2
\&
+32 a mathrmca mathrmcv g^2 mathrmgpsi^2 mathrmme^2 s^4
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
\&
+8 a mathrmca
mathrmcv g^2 mathrmgpsi^2 s^4
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
\&
-32 a mathrmca
mathrmcv g^2 mathrmgpsi^2 mathrmme^2 s^3
sqrts (-4 mathrmme^2+4 mathrmmpsi^2+s)
sqrtmathrmmZ^4+(Gamma ^2-2 s) mathrmmZ^2+s^2
cos (theta ) mathrmmZ^2
endalign*
enddocument
answered Apr 13 at 20:43
Harald Hanche-OlsenHarald Hanche-Olsen
13.2k24762
13.2k24762
add a comment |
add a comment |
There are a lot of repeated items in your equation. I suggest you do something like the following, which (a) eliminates all left
and right
sizing directives (this is necessary because left
and right
disallow line breaks) and expresses f_2
as the product and ratio of less-complex items. The repeated items are treated as new variables named psi
, phi
, kappa
, and lambda
; you're obviously free to come up with more descriptive variable names.
documentclassarticle
usepackagemathtools
newcommandvn[1]mathrm,#1
begindocument
noindent
Put
$psi=sqrtsmash[b]s (-4 vnme^2+4 vnmpsi^2+s)$,
$phi=sqrtsmash[b]vnmZ^4 +(Gamma^2-2 s) vnmZ^2+s^2$,
$kappa= vnca vncw vnEE^2, g vngpsicostheta$, and
$lambda=vnca vncv, g^2 vngpsi^2costheta$.
Then
beginalign*
f_2 &=ucdot vcdot theta(s-4 vnmpsi^2)/w, \
shortintertextwhere
u &= biggl(fracs-4 vnmpsi^2s-4 vnme^2biggr)^!1/2 \
v &=beginaligned[t]
&16 kappa s^2 psi vnmZ^8
-64 kappa vnme^2 s psi vnmZ^8
\&+8 kappa s^4 vnmZ^6
-32 kappa vnme^2 s^3 vnmZ^6
\&+16 kappa s^2 psi Gamma^2 vnmZ^6
-64 kappa vnme^2 s psi Gamma^2 vnmZ^6
\&-40 kappa s^3 psi vnmZ^6
+160kappa vnme^2 s^2 psi vnmZ^6
\&-16 kappa s^5 vnmZ^4
+64 kappa vnme^2 s^4 vnmZ^4
\&+8 kappa s^4 Gamma^2 vnmZ^4
-32 kappa vnme^2 s^3 Gamma^2 vnmZ^4
\&-8 kappa s^3 psi Gamma^2 vnmZ^4
+32 kappa vnme^2 s^2 psi Gamma^2 vnmZ^4
\&+32 kappa s^4 psi vnmZ^4
-128kappa vnme^2 s^3 psi vnmZ^4
\&+8 kappa s^6 vnmZ^2
-32 kappa vnme^2 s^5 vnmZ^2
\&-8 kappa s^5 psi vnmZ^2
+32 kappa vnme^2 s^4 psi vnmZ^2
\&-8 alambda s^3 psi phi vnmZ^4
+32alambda vnme^2 s^2 psi phi vnmZ^4
\&-8 alambda s^5 phi vnmZ^2
+32alambda vnme^2 s^4 psi vnmZ^2
\&+8 alambda s^4 psi phi vnmZ^2
-32alambda vnme^2 s^3 psi phi vnmZ^2
endaligned\
shortintertextand
w &=256 vncw^2 vnmZ^4 pi^2 s^3 phi^3/cos^3theta
endalign*
enddocument
add a comment |
There are a lot of repeated items in your equation. I suggest you do something like the following, which (a) eliminates all left
and right
sizing directives (this is necessary because left
and right
disallow line breaks) and expresses f_2
as the product and ratio of less-complex items. The repeated items are treated as new variables named psi
, phi
, kappa
, and lambda
; you're obviously free to come up with more descriptive variable names.
documentclassarticle
usepackagemathtools
newcommandvn[1]mathrm,#1
begindocument
noindent
Put
$psi=sqrtsmash[b]s (-4 vnme^2+4 vnmpsi^2+s)$,
$phi=sqrtsmash[b]vnmZ^4 +(Gamma^2-2 s) vnmZ^2+s^2$,
$kappa= vnca vncw vnEE^2, g vngpsicostheta$, and
$lambda=vnca vncv, g^2 vngpsi^2costheta$.
Then
beginalign*
f_2 &=ucdot vcdot theta(s-4 vnmpsi^2)/w, \
shortintertextwhere
u &= biggl(fracs-4 vnmpsi^2s-4 vnme^2biggr)^!1/2 \
v &=beginaligned[t]
&16 kappa s^2 psi vnmZ^8
-64 kappa vnme^2 s psi vnmZ^8
\&+8 kappa s^4 vnmZ^6
-32 kappa vnme^2 s^3 vnmZ^6
\&+16 kappa s^2 psi Gamma^2 vnmZ^6
-64 kappa vnme^2 s psi Gamma^2 vnmZ^6
\&-40 kappa s^3 psi vnmZ^6
+160kappa vnme^2 s^2 psi vnmZ^6
\&-16 kappa s^5 vnmZ^4
+64 kappa vnme^2 s^4 vnmZ^4
\&+8 kappa s^4 Gamma^2 vnmZ^4
-32 kappa vnme^2 s^3 Gamma^2 vnmZ^4
\&-8 kappa s^3 psi Gamma^2 vnmZ^4
+32 kappa vnme^2 s^2 psi Gamma^2 vnmZ^4
\&+32 kappa s^4 psi vnmZ^4
-128kappa vnme^2 s^3 psi vnmZ^4
\&+8 kappa s^6 vnmZ^2
-32 kappa vnme^2 s^5 vnmZ^2
\&-8 kappa s^5 psi vnmZ^2
+32 kappa vnme^2 s^4 psi vnmZ^2
\&-8 alambda s^3 psi phi vnmZ^4
+32alambda vnme^2 s^2 psi phi vnmZ^4
\&-8 alambda s^5 phi vnmZ^2
+32alambda vnme^2 s^4 psi vnmZ^2
\&+8 alambda s^4 psi phi vnmZ^2
-32alambda vnme^2 s^3 psi phi vnmZ^2
endaligned\
shortintertextand
w &=256 vncw^2 vnmZ^4 pi^2 s^3 phi^3/cos^3theta
endalign*
enddocument
add a comment |
There are a lot of repeated items in your equation. I suggest you do something like the following, which (a) eliminates all left
and right
sizing directives (this is necessary because left
and right
disallow line breaks) and expresses f_2
as the product and ratio of less-complex items. The repeated items are treated as new variables named psi
, phi
, kappa
, and lambda
; you're obviously free to come up with more descriptive variable names.
documentclassarticle
usepackagemathtools
newcommandvn[1]mathrm,#1
begindocument
noindent
Put
$psi=sqrtsmash[b]s (-4 vnme^2+4 vnmpsi^2+s)$,
$phi=sqrtsmash[b]vnmZ^4 +(Gamma^2-2 s) vnmZ^2+s^2$,
$kappa= vnca vncw vnEE^2, g vngpsicostheta$, and
$lambda=vnca vncv, g^2 vngpsi^2costheta$.
Then
beginalign*
f_2 &=ucdot vcdot theta(s-4 vnmpsi^2)/w, \
shortintertextwhere
u &= biggl(fracs-4 vnmpsi^2s-4 vnme^2biggr)^!1/2 \
v &=beginaligned[t]
&16 kappa s^2 psi vnmZ^8
-64 kappa vnme^2 s psi vnmZ^8
\&+8 kappa s^4 vnmZ^6
-32 kappa vnme^2 s^3 vnmZ^6
\&+16 kappa s^2 psi Gamma^2 vnmZ^6
-64 kappa vnme^2 s psi Gamma^2 vnmZ^6
\&-40 kappa s^3 psi vnmZ^6
+160kappa vnme^2 s^2 psi vnmZ^6
\&-16 kappa s^5 vnmZ^4
+64 kappa vnme^2 s^4 vnmZ^4
\&+8 kappa s^4 Gamma^2 vnmZ^4
-32 kappa vnme^2 s^3 Gamma^2 vnmZ^4
\&-8 kappa s^3 psi Gamma^2 vnmZ^4
+32 kappa vnme^2 s^2 psi Gamma^2 vnmZ^4
\&+32 kappa s^4 psi vnmZ^4
-128kappa vnme^2 s^3 psi vnmZ^4
\&+8 kappa s^6 vnmZ^2
-32 kappa vnme^2 s^5 vnmZ^2
\&-8 kappa s^5 psi vnmZ^2
+32 kappa vnme^2 s^4 psi vnmZ^2
\&-8 alambda s^3 psi phi vnmZ^4
+32alambda vnme^2 s^2 psi phi vnmZ^4
\&-8 alambda s^5 phi vnmZ^2
+32alambda vnme^2 s^4 psi vnmZ^2
\&+8 alambda s^4 psi phi vnmZ^2
-32alambda vnme^2 s^3 psi phi vnmZ^2
endaligned\
shortintertextand
w &=256 vncw^2 vnmZ^4 pi^2 s^3 phi^3/cos^3theta
endalign*
enddocument
There are a lot of repeated items in your equation. I suggest you do something like the following, which (a) eliminates all left
and right
sizing directives (this is necessary because left
and right
disallow line breaks) and expresses f_2
as the product and ratio of less-complex items. The repeated items are treated as new variables named psi
, phi
, kappa
, and lambda
; you're obviously free to come up with more descriptive variable names.
documentclassarticle
usepackagemathtools
newcommandvn[1]mathrm,#1
begindocument
noindent
Put
$psi=sqrtsmash[b]s (-4 vnme^2+4 vnmpsi^2+s)$,
$phi=sqrtsmash[b]vnmZ^4 +(Gamma^2-2 s) vnmZ^2+s^2$,
$kappa= vnca vncw vnEE^2, g vngpsicostheta$, and
$lambda=vnca vncv, g^2 vngpsi^2costheta$.
Then
beginalign*
f_2 &=ucdot vcdot theta(s-4 vnmpsi^2)/w, \
shortintertextwhere
u &= biggl(fracs-4 vnmpsi^2s-4 vnme^2biggr)^!1/2 \
v &=beginaligned[t]
&16 kappa s^2 psi vnmZ^8
-64 kappa vnme^2 s psi vnmZ^8
\&+8 kappa s^4 vnmZ^6
-32 kappa vnme^2 s^3 vnmZ^6
\&+16 kappa s^2 psi Gamma^2 vnmZ^6
-64 kappa vnme^2 s psi Gamma^2 vnmZ^6
\&-40 kappa s^3 psi vnmZ^6
+160kappa vnme^2 s^2 psi vnmZ^6
\&-16 kappa s^5 vnmZ^4
+64 kappa vnme^2 s^4 vnmZ^4
\&+8 kappa s^4 Gamma^2 vnmZ^4
-32 kappa vnme^2 s^3 Gamma^2 vnmZ^4
\&-8 kappa s^3 psi Gamma^2 vnmZ^4
+32 kappa vnme^2 s^2 psi Gamma^2 vnmZ^4
\&+32 kappa s^4 psi vnmZ^4
-128kappa vnme^2 s^3 psi vnmZ^4
\&+8 kappa s^6 vnmZ^2
-32 kappa vnme^2 s^5 vnmZ^2
\&-8 kappa s^5 psi vnmZ^2
+32 kappa vnme^2 s^4 psi vnmZ^2
\&-8 alambda s^3 psi phi vnmZ^4
+32alambda vnme^2 s^2 psi phi vnmZ^4
\&-8 alambda s^5 phi vnmZ^2
+32alambda vnme^2 s^4 psi vnmZ^2
\&+8 alambda s^4 psi phi vnmZ^2
-32alambda vnme^2 s^3 psi phi vnmZ^2
endaligned\
shortintertextand
w &=256 vncw^2 vnmZ^4 pi^2 s^3 phi^3/cos^3theta
endalign*
enddocument
edited Apr 14 at 6:54
Community♦
1
1
answered Apr 13 at 21:31
MicoMico
292k32402789
292k32402789
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484702%2fi-could-not-break-this-equation-please-help-me%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
6
Let me guess: This was generated by some computer algebra system, Maple perhaps?
– Harald Hanche-Olsen
Apr 13 at 20:13
4
I don't think breaking the equation into separate lines will help with the readability. It's a mess. Go back to maple and try to find a better output. Or start by finding where the fraction switches, and print the numerator and denominator separately.
– Teepeemm
Apr 13 at 20:34