Difference between revisions of "Implicit Differentiation"
Line 58: | Line 58: | ||
\end{array}</math> | \end{array}</math> | ||
− | == | + | == Exercise 2: Find equation of tangent line == |
− | Find the equation of the tangent line to <math>\tan y=\dfrac{y}{x}</math> | + | Find the equation of the tangent line to <math style="vertical-align: -13px">\tan y=\dfrac{y}{x}</math> at the point <math>\left(\frac{\pi}{4},\frac{\pi}{4}\right)</math>. |
− | at the point <math>\left(\frac{\pi}{4},\frac{\pi}{4}\right)</math>. | ||
− | We first compute <math>y'</math> by implicit differentiation. Note the derivative | + | We first compute <math style="vertical-align: -5px">y'</math> by implicit differentiation. Note the derivative of the right side requires the quotient rule. |
− | of the right side requires the quotient rule. | ||
::<math>\begin{array}{rcl} | ::<math>\begin{array}{rcl} | ||
\tan y & = & \dfrac{y}{x}\\ | \tan y & = & \dfrac{y}{x}\\ | ||
− | \left(\sec^{2}y\right) | + | \left(\sec^{2}y\right)y' & = & \dfrac{xy'-y}{x^{2}}\\ |
− | x^{2}y' | + | x^{2}y'\sec^{2}y & = & xy'-y\\ |
− | x^{2}y' | + | x^{2}y'\sec^{2}y-xy' & = & -y\\ |
y'\left(x^{2}\sec^{2}y-x\right) & = & -y\\ | y'\left(x^{2}\sec^{2}y-x\right) & = & -y\\ | ||
y' & = & \dfrac{-y}{x^{2}\sec^{2}y-x} | y' & = & \dfrac{-y}{x^{2}\sec^{2}y-x} | ||
Line 77: | Line 75: | ||
− | At the point <math>\left(\frac{\pi}{4},\frac{\pi}{4}\right)</math> we have <math>x=\frac{\pi}{4}</math> | + | At the point <math>\left(\frac{\pi}{4},\frac{\pi}{4}\right)</math>, we have <math>x=\frac{\pi}{4}</math> and <math>y=\frac{\pi}{4}</math>. Plugging these into our equation for <math>y'</math> gives |
− | and <math>y=\frac{\pi}{4}</math>. Plugging these into our equation for <math>y'</math> | ||
− | gives | ||
::<math>\begin{array}{rcl} | ::<math>\begin{array}{rcl} | ||
y' & = & \dfrac{-\frac{\pi}{4}}{\left(\frac{\pi}{4}\right)^{2}\sec^{2}\left(\frac{\pi}{4}\right)-\frac{\pi}{4}}\\ | y' & = & \dfrac{-\frac{\pi}{4}}{\left(\frac{\pi}{4}\right)^{2}\sec^{2}\left(\frac{\pi}{4}\right)-\frac{\pi}{4}}\\ | ||
+ | \\ | ||
& = & \dfrac{-\frac{\pi}{4}}{\frac{\pi^{2}}{16}\cdot2-\frac{\pi}{4}}\\ | & = & \dfrac{-\frac{\pi}{4}}{\frac{\pi^{2}}{16}\cdot2-\frac{\pi}{4}}\\ | ||
+ | \\ | ||
& = & -\dfrac{\pi}{4}\cdot\dfrac{8}{\pi^{2}-2\pi}\\ | & = & -\dfrac{\pi}{4}\cdot\dfrac{8}{\pi^{2}-2\pi}\\ | ||
− | & = & \dfrac{2}{2-\pi} | + | \\ |
+ | & = & \dfrac{2}{2-\pi}. | ||
\end{array}</math> | \end{array}</math> | ||
− | This means the slope of the tangent line at <math>\left(\frac{\pi}{4},\frac{\pi}{4}\right)</math> | + | This means the slope of the tangent line at <math>\left(\frac{\pi}{4},\frac{\pi}{4}\right)</math> is <math style="vertical-align: -13px">m=\dfrac{2}{2-\pi}</math>, and a point on this line is <math>\left(\frac{\pi}{4},\frac{\pi}{4}\right)</math>. Using the point-slope form of a line, we have |
− | is <math>m=\dfrac{2}{2-\pi}</math>, and a point on this line is <math>\left(\frac{\pi}{4},\frac{\pi}{4}\right)</math>. | ||
− | Using the point-slope form of a line, we have | ||
::<math>\begin{array}{rcl} | ::<math>\begin{array}{rcl} | ||
y-\frac{\pi}{4} & = & \frac{2}{2-\pi}\left(x-\frac{\pi}{4}\right)\\ | y-\frac{\pi}{4} & = & \frac{2}{2-\pi}\left(x-\frac{\pi}{4}\right)\\ | ||
+ | \\ | ||
y & = & \frac{2}{2-\pi}x-\frac{\pi}{2\left(2-\pi\right)}+\frac{\pi}{4}\\ | y & = & \frac{2}{2-\pi}x-\frac{\pi}{2\left(2-\pi\right)}+\frac{\pi}{4}\\ | ||
− | y & = & \frac{2}{2-\pi}x-\frac{\pi^{2}}{4\left(2-\pi\right)} | + | \\ |
+ | y & = & \frac{2}{2-\pi}x-\frac{\pi^{2}}{4\left(2-\pi\right)}. | ||
\end{array}</math> | \end{array}</math> | ||
− | |||
== Example 3 == | == Example 3 == |
Revision as of 23:40, 17 November 2015
Background
So far, you may only have differentiated functions written in the form . But some functions are better described by an equation involving and . For example, describes the graph of a circle with center and radius 4, and is really the graph of two functions: .
Sometimes, functions described by equations in and are too hard to solve for , for example . This equation really describes 3 different functions of x, whose graph is the curve:
We want to find derivatives of these functions without having to solve for explicitly. We do this by implicit differentiation. The process is to take the derivative of both sides of the given equation with respect to , and then do some algebra steps to solve for (or if you prefer), keeping in mind that is a function of throughout the equation.
Warm-up exercises
Given that is a function of , find the derivative of the following functions with respect to .
1.
Solution:
Reason: Think and view it as to see that the derivative is by the chain rule, but write it as .
2.
Solution:
Reason: and are both functions of , and they are being multiplied together, so the product rule says it's .
3.
Solution:
Reason: The function is inside of the cosine function, so the chain rule gives .
4.
Solution:
Reason: Write it as , and use the chain rule to get , then simplify.
Exercise 1: Compute y'
Find if .
Note the term requires the chain rule, the term needs the product rule, and the derivative of 8 is 0.
We get
Exercise 2: Find equation of tangent line
Find the equation of the tangent line to at the point .
We first compute by implicit differentiation. Note the derivative of the right side requires the quotient rule.
At the point , we have and . Plugging these into our equation for gives
This means the slope of the tangent line at is , and a point on this line is . Using the point-slope form of a line, we have
Example 3
Find if .
Use implicit differentiation to find first:
Now is just the derivative of
with respect to (remember ). This will require
the chain rule. Note that we already found the derivative of
to be . So
But we mustn't leave in our final answer. So, plug
back in to get
as our final answer.