What is the derivative of x = tan (x+y)x=tan(x+y)?

1 Answer
Aug 4, 2017

dy/dx = -sin^2(x+y) dydx=sin2(x+y)

Explanation:

When we differentiate yy wrt xx we get dy/dxdydx.

However, we only differentiate explicit functions of yy wrt xx. But if we apply the chain rule we can differentiate an implicit function of yy wrt yy but we must also multiply the result by dy/dxdydx.

Example:

d/dx(y^2) = d/dy(y^2)dy/dx = 2ydy/dx ddx(y2)=ddy(y2)dydx=2ydydx

When this is done in situ it is known as implicit differentiation.

Now, we have:

x = tan(x+y) x=tan(x+y)

Implicitly differentiating wrt xx (applying product rule):

1 = sec^2(x+y)d/dx(x+y) 1=sec2(x+y)ddx(x+y)

:. 1 = sec^2(x+y)(1+dy/dx )

:. 1+dy/dx = 1/sec^2(x+y)

:. dy/dx = cos^2(x+y) -1

:. dy/dx = -sin^2(x+y)

Advanced Calculus

There is another (often faster) approach using partial derivatives. Suppose we cannot find y explicitly as a function of x, only implicitly through the equation F(x, y) = 0 which defines y as a function of x, y = y(x). Therefore we can write F(x, y) = 0 as F(x, y(x)) = 0. Differentiating both sides of this, using the partial chain rule gives us

(partial F)/(partial x) (1) + (partial F)/(partial y) dy/dx = 0 => dy/dx = −((partial F)/(partial x)) / ((partial F)/(partial y))

So Let F(x,y) = tan(x+y)-x ; Then;

(partial F)/(partial x) = sec^2(x+y)-1

(partial F)/(partial y) = sec^2(x+y)

And so:

dy/dx = -(sec^2(x+y)-1)/(sec^2(x+y))
" " = -(1-1/(sec^2(x+y)))
" " = -(1-cos^2(x-y))
" " = -sin^2(x+y) , as before