{
  "id": "law-of-sines",
  "title": "Law of Sines",
  "lang": "en",
  "source_lang": "en",
  "summary": "The law of sines relates each side of a triangle to the sine of its opposite angle and, in Euclidean geometry, to the triangle’s circumradius.",
  "category": "mathematics",
  "subcategory": "geometry",
  "type": "concept",
  "aliases": [
    "Sine rule",
    "Sine law"
  ],
  "generated_at": "2026-11-03",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/law-of-sines/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/law-of-sines/",
      "json": "https://aiwiki.page/zh/law-of-sines.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "The law of sines is a theorem of trigonometry stating that the lengths of the sides of a triangle are proportional to the sines of their opposite angles. For a nondegenerate triangle in Euclidean geometry, with side lengths \\(a,b,c\\) opposite interior angles \\(A,B,C\\), respectively,\n\n\\[\\frac{a}{\\sin A}=\\frac{b}{\\sin B}=\\frac{c}{\\sin C}=2R,\\]\n\nwhere \\(R\\) is the radius of the triangle’s circumcircle. The theorem is used to determine unknown sides and angles, especially when a side and its opposite angle are known. Related laws hold for triangles on spherical and hyperbolic surfaces."
    },
    {
      "heading": "Statement and geometric meaning",
      "text": "Let the vertices of a triangle be \\(A,B,C\\), with the same letters also denoting its interior angles, and let\n\n\\[a=|BC|,\\qquad b=|CA|,\\qquad c=|AB|.\\]\n\nThe triangle must be nondegenerate: its vertices are not collinear, its side lengths are positive, and its angles satisfy\n\n\\[0<A,B,C<\\pi,\\qquad A+B+C=\\pi,\\]\n\nwhen angles are measured in radians.\n\nThe law can also be written as\n\n\\[\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R}.\\]\n\nThe equality with \\(2R\\) is often called the extended law of sines. It identifies the common side-to-sine ratio as the diameter of the circumcircle, the unique circle passing through all three vertices.\n\nThe theorem applies to acute, right, and obtuse triangles. For a right triangle with \\(C=90^\\circ\\), it reduces to\n\n\\[\\frac{a}{\\sin A}=\\frac{b}{\\sin B}=c,\\]\n\nbecause \\(\\sin C=1\\). In this case, the hypotenuse \\(c\\) is a diameter of the circumcircle."
    },
    {
      "heading": "Proofs",
      "text": "Proof using area\n\nLet \\(\\Delta\\) be the area of the triangle. Expressing its area using two sides and their included angle gives\n\n\\[\\Delta=\\frac12bc\\sin A =\\frac12ca\\sin B =\\frac12ab\\sin C.\\]\n\nDividing by \\(abc/2\\) yields\n\n\\[\\frac{2\\Delta}{abc} =\\frac{\\sin A}{a} =\\frac{\\sin B}{b} =\\frac{\\sin C}{c}.\\]\n\nTaking reciprocals proves the proportional form of the law:\n\n\\[\\frac{a}{\\sin A}=\\frac{b}{\\sin B}=\\frac{c}{\\sin C}.\\]\n\nThis proof works for obtuse as well as acute triangles because the area formula uses the sine of the included angle, which is positive for every interior angle of a nondegenerate triangle.\n\nProof using the circumcircle\n\nA chord of a circle of radius \\(R\\), subtending a smaller central angle \\(\\theta\\), has length\n\n\\[2R\\sin\\left(\\frac{\\theta}{2}\\right).\\]\n\nFor the chord \\(BC\\), the inscribed angle \\(A\\) is either \\(\\theta/2\\) or its supplement. Since supplementary angles have equal sines,\n\n\\[a=2R\\sin A.\\]\n\nApplying the same reasoning to the other two chords gives\n\n\\[b=2R\\sin B,\\qquad c=2R\\sin C,\\]\n\nwhich proves the extended law."
    },
    {
      "heading": "Solving triangles",
      "text": "The law of sines is particularly useful when the known measurements include a side and its opposite angle.\n\nTwo angles and one side\n\nTwo angles determine the third through the angle-sum identity. If \\(A\\), \\(B\\), and \\(a\\) are known, then\n\n\\[C=180^\\circ-A-B,\\]\n\nand\n\n\\[b=a\\frac{\\sin B}{\\sin A}, \\qquad c=a\\frac{\\sin C}{\\sin A}.\\]\n\nFor example, if\n\n\\[A=40^\\circ,\\qquad B=65^\\circ,\\qquad a=10,\\]\n\nthen\n\n\\[C=75^\\circ,\\]\n\nand\n\n\\[b=10\\frac{\\sin65^\\circ}{\\sin40^\\circ}\\approx14.10, \\qquad c=10\\frac{\\sin75^\\circ}{\\sin40^\\circ}\\approx15.03.\\]\n\nWhen the given angles are positive and sum to less than \\(180^\\circ\\), one side fixes the triangle’s scale, so the solution is unique up to rigid motion and reflection.\n\nTwo sides and a non-included angle\n\nIf \\(a,b,A\\) are known, the theorem gives\n\n\\[\\sin B=\\frac{b\\sin A}{a}.\\]\n\nThis configuration is called side–side–angle, or SSA. Unlike two angles and a side, SSA measurements may determine no triangle, one triangle, or two distinct triangles."
    },
    {
      "heading": "The ambiguous case",
      "text": "The ambiguity arises because the sine function takes the same value at supplementary angles:\n\n\\[\\sin B=\\sin(180^\\circ-B).\\]\n\nThus, finding one angle with an inverse sine does not necessarily identify the only possible angle.\n\nSet\n\n\\[k=\\frac{b\\sin A}{a}.\\]\n\n- If \\(k>1\\), no triangle exists.\n- If \\(k=1\\), the only candidate is \\(B=90^\\circ\\), which is valid only if \\(A+B<180^\\circ\\).\n- If \\(0<k<1\\), the candidates are\n\n\\[B_1=\\arcsin k,\\qquad B_2=180^\\circ-B_1.\\]\n\nEach candidate must separately satisfy \\(A+B_i<180^\\circ\\).\n\nThe inverse sine here returns its principal value between \\(-90^\\circ\\) and \\(90^\\circ\\). For positive \\(k\\), this gives the acute candidate; a supplementary obtuse candidate may also be valid.\n\nFor example, suppose\n\n\\[A=30^\\circ,\\qquad a=1,\\qquad b=\\sqrt2.\\]\n\nThen\n\n\\[\\sin B=\\frac{\\sqrt2}{2},\\]\n\nso either\n\n\\[B=45^\\circ,\\quad C=105^\\circ,\\]\n\nor\n\n\\[B=135^\\circ,\\quad C=15^\\circ.\\]\n\nBoth satisfy all the given measurements.\n\nClassification using an altitude\n\nFor acute \\(A\\), define\n\n\\[h=b\\sin A.\\]\n\nGeometrically, \\(h\\) is the perpendicular distance from \\(C\\) to the line through \\(A\\) and \\(B\\). The possibilities are:\n\nCondition | Number of triangles\n\\(a<h\\) | 0\n\\(a=h\\) | 1\n\\(h<a<b\\) | 2\n\\(a\\ge b\\) | 1\n\nFor \\(A\\ge90^\\circ\\), exactly one triangle exists if \\(a>b\\), and none exists if \\(a\\le b\\). This agrees with the requirement that the side opposite a right or obtuse angle must be longer than either of the other sides."
    },
    {
      "heading": "Related formulas and applications",
      "text": "Circumradius and area\n\nCombining the extended law with the area formula gives\n\n\\[R=\\frac{a}{2\\sin A} =\\frac{b}{2\\sin B} =\\frac{c}{2\\sin C},\\]\n\nand\n\n\\[\\Delta=\\frac{abc}{4R}.\\]\n\nConsequently, the circumradius can be calculated from the three side lengths and the area:\n\n\\[R=\\frac{abc}{4\\Delta}.\\]\n\nRelationship to the law of cosines\n\nThe law of cosines,\n\n\\[a^2=b^2+c^2-2bc\\cos A,\\]\n\ncomplements the law of sines. It is generally the more direct starting point when all three sides are known, or when two sides and their included angle are known.\n\nThe distinction matters because solving a triangle with an inverse sine alone can overlook an obtuse angle. Once sufficient measurements are available, the cosine law or the ordering of sides and angles can resolve that ambiguity.\n\nSurveying and triangulation\n\nIn triangulation, a measured baseline and angles observed from its endpoints determine distances to a third point. If the baseline \\(AB\\) has length \\(c\\), and the observed angles are \\(A\\) and \\(B\\), then\n\n\\[C=180^\\circ-A-B,\\]\n\nand\n\n\\[BC=c\\frac{\\sin A}{\\sin C}, \\qquad CA=c\\frac{\\sin B}{\\sin C}.\\]\n\nThis allows distances to inaccessible points to be inferred without directly measuring the connecting segments. The same geometric principle appears in navigation and position determination."
    },
    {
      "heading": "Numerical considerations",
      "text": "The law is exact, but calculations based on measured angles can be sensitive to uncertainty. When the denominator in\n\n\\[a=b\\frac{\\sin A}{\\sin B}\\]\n\nis small, small errors in \\(B\\) may produce large errors in the inferred side length.\n\nWith angles measured in radians, a first-order approximation is\n\n\\[\\frac{da}{a} \\approx \\frac{db}{b}+\\cot A\\,dA-\\cot B\\,dB.\\]\n\nThe cotangent factors show how angular errors can be amplified near \\(0\\) or \\(\\pi\\).\n\nIn the SSA case, the derivative\n\n\\[\\frac{d}{dk}\\arcsin k=\\frac{1}{\\sqrt{1-k^2}}\\]\n\nalso becomes large as \\(k\\) approaches \\(1\\). Recovering an angle near \\(90^\\circ\\) from its sine can therefore be sensitive to small measurement or rounding errors. These are issues of problem conditioning, not exceptions to the theorem."
    },
    {
      "heading": "Non-Euclidean versions",
      "text": "Analogues of the law of sines hold in non-Euclidean geometry, but the Euclidean side lengths must be replaced by curvature-dependent expressions.\n\nFor a triangle on a sphere of radius \\(r\\), whose sides are shorter geodesic arcs with lengths \\(a,b,c\\), the spherical law of sines is\n\n\\[\\frac{\\sin(a/r)}{\\sin A} = \\frac{\\sin(b/r)}{\\sin B} = \\frac{\\sin(c/r)}{\\sin C}.\\]\n\nFor a triangle in the hyperbolic plane of constant curvature \\(-1/r^2\\), the corresponding law is\n\n\\[\\frac{\\sinh(a/r)}{\\sin A} = \\frac{\\sinh(b/r)}{\\sin B} = \\frac{\\sinh(c/r)}{\\sin C}.\\]\n\nWhen the side lengths are small compared with \\(r\\), the approximations \\(\\sin x\\approx x\\) and \\(\\sinh x\\approx x\\) recover the Euclidean proportionality. The Euclidean angle sum and the identification of the common ratio with \\(2R\\), however, do not transfer unchanged to curved geometry."
    }
  ],
  "links": [
    "trigonometry",
    "euclidean-geometry",
    "radian",
    "circle",
    "right-triangle",
    "trigonometric-functions",
    "law-of-cosines",
    "triangulation",
    "derivative",
    "condition-number",
    "non-euclidean-geometry",
    "geodesic"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}