// Numbas version: finer_feedback_settings {"name": "Integrating Hyperbolics 4", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Integrating Hyperbolics 4", "tags": [], "metadata": {"description": "

Use the pythagorean hyperbolic identity aftre a substitution to exaluate an integral (1 part).

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

Integrating Hyperbolics 4

\n

Use hyperbolic identities to evaluate the following integrals

", "advice": "

We can compute

\n

$\\begin{aligned}
y &= \\int \\simplify{sqrt({a}x^2 + {b})} \\, dx \\\\
&= \\var{sqrt(a)} \\int \\simplify{sqrt(x^2 + {b/a})} \\, dx \\\\
\\end{aligned}$

\n

By substitution with $x = \\var{sqrt(b/a)}\\sinh(u)$ then

\n

$\\frac{dx}{du} = \\var{sqrt(b/a)}\\cosh(x) \\\\
dx = \\var{sqrt(b/a)}\\cosh(x) \\, du$

\n

Therefore, we have

\n

$\\begin{aligned}
y &= \\var{sqrt(a)} \\int \\simplify{sqrt(x^2 + {b/a})} \\, dx \\\\
&= \\var{sqrt(b)} \\int \\simplify{cosh(u) sqrt(sinh(u)^2 + 1)} \\, du\\\\
&= \\var{sqrt(b)} \\int \\simplify{cosh(u)^2} \\, du \\\\
&= \\simplify{{sqrt(b)/2}} \\int \\simplify{1 + cosh (2u)} \\, du \\\\
&= \\simplify{{sqrt(b)/2}(u + sinh (2u)/2)} + c \\\\
&= \\simplify{{sqrt(b)/2}(u + sinh (u) cosh (u))} + c \\\\
&= \\simplify{{sqrt(b)/2}(u + sinh (u)sqrt( (1 - sinh(u)^2)))} + c \\\\
\\end{aligned}$

\n

Then we can subsitute back $u = \\simplify{arsinh(x/{sqrt(b/a)})}$ with

\n

$y = \\simplify[all]{{sqrt(b)/2}(arsinh(x/{sqrt(b/a)}) + x/{sqrt(b/a)}sqrt( (1 + (x/{sqrt(b/a)})^2)))} $

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..5)^2", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "a * random(2..5)^2", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b"], "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": "

Evaluate the integral

\n

$y = \\int \\simplify{sqrt({a}x^2 + {b})} \\, dx$

\n

$y = $ [[0]]

\n

", "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": "{sqrt(b)/2}(arsinh(x/{sqrt(b/a)}) + x/{sqrt(b/a)}sqrt( (1 + (x/{sqrt(b/a)})^2)))", "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": "arsinh", "value": ""}, {"name": "x", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Fraser Buxton", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/24224/"}, {"name": "Will Roberts", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/32402/"}], "resources": []}]}], "contributors": [{"name": "Fraser Buxton", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/24224/"}, {"name": "Will Roberts", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/32402/"}]}