DSolve output with unexpected parameters

  • Context: Mathematica 
  • Thread starter Thread starter CAF123
  • Start date Start date
  • Tags Tags
    Output Parameters
Click For Summary
SUMMARY

The discussion centers on the use of DSolve in Mathematica to solve the equation x*y'[x] == -b0*y[x]^2 - b1*y[x]^3. The output provided by DSolve is an inverse function, which can be confusing for users unfamiliar with its notation, specifically the use of #1 and &. The inverse function represents the solution when a closed form expression is not available. Users are advised to consult the Mathematica documentation for clarification and to visualize the function's behavior through plotting.

PREREQUISITES
  • Familiarity with Mathematica 12.0 syntax and functions
  • Understanding of differential equations and their solutions
  • Knowledge of inverse functions and their applications
  • Basic skills in plotting functions within Mathematica
NEXT STEPS
  • Review the Mathematica documentation on Pure Functions for clarity on #1 and &
  • Learn how to plot functions in Mathematica to visualize solutions
  • Explore the concept of inverse functions and their significance in mathematical analysis
  • Investigate alternative methods for solving differential equations in Mathematica
USEFUL FOR

Mathematics students, researchers using Mathematica for differential equations, and anyone seeking to understand inverse functions in computational contexts.

CAF123
Gold Member
Messages
2,918
Reaction score
87
I'm trying to solve a relatively simple equation with DSolve in Mathematica. The equation I'm trying to solve along with the output from mathematica is shown
Code:
In[1]:=DSolve[x*y'[x] == -b0*y[x]^2 - b1*y[x]^3, y[x], x]
Out[1]:= 
{{y[x] -> 
   InverseFunction[-((b1 Log[#1])/b0^2) + (b1 Log[b0 + b1 #1])/b0^2 - 
       1/(b0 #1) &][C[1] - Log[x]]}}

This output is more or less useless to me because a) I don't know what #1 or & means in this context and b) I don't understand why it returns the inverse function and how I can then proceed to obtain the function. Can anyone illuminate me?

Thanks!
 
Physics news on Phys.org
CAF123 said:
I don't know what #1 or & means in this context
Did you check the documentation? When you don't know what something means then the documentation is the best place to start:
http://reference.wolfram.com/language/tutorial/PureFunctions.html

CAF123 said:
I don't understand why it returns the inverse function and how I can then proceed to obtain the function.
The inverse function is the solution. The inverse function is itself a function, it is used in certain circumstances when there is not a closed form expression. For example, if you need the inverse of x^2 then the inverse function is Sqrt[x], but when there is no nice expression then it just leaves it as the inverse function.

If you want to see how the function behaves, just plot it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
4
Views
3K