opus said:
Homework Statement
For the solution to a given problem, in the second to last step I had:
##-\frac{\sqrt 6}{4} + \frac{\sqrt 2}{4}##
I stated next that the solution was ##-\frac{\sqrt{6}+\sqrt{2}}{4}##
I was told this was incorrect and that the correct solution is ##\frac{-\sqrt{6}+\sqrt{2}}{4}##
Homework Equations
The Attempt at a Solution
Could someone explain this error to me? Is it not true that ##-\frac{a}{b}=\frac{-a}{b}=\frac{a}{-b}##?
Or is this case different because I have an expression on the top, not just a single variable?
You are guilty of sloppy use (or non-use) of parentheses:
$$-\frac{a}{b} + \frac{c}{b} $$
means that you subtract the fraction ##\frac{a}{b}## from the fraction ##\frac{c}{b}##, and since they have the same denominator, you can combine the numerators as ##c-a##. That is, you get
$$\frac{c-a}{b},$$
which can be written as $$\frac{-a + c}{b}.$$
If you write
$$-\frac{a+c}{b}$$
that means $$- \left( \frac{a+c}{b} \right),$$
which was not what you started with.
Remember the priority order of mathematical operations: reading from left to right, parentheses have precedence over everything, then powers have precedence over multiplication or division, and these have precedence over addition and subtraction. Therefore, when we parse the expression ##-\frac{a}{b} + \frac{c}{b}##, we do "##-##" first, then ##a/b## then "##+##", then ##\frac{c}{b}##. In other words, had we used parentheses we would have had ##(- \frac{a}{b}) + (\frac{c}{b})##.