MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: differentiate a function of a function


Hello:

Well, if you define

f[x_, y_] = Tan[t[x, y] + a[x, y]];

then..
In[34]:=
D[f[t, u], t]

Out[34]=
Sec[a[t, u] + t[t, u]]^2*(Derivative[1, 0][a][t, u] +
    Derivative[1, 0][t][t, u])

In[52]:=
D[f[t, u], t, u]

Out[52]=
2*Sec[a[t, u] + t[t, u]]^2*Tan[a[t, u] + t[t, u]]*
    (Derivative[0, 1][a][t, u] + Derivative[0, 1][t][t,
      u])*(Derivative[1, 0][a][t, u] +
     Derivative[1, 0][t][t, u]) +
   Sec[a[t, u] + t[t, u]]^2*(Derivative[1, 1][a][t, u] +
     Derivative[1, 1][t][t, u])

you can put these expressions in Solve or Reduce in order to get 
information about solutions..
The diferentiation is performed using the chain rule. You can also check the
"Dt" function in Mathematica.

Atte. Andres Guzman





kem <kemelmi at gmail.com> ha escrito:

> Hi,
>
> I was wondering how do I define a function in mathematica to be able
> to differentiate it etc, where some of the parameters of this function
> should be also a function. For example I want to be able to do the
> following operations:
>
> 1) to say that f is a function: f(x,y) = Tan[t(x,y)+a(x,y)]
>
> 2) take D[f,x] , such that also t(x,y) and a(x,y) will be also
> differentiated
>
> 3) be able to substitute these into some equation like: f_x f_xy = 8
>
> Thanks a lot
>
> kem
>
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



  • Prev by Date: Re: How to Eliminate
  • Next by Date: Re: ImplicitPlot errors
  • Previous by thread: Re: differentiate a function of a function
  • Next by thread: Re: differentiate a function of a function