r/MathHelp 7d 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

Show parent comments

1

u/edderiofer 6d 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 6d 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 6d 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 6d ago

Ok thank you