Question: Defining complex equations using smaller parts

I have a solution to a linear ODE which is very long and complicated.  The solition clearly has some parts which are repeated and so it would would be easiest to express those repeated parts as something simpler.

 

For example, suppose I had

 

x = (-b + sqrt(b^2 - 4*a*c) ) /2*a

 

What is the command to take x and do someting like

 

Z = sqrt(b^2 - 4*a*c)

 

x = (-b + Z)/2*a

 

 

 

 

Please Wait...