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

  • Context: Mathematica 
  • Thread starter Thread starter Dragonfall
  • Start date Start date
  • Tags Tags
    Mathematica Plotting
Click For Summary
SUMMARY

The discussion centers on plotting the function y=\frac{(a_0+a_1)\beta}{\beta^2-a_0a_1} in Mathematica, with specific constraints on the parameters a_0 and a_1. Users express difficulty in defining the constants as machine-sized real numbers, which leads to errors in plotting. A suggestion is made to utilize the Plot function with a defined range for the variable beta, while also addressing the need to ignore singularities in the graph. The conversation emphasizes the importance of setting fixed values for a_0 and a_1 to successfully execute the plot.

PREREQUISITES
  • Familiarity with Mathematica syntax and functions
  • Understanding of mathematical functions and singularities
  • Knowledge of parameter constraints in mathematical modeling
  • Experience with plotting functions in computational software
NEXT STEPS
  • Learn how to use the Plot function in Mathematica with specific ranges
  • Explore methods to handle singularities in Mathematica plots
  • Investigate parameterization techniques for functions in Mathematica
  • Study the implications of using symbolic versus numerical constants in Mathematica
USEFUL FOR

Mathematics students, researchers using Mathematica for graphical analysis, and anyone involved in solving partial differential equations (PDEs) through computational methods.

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<0,a_1<0,-a_0-a_1<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<0,a_1<0,-a_0-a_1<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 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
1K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
12K
  • · Replies 1 ·
Replies
1
Views
4K