I am given an $g(x)= \int_{x}^{x^3} \sin(x t^2) dt$. The definition is clear g[x]
is an integral of function Sin
from x
to x^3
.I am asked to find its derivative and plot the FresnelS function over [-10,10].
Now when I use D
command for g[x]
, it gives result after evaluating the integral, which is a FresnelS function, but i know that mathematically derivative cancels out integration and gives the functions as it is. That's if I am not wrong? how can I differentiate g[x]
? And if the result is a FresnelS function? Because my teacher asks in the same question to plot the FresnelS function, should I plot the result or the given integral g[x]
? i did try to plot both but I think my result is all wrong. I don't get it.
g[x_] = Hold[Integrate[Sin[x*t^2], {t, x, x^3}]]
a=ReleaseHold[%]
D[a,x]
Plot[(Sqrt[π/2] (-FresnelS[Sqrt[2/π] x^(3/2)] +
FresnelS[Sqrt[2/π] x^(7/2)]))/Sqrt[x], {x, -10, 10}]
Integrate[Sin[x*t^2],{t,x,x^3}]
is not a singleFresnelS
function. If you want to plotFresnelS
just doPlot[FresnelS[t],{t,-10,10}]
. If you want to plot the derivative ofg[x]
just dog[x_] = Integrate[Sin[x*t^2], {t, x, x^3}]
andPlot[g'[x],{x,-10,10}]
. The quote ' afterg
indicates the derivative. $\endgroup$FresnelS
used in Mathematica isIntegrate[Sin[Pi t^2/2], {t, 0, x}]
. Then its derivativeFresnelS'[x]
isSin[(Pi*x^2)/2]
$\endgroup$