Solution
In[44]:=
Out[44]=
Out[45]=
In[46]:=
Out[46]=
Out[47]=
In[48]:=
Out[48]=
See the help file for Eliminate for more info.
In[49]:=
Out[49]=
Out[50]=
Here Reduce produces Root-objects, which are roots of a pure function, with argument #1. The Root-objects can be converted into the usual form with the function ToRadicals. This works always for polynomials of order 4 or less.
In[51]:=
Out[51]=
In[52]:=
Out[52]=
The same as 3a with a further restriction on x.
In[58]:=
Out[59]=
Out[60]=
Note that the symbols are treated as complex numbers unless they appear explicitly in an inequality, or the assumption Element[x,Reals] is made.
In[61]:=
Out[62]=
In[63]:=
Out[63]=
Out[64]=
Remember how to apply rules, and extract an element from a list? The function Solve gives a list of rules for x. Then, when we apply the rule to x, we get an expression featuring p and q. Note that the discriminant of the equation is negative for p<2. Plot will complain if you try to plot it. There's a similar situation in the next excercise.
In[65]:=
Out[65]=
Out[66]=
Out[67]=
In[68]:=
Out[68]=
SolveAlways tries to find the values of all free parameters appearing in an equation, here a, b and c, for which the equation holds for all values of the variable, here x.
| Created by Mathematica (April 10, 2007) |