Difference between revisions of "022 Sample Final A, Problem 1"

From Math Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
'''Solution:'''
 
'''Solution:'''
 
{| class="mw-collapsible mw-collapsed" style = "text-align:left;"
 
{| class="mw-collapsible mw-collapsed" style = "text-align:left;"
!Foundations:    
+
!Step 1:    
 
|-
 
|-
|The word 'marginal' should make you immediately think of a derivative.  In this case, the marginal is just the partial derivative with respect to a particular variable.
+
|First, we start by finding the first partial derivatives. So we have to take the partial derivative of f(x, y)with respect to x, and the partial derivative of f(x, y)with respect to y. This gives us the following:
 
|-
 
|-
|The teacher has also added the additional restriction that you should not leave your answer with negative exponents.
+
|
 +
::<math>\begin{array}{rcl}
 +
\frac{\partial}{\partial x} f(x, y) & = & \frac{\partial}{\partial x} \left( \frac{2xy}{x - y}\right)\\
 +
& = & \frac{2y(x - y) -2xy}{(x - y)^2}\\
 +
& = & \frac{-2y^2}{(x - y)^2}
 +
\end{array}</math>
 +
|-
 +
|This gives us the derivative with respect to x. To find the derivative with respect to y, we do the following:
 +
|-
 +
|
 +
::<math>\begin{array}{rcl}
 +
\frac{\partial}{\partial y}f(x, y) & = & \frac{\partial}{\partial y}\left(\frac{2xy}{x - y}\right)\\
 +
& = & \frac{2x(x - y) +2xy}{(x - y)^2}\\
 +
& = & \frac{2x^2}{(x - y)^2}
 +
\end{array}</math>
 +
|}
 +
 
 +
{| class="mw-collapsible mw-collapsed" style = "text-align:left;"
 +
!Step 2: &nbsp;
 +
|-
 +
|Now we have to find the 4 second derivatives:
 +
|-
 +
|
 +
<math>\begin{array}{rcl}
 +
\frac{\partial}{\partial x} \frac{\partial f(x, y)}{\partial x} & = & \frac{\partial}{\partial x}\left(\frac{-2y^2}{(x - y)^2}\right)\\
 +
& = & \frac{0 - 2(x - y)(-2y^2)}{(x - y)^4}\\
 +
& = & \frac{4xy^2 - 4y^3}{(x - y)^4}
 +
\end{array}</math>
 +
|-
 +
|
 +
<math>\begin{array}{rcl}
 +
\frac{\partial}{\partial y} \frac{\partial f(x, y)}{\partial x} & = & \frac{\partial}{\partial y}\left(\frac{-2y^2}{(x - y)^2}\right)\\
 +
& = & \frac{-4y(x - y)^2 +4y^2(x - y)}{(x - y)^4}\\
 +
& = & \frac{-4y(x^2 - 2xy + y^2) + 4xy^2 - 4y^3}{(x - y)^4}\\
 +
& = & \frac{-4x^2y + 12xy^2 - 8y^3}{(x - y)^4}
 +
\end{array}</math>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 
|}
 
|}

Revision as of 09:29, 5 June 2015

Find all first and second partial derivatives of the following function, and demostrate that the mixed second partials are equal for the function Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x, y) = \frac{2xy}{x-y}.}


Foundations:  
1)Which derivative rules do you have to use for this problem?
2)What is the partial derivative of xy, with respect to x?
1)You have to use the quotient rule, and product rule. The quotient rule says that Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\partial}{\partial x} \left(\frac{f(x)}{g(x)}\right) = \frac{f'(x)g(x) - g'(x)f(x)}{g(x)^2}} ,   so Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\partial}{\partial x} \left(\frac{x^2}{x + 1}\right) = \frac{2x(x + 1) - x^2}{(x + 1)^2}} . The product rule says Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\partial}{\partial x} f(x)g(x) = f'(x)g(x) + g'(x)f(x) } .   This means Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\partial}{\partial x} x(x + 1) = (x + 1) + x }
2) The partial derivative is y, since we treat anything not involving x as a constant and take the derivative with respect to x. So Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{\partial}{\partial y} xy = x\frac{\partial}{\partial y} y = x.}

Solution:

Step 1:  
First, we start by finding the first partial derivatives. So we have to take the partial derivative of f(x, y)with respect to x, and the partial derivative of f(x, y)with respect to y. This gives us the following:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} \frac{\partial}{\partial x} f(x, y) & = & \frac{\partial}{\partial x} \left( \frac{2xy}{x - y}\right)\\ & = & \frac{2y(x - y) -2xy}{(x - y)^2}\\ & = & \frac{-2y^2}{(x - y)^2} \end{array}}
This gives us the derivative with respect to x. To find the derivative with respect to y, we do the following:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} \frac{\partial}{\partial y}f(x, y) & = & \frac{\partial}{\partial y}\left(\frac{2xy}{x - y}\right)\\ & = & \frac{2x(x - y) +2xy}{(x - y)^2}\\ & = & \frac{2x^2}{(x - y)^2} \end{array}}
Step 2:  
Now we have to find the 4 second derivatives:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} \frac{\partial}{\partial x} \frac{\partial f(x, y)}{\partial x} & = & \frac{\partial}{\partial x}\left(\frac{-2y^2}{(x - y)^2}\right)\\ & = & \frac{0 - 2(x - y)(-2y^2)}{(x - y)^4}\\ & = & \frac{4xy^2 - 4y^3}{(x - y)^4} \end{array}}

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{array}{rcl} \frac{\partial}{\partial y} \frac{\partial f(x, y)}{\partial x} & = & \frac{\partial}{\partial y}\left(\frac{-2y^2}{(x - y)^2}\right)\\ & = & \frac{-4y(x - y)^2 +4y^2(x - y)}{(x - y)^4}\\ & = & \frac{-4y(x^2 - 2xy + y^2) + 4xy^2 - 4y^3}{(x - y)^4}\\ & = & \frac{-4x^2y + 12xy^2 - 8y^3}{(x - y)^4} \end{array}}