{ "query": { "display": "$$-2+7+\\left(-4\\right)$$", "symbolab_question": "PEMDAS#-2+7+(-4)" }, "solution": { "level": "PERFORMED", "subject": "Pre Algebra", "topic": "Order of Operations", "subTopic": "Other", "default": "1", "meta": { "showVerify": true } }, "steps": { "type": "interim", "title": "$$-2+7+\\left(-4\\right)=1$$", "input": "-2+7+\\left(-4\\right)", "steps": [ { "type": "step", "primary": "Follow the PEMDAS order of operations", "meta": { "title": { "extension": "P-Parentheses<br/>E-Exponents<br/>M-Multiply<br/>D-Divide<br/>A-Add<br/>S-Subtract" } } }, { "type": "step", "primary": "Add and subtract (left to right) " }, { "type": "step", "primary": "$$-2+7=5$$", "result": "=5+\\left(-4\\right)" }, { "type": "step", "primary": "Apply rule $$+\\left(-a\\right)\\:=\\:-a$$", "secondary": [ "$$+\\left(-4\\right)=-4$$" ], "result": "=5-4" }, { "type": "step", "primary": "$$5-4=1$$", "result": "=1" }, { "type": "interim", "title": "Number Line", "steps": [ { "type": "step", "image": "/images/numberLineAddSubtractAnimated?expression=-2%2B7%2B%28-4%29" } ] }, { "type": "step", "result": "=1" } ], "meta": { "solvingClass": "Pemdas", "practiceLink": "/practice/order-of-operations-whole-practice", "practiceTopic": "Order of Operations" } }, "meta": { "showVerify": true } }