// Numbas version: finer_feedback_settings {"name": "Merryn's copy of Converting between Mixed Numbers and Improper Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "rulesets": {}, "variable_groups": [], "functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "gcd", "ab", "cd", "f", "g", "h", "gcd_gh", "g_coprime", "h_coprime", "num", "l", "j", "k", "gcd_jk", "j_coprime", "k_coprime", "num2", "s", "t", "rounds", "gap1", "gcd_gap1t", "gap1_coprime", "t_coprime", "x", "y", "roundx", "gap4", "gcda", "gcdb", "gcd_gap4y", "gap4_coprime", "y_coprime"], "metadata": {"description": "

This question tests the student's ability to identify equivalent fractions through spotting a fraction which is not equivalent amongst a list of otherwise equivalent fractions. It also tests the students ability to convert mixed numbers into their equivalent improper fractions. It then does the reverse and tests their ability to convert an improper fraction into an equivalent mixed number. 

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "name": "Merryn's copy of Converting between Mixed Numbers and Improper Fractions", "advice": "

c)

\n

A mixed number is a number consisting of an integer and a proper fraction, i.e. a number in the form $ a \\displaystyle \\frac{b}{c}$ where $a$ is an integer and $\\displaystyle\\frac{b}{c}$ is a proper fraction: $b$ is smaller than $c$.

\n

An improper fraction is a fraction where the numerator is larger than the denominator, i.e. a number of the form $\\displaystyle\\frac{d}{e}$ where the numerator, $d$, is greater than the denominator, $e$. 

\n

To convert a mixed number into an improper fraction, multiply the integer part of the mixed number, $a$, by the denominator, $c$.

\n

The numerator of the improper fraction will be equal to this added to what was already on the numerator of the proper fraction.

\n

The denominator of the proper fraction will stay the same when it converts to an improper fraction to give a final answer of

\n

$\\displaystyle\\frac{({a}\\times{c})+b}{c}$.

\n

i)

\n

\\[
{\\var{f}\\frac{\\var{g_coprime}}{\\var{h_coprime}}} = \\frac{({\\var{f}}\\times{\\var{h_coprime}})+{\\var{g_coprime}}}{{\\var{h_coprime}}}=\\simplify{{num}/{h_coprime}}\\text{.}
\\] 

\n

ii)

\n

\\[
{\\var{l}\\frac{\\var{j_coprime}}{\\var{k_coprime}}} = \\frac{({\\var{l}}\\times{\\var{k_coprime}})+{\\var{j_coprime}}}{{\\var{k_coprime}}} =\\simplify{{num2}/{k_coprime}}\\text{.}
\\]

\n

\n

d)

\n

To convert an improper fraction into a mixed number, you have to think about how many times the denominator can go into the numerator, and whatever is left over becomes the new numerator of the proper fraction. 

\n

i) $\\displaystyle\\frac{\\var{s}}{\\var{t}}$:  

\n

$\\var{s}$ can be divided by $\\var{t}$ fully $\\var{rounds}$ {if(rounds=1,\"time\",\"times\")}, with $\\var{gap1}$ remaining.

\n

$\\var{rounds}$ becomes the integer part of the mixed number and $\\var{gap1}$ becomes the new numerator of the proper fraction. 

\n

$\\displaystyle\\frac{\\var{s}}{\\var{t}} = \\var{rounds}\\frac{\\var{gap1}}{\\var{t}}$.

\n

It may be possible to simplify the proper fraction further by finding the highest common divisor of the numerator and denominator. In this question, this is $\\var{gcd_gap1t}$.

\n

Therefore, it is not possible to simplify this further, and the final answer shall be

\n

Simplifying by this value gives the final answer

\n

$\\displaystyle\\var{rounds}\\frac{\\var{gap1_coprime}}{\\var{t_coprime}}$.

\n

ii) $\\displaystyle\\frac{\\var{x}}{\\var{y}}$:

\n

$\\var{x}$ can be divided by $\\var{y}$ fully $\\var{roundx}$ {if(roundx=1,\"time\",\"times\")}, with $\\var{gap4}$ left over.

\n

$\\var{roundx}$ becomes the integer part of the mixed number and $\\var{gap4}$ becomes the new numerator of the proper fraction. 

\n

$\\displaystyle\\frac{\\var{x}}{\\var{y}} = \\var{roundx}\\frac{\\var{gap4}}{\\var{y}}$.

\n

It may be possible to simplify the proper fraction further by finding the highest common divisor of the numerator and denominator. In this question, this is $\\var{gcd_gap4y}$.

\n

Therefore, it is not possible to simplify this further, and the final answer shall be

\n

Simplifying by this value gives the final answer

\n

$\\displaystyle\\var{roundx}\\frac{\\var{gap4_coprime}}{\\var{y_coprime}}$.

", "statement": "", "preamble": {"css": "fraction {\n display: inline-block;\n vertical-align: middle;\n}\nfraction > numerator, fraction > denominator {\n float: left;\n width: 100%;\n text-align: center;\n line-height: 2.5em;\n}\nfraction > numerator {\n border-bottom: 1px solid;\n padding-bottom: 5px;\n}\nfraction > denominator {\n padding-top: 5px;\n}\nfraction input {\n line-height: 1em;\n}\n\nfraction .part {\n margin: 0;\n}\n\n.table-responsive, .fractiontable {\n display:inline-block;\n}\n.fractiontable {\n padding: 0; \n border: 0;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n border-bottom: 1px solid black; \n text-align: center;\n}\n\n\n.fractiontable tr {\n height: 3em;\n}\n", "js": ""}, "variables": {"x": {"templateType": "anything", "description": "

Random number between 15 and 35

", "name": "x", "group": "Ungrouped variables", "definition": "random(11..29 except 12 except 14 except 16 except 18 except 20 except 24 except 25 except 27 except 28 except 21 except 15)"}, "k_coprime": {"templateType": "anything", "description": "

PART C

", "name": "k_coprime", "group": "Ungrouped variables", "definition": "k/gcd_jk"}, "g": {"templateType": "anything", "description": "

Random number between 1 and 15

", "name": "g", "group": "Ungrouped variables", "definition": "random(1..15 except h)"}, "g_coprime": {"templateType": "anything", "description": "

PART C

", "name": "g_coprime", "group": "Ungrouped variables", "definition": "g/gcd_gh"}, "gcd": {"templateType": "anything", "description": "

greatest common divisor of ab and cd

", "name": "gcd", "group": "Ungrouped variables", "definition": "gcd(ab,cd)"}, "d": {"templateType": "randrange", "description": "

Random number from 1 to 12

", "name": "d", "group": "Ungrouped variables", "definition": "random(1..12#1)"}, "ab": {"templateType": "anything", "description": "

variable a times variable b.

", "name": "ab", "group": "Ungrouped variables", "definition": "a*b"}, "gcd_gh": {"templateType": "anything", "description": "

PART C

", "name": "gcd_gh", "group": "Ungrouped variables", "definition": "gcd(g,h)"}, "a": {"templateType": "randrange", "description": "

A random number from 1-12.

", "name": "a", "group": "Ungrouped variables", "definition": "random(1..12#1)"}, "j_coprime": {"templateType": "anything", "description": "

PART C

", "name": "j_coprime", "group": "Ungrouped variables", "definition": "j/gcd_jk"}, "gcd_gap4y": {"templateType": "anything", "description": "

PART D

", "name": "gcd_gap4y", "group": "Ungrouped variables", "definition": "gcd(gap4,y)"}, "gcd_gap1t": {"templateType": "anything", "description": "", "name": "gcd_gap1t", "group": "Ungrouped variables", "definition": "gcd(gap1,t)"}, "num": {"templateType": "anything", "description": "

numerator for the improper fraction c(i)

", "name": "num", "group": "Ungrouped variables", "definition": "((h_coprime*f)+g_coprime)"}, "s": {"templateType": "anything", "description": "

Random number between 15 and 30

", "name": "s", "group": "Ungrouped variables", "definition": "random(11..29 except 12 except 14 except 16 except 18 except 20 except 24 except 25 except 27 except 28 except 21 except 15)"}, "h": {"templateType": "randrange", "description": "

Random number between 1 and 24

", "name": "h", "group": "Ungrouped variables", "definition": "random(10..24#1)"}, "gcda": {"templateType": "anything", "description": "", "name": "gcda", "group": "Ungrouped variables", "definition": "gcd({num2},{k_coprime})"}, "t_coprime": {"templateType": "anything", "description": "", "name": "t_coprime", "group": "Ungrouped variables", "definition": "t/gcd_gap1t"}, "h_coprime": {"templateType": "anything", "description": "

PART C

", "name": "h_coprime", "group": "Ungrouped variables", "definition": "h/gcd_gh"}, "b": {"templateType": "randrange", "description": "

A random number from 1 to 12

", "name": "b", "group": "Ungrouped variables", "definition": "random(1..12#1)"}, "gap4_coprime": {"templateType": "anything", "description": "", "name": "gap4_coprime", "group": "Ungrouped variables", "definition": "gap4/gcd_gap4y"}, "y_coprime": {"templateType": "anything", "description": "", "name": "y_coprime", "group": "Ungrouped variables", "definition": "y/gcd_gap4y"}, "rounds": {"templateType": "anything", "description": "

Rounded down version of (variable s)/(variable t)

", "name": "rounds", "group": "Ungrouped variables", "definition": "floor(s/t)"}, "t": {"templateType": "randrange", "description": "

Random number between 5 and 15

", "name": "t", "group": "Ungrouped variables", "definition": "random(5..10#1)"}, "gap1": {"templateType": "anything", "description": "

numerator for d(i)

", "name": "gap1", "group": "Ungrouped variables", "definition": "(s-(t*rounds))"}, "y": {"templateType": "randrange", "description": "

Random number between 2 and 20

", "name": "y", "group": "Ungrouped variables", "definition": "random(5..10#1)"}, "l": {"templateType": "randrange", "description": "

Random number from 1 to 12

", "name": "l", "group": "Ungrouped variables", "definition": "random(2..6#1)"}, "gap4": {"templateType": "anything", "description": "

Solution for gap 4 on part d(ii)

", "name": "gap4", "group": "Ungrouped variables", "definition": "(x-(y*roundx))"}, "j": {"templateType": "anything", "description": "

Random number from 1 to 12

", "name": "j", "group": "Ungrouped variables", "definition": "random(1..12 except k)"}, "cd": {"templateType": "anything", "description": "

variable c times variable d

", "name": "cd", "group": "Ungrouped variables", "definition": "c*d"}, "gcd_jk": {"templateType": "anything", "description": "

PART C

", "name": "gcd_jk", "group": "Ungrouped variables", "definition": "gcd(j,k)"}, "c": {"templateType": "randrange", "description": "

Random number from 1 to 12

", "name": "c", "group": "Ungrouped variables", "definition": "random(1..12#1)"}, "roundx": {"templateType": "anything", "description": "

Rounded down solution to x/y

", "name": "roundx", "group": "Ungrouped variables", "definition": "floor(x/y)"}, "gap1_coprime": {"templateType": "anything", "description": "", "name": "gap1_coprime", "group": "Ungrouped variables", "definition": "gap1/gcd_gap1t"}, "k": {"templateType": "randrange", "description": "

Random number from 1 to 12

", "name": "k", "group": "Ungrouped variables", "definition": "random(10..24#1)"}, "gcdb": {"templateType": "anything", "description": "

gcd of num and h

", "name": "gcdb", "group": "Ungrouped variables", "definition": "gcd({num},{h_coprime})"}, "f": {"templateType": "randrange", "description": "

Random number between 1 and 5

", "name": "f", "group": "Ungrouped variables", "definition": "random(2..5#1)"}, "num2": {"templateType": "anything", "description": "

numerator of c(ii)

", "name": "num2", "group": "Ungrouped variables", "definition": "((l*k_coprime)+j_coprime)"}}, "parts": [{"variableReplacementStrategy": "originalfirst", "prompt": "

Write these mixed numbers as their improper fraction equivalents and reduce them down to their simplest form. 

\n

i) 

\n

$\\displaystyle{\\var{f}\\frac{\\var{g_coprime}}{\\var{h_coprime}}} =$  [[0]] [[1]] .

\n

ii)

\n

$\\displaystyle{\\var{l}\\frac{\\var{j_coprime}}{\\var{k_coprime}}} =$  [[2]] [[3]] .

", "gaps": [{"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "correctAnswerFraction": false, "maxValue": "num/gcdb", "allowFractions": false, "mustBeReducedPC": 0, "minValue": "num/gcdb", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "correctAnswerFraction": false, "maxValue": "h_coprime/gcdb", "allowFractions": false, "mustBeReducedPC": 0, "minValue": "h_coprime/gcdb", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "correctAnswerFraction": false, "maxValue": "num2/gcda", "allowFractions": false, "mustBeReducedPC": 0, "minValue": "num2/gcda", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "correctAnswerFraction": false, "maxValue": "k_coprime/gcda", "allowFractions": false, "mustBeReducedPC": 0, "minValue": "k_coprime/gcda", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "scripts": {}}], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "marks": 0, "showCorrectAnswer": true}, {"variableReplacementStrategy": "originalfirst", "prompt": "

Write these improper fractions as their mixed number equivalent.

\n

i) 

\n

$\\displaystyle\\frac{\\var{s}}{\\var{t}} =$ [[0]]  [[1]] [[2]] .

\n

ii)

\n

$\\displaystyle\\frac{\\var{x}}{\\var{y}} =$ [[3]]  [[4]] [[5]] .

", "gaps": [{"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "correctAnswerFraction": false, "maxValue": "rounds", "allowFractions": false, "mustBeReducedPC": 0, "minValue": "rounds", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "correctAnswerFraction": false, "maxValue": "gap1_coprime", "allowFractions": false, "mustBeReducedPC": 0, "minValue": "gap1_coprime", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "correctAnswerFraction": false, "maxValue": "t_coprime", "allowFractions": false, "mustBeReducedPC": 0, "minValue": "t_coprime", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "correctAnswerFraction": false, "maxValue": "roundx", "allowFractions": false, "mustBeReducedPC": 0, "minValue": "roundx", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "correctAnswerFraction": false, "maxValue": "gap4_coprime", "allowFractions": false, "mustBeReducedPC": 0, "minValue": "gap4_coprime", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "marks": 1, "correctAnswerStyle": "plain", "type": "numberentry", "correctAnswerFraction": false, "maxValue": "y_coprime", "allowFractions": false, "mustBeReducedPC": 0, "minValue": "y_coprime", "mustBeReduced": false, "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "scripts": {}}], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "marks": 0, "showCorrectAnswer": true}], "tags": ["converting improper fractions to mixed numbers", "converting mixed numbers to improper fractions", "equivalent fractions", "improper fractions", "mixed numbers"], "variablesTest": {"maxRuns": 100, "condition": ""}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}