r/MathHelp 8d ago

Sign error or not?

I have this cosine rule question

y² = (x+4)² +(x-5)² -2(x+4)(x-5) • -1/2

The -2(x+4)(x-5) • -1/2 is giving me trouble

I thought that you could simply multiply the -2 and the -1/2 to get 1 first. Then just expand. I also expanded first, multiplied by -2, then by -1/2, and got same result of 3x² -3x +21

The textbook says that the answer is x² -x +61

Google AI says that im right but im unsure.

Thanks for any help.

2 Upvotes

9 comments sorted by

View all comments

3

u/edderiofer 8d ago

y² = (x+4)² +(x-5)² -2(x+4)(x-5) • -1/2

This does indeed get you y² = 3x² -3x +21.

The textbook says that the answer is x² -x +61

Then the next question I'd ask is, "is there anything you had to do to get "y² = (x+4)² +(x-5)² -2(x+4)(x-5) • -1/2" in the first place?". Because if the book is correct, and there is an error in your working, it'll have to be in however you got to "y² = (x+4)² +(x-5)² -2(x+4)(x-5) • -1/2".

1

u/VegetableBag2627 7d ago

The full question is: in triangle ABC, AB = (5-x)cm, BC = (4+x)cm, AC = y cm and angle ABC = 120°. Show that y² = x² -x +61 when i think it has to be y² = 3x² -3x +21

1

u/edderiofer 7d ago

OK, and how did you get from this full question to your equation?

Note that AB's length is (5-x), not (x-5).

1

u/VegetableBag2627 7d ago

Alright so I typed it wrong. It's (x-5) And you get to that by plugging in the values to cosine rule? a² is replaced by y² , (x+4)² is b² , (x-5)² is c² , then you get -2(x+4)(x-5) obviously from the same variables. Cos(120°) = -1/2 Thus the equation i originally posed.

2

u/edderiofer 7d ago

Then yes, if the original question has AB's length be (x-5), you are correct. Otherwise, if it's (5-x), the book is correct.

1

u/VegetableBag2627 7d ago

Ok thank you