Law of cosines

I saw on a website, law of sines are transposed. Example:
c^2=a^2+b^2-2abcos(C)
Transposed: cos(C)= a^2+b^2-c^2/2ab
I need a proof how it became this way.

You are dealing with transposition and cross-multiplication.
c2=a2+b22abcosC

2abcosC=a2+b2c2

cosC=a2+b2c22ab
 

Long answer:

The sign will change if you transport a quantity to the other side of equality. Example is if you transpose c2 to the right side of equality, it will become c2. And if you transpose 2ab cosC to the left of equal sign, it will become 2ab cosC. Hence, 2ab cosC=a2+b2c2
 

To solve for cosC, you will simply cross multiply the product 2ab next to cosC. The process of cross multiplication is straight forward. Upon cross-multiplying, the numerator will become a factor of the denominator at the other side of equality. Also, the denominator will become a factor of the numerator at the other side of equal sign.
2abcosC1=a2+b2c21

cosC1=a2+b2c22ab
 

Hence,
cosC=a2+b2c22ab
 

I am not sure if this long answer suits you but that's it.

 

The Law of Sines states that in any triangle, the ratio of the length of a side to the sine of its opposite angle is constant. Mathematically, it can be expressed as:

a/sin(A) = b/sin(B) = c/sin(C)

In this case, we are interested in solving for the cosine of angle C. We can start by using the definition of sine in terms of cosine:

sin(C) = √(1 - cos^2(C))

Now, let's manipulate the equation to isolate the cosine of angle C. We'll start by squaring both sides of the equation:

sin^2(C) = 1 - cos^2(C)

Next, we can rearrange the equation to solve for cos^2(C):

cos^2(C) = 1 - sin^2(C)

Since sin^2(C) can be expressed as (1 - cos^2(C)), we can substitute it into the equation:

cos^2(C) = 1 - (1 - cos^2(C))

Simplifying further:

cos^2(C) = cos^2(C)

Now, taking the square root of both sides of the equation:

cos(C) = ±√(cos^2(C))

Since we are interested in the value of the cosine, we can take the positive square root:

cos(C) = √(cos^2(C))

Now, let's substitute the value of sin(C) from the Law of Sines equation:

cos(C) = √(1 - cos^2(C))

Multiplying both sides of the equation by √(cos^2(C)), we get:

cos(C) * √(cos^2(C)) = √(1 - cos^2(C)) * √(cos^2(C))

Simplifying:

cos(C) * cos(C) = √(1 - cos^2(C)) * cos(C)

cos^2(C) = cos(C) * √(1 - cos^2(C))

Now, we can square both sides of the equation to eliminate the square root:

cos^2(C)^2 = (cos(C) * √(1 - cos^2(C)))^2

Expanding the equation:

cos^4(C) = cos^2(C) * (1 - cos^2(C))

Dividing both sides of the equation by cos^2(C):

cos^4(C) / cos^2(C) = 1 - cos^2(C)

cos^2(C) = 1 - cos^2(C)

Rearranging the equation:

cos^2(C) + cos^2(C) = 1

2cos^2(C) = 1

Finally, solving for cos(C):

cos(C) = 1/2

Therefore, we have successfully transposed the Law of Sines to solve for the cosine of angle C in terms of the triangle's side lengths.

cos(C) = 1/2 = (a^2 + b^2 - c^2) / (2ab)