// Numbas version: exam_results_page_options {"name": "MA100 LT Week 5", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"statement": "

Lent Term Week 5 (lectures 29 and 30): In this question you will look at countours of a function, tagent planes, plane intersections, the gradient function, and directional derivatives.

\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.

", "variables": {"m": {"description": "

This is the x coordinate of our climber on the mountain.

", "definition": "random(100 , 200 , 300 , 400 , 500)", "name": "m", "group": "Variables for part f", "templateType": "anything"}, "u": {"description": "

This is a direction vector in the x,y plane.

", "definition": "vector(3,4)", "name": "u", "group": "Variables for part f", "templateType": "anything"}, "f_u_m_n": {"description": "

This is the drectional derivative of f at the point (m,n,f(m,n)) in the direction u.

", "definition": "dot(nabla_f_m_n , (1/5) * u)", "name": "f_u_m_n", "group": "Variables for part f", "templateType": "anything"}, "mod_nabla_f_m_n": {"description": "

This is the modulus of nabla_f_m_n. I.e. the rate of increase in the direction of greatest increase of f at the point (m,n,f(m,n))

", "definition": "(dot(nabla_f_m_n , nabla_f_m_n))^(1/2)", "name": "mod_nabla_f_m_n", "group": "Variables for part f", "templateType": "anything"}, "c": {"description": "

This is the z value of the point that we want the student to find the tangent plane of. By its definition and the definition of a and b, it is always positive.

", "definition": "a^2 - b^2", "name": "c", "group": "Variables for parts b to d", "templateType": "anything"}, "b": {"description": "

This is the y value of the point that we want the student to find the tangent plane of.

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

This is the x value of the point that we want the student to find the tangent plane of. It is defined so that it is larger than the y value, b. Hence, the z value, c, which is a^2 - b^2 by definition, is positive.

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

This is the direction of greatest increase of f at the point (m,n,f(m,n))

", "definition": "vector(-0.002*m , -0.008*n)", "name": "nabla_f_m_n", "group": "Variables for part f", "templateType": "anything"}, "f_m_n": {"description": "

This is the z coordinate of our climber on the mountain.

", "definition": "4000 - 0.001*m*m - 0.004*n*n", "name": "f_m_n", "group": "Variables for part f", "templateType": "anything"}, "n": {"description": "

This is the y coordinate of our climber on the mountain.

", "definition": "random(100 , 200 , 300 , 400 , 500)", "name": "n", "group": "Variables for part f", "templateType": "anything"}}, "advice": "", "variable_groups": [{"variables": ["a", "b", "c"], "name": "Variables for parts b to d"}, {"variables": ["m", "n", "f_m_n", "nabla_f_m_n", "mod_nabla_f_m_n", "u", "f_u_m_n"], "name": "Variables for part f"}], "preamble": {"css": "", "js": ""}, "parts": [{"scripts": {}, "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "type": "gapfill", "showCorrectAnswer": true, "prompt": "

What is the definition of the graph of a function $f : \\mathbb{R}^2 \\longrightarrow \\mathbb{R}$.

[[0]]

", "marks": 0, "variableReplacements": [], "unitTests": [], "showFeedbackIcon": true, "gaps": [{"minMarks": 0, "variableReplacementStrategy": "originalfirst", "scripts": {}, "matrix": ["1", 0, 0], "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "choices": ["

The graph of a function $f : \\mathbb{R}^2 \\longrightarrow \\mathbb{R}$ is the subset of $\\mathbb{R}^3$ consisting of all points of the form $\\big( x ,y , f(x,y) \\big)$ such that $x, y \\in \\mathbb{R}$; i.e. all points $\\big( x ,y , z \\big)$ that satisfy $x,y \\in \\mathbb{R}$ and $z=f(x,y)$.

", "

The graph of a function $f : \\mathbb{R}^2 \\longrightarrow \\mathbb{R}$ is the subset of $\\mathbb{R}^3$ consisting of all points of the form $\\big( x , 0 , f(x,0) \\big)$ such that $x \\in \\mathbb{R}$; i.e. all points $\\big( x ,0 , z \\big)$ that satisfy $x \\in \\mathbb{R}$ and $z=f(x,0)$.

", "

The graph of a function $f : \\mathbb{R}^2 \\longrightarrow \\mathbb{R}$ is the subset of $\\mathbb{R}^3$ consisting of all points of the form $\\big( 0 ,y , f(0,y) \\big)$ such that $y \\in \\mathbb{R}$; i.e. all points $\\big( 0 ,y , z \\big)$ that satisfy $y \\in \\mathbb{R}$ and $z=f(0,y)$.

"], "marks": 0, "showCorrectAnswer": false, "displayType": "radiogroup", "distractors": ["", "", ""], "displayColumns": "1", "type": "1_n_2", "variableReplacements": [], "shuffleChoices": true, "unitTests": [], "showFeedbackIcon": true, "maxMarks": 0}]}, {"scripts": {}, "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "type": "gapfill", "showCorrectAnswer": true, "prompt": "

Consider the function $f: \\mathbb{R}^2 \\longrightarrow \\mathbb{R}$ defined by $f(x,y) = x^2 - y^2$ for all $x,y \\in \\mathbb{R}$.

\n

On a sheet of paper, draw the countours $f(x,y) = c$ for $c = 0 , 1 , 4,$ and $9$ on a single copy of the $x,y$ plane. In each case for $c$, you can start by considering the points on the contour where $y=0$, and also how the graph behaves when $x$ is large. What are the equations of the assymptotes that each contour share? (Please enter the equation of the assymptote with positive gradient first).

\n

$y =$ [[0]] and
$y =$ [[1]]

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

The cartesian equation of the tangent plane to the graph of $f$ at the general point $\\big( a , b , f(a,b) \\big)$ is given by $z - f(a,b) = f_x (a,b) (x - a) + f_y (a,b) (y - b)$.

\n

First let us calculate $f_x (x , y)$ and $f_y (x , y)$.

\n

$f_x (x , y) =$

", "unitTests": [], "showFeedbackIcon": true, "checkingAccuracy": 0.001}, {"failureRate": 1, "scripts": {}, "extendBaseMarkingAlgorithm": true, "expectedVariableNames": [], "customMarkingAlgorithm": "", "vsetRange": [0, 1], "variableReplacements": [], "type": "jme", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "checkingType": "absdiff", "vsetRangePoints": 5, "checkVariableNames": false, "showPreview": true, "marks": "0.5", "answer": "-2 * y", "prompt": "

$f_y (x , y) =$

", "unitTests": [], "showFeedbackIcon": true, "checkingAccuracy": 0.001}, {"scripts": {}, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "marks": "0.5", "showCorrectAnswer": true, "prompt": "

Now we can now calculate $f_x (\\var{{a}} , \\var{{b}} )$ and $f_y (\\var{{a}} , \\var{{b}} )$.

\n

$f_x (\\var{{a}} , \\var{{b}} ) =$

", "allowFractions": false, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "maxValue": "2*a", "type": "numberentry", "mustBeReduced": false, "variableReplacements": [], "unitTests": [], "minValue": "2*a", "correctAnswerFraction": false}, {"scripts": {}, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "marks": "0.5", "showCorrectAnswer": true, "prompt": "

$f_y (\\var{{a}} , \\var{{b}} ) =$

", "allowFractions": false, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "maxValue": "-2*b", "type": "numberentry", "mustBeReduced": false, "variableReplacements": [], "unitTests": [], "minValue": "-2*b", "correctAnswerFraction": false}, {"failureRate": 1, "scripts": {}, "extendBaseMarkingAlgorithm": true, "expectedVariableNames": [], "customMarkingAlgorithm": "", "vsetRange": [0, 1], "variableReplacements": [], "type": "jme", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "checkingType": "absdiff", "vsetRangePoints": 5, "checkVariableNames": false, "showPreview": true, "marks": 1, "answer": "2*{a}*x - 2*{b}*y + {c} - 2*{a}*{a} + 2*{b}*{b}", "prompt": "

Hence, using the cartesian equation for the tangent plane of a general point that we gave at the start of these steps, we can see that the cartesian equation for the tangent plane to the graph of $f$ at the point $\\big( \\var{{a}} , \\var{{b}} , \\var{{c}} \\big)$ is 

\n

$z =$

", "unitTests": [], "showFeedbackIcon": true, "checkingAccuracy": 0.001}], "type": "gapfill", "prompt": "

Find a cartesian desciption for the tangent plane $\\Pi$ to the graph of $f$ at the point $\\big( \\var{{a}} , \\var{{b}} , \\var{{c}} \\big)$. (Press the \"Show steps\" button if you require a breakdown of the question into steps).

\n

$z =$ [[0]] .

", "unitTests": [], "showFeedbackIcon": true, "marks": 0, "sortAnswers": false}, {"scripts": {}, "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "type": "gapfill", "showCorrectAnswer": true, "prompt": "

Let $Q$ be the horizontal plane passing through the point $(\\var{{a}} , \\var{{b}} , \\var{{c}})$, and let $l$ be the line of intersection of the plane $\\Pi$, defined in part b, and the plane $Q$. We will find the vector parametric description of the line $l$.

\n

We have already found, in part b, the cartesian description of the plane $\\Pi$. What is the cartesian description of the plane $Q$?

\n

$z =$ [[0]] .

\n

Since $l$ is the intersection of $\\Pi$ and $Q$, its cartesian description will consist of the cartesian equations for both $\\Pi$ and $Q$. We can obtain an equivalent cartesian description by substituting the cartesian equation of $Q$ into the cartesian equation of $\\Pi$. This gives:

\n

$y =$ [[1]] .

\n

Hence, the two equations
$y =$ [[1]] and 
$z =$ [[0]]
also form a cartesian description for $l$.

\n

We can let $x$ play the role of the free variable; that is, let $x = t$. Then, $y$ can be expressed in terms of $t$ by using the first equation directly above. The second equation directly above shows us that $z$ has no dependence on $t$. Hence we can see that

\n

$\\begin{pmatrix} x \\\\ y \\\\ z \\end{pmatrix} = $ [[2]]$t +$ [[3]] .

\n

This is the vector parametric equation for $l$.

\n

", "marks": 0, "variableReplacements": [], "unitTests": [], "showFeedbackIcon": true, "gaps": [{"failureRate": 1, "scripts": {}, "extendBaseMarkingAlgorithm": true, "expectedVariableNames": [], "customMarkingAlgorithm": "", "vsetRange": [0, 1], "type": "jme", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "checkingType": "absdiff", "vsetRangePoints": 5, "checkVariableNames": false, "showPreview": true, "marks": "1", "answer": "{c}", "variableReplacements": [], "unitTests": [], "showFeedbackIcon": true, "checkingAccuracy": 0.001}, {"failureRate": 1, "scripts": {}, "extendBaseMarkingAlgorithm": true, "expectedVariableNames": [], "customMarkingAlgorithm": "", "vsetRange": [0, 1], "type": "jme", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "checkingType": "absdiff", "vsetRangePoints": 5, "checkVariableNames": false, "showPreview": true, "marks": "1", "answer": "{a}*x/{b} + {b} - {a}*{a}/{b}", "variableReplacements": [], "unitTests": [], "showFeedbackIcon": true, "checkingAccuracy": 0.001}, {"markPerCell": false, "scripts": {}, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "allowResize": false, "type": "matrix", "unitTests": [], "showCorrectAnswer": true, "correctAnswerFractions": true, "allowFractions": true, "tolerance": 0, "correctAnswer": "vector(1 , a/b , 0)", "variableReplacements": [], "numRows": "3", "numColumns": 1, "showFeedbackIcon": true, "marks": 1}, {"markPerCell": false, "scripts": {}, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "allowResize": false, "type": "matrix", "unitTests": [], "showCorrectAnswer": true, "correctAnswerFractions": true, "allowFractions": true, "tolerance": 0, "correctAnswer": "vector(0 , b - (a^2)/b , c)", "variableReplacements": [], "numRows": "3", "numColumns": 1, "showFeedbackIcon": true, "marks": 1}]}, {"scripts": {"mark": {"script": "this.markingFeedback = [];\n//This clears the feedback that would normally be given automatically by the built in script. We just want to show our own feedback.\n\n//For the code below: \"this.credit tells us the proportion of the marks that the student got for this part of the question. For example, if the student scored 1 mark out of three, then \"this.credit\" would equal to 1/3.\nif (this.credit < 1){\n this.markingComment('Not quite. Try again and have a look at this feedback section once each gap has been answered correctly as there will be some useful feedback.');\n}else if (this.credit == 1){\n this.markingComment('Good! $\\\\nabla f (a,b)$ represents the direction of greatest increase of the graph of $f$ at the point $\\\\big(a,b,f(a,b) \\\\big)$, and $\\\\| \\\\nabla f (a,b) \\\\|$ is the actual rate of increase in this direction. $f_{\\\\boldsymbol{u}} (a,b)$ simply tells us what the rate of increase is at the point $(a,b, f(a,b))$ in the direction $\\\\boldsymbol{u}$.');\n}", "order": "after"}}, "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "type": "gapfill", "showCorrectAnswer": true, "prompt": "

In the remainder of the question, we will look at the gradient of a function $f : \\mathbb{R}^2 \\longrightarrow \\mathbb{R}$, and directional derivatives.

\n

What is the mathematical definition of $\\nabla f$, the gradient of $f$?
[[0]]

\n

What is the geometric interpretation of $\\nabla f$?
[[1]]

\n

Let $(a,b) \\in \\mathbb{R}^2$. What would be the rate of greatest increase of $f$ at the point $(a,b)$?
[[2]]

\n

Let $\\boldsymbol{u} \\in \\mathbb{R}^2$. What is the mathematical definition of $f_{\\boldsymbol{u}} (a,b)$?
[[3]]

\n

What is the geometric interpretation of $f_{\\boldsymbol{u}} (a,b)$?
[[4]]

\n

Please press the \"Show feedback\" button once you have completed all of this part of the question.

", "marks": 0, "variableReplacements": [], "unitTests": [], "showFeedbackIcon": true, "gaps": [{"minMarks": 0, "variableReplacementStrategy": "originalfirst", "scripts": {}, "matrix": ["1", 0, 0], "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "choices": ["

$\\nabla f$ is a function from $\\mathbb{R}^2$ to $\\mathbb{R}^2$ defined by $\\nabla f (x,y) = \\begin{pmatrix} f_x (x,y) \\\\ f_y (x,y) \\end{pmatrix}$ for all $(x,y) \\in \\mathbb{R}^2$.

", "

$\\nabla f$ is a function from $\\mathbb{R}^2$ to $\\mathbb{R}^2$ defined by $\\nabla f (x,y) = \\Bigg\\| \\begin{pmatrix} f_x (x,y) \\\\ f_y (x,y) \\end{pmatrix} \\Bigg\\|$ for all $(x,y) \\in \\mathbb{R}^2$.

", "

$\\nabla f$ is a function from $\\mathbb{R}^2$ to $\\mathbb{R}^2$ defined by $\\nabla f (x,y) = \\frac{\\begin{pmatrix} f_x (x,y) \\\\ f_y (x,y) \\end{pmatrix}}{\\Bigg\\| \\begin{pmatrix} f_x (x,y) \\\\ f_y (x,y) \\end{pmatrix} \\Bigg\\|}$ for all $(x,y) \\in \\mathbb{R}^2$.

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

For a point $(a,b) \\in \\mathbb{R}^2$ where $\\nabla f (a,b) \\neq \\boldsymbol{0}$, $\\nabla f (a,b)$ represents the direction of greatest increase of $f$ at the point $(a,b)$. That is, if a person where standing at the point $ \\big(a,b, f(a,b) \\big)$ on the graph of $f$, and they tried walking in the direction $\\nabla f (a,b)$, then they would walk along the graph of $f$ in the steepest \"up-hill\" direction for the point $(a,b)$.

", "

For a point $(a,b) \\in \\mathbb{R}^2$ where $\\nabla f (a,b) \\neq \\boldsymbol{0}$,$\\nabla f (a,b)$ represents the direction of greatest descrease of $f$ at the point $(a,b)$. That is, if a person where standing at the point $ \\big(a,b, f(a,b) \\big)$ on the graph of $f$, and they tried walking in the direction $\\nabla f (a,b)$, then they would walk along the graph of $f$ in the steepest \"down-hill\" direction for the point $(a,b)$.

", "

For a point $(a,b) \\in \\mathbb{R}^2$ where $\\nabla f (a,b) \\neq \\boldsymbol{0}$,$\\nabla f (a,b)$ represents a direction of no increase or decrease of $f$ at the point $(a,b)$. That is, if a person where standing at the point $ \\big(a,b, f(a,b) \\big)$ on the graph of $f$, and they tried walking in the direction $\\nabla f (a,b)$, then they would walk along the graph of $f$ in the level (i.e. neither \"up-hill\" nor \"down-hill\") direction for the point $(a,b)$.

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

$\\Bigg\\| \\begin{pmatrix} f_x (a,b) \\\\ f_y (a,b) \\end{pmatrix} \\Bigg\\|$

", "

$\\Bigg\\| \\begin{pmatrix} a \\\\ b \\end{pmatrix} \\Bigg\\|$

", "

$f_{x,y} (a,b)$

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

$f_{\\boldsymbol{u}} (a,b) = \\bigg\\langle \\nabla f (a,b) , \\frac{\\boldsymbol{u}}{\\| \\boldsymbol{u} \\|} \\bigg\\rangle$.

", "

$f_{\\boldsymbol{u}} (a,b) = \\bigg\\langle \\nabla f (a,b) , \\boldsymbol{u} \\bigg\\rangle$.

", "

$f_{\\boldsymbol{u}} (a,b) = \\bigg\\langle \\frac{\\nabla f (a,b)}{\\| \\nabla f (a,b) \\|} , \\boldsymbol{u} \\bigg\\rangle$.

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

$f_{\\boldsymbol{u}} (a,b)$ is the rate of change of $f$ at $\\big(a,b,f(a,b) \\big)$ in the direction $\\boldsymbol{u}$. That is, if we were \"standing\" at the point $\\big(a,b,f(a,b) \\big)$ and tried to \"walk\" along a path in the direction $\\boldsymbol{u}$, then the gradient of our path at that point would be $f_{\\boldsymbol{u}} (a,b)$.

", "

$f_{\\boldsymbol{u}} (a,b)$ is the angle between the direction $\\boldsymbol{u}$ and the direction of greatest increase at $\\big(a,b,f(a,b) \\big)$.

", "

$f_{\\boldsymbol{u}} (a,b)$ is the angle between the direction $\\boldsymbol{u}$ and the direction of greatest decrease at$\\big(a,b,f(a,b) \\big)$.

"], "marks": 0, "showCorrectAnswer": false, "displayType": "radiogroup", "distractors": ["", "", ""], "displayColumns": "1", "type": "1_n_2", "variableReplacements": [], "shuffleChoices": true, "unitTests": [], "showFeedbackIcon": true, "maxMarks": 0}]}, {"scripts": {}, "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "type": "gapfill", "showCorrectAnswer": true, "prompt": "

Now suppose we are told that the function $f : \\mathbb{R}^2 \\longrightarrow \\mathbb{R}$ is defined by $f(x,y) = 4000 - 0.001x^2 - 0.004 y^2$ for all $(x,y) \\in \\mathbb{R}^2$. The graph of this function represents the surface of a mountain.

\n

Suppose there is a mountain climber at the position $(\\var{{m}} , \\var{{n}} , \\var{{f_m_n}})$. We want to determine the direction they should travel in order to ascend at the greatest rate, and determine what this rate of ascent would be.

\n

We know the direcion of greatest ascent at $(\\var{{m}} , \\var{{n}} , \\var{{f_m_n}})$ is $\\nabla f (\\var{{m}} , \\var{{n}}) = \\begin{pmatrix} f_x (\\var{{m}} , \\var{{n}}) \\\\ f_y (\\var{{m}} , \\var{{n}}) \\end{pmatrix} =$ [[0]] .

\n

The rate of increase in this direction is $\\| \\nabla f (\\var{{m}} , \\var{{n}}) \\| =$ [[1]] . (If you wish to write something like $\\sqrt{2}$ then please write 2^(1/2) .)

\n

Finally, suppose $\\boldsymbol{u} := \\var{{u}}$. What would be the rate of increase if our climber, standing at $(\\var{{m}} , \\var{{n}} , \\var{{f_m_n}})$, tried to move in the direction $\\boldsymbol{u}$? That is, what is $f_{\\boldsymbol{u}} (a,b)$?

\n

$f_{\\boldsymbol{u}} (a,b) =$ [[2]] .

", "marks": 0, "variableReplacements": [], "unitTests": [], "showFeedbackIcon": true, "gaps": [{"markPerCell": false, "scripts": {}, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "allowResize": false, "type": "matrix", "unitTests": [], "showCorrectAnswer": true, "correctAnswerFractions": true, "allowFractions": true, "tolerance": 0, "correctAnswer": "nabla_f_m_n", "variableReplacements": [], "numRows": "2", "numColumns": 1, "showFeedbackIcon": true, "marks": 1}, {"failureRate": 1, "scripts": {}, "extendBaseMarkingAlgorithm": true, "expectedVariableNames": [], "customMarkingAlgorithm": "", "vsetRange": [0, 1], "type": "jme", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "checkingType": "absdiff", "vsetRangePoints": 5, "checkVariableNames": false, "showPreview": true, "marks": 1, "answer": "{mod_nabla_f_m_n}", "variableReplacements": [], "unitTests": [], "showFeedbackIcon": true, "checkingAccuracy": 0.001}, {"scripts": {}, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "marks": 1, "showCorrectAnswer": true, "allowFractions": true, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "maxValue": "f_u_m_n", "type": "numberentry", "mustBeReduced": false, "variableReplacements": [], "unitTests": [], "minValue": "f_u_m_n", "correctAnswerFraction": true}]}], "rulesets": {}, "ungrouped_variables": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "extensions": [], "tags": [], "functions": {}, "metadata": {"description": "

This is the question for Lent Term week 5 of the MA100 course at the LSE. It looks at material from chapters 29 and 30.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "name": "MA100 LT Week 5", "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/"}]}