Quike Ai home
Math is the language of AI. Learn linear algebra, calculus, probability, and optimization to understand how AI models work. This deck provides the mathematical tools needed to build and fine-tune AI algorithms, ensuring a solid technical foundation.
Scalars are single quantities that are fully described by a magnitude (size) alone, without direction.
Notation :
Typically denoted by lowercase letters (e.g., a, b, c).
Examples: Temperature, speed, mass, and time are scalars.
Fun Fact: Scalars are like ingredients in a recipe—they represent quantities without any specific direction attached.
Vectors are quantities that have both magnitude (size) and direction.
Notation
Typically denoted by bold lowercase letters (e.g. u, v, w) or by having an arrow above letter
Examples: Displacement, velocity, force, and acceleration are vectors.
Fun Fact: Vectors are like arrows—they point in a specific direction and have a length that represents their magnitude.
Adding two vectors results in a new vector by combining both the magnitude and direction of the original vectors. Here are two methods to add vectors:
Graphical Method (Tip-to-Tail):
Place the tail of the second vector at the tip of the first vector.
Draw a vector from the tail of the first vector to the tip of the second vector. This resultant vector is the sum of the two vectors.
Algebraic Method (Component-Wise):
Add the corresponding components of each vector.
If a=⟨3,4⟩ and b=⟨1,2⟩, then the resultant vector R=⟨3+1,4+2⟩=⟨4,6⟩
Why is Vector Addition Important?
Vector addition is crucial in physics and engineering. It helps in understanding how different forces, velocities, or displacements combine and interact. For example, calculating the net force on an object involves adding all the individual forces acting on it as vectors.
Multiplying a vector by a scalar stretches or shrinks the vector.
Example
k. v= k.(x,y)=(kx,ky)
Scalar multiplication is integral to various AI processes, including weight adjustment, normalization, feature scaling, regularization, data transformation, activation functions, and optimization. Its ability to scale and adjust data and parameters makes it a fundamental operation in AI model development and tuning.
Quike Ai home