# Partial Derivative

I need the partial derivatives of:

f(x,y) = &int;xy cos(t2) dt

are they simply:

&part;f/&part;x = -2xcos(x2)
and
&part;f/&part;y = 2ycos(y2)

or am I completely lost here?

NateTG
Homework Helper
Are you sure it's not
&part;f/&part;x=-cos(x2)
and
&part;f/&part;y=-cos(y2)

?

No, I'm definitely not sure. Are you?

NateTG
Homework Helper
Well, lets say that
&int;cos(t2) dt = g(t) + C
then
dg/dt= cos(t2) from the fundemental theorem of calculus.

Now we have
&int;xycos(t2) dt=g(y)-g(x)
so I get
&part;f/&part;x=-cos(x2)
&part;f/&part;y=cos(y2)

Does that make sense to you?

I'm not sure. It's confusing.

Isn't this a composite function that calls for use of the chain rule?

I'm thinking that we have g(t) = t2 and the integral is f(g(t)) which gets evaluated at t=y and t=x, thus becoming f(g(x)) and f(g(y)), so cos(y2) - cos(x2) is df/dg and we still have to differentiate that wrt x to get &part;f/&part;x and wrt y to get &part;f/&part;y.

So, I guess I'm saying
&part;f/&part;x = df/dg * &part;g/&part;x [edited: I had the derivatives & the partials reversed]
and
&part;f/&part;y = df/dg * &part;g/&part;y [edited: same reason as above]

Then,
&part;f/&part;x = &part;/&part;x[cos(y2) - cos(x2)] = -2xcos(x2)
and
&part;f/&part;y = &part;/&part;y[cos(y2) - cos(x2)] = 2ycos(y2)

But I'm not sure I have the f's and g's right, & maybe all of that is nonsense.

Last edited:
HallsofIvy
Homework Helper
Leibniz's formula is very general:

d/dx(&int;b(x)a(x)f(x,t)dt)=

(db/dx)f(x,b(x))- (da/dx)f(x,a(x)+ &int;b(x)a(x)(&part;f(x,t)/&part;t dt)

It doesn't matter that you are dealing with two variables, x, y, since with partial derivatives you are treating one of them as a constant.

In particular, &part;/&part;x(&int;xycos(t2)dt= (-1)cos(x2) and
&part;/&part;y(&int;xycos(t2)dt= (+1)cos(y2).

NateTG
Homework Helper
Originally posted by HallsofIvy
Leibniz's formula is very general:

d/dx(&int;b(x)a(x)f(x,t)dt)=

(db/dx)f(x,b(x))- (da/dx)f(x,a(x)+ &int;b(x)a(x)(&part;f(x,t)/&part;t dt)

I think you're mixing your variables. You should probably use something other than f and x inside the integral.

I also don't understand how Leibnitz's formula applies, since there is no multi-variable function inside the integral.

As I stated above, all you need to do is apply the fundemental theorem of calculus.

NateTG
Homework Helper
gnome:

Let's digress for a moment and look at the fundemental theorem of calculus:

&int;xyg'(t)dt=g(y)-g(x)

Now, let's say we have some g(t) so that g'(t)=cos(t2) so:

&int;xycos(t2)dt=g(y)-g(x)

Now, since g'(t)=cos(t2) we get
&part;/&part;x g(x) = g'(x)=cos(x2)
and
&part;/&part;x g(y) = 0

Does that make sense?

Well, I'm sure you're right & I'm sitting here with my textbook from calc I opened to the Fundamental Theorem of Calculus trying to make sense of it. To simplify matters, I'm going to forget about partial derivatives for the moment, & just look at these:

f(x) = cos(2x-1)
f'(x) = -2sin(2x-1) (of this, I'm certain)

-------------------------------------

Now, what you're telling me is

g(x) = &int;sin(2x-1)dx
g'(x) = sin(2x-1)

Right?

And the more I think about that, the more sense it seems to make. But if you can add anything to that to make it clearer, please do.

Thanks.

NateTG
Homework Helper
You've pretty much got it.

HallsofIvy