// Numbas version: finer_feedback_settings {"name": "Trigonometry: Solving Trigonometric Equations 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Trigonometry: Solving Trigonometric Equations 3", "tags": [], "metadata": {"description": "

Solving $\\sin(3x)=\\sin(x)$ for $x\\in \\left(0,\\frac{\\pi}{2}\\right)$.

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

Solve $\\sin(3x)=\\sin(x)$, for $x \\in \\left(0,\\frac{\\pi}{2}\\right)$.

", "advice": "

To solve \\[ \\sin(3x)=\\sin(x), \\]

\n

we first want to rewrite the the left-hand side using the following trigonometric identities:

\n\n

\\[ \\begin{split} \\sin(3x) &\\,= \\sin(2x)\\cos(x) + \\sin(x)\\cos(2x), \\\\ &\\,= \\left(2\\sin(x)\\cos(x)\\right)\\cos(x) + \\sin(x) \\left(\\cos^2(x)-\\sin^2(x)\\right) \\\\ &\\,= 2\\sin(x) \\cos^2(x) + \\sin(x) \\cos^2(x) - \\sin^3(x) \\\\ &\\,= 3 \\sin(x) \\cos^2(x) - \\sin^3(x). \\end{split} \\]

\n

Hence,

\n

\\[ \\begin{split} 3 \\sin(x) \\cos^2(x) - \\sin^3(x) &\\,= \\sin(x) \\\\ 3\\cos^2(x) - \\sin^2(x) &\\,= 1. \\end{split} \\]

\n

To make the left-hand side only in terms of $\\cos(x)$, we can use the identity \\[ \\sin^2(x) + \\cos^2(x) = 1 \\implies \\sin^2(x) = 1 - \\cos^2(x).\\]

\n

Therefore,

\n

\\[ \\begin{split} 3\\cos^2(x) - \\sin^2(x) &\\,= 1 \\\\ 3\\cos^2(x) - \\left(1-\\cos^2(x)\\right) &\\,=1 \\\\ 4\\cos^2(x) - 1 &\\,=1. \\end{split} \\]

\n

\n

Rearranging,

\n

\\[ \\begin{split} \\cos^2(x) &\\,= \\frac{1}{2} \\\\ \\cos(x) &\\,= \\frac{1}{\\sqrt{2}} \\\\ x &\\, = \\cos^{-1}\\left(\\frac{1}{\\sqrt{2}}\\right). \\end{split} \\]

\n

So our solution is \\[ \\begin{split} x &\\, = \\cos^{-1}\\left(\\frac{1}{\\sqrt{2}}\\right) \\\\ &\\,= \\frac{\\pi}{4} \\\\ &\\,= 0.785 \\, (3\\text{ d.p.}).  \\end{split} \\]

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "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": "

$x=$[[0]] (Give your answer to 3 decimal places, or in terms of $\\pi$.)

", "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": "pi/4", "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": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}]}], "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}