// Numbas version: exam_results_page_options {"name": "Pythagorean Identity recognition", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Pythagorean Identity recognition", "tags": ["Pythagoras", "pythagoras", "Trigonometry", "trigonometry"], "metadata": {"description": "

Using $\\cos^2\\theta+\\sin^2\\theta=1$ to evaluate expressions.

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

The following questions require some familiarity with trigonometric identities. 

\n

", "advice": "

We will use the following Pythagorean identity  \\[\\cos^2\\theta+\\sin^2\\theta=1.\\] 

\n

For part a)

\n

Given $\\simplify{(cos^2(x)+sin^2(x))^{m1}+{m2}}$ we can replace $\\cos^2(x)+\\sin^2(x)$ with $1$. So our expression is $\\simplify{1^{m1}+{m2}}$. Therefore our expression simplifies to $\\var{m2+1}$.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\simplify{{m1}+{m2}(2-sin^2(y)-cos^2(y))}$$=$$\\simplify{{m1}+{m2}(2-(sin^2(y)+cos^2(y)))}$
$=$$\\simplify[!collectNumbers]{{m1}+{m2}(2-1)}$
$=$$\\simplify[!collectNumbers]{{m1}+{m2}}$
$=$$\\var{m1+m2}$
\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\simplify{{m1^2}cos^4(z)+{2*m1^2}cos^2(z)sin^2(z)+{m1^2}sin^4(z)}$$=$$\\simplify{{m1^2}(cos^4(z)+2cos^2(z)sin^2(z)+sin^4(z))}$
$=$$\\simplify{{m1^2}(cos^2(z)+sin^2(z))^2}$
$=$$\\var{m1^2}\\times 1^2$
$=$$\\var{m1^2}$
\n

\n

For part b)

\n

Rearranging the Pythagorean identity $\\cos^2\\theta+\\sin^2\\theta=1$ for $\\sin\\theta$ gives the equation \\[\\sin\\theta=\\pm\\sqrt{1-\\cos^2\\theta}\\]

\n

Recall that $\\sin\\theta$ is the $y$ value of a point on the unit circle, whether $\\sin\\theta$ is taken as the postive square root or as the negative square root depends on the whether the point on the circle is on the top semicircle (positive $y$ value) or the bottom semicircle (negative $y$ value).

\n

Since we are told $\\theta$ is in the first or second quadrant, the $y$ value must be postive, that is $\\sin\\theta=\\sqrt{1-\\cos^2\\theta}$. Therefore our expresson simplifies as follows

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\simplify{{n}sin(theta)-{n}sqrt(1-cos^2(theta))}$$=$$\\simplify{{n}sin(theta)-{n}sin(theta)}$
$=$$0$
\n

\n

Since we are told $\\theta$ is in the third or fourth quadrant, the $y$ value must be negative, that is $\\sin\\theta=-\\sqrt{1-\\cos^2\\theta}$ or equivalently $-\\sin\\theta=\\sqrt{1-\\cos^2\\theta}$. Therefore our expresson simplifies as follows

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\simplify{{n}sin(theta)-{n}sqrt(1-cos^2(theta))}$$=$$\\simplify{{n}sin(theta)-{n}sin(theta)}$
$=$$0$
\n

\n

Rearranging the Pythagorean identity $\\cos^2\\theta+\\sin^2\\theta=1$ for $\\cos\\theta$ gives the equation \\[\\cos\\theta=\\pm\\sqrt{1-\\sin^2\\theta}\\]

\n

Recall that $\\cos\\theta$ is the $x$ value of a point on the unit circle, whether $\\cos\\theta$ is taken as the postive square root or as the negative square root depends on the whether the point on the circle is on the right semicircle (positive $x$ value) or the left semicircle (negative $x$ value).

\n

Since we are told $\\theta$ is in the first or fourth quadrant, the $x$ value must be postive, that is $\\cos\\theta=\\sqrt{1-\\sin^2\\theta}$. Therefore our expresson simplifies as follows

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\simplify{{n}cos(theta)-{n}sqrt(1-sin^2(theta))}$$=$$\\simplify{{n}cos(theta)-{n}cos(theta)}$
$=$$0$
\n

\n

Since we are told $\\theta$ is in the second or third quadrant, the $x$ value must be negative, that is $\\cos\\theta=-\\sqrt{1-\\sin^2\\theta}$ or equivalently $-\\cos\\theta=\\sqrt{1-\\sin^2\\theta}$. Therefore our expresson simplifies as follows

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\simplify{{n}cos(theta)-{n}sqrt(1-sin^2(theta))}$$=$$\\simplify{{n}cos(theta)-{n}cos(theta)}$
$=$$0$
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"n": {"name": "n", "group": "Ungrouped variables", "definition": "random(-12..12 except [0,m1,m2])", "description": "", "templateType": "anything", "can_override": false}, "qu": {"name": "qu", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "", "templateType": "anything", "can_override": false}, "m1": {"name": "m1", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "m2": {"name": "m2", "group": "Ungrouped variables", "definition": "random(-12..12 except 0)", "description": "", "templateType": "anything", "can_override": false}, "sw": {"name": "sw", "group": "Ungrouped variables", "definition": "random(1..4)", "description": "", "templateType": "anything", "can_override": false}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "if(qu=1,m2+1,if(qu=2,m1+m2,m1^2))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["qu", "m1", "m2", "ans", "sw", "n"], "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": "

The expression 

\n

\\[\\simplify{(cos^2(x)+sin^2(x))^{m1}+{m2}}\\] \\[\\simplify{{m1}+{m2}(2-sin^2(y)-cos^2(y))}\\] \\[\\simplify{{m1^2}cos^4(z)+{2*m1^2}cos^2(z)sin^2(z)+{m1^2}sin^4(z)}\\]

\n

can be simplified to [[0]].

\n

Note: For this question, your answer should be a number.

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "ans", "maxValue": "ans", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "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": "

The expression

\n

\\[\\simplify{{n}sin(theta)-{n}sqrt(1-cos^2(theta))}\\] \\[\\simplify{{n}sin(theta)+{n}sqrt(1-cos^2(theta))}\\]\\[\\simplify{{n}cos(theta)-{n}sqrt(1-sin^2(theta))}\\] \\[\\simplify{{n}cos(theta)+{n}sqrt(1-sin^2(theta))}\\]

\n

can be simplified to [[0]] for $\\theta$ in the first or second quadrant. third or fourth quadrant.  first or fourth quadrant. second or third quadrant.

\n

Note: For this question, your answer should be a number.

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0", "maxValue": "0", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}