Bessel function derivative in sum

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 2K views
member 428835
Hi PF!

I'm trying to put the first derivative of the modified Bessel function of the first kind evaluated at some point say ##\alpha## in a sum where the ##ith## function is part of the index. What I have so far is
Code:
n=3;
alpha = 2;
DBesselI[L_, x_] := D[BesselI[L, x], {x, 1}]
Sum[BesselI[L, alpha], {L, 1, n}]
But I don't think this is working. Any help would be awesome!
 
Physics news on Phys.org
Ahh shoot,
Orodruin said:
You are using the modified Bessel function, not its derivative that you defined in the previous line, in the sum ...
Shoot, this is a typo on my part copying into PF. Instead if I use
Code:
n=3;
alpha = 2;
DBesselI[L_, x_] := D[BesselI[L, x], {x, 1}]
Sum[DBesselI[L, alpha], {L, 1, n}]
I still get an error. In fact, even if I simply try evaluating
Code:
DBesselI[1, alpha]
I receive an error. Any ideas?
 
Orodruin said:
It might help if you quote the error message.
It reads "2 is not a valid variable." and then iterates "##\partial_{\{2,1\}}BesselI[1,3]##". Any ideas?
 
Last edited:
  • Like
Likes   Reactions: member 428835
Thanks so much! This actually makes a lot of sense!