Serving the Quantitative Finance Community

 
User avatar
mohamedb
Topic Author
Posts: 2
Joined: December 16th, 2004, 4:07 pm

Differentiation in Mathematica question

August 31st, 2007, 11:47 am

Hi All,A hopefully simple Mathematica question.I have y = f(t) , x = g(t).dy/dx = f' / g'How can I get Mathematica to derive this by itself? RgdsBM
 
User avatar
blondie
Posts: 0
Joined: June 11th, 2007, 1:34 pm

Differentiation in Mathematica question

August 31st, 2007, 1:21 pm

Clear[y, f, t, x, g];y[t_] := f[t];t[x_] := InverseFunction[g][x];D[y[t[x]], {x, 1}] /. {x -> g[t]}
 
User avatar
mohamedb
Topic Author
Posts: 2
Joined: December 16th, 2004, 4:07 pm

Differentiation in Mathematica question

September 3rd, 2007, 2:46 pm

clever - thxBM