Cosine Calculator
Calculate cosine function cos(θ) and inverse cosine arccos(x) step-by-step for angles in degrees or radians.
Cosine & Inverse Cosine Evaluation Engine
Select calculation mode and enter input parameters.
Cosine Evaluation Output
Quick Summary
Our cosine calculator cos angle ratio degrees radians steps tool computes the cosine ratio $\cos\theta = \frac{\text{Adjacent}}{\text{Hypotenuse}}$ and inverse cosine $\arccos(x)$ for any angle in degrees or radians. It displays exact radical forms, secant reciprocals, and unit circle X-coordinates.
How It Works: Right-Triangle Ratios & Unit Circle
The cosine function measures the horizontal X-displacement ratio of an angle:
1. **Right-Triangle Ratio:** $\cos\theta = \frac{\text{Adjacent Side}}{\text{Hypotenuse}}$.
2. **Unit Circle Definition:** $\cos\theta$ equals the horizontal X-coordinate of a point on a unit circle ($r=1$).
3. **Inverse Cosine ($\arccos(x)$):** Given ratio $x \in [-1, 1]$, computes principal angle $\theta$ in range $[0^\circ, 180^\circ]$.
4. **Law of Cosines:** $c^2 = a^2 + b^2 - 2ab \cos C$.
5. **Taylor Maclaurin Power Series:** $\cos x = 1 - \x^2 / 2! + \x^4 / 4! - \x^6 / 6! + \dots$.
Formula Explanation
Your cosine calculations follow fundamental geometric and power series formulas:
Step-by-Step Worked Example
Here is a detailed 5-step breakdown for evaluating $\cos(60^\circ)$:
- Step 1 (Convert Angle to Radians): $\theta = 60^\circ \times \\pi / 180^\circ = \\pi / 3 \approx \mathbf{1.0472 \text{ rad}}$.
- Step 2 (Apply Adjacent/Hypotenuse Ratio): For a 30-60-90 right triangle with adjacent side 1 and hypotenuse 2: $\cos(60^\circ) = \1 / 2 = \mathbf{0.5000}$.
- Step 3 (Calculate Secant Reciprocal): $\sec(60^\circ) = \1 / \cos(60^\circ) = \1 / 0.5 = \mathbf{2.0000}$.
- Step 4 (Locate Unit Circle Coordinates): $(x, y) = (\cos(60^\circ), \sin(60^\circ)) = (\1 / 2, \frac{\sqrt{3}}{2}) \approx \mathbf{(0.5000, 0.8660)}$.
- Step 5 (Compute Law of Cosines Term): $2ab \cos(60^\circ) = 2ab (0.5) = \mathbf{1.0000 \times ab}$, delivering **cos(60°) = 0.5, sec(60°) = 2**!
Calculation Examples: Real-World Scenario Comparison
Compare cosine angles, inverse arccos inputs, exact radical forms, and secant values:
| Calculation Input | Cosine Value cos(θ) / Angle θ | Exact Radical Form | Secant sec(θ) | Unit Circle Point (x, y) |
|---|---|---|---|---|
| 60° (π/3) | 0.5000 | 1/2 | 2.0000 | (0.5000, 0.8660) |
| 45° (π/4) | 0.7071 | √2 / 2 | 1.4142 | (0.7071, 0.7071) |
| arccos(0.8660) | 30.00° (0.5236 rad) | π/6 rad | Ratio x = 0.8660 | (0.8660, 0.5000) |
| 120° (2π/3) | -0.5000 | -1/2 | -2.0000 | (-0.5000, 0.8660) |
Benefits of Using the Cosine Calculator
Utilizing this calculator provides essential mechanical physics work calculations, AC power factor engineering, and dot product vector geometry advantages:
- Physics Mechanical Work ($W = F d \cos\theta$): Calculates effective work performed by force acting at angle $\theta$ to displacement.
- Electrical Engineering Power Factor ($\text{PF} = \cos\phi$): Computes real active power transmission efficiency in AC power grids.
- Vector Geometry & Dot Product: Calculates vector projections and spatial component alignments ($\mathbf{u} \cdot \mathbf{v} = \|\mathbf{u}\| \|\mathbf{v}\| \cos\theta$).
- Law of Cosines Triangle Solver: Solves unknown side lengths and angles in oblique non-right triangles.
Frequently Asked Questions (FAQ)
What is cosine (cos) in trigonometry?
Cosine is the trigonometric function of an angle defined as the ratio of the length of the adjacent side to the length of the hypotenuse in a right triangle.
What is the range of the cosine function?
The range of cos(θ) for real angles θ is strictly between -1 and 1 ([-1, 1]).
What is inverse cosine (arccos / cos⁻¹)?
Inverse cosine (arccos) is the inverse function of cosine that takes a ratio x between -1 and 1 and returns the principal angle θ in range [0°, 180°].
Why does arccos(1.5) give a domain error?
Because the maximum possible ratio for adjacent over hypotenuse is 1 (or -1 for negative coordinates); ratios outside [-1, 1] do not exist for real angles.
What is cos(0°), cos(30°), cos(45°), cos(60°), cos(90°)?
cos(0°) = 1, cos(30°) = √3/2 (≈ 0.8660), cos(45°) = √2/2 (≈ 0.7071), cos(60°) = 1/2 (0.5), cos(90°) = 0.
Is cosine an even or odd function?
Cosine is an EVEN function: cos(-θ) = cos(θ).
What is the period of the cosine function?
The period of cos(θ) is 360° or 2π radians (cos(θ + 2π) = cos(θ)).
What is the reciprocal of cosine?
The reciprocal of cosine is secant: sec(θ) = 1 / cos(θ).
How does Law of Cosines work?
Law of Cosines states that c^2 = a^2 + b^2 - 2ab cos(C) for any triangle.
How is cosine used in power factor engineering?
Power factor equals cos(φ), where φ is the phase angle difference between voltage and current waveforms in AC circuits.