// Numbas version: exam_results_page_options {"name": "MA100 LT Week 6", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [{"variables": ["a", "b", "c", "d", "f", "g", "h", "vectorA", "nabla_f_vectorA", "vectorU", "f_vectorU_vectorA"], "name": "Variables for parts a to c"}, {"variables": ["u", "t", "m1", "q1", "SP1", "Det1"], "name": "Variables for part d subpart i"}, {"variables": ["q2", "r2", "s2", "m2", "n2", "p2", "SP2", "Det2"], "name": "Variables for part d subpart ii"}, {"variables": ["q3", "r3", "s3", "m3", "n3", "p3", "SP3", "Det3"], "name": "Variables for part d subpart iii"}], "parts": [{"type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "prompt": "

Consider the function $f: \\mathbb{R}^3 \\longrightarrow \\mathbb{R}$ defined by $f(x,y,z) = \\simplify{{a}*x^2 + {b}*y^2 + {c}*z^2 + {d}*x*y*z}$ for all $(x,y,z) \\in \\mathbb{R}^3$. 

\n

What are the partial derivatives of $f$? (If you wish to write something like $2x$ or $2xy$, then please write 2*x (not 2x) or 2*x*y (not 2xy), respectively, so that the system correctly interprets what you wish to write).

\n

$f_x (x,y,z) =$ [[0]] ;
$f_y (x,y,z) =$ [[1]] ;
$f_z (x,y,z) =$ [[2]] .

", "gaps": [{"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": 1, "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "2*{a}*x + {d}*y*z", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": 1, "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "2*{b}*y + {d}*x*z", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": 1, "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "2*{c}*z + {d}*x*y", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "sortAnswers": false}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "prompt": "

In this question, when we are working with $\\mathbb{R}^4$ we will use the  letters $x,y,z,u$ for the four axes. For example, the horizontal plane in $\\mathbb{R}^4$ is defined by $u = 0$; and the graph of $f$ in $\\mathbb{R}^4$ is defined by $u = f(x,y,z)$, i.e. $ u = \\simplify{{a}*x^2 + {b}*y^2 + {c}*z^2 + {d}*x*y*z}$.

\n

In this part of the question, we will find all points $(x,y,z)$ for which the tangent hyperplane to graph of $f$ at $\\big( x,y,z,f(x,y,z) \\big)$ is horizontal (i.e. parallel to the hyperplane defined by $u=0$).

\n

This occurs when all the partial derivatives are equal to zero; i.e. $f_x (x,y,z) =0$ , $f_y (x,y,z) =0$ , and $f_z (x,y,z) =0$. Note we already calculated all the partial derivatives in part a. Rearrange $f_x (x,y,z) =0$ to express $x$ in terms of $y$ and $z$. (For the next three gaps, if you wish to write something like $\\frac{2}{3} x$, $\\frac{2}{3} xy$ or $\\frac{2}{3} x^2 y$ then please write (2/3)*x, (2/3)*x*y  or (2/3)*(x^2)*y, respectively, so that the system correctly interprets what you wish to write).
$x =$ [[0]]

\n

Now we substitute this into $f_x (x,y,z) =0$ , and$f_x (x,y,z) =0$ to get
[[1]] = 0  (euqation 1);
[[2]] = 0  (equation 2).

\n

By factorising equation 1, we see that $y =$ [[3]] , $z =$ [[4]] , or $z =$ [[5]] . (Please enter the smallest $z$ value first).

\n

By factorising equation 2, we see that $y =$ [[6]] , $y =$ [[7]] , or $z =$ [[8]] . (Please enter the smallest $y$ value first).

\n

Hence we can see that the only points where all partial derivatives are zero (i.e. the only points where the tangent hyperplane is horizontal) are
$\\Big( x_1$ , [[3]] , [[8]] , $\\Big)$ ;
$\\Big( x_2$ , [[6]] , [[4]] , $\\Big)$ ;
$\\Big( x_3$ , [[6]] , [[5]] , $\\Big)$ ; 
$\\Big( x_4$ , [[7]] , [[4]] , $\\Big)$ ; 
$\\Big( x_5$ , [[7]] , [[5]] , $\\Big)$ .

\n

where $x_1 =$ [[9]] , $x_2 =$ [[10]] , $x_3 =$ [[11]] , $x_4 =$ [[12]] , $x_5 =$ [[13]] .

", "gaps": [{"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": "0.25", "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "(-{d}/(2*{a}))*y*z", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": "0.25", "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "2*{b}*y - (({d}^2)/(2*{a}))*y*z^2", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": "0.25", "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "2*{c}*z - (({d}^2)/(2*{a}))*(y^2)*z", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.25", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": false, "maxValue": "0", "variableReplacements": [], "minValue": "0", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": "0.25", "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "(-2*({a}*{b})^(1/2))/{d}", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": "0.25", "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "(2*({a}*{b})^(1/2))/{d}", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": "0.25", "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "(-2*({a}*{c})^(1/2))/{d}", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": "0.25", "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "(2*({a}*{c})^(1/2))/{d}", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.25", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": false, "maxValue": "0", "variableReplacements": [], "minValue": "0", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.25", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": false, "maxValue": "0", "variableReplacements": [], "minValue": "0", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": "0.5", "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "-2*(({b}*{c})^(1/2))/{d}", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": "0.5", "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "2*(({b}*{c})^(1/2))/{d}", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": "0.5", "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "2*(({b}*{c})^(1/2))/{d}", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}, {"vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "expectedVariableNames": [], "checkingAccuracy": 0.001, "marks": "0.5", "failureRate": 1, "unitTests": [], "customMarkingAlgorithm": "", "answer": "-2*(({b}*{c})^(1/2))/{d}", "vsetRange": [0, 1], "showPreview": true, "showCorrectAnswer": true, "variableReplacements": [], "checkingType": "absdiff", "type": "jme", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true}], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "sortAnswers": false}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "prompt": "

Now we wish to find the directional derivative of $f$ at the point $\\boldsymbol{a} = \\var{{vectorA}}$ in the direction $\\boldsymbol{u} = \\var{{vectorU}}$. That is, we wish to calculate $f_{\\boldsymbol{u}} (\\boldsymbol{a}) = \\Big\\langle \\nabla f (\\boldsymbol{a}) , \\frac{\\boldsymbol{u}}{\\| \\boldsymbol{u} \\|} \\Big\\rangle$.

\n

First we calculate $f_{\\boldsymbol{u}} (\\boldsymbol{a}) = \\begin{pmatrix} f_x (\\boldsymbol{a}) \\\\ f_y (\\boldsymbol{a}) \\\\ f_z (\\boldsymbol{a}) \\end{pmatrix} =$ [[0]] .

\n

Now we calculate $\\| \\boldsymbol{u} \\| =$ [[1]] .

\n

Hence, $f_{\\boldsymbol{u}} (\\boldsymbol{a}) = \\Big\\langle \\nabla f (\\boldsymbol{a}) , \\frac{\\boldsymbol{u}}{\\| \\boldsymbol{u} \\|} \\Big\\rangle =$ [[2]] .

", "gaps": [{"correctAnswer": "nabla_f_vectorA", "allowResize": false, "type": "matrix", "variableReplacementStrategy": "originalfirst", "correctAnswerFractions": false, "tolerance": 0, "marks": 1, "allowFractions": false, "unitTests": [], "numRows": "3", "customMarkingAlgorithm": "", "showCorrectAnswer": true, "numColumns": 1, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "markPerCell": false}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.5", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": false, "maxValue": "5", "variableReplacements": [], "minValue": "5", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"scripts": {}, "correctAnswerFraction": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "allowFractions": true, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "maxValue": "f_vectorU_vectorA", "variableReplacements": [], "minValue": "f_vectorU_vectorA", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "sortAnswers": false}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "prompt": "

For the remainder of the question we will look at classifying stationary points using principle minors. This is covered in lecture 32.

\n

i) Consider the function $h: \\mathbb{R}^3 \\longrightarrow \\mathbb{R}$ defined by $h(x,y,z) = \\simplify{{u}*x - y*x + (1/2)*y^2 - {t}*y + {q1}*z^2 - 2*{m1}*{q1}*z}$ for all $(x,y,z) \\in \\mathbb{R}^3$.

\n

Calculate the stationary point, $\\boldsymbol{x_1}$, of this function. This is similar, but easier, than what we did in part b.
$\\boldsymbol{x_1} =$ [[0]] .

\n

Now determine the second derivate of $h$ at $\\boldsymbol{x_1}$.
$h'' (\\boldsymbol{x_1}) =$ [[1]] .

\n

We can see that the determinant of $h'' (\\boldsymbol{x_1})$ (which is also the third principle minor) is [[2]] . This is non-zero and so the principle minors test will certainly work. The first principle minor is [[3]] and the second principle minor is [[4]] .

\n

Hence, $h'' (\\boldsymbol{x_1})$ is [[5]] and so our stationary point is a [[6]] .

\n

ii) Consider the function $h: \\mathbb{R}^3 \\longrightarrow \\mathbb{R}$ defined by $h(x,y,z) = \\simplify{{q2}*x^2 + {r2}*y^2 + {s2}*z^2 - 2*{m2}*{q2}*x - 2*{n2}*{r2}*y - 2*{p2}*{s2}*z}$ for all $(x,y,z) \\in \\mathbb{R}^3$.

\n

Calculate the stationary point, $\\boldsymbol{x_2}$, of this function. This is similar, but easier, than what we did in part b.
$\\boldsymbol{x_2} =$ [[7]] .

\n

Now determine the second derivate of $h$ at $\\boldsymbol{x_2}$.
$h'' (\\boldsymbol{x_2}) =$ [[8]] .

\n

We can see that the determinant of $h'' (\\boldsymbol{x_2})$ (which is also the third principle minor) is [[9]] . This is non-zero and so the principle minors test will certainly work. The first principle minor is [[10]] and the second principle minor is [[11]] .

\n

Hence, $h'' (\\boldsymbol{x_2})$ is [[12]] and so our stationary point is a [[13]] .

\n

iii) Consider the function $h: \\mathbb{R}^3 \\longrightarrow \\mathbb{R}$ defined by $h(x,y,z) = \\simplify{{q3}*x^2 + {r3}*y^2 + {s3}*z^2 - 2*{m3}*{q3}*x - 2*{n3}*{r3}*y - 2*{p3}*{s3}*z}$ for all $(x,y,z) \\in \\mathbb{R}^3$.

\n

Calculate the stationary point, $\\boldsymbol{x_3}$, of this function. This is similar, but easier, than what we did in part b.
$\\boldsymbol{x_3} =$ [[14]] .

\n

Now determine the second derivate of $h$ at $\\boldsymbol{x_3}$.
$h'' (\\boldsymbol{x_3}) =$ [[15]] .

\n

We can see that the determinant of $h'' (\\boldsymbol{x_3})$ (which is also the third principle minor) is [[16]] . This is non-zero and so the principle minors test will certainly work. The first principle minor is [[17]] and the second principle minor is [[18]] .

\n

Hence, $h'' (\\boldsymbol{x_3})$ is [[19]] and so our stationary point is a [[20]] .

", "gaps": [{"correctAnswer": "SP1", "allowResize": false, "type": "matrix", "variableReplacementStrategy": "originalfirst", "correctAnswerFractions": false, "tolerance": 0, "marks": 1, "allowFractions": false, "unitTests": [], "numRows": "3", "customMarkingAlgorithm": "", "showCorrectAnswer": true, "numColumns": 1, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "markPerCell": false}, {"correctAnswer": "Det1", "allowResize": false, "type": "matrix", "variableReplacementStrategy": "originalfirst", "correctAnswerFractions": false, "tolerance": 0, "marks": "0.5", "allowFractions": false, "unitTests": [], "numRows": "3", "customMarkingAlgorithm": "", "showCorrectAnswer": true, "numColumns": "3", "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "markPerCell": false}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "maxValue": "-2*q1", "variableReplacements": [], "minValue": "-2*q1", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.5", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": false, "maxValue": "0", "variableReplacements": [], "minValue": "0", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.5", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": false, "maxValue": "-1", "variableReplacements": [], "minValue": "-1", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "unitTests": [], "showCorrectAnswer": false, "displayColumns": 0, "marks": 0, "shuffleChoices": true, "displayType": "dropdownlist", "customMarkingAlgorithm": "", "maxMarks": 0, "minMarks": 0, "choices": ["

indefinite

", "

positive definite

", "

negative definite

"], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "matrix": ["0.25", 0, 0], "distractors": ["", "", ""]}, {"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "unitTests": [], "showCorrectAnswer": false, "displayColumns": 0, "marks": 0, "shuffleChoices": true, "displayType": "dropdownlist", "customMarkingAlgorithm": "", "maxMarks": 0, "minMarks": 0, "choices": ["

saddle point

", "

maximum point

", "

minimum point

"], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "matrix": ["0.25", 0, 0], "distractors": ["", "", ""]}, {"correctAnswer": "SP2", "allowResize": false, "type": "matrix", "variableReplacementStrategy": "originalfirst", "correctAnswerFractions": false, "tolerance": 0, "marks": 1, "allowFractions": false, "unitTests": [], "numRows": "3", "customMarkingAlgorithm": "", "showCorrectAnswer": true, "numColumns": 1, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "markPerCell": false}, {"correctAnswer": "Det2", "allowResize": false, "type": "matrix", "variableReplacementStrategy": "originalfirst", "correctAnswerFractions": false, "tolerance": 0, "marks": "0.5", "allowFractions": false, "unitTests": [], "numRows": "3", "customMarkingAlgorithm": "", "showCorrectAnswer": true, "numColumns": "3", "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "markPerCell": false}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.5", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "maxValue": "8*q2*r2*s2", "variableReplacements": [], "minValue": "8*q2*r2*s2", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.25", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "maxValue": "2*q2", "variableReplacements": [], "minValue": "2*q2", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.25", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "maxValue": "4*q2*r2", "variableReplacements": [], "minValue": "4*q2*r2", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "unitTests": [], "showCorrectAnswer": false, "displayColumns": 0, "marks": 0, "shuffleChoices": true, "displayType": "dropdownlist", "customMarkingAlgorithm": "", "maxMarks": 0, "minMarks": 0, "choices": ["

indefinite

", "

positive definite

", "

negative definite

"], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "matrix": ["0", "0.25", 0], "distractors": ["", "", ""]}, {"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "unitTests": [], "showCorrectAnswer": false, "displayColumns": 0, "marks": 0, "shuffleChoices": true, "displayType": "dropdownlist", "customMarkingAlgorithm": "", "maxMarks": 0, "minMarks": 0, "choices": ["

saddle point

", "

maximum point

", "

minimum point

"], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "matrix": ["0", 0, "0.25"], "distractors": ["", "", ""]}, {"correctAnswer": "SP3", "allowResize": false, "type": "matrix", "variableReplacementStrategy": "originalfirst", "correctAnswerFractions": false, "tolerance": 0, "marks": 1, "allowFractions": false, "unitTests": [], "numRows": "3", "customMarkingAlgorithm": "", "showCorrectAnswer": true, "numColumns": 1, "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "markPerCell": false}, {"correctAnswer": "Det3", "allowResize": false, "type": "matrix", "variableReplacementStrategy": "originalfirst", "correctAnswerFractions": false, "tolerance": 0, "marks": "0.5", "allowFractions": false, "unitTests": [], "numRows": "3", "customMarkingAlgorithm": "", "showCorrectAnswer": true, "numColumns": "3", "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "markPerCell": false}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.5", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "maxValue": "8*q3*r3*s3", "variableReplacements": [], "minValue": "8*q3*r3*s3", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.25", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "maxValue": "2*q3", "variableReplacements": [], "minValue": "2*q3", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"scripts": {}, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReducedPC": 0, "marks": "0.25", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "maxValue": "4*q3*r3", "variableReplacements": [], "minValue": "4*q3*r3", "showFeedbackIcon": true, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain"}, {"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "unitTests": [], "showCorrectAnswer": false, "displayColumns": 0, "marks": 0, "shuffleChoices": true, "displayType": "dropdownlist", "customMarkingAlgorithm": "", "maxMarks": 0, "minMarks": 0, "choices": ["

indefinite

", "

positive definite

", "

negative definite

"], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "matrix": ["0", "0", "0.25"], "distractors": ["", "", ""]}, {"type": "1_n_2", "variableReplacementStrategy": "originalfirst", "unitTests": [], "showCorrectAnswer": false, "displayColumns": 0, "marks": 0, "shuffleChoices": true, "displayType": "dropdownlist", "customMarkingAlgorithm": "", "maxMarks": 0, "minMarks": 0, "choices": ["

saddle point

", "

maximum point

", "

minimum point

"], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "matrix": ["0", "0.25", "0"], "distractors": ["", "", ""]}], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "extendBaseMarkingAlgorithm": true, "sortAnswers": false}], "functions": {}, "variables": {"m1": {"name": "m1", "templateType": "anything", "group": "Variables for part d subpart i", "description": "

This helps form part of our function in part d)i), namely the coefficients.

", "definition": "random(1..5)"}, "q3": {"name": "q3", "templateType": "anything", "group": "Variables for part d subpart iii", "description": "

This helps form part of our function in part d)iii), namely the coefficients.

", "definition": "random(-5..-1)"}, "SP1": {"name": "SP1", "templateType": "anything", "group": "Variables for part d subpart i", "description": "

This is the stationary point in part d)i).

", "definition": "vector(u - t , u , m1)"}, "Det1": {"name": "Det1", "templateType": "anything", "group": "Variables for part d subpart i", "description": "

This is the second derivative in part d)i).

", "definition": "matrix([0 , -1 , 0] , [-1 , 1 , 0] , [0 , 0 , 2*q1])"}, "SP2": {"name": "SP2", "templateType": "anything", "group": "Variables for part d subpart ii", "description": "

This is the stationary point in part d)ii).

", "definition": "vector(m2 , n2 , p2)"}, "r3": {"name": "r3", "templateType": "anything", "group": "Variables for part d subpart iii", "description": "

This helps form part of our function in part d)iii), namely the coefficients.

", "definition": "random(-5..-1)"}, "t": {"name": "t", "templateType": "anything", "group": "Variables for part d subpart i", "description": "

This helps form part of our function in part d)i), namely the coefficients.

", "definition": "random(-5..5 except(0) except(u))"}, "p2": {"name": "p2", "templateType": "anything", "group": "Variables for part d subpart ii", "description": "

This helps form part of our function in part d)ii), namely the coefficients.

", "definition": "random(-5..5 except(0))"}, "n2": {"name": "n2", "templateType": "anything", "group": "Variables for part d subpart ii", "description": "

This helps form part of our function in part d)ii), namely the coefficients.

", "definition": "random(-5..5 except(0))"}, "b": {"name": "b", "templateType": "anything", "group": "Variables for parts a to c", "description": "

This is one of the coefficients of our function defined in part a.

", "definition": "(random(1..5))^2"}, "s2": {"name": "s2", "templateType": "anything", "group": "Variables for part d subpart ii", "description": "

This helps form part of our function in part d)ii), namely the coefficients.

", "definition": "random(1..5)"}, "n3": {"name": "n3", "templateType": "anything", "group": "Variables for part d subpart iii", "description": "

This helps form part of our function in part d)iii), namely the coefficients.

", "definition": "random(-5..5 except(0))"}, "q1": {"name": "q1", "templateType": "anything", "group": "Variables for part d subpart i", "description": "

This helps form part of our function in part d)i), namely the coefficients.

", "definition": "random(1..5)"}, "p3": {"name": "p3", "templateType": "anything", "group": "Variables for part d subpart iii", "description": "

This helps form part of our function in part d)iii), namely the coefficients.

", "definition": "random(-5..5 except(0))"}, "vectorU": {"name": "vectorU", "templateType": "anything", "group": "Variables for parts a to c", "description": "

This is the direction vector in part c.

", "definition": "vector(1,2,2)"}, "nabla_f_vectorA": {"name": "nabla_f_vectorA", "templateType": "anything", "group": "Variables for parts a to c", "description": "

This is the value of nabla f at the point vectorX.

", "definition": "vector(2*{a}*{f} + {d}*{g}*{h} , 2*{b}*{g} + {d}*{f}*{h} , 2*{c}*{h} + {d}*{f}*{g})"}, "a": {"name": "a", "templateType": "anything", "group": "Variables for parts a to c", "description": "

This is one of the coefficients of our function defined in part a.

", "definition": "(random(1..5))^2"}, "m3": {"name": "m3", "templateType": "anything", "group": "Variables for part d subpart iii", "description": "

This helps form part of our function in part d)iii), namely the coefficients.

", "definition": "random(-5..5 except(0))"}, "u": {"name": "u", "templateType": "anything", "group": "Variables for part d subpart i", "description": "

This helps form part of our function in part d)i), namely the coefficients.

", "definition": "random(-5..5 except(0))"}, "m2": {"name": "m2", "templateType": "anything", "group": "Variables for part d subpart ii", "description": "

This helps form part of our function in part d)ii), namely the coefficients.

", "definition": "random(-5..5 except(0))"}, "g": {"name": "g", "templateType": "anything", "group": "Variables for parts a to c", "description": "

This is the y coordinate of our point in part c.

", "definition": "random(1..5)"}, "r2": {"name": "r2", "templateType": "anything", "group": "Variables for part d subpart ii", "description": "

This helps form part of our function in part d)ii), namely the coefficients.

", "definition": "random(1..5)"}, "f_vectorU_vectorA": {"name": "f_vectorU_vectorA", "templateType": "anything", "group": "Variables for parts a to c", "description": "

This is the directional derivative of f at the point vectorX in the direction vectorU

", "definition": "dot(nabla_f_vectorA , (1/5)*vectorU)"}, "s3": {"name": "s3", "templateType": "anything", "group": "Variables for part d subpart iii", "description": "

This helps form part of our function in part d)iii), namely the coefficients.

", "definition": "random(-5..-1)"}, "q2": {"name": "q2", "templateType": "anything", "group": "Variables for part d subpart ii", "description": "

This helps form part of our function in part d)ii), namely the coefficients.

", "definition": "random(1..5)"}, "c": {"name": "c", "templateType": "anything", "group": "Variables for parts a to c", "description": "

This is one of the coefficients of our function defined in part a. It is chosen so that it is not equal to the variable b. This ensure that we have 5 points where the tangent plane is horizontal (if c-b then we would have only 3).

", "definition": "(random(1..5 except((b)^(1/2))))^2"}, "Det2": {"name": "Det2", "templateType": "anything", "group": "Variables for part d subpart ii", "description": "

This is the second derivative in part d)ii).

", "definition": "matrix([2*q2 , 0 , 0] , [0 , 2*r2 , 0] , [0 , 0 , 2*s2])"}, "f": {"name": "f", "templateType": "anything", "group": "Variables for parts a to c", "description": "

This is the x coordinate of our point in part c.

", "definition": "random(1..5)"}, "Det3": {"name": "Det3", "templateType": "anything", "group": "Variables for part d subpart iii", "description": "

This is the second derivative in part d)iii).

", "definition": "matrix([2*q3 , 0 , 0] , [0 , 2*r3 , 0] , [0 , 0 , 2*s3])"}, "h": {"name": "h", "templateType": "anything", "group": "Variables for parts a to c", "description": "

This is the z coordinate of our point in part c. It is define to not equal the variable g as this is a sufficient (although not necessary) condition to ensure that the the gradient of f at the point (f,g,h) is not the zero vector.

", "definition": "random(1..5 except(g))"}, "vectorA": {"name": "vectorA", "templateType": "anything", "group": "Variables for parts a to c", "description": "", "definition": "vector(f,g,h)"}, "d": {"name": "d", "templateType": "anything", "group": "Variables for parts a to c", "description": "

This is one of the coefficients of our function defined in part a.

", "definition": "random(1..5)"}, "SP3": {"name": "SP3", "templateType": "anything", "group": "Variables for part d subpart iii", "description": "

This is the stationary point in part d)iii).

", "definition": "vector(m3 , n3 , p3)"}}, "extensions": [], "variablesTest": {"condition": "", "maxRuns": 100}, "name": "MA100 LT Week 6", "statement": "

Lent Term Week 6 (lectures 31 and 32): In this question you will look at partial derivatives, tangent hyperplanes, and classifying stationary points using principle minors.

\n

Please read the following before attempting the question:

\n

If you have not provided an answer to every input gap of a question or part of the question, and you try to submit your answers to the question or part, then you will see the message \"Can not submit answer - check for errors\". In reality your answer has been submitted, but the system is just concerned that you have not submitted an answer to every input gap. For this reason, please ensure that you provide an answer to every input gap in the question or part before submitting. Even if you are unsure of the answer, write down what you think is most likely to be correct; you can always change your answer or retry the question.

\n

As with all questions, there may be parts where you can choose to \"Show steps\". This may give a hint, or it may present sub-parts which will help you to solve that part of the question. Furthermore, remember to always press the \"Show feedback\" button at the end of each part. Sometimes, helpful feedback will be given here, and often it will depend on how correctly you have answered and will link to other parts of the question. Hence, always retry the parts until you obtain full marks, and then look at the feedback again.

Keep in mind that in order to see the feedback for a particular part of a question, you must provide a full (but not necessarily correct) answer to that part. Do not worry though, as you can look at the feedback and then ammend your answer accordingly.

Furthermore, as with all questions, choosing to reveal the answers will only show you the answers which change every time the question is loaded (i.e. answers to randomised questions); the fixed answers will not be revealed.

", "preamble": {"js": "", "css": ""}, "tags": [], "rulesets": {}, "ungrouped_variables": [], "metadata": {"description": "

This is the question for Lent Term week 6 of the MA100 course at the LSE. It looks at material from chapters 31 and 32.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "advice": "", "type": "question", "contributors": [{"name": "Michael Yiasemides", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1440/"}]}]}], "contributors": [{"name": "Michael Yiasemides", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1440/"}]}