Athematica seems to be asking for more arguments

  • Thread starter Thread starter kel
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on a Mathematica error related to insufficient arguments in a differential equation. The user attempts to solve the equation f(x) = (1 / x^2) d/dx ((x^2) (df^(ϵ-1) / dx)) but encounters an error indicating that three arguments are required. The solution involves using the D[] operator for differentiation instead of the d/dx notation, which Mathematica does not recognize. The user is advised to differentiate the inner bracket first before applying further differentiation.

PREREQUISITES
  • Familiarity with Mathematica syntax and functions
  • Understanding of differential equations
  • Knowledge of the D[] operator for differentiation in Mathematica
  • Basic concepts of astrophysics related to the problem
NEXT STEPS
  • Learn how to use the D[] operator in Mathematica for differentiation
  • Explore the syntax for defining functions in Mathematica
  • Study the principles of solving differential equations in Mathematica
  • Investigate common error messages in Mathematica and their solutions
USEFUL FOR

Students and researchers in astrophysics, Mathematica users, and anyone looking to solve differential equations using Mathematica.

kel
Messages
62
Reaction score
0

Homework Statement



I'm fairly new to mathematica and have been trying to input the following equation, but keep getting an error message stating that I have only 2 arguments when I need 3 or more.

BTW, this is in relation to astrophysics

Homework Equations



function is:

f(x) = (1 / x^2) d / dx ((x^2) (df^(E-1) / dx))

where ϵ=5/3
and f(0) = 1

The Attempt at a Solution



I've put it into mathematica as

DSolve[{f[x] == ((1/x^2))* (d/dx) (x^2 * df^(ϵ - 1)/dx), x[0] == 1} f[x], x]

I've had do tidy this up a bit as when cutting & pasting mathematica seems to add extra brackets etc.

As I've stated, mathematica seems to be asking for more arguments, but I don't know what else I can add to the equation.

Thanks
 
Physics news on Phys.org
Mathematica does not understand the symbol (d/dx). You need to use the D[] operator to perform differentiation.

- Warren
 
so, I should differentiate the inner bracket first and then add the answer to this in a second differentiation??
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K