// Numbas version: exam_results_page_options {"name": "Henrik Skov's copy of Calculate definite integral with a hyperbolic substitution", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b", "tol", "val", "valacc"], "name": "Henrik Skov's copy of Calculate definite integral with a hyperbolic substitution", "tags": ["arccosh", "calculus", "Calculus", "checked2015", "cr1", "definite integration", "hyperbolic functions", "integration", "integration by substitution", "inverse hyperbolic functions", "MAS1601", "standard integrals", "Steps", "steps", "substitution", "tested1"], "advice": "

\\[I=\\int_{\\var{b}}^{\\var{2*b}} \\left(\\frac{1}{\\sqrt{\\simplify[std]{{a^2}x^2-{b^2}}}}\\right)\\;dx\\]

\n

To solve this, we will employ the standard integral:\\[\\int \\frac{1}{\\sqrt{x^2-1}}\\;dx=\\simplify{arccosh(x)+C}\\]

\n

We wish to rewrite the integrand of $I$ such that it is of the form $\\displaystyle{\\frac{A}{\\sqrt{x^2-1}}}$ ($A$ is a constant) and hence we can use the standard integral. Let us rearrange the integrand into this form:

\n

\\[\\begin{eqnarray*}\\frac{1}{\\sqrt{\\simplify[std]{{a^2}x^2-{b^2}}}} &=& \\frac{1}{\\sqrt{\\simplify[std]{({a}x)^2-{b^2}}}} = \\frac{1}{\\sqrt{\\simplify[std]{{b^2}(({a}x/{b})^2-1)}}} \\\\ &=& \\frac{1}{\\var{b}\\sqrt{\\simplify[std]{(({a}x/{b})^2-1)}}} = \\frac{1}{\\var{b}\\sqrt{\\simplify[std]{(v^2-1)}}}\\end{eqnarray*} \\]

\n

where we have made the substitution $\\displaystyle{v = \\simplify[std]{{a}x/{b}}}$.  Following this then $\\displaystyle{dx = \\simplify[std]{{b}/{a}}}dv$.  We can then evaluate our integral in terms of $v$ (being careful to modify their limits of integration from $x$ to $v$):

\n

\\[\\begin{eqnarray*} I &=& \\int_{\\var{a}}^{\\var{2*a}}\\frac{1}{\\var{b}\\sqrt{v^2-1}}\\simplify[std]{{b}/{a}}dv \\\\&=&\\frac{1}{\\var{a}}\\int_{\\var{a}}^{\\var{2*a}}\\frac{1}{\\sqrt{v^2-1}}\\;dv\\\\ &=&\\frac{1}{\\var{a}}\\left[\\simplify{arccosh(v)}\\right]_{\\var{a}}^{\\var{2*a}}\\\\ &=&\\var{val} \\end{eqnarray*} \\] to 2 decimal places.

", "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "parts": [{"prompt": "

First, specify the answer to $\\displaystyle{\\int \\frac{1}{\\sqrt{x^2-1}}dx}$:

", "matrix": [0, 1, 0], "shuffleChoices": false, "scripts": {}, "choices": ["$\\textrm{arcsinh}(x)+C$", "$\\textrm{arccosh}(x)+C$", "$\\textrm{arctanh}(x)+C$"], "marks": 0, "displayType": "radiogroup", "maxMarks": 1, "distractors": ["", "", ""], "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "minMarks": 0}, {"prompt": "

Use your answer from above to evaluate the required integral.

\n

$I=\\;\\;$[[0]]

\n

Input your answer to $2$ decimal places.

", "marks": 0, "gaps": [{"allowFractions": false, "scripts": {}, "maxValue": "val+tol", "minValue": "val-tol", "correctAnswerFraction": false, "showCorrectAnswer": true, "marks": 6, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}], "statement": "

In this question the aim is to use hyperbolic functions to find the value of:
\\[I=\\int_{\\var{b}}^{\\var{2*b}} \\left(\\frac{1}{\\sqrt{\\simplify[std]{{a^2}x^2-{b^2}}}}\\right)\\;dx\\]

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "b": {"definition": "random(2..8)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "valacc": {"definition": "(1/a)*ln((2*a+(4a^2-1)^(1/2))/(a+(a^2-1)^(1/2)))", "templateType": "anything", "group": "Ungrouped variables", "name": "valacc", "description": ""}, "val": {"definition": "precround(valacc,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "val", "description": ""}, "tol": {"definition": "0", "templateType": "anything", "group": "Ungrouped variables", "name": "tol", "description": ""}}, "metadata": {"notes": "

30/06/2012:

\n

Added, edited tags

\n

Slight change to prompt.

\n

Could include standard integral in Show steps (once Show steps is available)

\n

19/07/2012:

\n

Added description.

\n

Changed Advice on the standard integral - so that it makes sense!

\n

Added Show steps information on the standard integral.

\n

Checked calculation.

\n

Set new tolerance variable tol=0 for the numeric input.

\n

23/07/2012:

\n

Added tags.

\n

Solution always requires arccosh(x) and not arcsinh(x) or arctanh(x). Is this on purpose?

\n

 Question appears to be working correctly.

\n

22/12/2012:(WHF)

\n

Checked calculation, OK. Added tested1 tag.

\n

Checked rounding, OK. Added cr1 tag.

\n

 

\n



\n

 

", "description": "

Find (hyperbolic substitution):
$\\displaystyle \\int_{b}^{2b} \\left(\\frac{1}{\\sqrt{a^2x^2-b^2}}\\right)\\;dx$

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Henrik Skov Midtiby", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/829/"}]}]}], "contributors": [{"name": "Henrik Skov Midtiby", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/829/"}]}