Sub topic 5
Solving the Equation
Assume you can simplify arithmetic expressions, use the order of operations, and solve basic equations. In a word problem, writing the equation is only the model. You still need to solve it and connect the result to the original situation.
Keep the equation balanced
An equation states that two expressions have equal value. You can add, subtract, multiply, or divide both sides by the same nonzero number without changing that equality.
The goal is to isolate the variable on one side. Use inverse operations in reverse order:
- Undo addition or subtraction.
- Undo multiplication or division.
- Simplify the result.
For example:
\[ 3x+50=62 \]
Subtract 50 from both sides:
\[ 3x=12 \]
Divide both sides by 3:
\[ x=4 \]
The operations form a reverse path:
Variables on both sides
When the variable appears on both sides, first move all variable terms to one side. Move all constant terms to the other side.
Consider:
\[ 7x-4=3x+20 \]
Subtract \(3x\) from both sides:
\[ 4x-4=20 \]
Add 4 to both sides:
\[ 4x=24 \]
Divide by 4:
\[ x=6 \]
You could move \(7x\) instead, but choose the direction that keeps the variable coefficient positive when possible.
Parentheses and distribution
Use the distributive property before collecting like terms:
\[ 2(x+5)-3=15 \]
Distribute 2:
\[ 2x+10-3=15 \]
Combine constants:
\[ 2x+7=15 \]
Subtract 7:
\[ 2x=8 \]
Divide by 2:
\[ x=4 \]
A negative sign before parentheses changes every sign inside:
\[ -(x-6)=-x+6 \]
Forgetting this sign is a common source of errors.
Worked word-problem equation
Suppose 10 tickets cost $62. Adult tickets cost $8, and child tickets cost $5. Let \(a\) be the number of adult tickets. Then \(10-a\) is the number of child tickets.
The cost equation is:
\[ 8a+5(10-a)=62 \]
Distribute and simplify:
\[ 8a+50-5a=62 \]
\[ 3a+50=62 \]
\[ 3a=12 \]
\[ a=4 \]
There are \(10-4=6\) child tickets. The equation has produced a value, but the situation requires whole, nonnegative ticket counts. The result satisfies those conditions.
from fractions import Fraction
# Let a be the number of adult tickets.
a = Fraction(62 - 5 * 10, 8 - 5)
children = 10 - a
print(a, children) # 4 6
print(8 * a + 5 * children == 62) # TrueCommon errors
- Performing an operation on only one side.
- Combining unlike terms, such as \(3x+4\) into \(7x\).
- Distributing incorrectly, such as \(2(x+5)=2x+5\).
- Rounding too early when the exact answer is a fraction or decimal.
- Accepting an algebraic answer that does not fit the context.
Check by substituting the result into the original equation, then ask whether its units, sign, and size make sense.
Exercise
Solve \(4(2x-3)=3x+13\), and check the result.
Show answer
Distribute: \(8x-12=3x+13\). Subtract \(3x\): \(5x-12=13\). Add 12: \(5x=25\). Divide by 5: \(x=5\). Check: \(4(2\cdot5-3)=4\cdot7=28\), and \(3\cdot5+13=28\).