Differentiate functions

I have two functions:

F1[t_, g_] := a1*t + a2*g

F2[t_, g_] := b1*t + b2*g

I want to evaluate (dt/dF1)F2(dt/dF1)F2(dt/dF1)_{F2}; i.e., differentiate ttt over F1F1 when F2F2 is held constant. Is there any straightforward way in Mathematica to do that with D.




Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Read the faq! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign!
– Michael E2
Sep 15 ’15 at 18:19



thank you so much
– amin bk
Sep 17 ’15 at 17:34


1 Answer


I’m not used to your notation, but does this give you what you mean?

Block[{a1, a2, b1, b2},
SetAttributes[{a1, a2, b1, b2}, Constant];
Dt[t]/Dt[f1] /. First@Solve[
{Dt[f1] == Dt[F1[t, g]], 0 == Dt[F2[t, g]]},
{Dt[f1], Dt[t]}] // Simplify
(* b2/(-a2 b1 + a1 b2) *)



Yes, Thank you so much
– amin bk
Sep 15 ’15 at 19:15