// Numbas version: exam_results_page_options {"name": "Simon's copy of Use the quadratic formula to solve an equation in terms of an unknown variable", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "
Factorise a quadratic expression of the form $x^2+akx+bk^2$ for $x$, in terms of $k$. $a$ and $b$ are constants.
", "licence": "Creative Commons Attribution 4.0 International"}, "tags": ["Quadratic equations", "Quadratic Equations", "quadratic equations", "quadratic formula", "Quadratic formula", "solving quadratic equations", "Solving quadratic equations", "Solving quadratic equations using the quadratic formula", "taxonomy", "unknown variable", "Unknown variable"], "extensions": [], "advice": "The quadratic formula is
\n\\[{\\frac {-b\\pm\\sqrt{b^2-4\\times a\\times c}}{2a}}\\text{.}\\]
\nWe can list our values for $a, b$ and $c$.
\n\\[\\begin{align}
a&=1\\\\
b&=\\var{b_3}k\\\\
c&=\\var{c_2}k^2
\\end{align}\\]
Then by substituting them into the quadratic formula, we obtain
\n\\[x=\\frac {-\\var{b_3}k\\pm\\sqrt{\\var{b_3}^2k^2-4\\times \\var{c_2}k^2}}{2}\\]
\nWe can then simplify this equation to
\n\\[\\begin{align}
x&=\\frac {-\\var{b_3}k\\pm k\\sqrt{\\var{b_3}^2-\\var{4c_2}}}{2}\\\\
\\end{align}\\]
\\[\\begin{align}
&=k\\left(\\frac{-\\var{b_3}}{2}\\pm \\frac {\\sqrt{\\var{b_3}^2-\\var{4c_2}}}{2}\\right)\\\\
\\end{align}\\]
\\[\\begin{align}
&=k\\left(-\\frac{\\var{b_3}}{2} \\pm\\frac{\\sqrt{\\var{(b_3^2-4c_2)}}}{2}\\right)\\\\
\\end{align}\\]
This means our possible values for $x$ in terms of $k$ are,
\n\\begin{align}
x_1 &= \\left( \\simplify[all,!noleadingminus,!collectnumbers,!simplifyfractions]{-{b_3}/2 - {sqrt(b_3^2-4c_2)}/2} \\right) k = \\var[fractionnumbers]{-b_3/2 - sqrt(b_3^2-4*c_2)/2}k \\\\
x_2 &= \\left( \\simplify[all,!noleadingminus,!collectnumbers,!simplifyfractions]{-{b_3}/2 + {sqrt(b_3^2-4c_2)}/2} \\right) k = \\var[fractionnumbers]{-b_3/2 + sqrt(b_3^2-4*c_2)/2}k
\\end{align}
The quadratic formula is
\n\\[{\\frac {-b\\pm\\sqrt{b^2-4\\times a\\times c}}{2a}}\\text{.}\\]
"}], "marks": 0, "stepsPenalty": 0, "gaps": [{"variableReplacements": [], "checkingaccuracy": 0.001, "checkvariablenames": false, "vsetrange": [0, 1], "type": "jme", "vsetrangepoints": 5, "scripts": {}, "marks": 1, "showpreview": true, "answer": "({-b_3/2-sqrt(b_3^2-4*c_2)/2})k", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "expectedvariablenames": [], "showCorrectAnswer": true, "checkingtype": "absdiff"}, {"variableReplacements": [], "checkingaccuracy": 0.001, "checkvariablenames": false, "vsetrange": [0, 1], "type": "jme", "vsetrangepoints": 5, "scripts": {}, "marks": 1, "showpreview": true, "answer": "({-b_3/2+sqrt(b_3^2-4*c_2)/2})k", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "expectedvariablenames": [], "showCorrectAnswer": true, "checkingtype": "absdiff"}], "showFeedbackIcon": true, "scripts": {}, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "prompt": "Solve the equation $\\simplify {x^2+{b_3}*k*x+{c_2}k^2=0}$. Give your answer in terms of $k$. Assuming $k$ is positive, enter the lowest root first.
\n$x_1=$ [[0]]
\n$x_2=$ [[1]]
"}], "rulesets": {}, "statement": "The coefficients of the following equation involve the unknown value $k$. We can use the quadratic formula to find expressions for the values of $x$ in terms of $k$.
", "name": "Simon's copy of Use the quadratic formula to solve an equation in terms of an unknown variable", "variable_groups": [{"name": "part 2", "variables": ["b", "c", "n2", "b_2", "c_2", "b_3"]}], "functions": {}, "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}, {"name": "Hannah Aldous", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1594/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}, {"name": "Hannah Aldous", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1594/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}