Partial derivative of tan(x + y)

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 12K views
username12345
Messages
47
Reaction score
0

Homework Statement



[tex]f(x, y) = \tan(x + y) \\<br /> f_x = ?[/tex]



Homework Equations



[tex]\frac{dy}{dx}\tan(x)= \sec^2 x[/tex]

The Attempt at a Solution



I set y as constant, so I said derivative of y = 0 then took derivative of tan as above. However the answer should be
[tex]f_x = \sec^2(x + y)[/tex]

Why is y included?
 
Physics news on Phys.org
Hi username12345! :smile:
username12345 said:
[tex]f(x, y) = \tan(x + y) \\<br /> f_x = ?[/tex]

However the answer should be
[tex]f_x = \sec^2(x + y)[/tex]

Why is y included?

Because it's in g(x,y) in the chain rule … ∂f(g(x,y))/∂x = ∂f(g(x,y))/∂g ∂g(x,y))/∂x
 
HallsofIvy said:
What is the derivative of tan(x+ a) for constant a?

Well, what if you asked, what is derivative of [tex]tan(2x + a)[/tex]... I would say [tex]2 \sec^2(2x + a)[/tex]. So if that is correct then the derivative of [tex]\tan(x + a)[/tex] would be [tex]\sec^2(x + a)[/tex]. Is this correct?

Now considering the partial derivative with respect to x, we want y as a constant so replace a with y and we get [tex]f_x = \sec^2(x + y)[/tex]