Mathematica Plotting y=\frac{(a_0+a_1)\beta}{\beta^2-a_0a_1} in Mathematica

AI Thread Summary
To plot the function y=(a_0+a_1)β/(β²-a_0a_1) in Mathematica while assuming a_0<0, a_1<0, and -a_0-a_1<a_0a_1π, it is essential to define a_0 and a_1 as fixed real values to avoid errors related to undefined constants. Users are advised to consult the Mathematica help browser for the correct syntax for the Plot function, which typically includes specifying the function and its range in the format Plot[function, {variable, min, max}]. To set a specific range for y, such as from -10 to 10, the appropriate command structure must be followed. Ignoring singularities may require additional commands or adjustments in the plotting parameters to ensure that Mathematica recognizes the input as valid.
Dragonfall
Messages
1,023
Reaction score
5
I need mathematica to plot

y=\frac{(a_0+a_1)\beta}{\beta^2-a_0a_1} by assuming that a_0&lt;0,a_1&lt;0,-a_0-a_1&lt;a_0a_1\pi.

by telling it to ignore the singularities, etc, but it keeps telling me that beta is not a machine sized real number at blah.

Also, how do I specify a range (ie, y from -10 to 10) in Mathematica?

Thanks.
 
Last edited:
Physics news on Phys.org
Dragonfall said:
I need mathematica to plot

y=\frac{(a_0+a_1)\beta}{\beta^2-a_0a_1} by assuming that a_0&lt;0,a_1&lt;0,-a_0-a_1&lt;a_0a_1\pi.

by telling it to ignore the singularities, etc, but it keeps telling me that beta is not a machine sized real number at blah.

Also, how do I specify a range (ie, y from -10 to 10) in Mathematica?

Thanks.

the problem is that you're using the constants that aren't numbers. i don't think mathematica will do that. use the help browser for plot, i think the command should be something like [Plot, function, {x,a,b}, {c,d}] or something like that, where the things in the fancy brakets give yr range/domain. i hate mathematica, so double check in the help browser.
 
So I'd have to set a0 and a1 to some fixed real value? This defeats the purpose of my trying to solve a PDE using graphical methods.
 

Similar threads

Replies
1
Views
2K
Replies
1
Views
2K
Replies
2
Views
1K
Replies
12
Views
4K
Replies
7
Views
6K
Replies
8
Views
11K
Replies
1
Views
4K
Back
Top