I have trouble running a calculation without getting an error,
I have the given Fredholm equation:
where $\psi(x)=\sin x$and $K(x,y)=\cos(x/2-3y)$
Now I calculated that for the operator to be a contraction, $\lambda<\sqrt{2}$. Further, I have initial conditions that $\phi(0)=0$
So I have to solve the integral equation with the given parameters and plot the iterated solutions $f_1, f_2...f_{50}$. The form of this is , with $A$ being the Fredholm operator:
This means I have to find the plots of the iterated solutions which should converge to the solution, with a given value of lambda in that domain.
My attempt:
psi[x_]=Sin[x];
K[x_,y_]=Cos[x/2 -3 y];
\[Lambda]=1
PHI = DSolveValue[\[Phi][x] ==
psi[x] + \[Lambda] Integrate[K[x, y] \[Phi][y], \[Phi[0]]==0 {y, 0, x}], \[Phi], x]
and
Plot[
Table[
Callout[PHI[x], NumberForm[\[Lambda], {5, 3}]],
{\[Lambda], -1, 4, 0.7}] // Evaluate,
{x, 0, Pi/2},
AspectRatio -> 1]
However, I get "Invalid integration variable or limit(s) in [Phi][0]==0."
and a blank plot.
Any idea how I can improve this code? I was thinking maybe I should use Picard iteration?
I add the question as a picture:
Thanks
ϕ[x]
shouldn't appear anymore in the solution of the differential equation. Playing around a bit, I am not sure Mathematica can solve this kind of equation (the issue seems to be that the integration bound depends onx
) $\endgroup$DSolve[f[x] + 3 Sin[x] + 8 \[Lambda] f[x] Sin[(5 x)/2] + 4 f''[x] == 4 \[Lambda] Cos[(5 x)/2] f'[x], f[x], x]
,but Mathematica can't solve. Maple can solve gives solution by define integral with HeunC function,but can be found a closed-form solution $\endgroup$