// Numbas version: exam_results_page_options {"name": "Ugur's copy of Parametric representations of a curve - find tangent and length", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Ugur's copy of Parametric representations of a curve - find tangent and length", "tags": ["checked2015"], "metadata": {"description": "

Calculation of the length and alternative form of the parameteric representation of a curve, involving trigonometric functions.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

You are given the curve $\\mathcal C$ be the space curve parametrically given by  $\\boldsymbol{r} = \\pmatrix{\\var{a}\\cos(\\simplify{{b}t}),\\var{-a}\\sin(\\simplify{{b}t})}$, where $t_1\\pi\\leqslant t\\leqslant t_2\\pi$.

", "advice": "

a) The tangent vector to the curve is given by $\\boldsymbol{u} = \\frac{\\mathrm{d}r}{\\mathrm{d}t} \\equiv\\pmatrix{\\frac{\\mathrm{d}x}{\\mathrm{d}t},\\frac{\\mathrm{d}y}{\\mathrm{d}t}} =
\\pmatrix{\\simplify{{-a*b}sin({b}*t)}, \\simplify{{-a*b}*cos({b}*t)}} $ (note that, since the curve is not parametrised by arc length, $\\frac{\\mathrm{d}r}{\\mathrm{d}t}$ does not give the unit tangent!).

\n

b) The length $s$ of the curve in the range $t_1\\pi\\leqslant t\\leqslant t_2\\pi$ is given by

\n

\\[s = \\int_{t_1\\pi}^{t_2\\pi}{u\\mathrm{d}t},\\]

\n

where $u^2=\\lvert\\boldsymbol{u}\\rvert^2=\\boldsymbol{u\\cdot u}$.

\n

In this question, therefore, $\\boldsymbol{u}=\\pmatrix{\\frac{\\mathrm{d}}{\\mathrm{d}t}\\left\\{\\var{a}\\cos(\\simplify{{b}*t})\\right\\},\\frac{\\mathrm{d}}{\\mathrm{d}t}\\left\\{\\var{-a}\\sin(\\simplify{{b}*t})\\right\\}}=\\pmatrix{\\var{-a*b}\\sin(\\simplify{{b}*t}),\\var{-a*b}\\cos(\\simplify{{b}*t})}$, and so $u^2=\\var{(a*b)^2}$.

\n

Then

\n

\\[s=\\int_{t_1\\pi}^{t_2\\pi}{u\\mathrm{d}t}=\\var{a*b}\\int_{t_1\\pi}^{t_2\\pi}{\\mathrm{d}t}=\\var{a*b}(t_2-t_1)\\pi.\\]

\n

Finally, substitute $t_1=-\\simplify{1/{t2}}$ and $t_2=\\simplify{1/{t2}}$ into this expression for $s$, to find the length of the curve over the given range of $t$.

\n

Hence $s=\\simplify{{2*a*b}/{t2}}\\pi$.

\n

c) An alternative parametric representation, using $s$ as the curve parameter is given by

\n

\\[s=\\int_{t_1\\pi}^{t}{u\\mathrm{d}\\tau}=\\var{a*b}\\int_{t_1\\pi}^{t}{\\mathrm{d}\\tau}=\\var{a*b}(t-t_1\\pi).\\]

\n

Now rearrange this expression for $t(s)$, so

\n

\\[t(s)=\\frac{s}{\\var{a*b}}+t_1\\pi,\\]

\n

and substitute into the original representation of the curve $\\mathcal C\\equiv\\pmatrix{\\var{a}\\cos(\\simplify{{b}t}),\\var{-a}\\sin(\\simplify{{b}t})}$ with $t_1\\pi\\leqslant t\\leqslant t_2\\pi$.  Hence

\n

\\[\\mathcal C \\equiv\\pmatrix{\\var{a}\\cos\\left(\\simplify{s/{a}}+\\var{b}t_1\\pi\\right),\\var{-a}\\sin\\left(\\simplify{s/{a}}+\\var{b}t_1\\pi\\right)},\\]

\n

with $0\\leqslant s\\leqslant\\var{a*b}(t_2-t_1)\\pi$.

\n

Finally, substitute $t_1=-\\simplify{1/{t2}}$ and $t_2=\\simplify{1/{t2}}$ into the above expressions, to find the specific parametric representation corresponding to the given range of t:

\n

\\[\\mathcal C \\equiv\\pmatrix{\\var{a}\\cos\\left(\\simplify{s/{a}}-\\simplify{{b*pi}/{t2}}\\right),\\var{-a}\\sin\\left(\\simplify{s/{a}}-\\simplify{{b*pi}/{t2}}\\right)},\\]

\n

with $0\\leqslant s\\leqslant \\simplify{{2*a*b}/{t2}}\\pi$.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"t2": {"name": "t2", "group": "Ungrouped variables", "definition": "random(1,2,4)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "t2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the tangent vector $\\boldsymbol{u}$ to the curve.

\n

$\\boldsymbol{u}=($[[0]]$,$[[1]]$)$.  (Do not enter decimals in your answers.)

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{-a*b}*sin({b}*t)", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "t", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{-a*b}*cos({b}*t)", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "t", "value": ""}]}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the length $s$ of the curve between $t_1=-\\simplify{1/{t2}}$ and $t_2=\\simplify{1/{t2}}$.

\n

$s=$ [[0]].  (Enter your answer as a fractional multiple of $\\pi$.  Do not enter decimals.)

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "({2*a*b}/{t2})*pi", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notallowed": {"strings": ["."], "showStrings": false, "partialCredit": 0, "message": "

Do not enter decimals in your answer.

"}, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find another parametric representation of the curve, again with $t_1=-\\simplify{1/{t2}}$ and $t_2=\\simplify{1/{t2}}$, using $s$ as the curve parameter, such that $0\\leqslant s\\leqslant \\simplify{{2*a*b}/{t2}}\\pi$.

\n

$s\\rightarrow($[[0]]$,$[[1]]$)$.  (Enter your answers as fractional multiples of $\\pi$.  Do not enter decimals.)

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a}*cos(s/{a}-{b}*pi/{t2})", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notallowed": {"strings": ["."], "showStrings": false, "partialCredit": 0, "message": "

Enter your answer as a fractional multiple of $\\pi$.  Do not enter decimals.

"}, "valuegenerators": [{"name": "s", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{-a}*sin(s/{a}-{b}*pi/{t2})", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notallowed": {"strings": ["."], "showStrings": false, "partialCredit": 0, "message": "

Enter your answer as a fractional multiple of $\\pi$.  Do not enter decimals.

"}, "valuegenerators": [{"name": "s", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Ugur Efem", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18261/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Ugur Efem", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18261/"}]}