# Programming with math

> Use Unity's mathematical APIs to apply trigonometric, logarithmic, and other functions in your application, move objects with vectors, and generate random values.

Unity provides several APIs for mathematical operations commonly required in games programming, including common mathe functions, random numbers, and systems such as vectors, matrices, and quaternions.

| **Topic**                                                                                                  | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **[Introduction to math programming in Unity](/engine/6000.7/manual/scripting/programming-math/intro.md)** | Understand the different math APIs Unity provides and how they compare.                                                                                                                                                                                                                                                                                                                                                                        |
| **[Unity Engine math APIs](/engine/6000.7/manual/scripting/programming-math/unity-engine-math.md)**        | Use the collection of math APIs in the `Unity.Engine` namespace to access common mathematical operations, including trigonometric and logarithmic functions, random number generation, and working with vectors, matrices, and quaternions.                                                                                                                                                                                                    |
| **[Unity Mathematics APIs](/engine/6000.7/manual/scripting/programming-math/unity-mathematics.md)**        | Use the collection of [SIMD](https://en.wikipedia.org/wiki/Single_instruction,_multiple_data)-friendly, [Burst-compilable](/engine/6000.7/manual/scripting/compilation-and-code-reload/script-compilation/burst.md) math APIs in the `Unity.Mathematics` namespace to access common mathematical operations, including trigonometric and logarithmic functions, random number generation, and working with vectors, matrices, and quaternions. |

## Additional resources

* [Unity Scripting reference](ScriptRef:index)
* [Unity Mathematics package](https://docs.unity3d.com/Packages/com.unity.mathematics@latest)
