// Numbas version: finer_feedback_settings {"name": "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": [{"variable_groups": [], "variables": {"tol": {"templateType": "anything", "group": "Ungrouped variables", "definition": "0", "description": "", "name": "tol"}, "b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..8)", "description": "", "name": "b"}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "name": "a"}, "valacc": {"templateType": "anything", "group": "Ungrouped variables", "definition": "(1/a)*ln((2*a+(4a^2-1)^(1/2))/(a+(a^2-1)^(1/2)))", "description": "", "name": "valacc"}, "val": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(valacc,2)", "description": "", "name": "val"}}, "ungrouped_variables": ["a", "b", "tol", "val", "valacc"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "name": "Calculate definite integral with a hyperbolic substitution", "functions": {}, "showQuestionGroupNames": false, "parts": [{"displayType": "radiogroup", "choices": ["$\\textrm{arcsinh}(x)+C$", "$\\textrm{arccosh}(x)+C$", "$\\textrm{arctanh}(x)+C$"], "displayColumns": 0, "prompt": "
First, specify the answer to $\\displaystyle{\\int \\frac{1}{\\sqrt{x^2-1}}dx}$:
", "distractors": ["", "", ""], "shuffleChoices": false, "scripts": {}, "minMarks": 0, "type": "1_n_2", "maxMarks": 1, "showCorrectAnswer": true, "matrix": [0, 1, 0], "marks": 0}, {"scripts": {}, "gaps": [{"showCorrectAnswer": true, "allowFractions": false, "scripts": {}, "type": "numberentry", "maxValue": "val+tol", "minValue": "val-tol", "correctAnswerFraction": false, "marks": 6, "showPrecisionHint": false}], "type": "gapfill", "prompt": "Use your answer from above to evaluate the required integral.
\n$I=\\;\\;$[[0]]
\nInput your answer to $2$ decimal places.
", "showCorrectAnswer": true, "marks": 0}], "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\\]
30/06/2012:
\nAdded, edited tags
\nSlight change to prompt.
\nCould include standard integral in Show steps (once Show steps is available)
\n19/07/2012:
\nAdded description.
\nChanged Advice on the standard integral - so that it makes sense!
\nAdded Show steps information on the standard integral.
\nChecked calculation.
\nSet new tolerance variable tol=0 for the numeric input.
\n23/07/2012:
\nAdded tags.
\nSolution always requires arccosh(x) and not arcsinh(x) or arctanh(x). Is this on purpose?
\nQuestion appears to be working correctly.
\n22/12/2012:(WHF)
\nChecked calculation, OK. Added tested1 tag.
\nChecked rounding, OK. Added cr1 tag.
\n\n
", "licence": "Creative Commons Attribution 4.0 International", "description": "
Find (hyperbolic substitution):
$\\displaystyle \\int_{b}^{2b} \\left(\\frac{1}{\\sqrt{a^2x^2-b^2}}\\right)\\;dx$
\\[I=\\int_{\\var{b}}^{\\var{2*b}} \\left(\\frac{1}{\\sqrt{\\simplify[std]{{a^2}x^2-{b^2}}}}\\right)\\;dx\\]
\nTo solve this, we will employ the standard integral:\\[\\int \\frac{1}{\\sqrt{x^2-1}}\\;dx=\\simplify{arccosh(x)+C}\\]
\nWe 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*} \\]
\nwhere 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.
", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}