// Numbas version: finer_feedback_settings {"name": "Integrating Hyperbolics 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Integrating Hyperbolics 1", "tags": [], "metadata": {"description": "

Use double angle an pythagorean identities to manipulate before integrating.

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

Use the hyperbolic identities to evaluate the following integrals.

\n

Don't forget to include '$+C$'!

", "advice": "

a)

\n

We recall the 'double angle' identity:

\n

$$
\\cosh^2(x) = \\frac{1}{2} \\left( 1 + \\cosh\\left(2x\\right) \\right).
$$

\n

Hence,

\n

$$
\\begin{aligned}
\\int \\var{A1} \\cosh(\\var{B1}x)^2 + \\var{C1} \\sinh({\\simplify{2*{B1}}}x) \\, dx &= \\int \\frac{\\var{A1}}{2}\\left(1+\\cosh(\\simplify{{B1}x/2}) \\right)+ {C1} sinh({2*B1}x) \\, dx \\\\
&= \\int \\simplify{{A1}/2 + {A1}/2 cosh ({2*B1}x) + {C1}sinh ({2B1}x)} dx \\\\
&= \\simplify[basic, simplifyfractions, collectnumbers, unitdenominator, unitfactor]{{A1}x/2 + {A1}/{4*B1}sinh({2*B1}x) + {C1}/{2*B1}cosh({2B1}x) + C}.\\\\
\\end{aligned}
$$

\n

b

\n

We recall the identity

\n

$$
\\cosh^2(x) - \\sinh^2(x) = 1.
$$

\n

Then

\n
\n

$$
\\begin{aligned}
\\int \\sinh^5(x) - \\sinh(x) \\, dx &= \\int \\sinh^4(x) \\sinh(x) - \\sinh(x) \\, dx \\\\
&= \\int(\\cosh^2(x) - 1)^2\\sinh(x) - \\sinh(x) \\, dx \\\\
&= \\int (\\cosh^4(x) - 2\\cosh^2(x) + 1)\\sinh(x) - \\sinh(x) \\, dx \\\\
&= \\int \\cosh^4(x)\\sinh(x) - 2\\cosh^2(x)\\sinh(x) \\, dx \\\\
&= \\simplify{1/5cosh(x)^5 + 2/3cosh(x)^3 + C}.
\\end{aligned}
$$

\n
\n
\n

$$
\\begin{aligned}
\\int \\sinh^3(x) - \\sinh(x) \\, dx &= \\int \\sinh^2(x) \\sinh(x) - \\sinh(x) \\, dx \\\\
&= \\int(\\cosh^2(x) - 1)\\sinh(x) - \\sinh(x) \\, dx \\\\
&= \\int \\cosh^2(x)\\sinh(x) - 2\\sinh(x) \\, dx \\\\
&= \\simplify{1/3cosh(x)^3 - 2cosh(x) + C}.
\\end{aligned}
$$

\n
\n

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"b1": {"name": "b1", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(-5..5 except 0)*2", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "Ungrouped variables", "definition": "random(-5..5 except 0)*2", "description": "", "templateType": "anything", "can_override": false}, "power": {"name": "power", "group": "Q2", "definition": "random([3,5])", "description": "", "templateType": "anything", "can_override": false}, "ans": {"name": "ans", "group": "Q2", "definition": "if(power = 5, expression('1/5*cosh(x)^5 + 2/3*cosh(x)^3'), expression('1/3*cosh(x)^3 - 2*cosh(x)'))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "a1 <> c1", "maxRuns": 100}, "ungrouped_variables": ["a1", "b1", "c1"], "variable_groups": [{"name": "Q2", "variables": ["power", "ans"]}], "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": "

$y =\\simplify{ {A1} cosh({B1}x)^2 + {C1} sinh({2*B1}x)}$

\n

$\\int y \\, dx= $ [[0]]

", "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, "alternatives": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "", "useAlternativeFeedback": false, "answer": "({A1 + C1}/2)cosh(2*{B1}*x) + {A}/2 + c", "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": "c", "value": ""}, {"name": "x", "value": ""}]}], "answer": "{A1}x/2 + {A1}/(4{B1})sinh(2{B1}x) + {C1}/(2{B1})cosh(2{B1}x) + C", "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": "c", "value": ""}, {"name": "x", "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": "

$y = \\sinh^\\var{power}x - \\sinh x \\, dx$

\n

$ \\int y \\, dx = $  [[0]]

\n

Note: to input a function to a power such as $\\sinh^3(x)$, type sinh(x)^3 (similarly for the other functions).

", "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": "{ans}+C", "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": "c", "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/"}]}