Monday, August 5, 2024

Mathematical Formulas with ChatGPT

Mathematics encompasses a wide range of fields, each with its own set of important formulae. Here are some key formulae from various branches:
Algebra
  1. Quadratic Formula: For the quadratic equation \( ax^2 + bx + c = 0 \),
  2. \[ x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \]
  3. Binomial Theorem: For any positive integer \( n \),
  4. \[ (a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^k \]
Geometry
  1. Pythagorean Theorem: In a right triangle, the square of the hypotenuse \( c \) is equal to the sum of the squares of the other two sides \( a \) and \( b \),
  2. \[ c^2 = a^2 + b^2 \]
  3. Area of a Circle: Given a circle with radius \( r \),
  4. \[ \text{Area} = \pi r^2 \]
  5. Circumference of a Circle:
  6. \[ \text{Circumference} = 2\pi r \]
Trigonometry
  1. Sine, Cosine, Tangent: For a right triangle with angle \( \theta \),
  2. \[ \sin \theta = \frac{\text{opposite}}{\text{hypotenuse}} \] \[ \cos \theta = \frac{\text{adjacent}}{\text{hypotenuse}} \] \[ \tan \theta = \frac{\text{opposite}}{\text{adjacent}} \]
  3. Pythagorean Identity:
  4. \[ \sin^2\theta + \cos^2\theta = 1 \]
Calculus
  1. Derivative of a Function: The derivative of a function \( f(x) \) with respect to \( x \) is defined as,
  2. \[ f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h} \]
  3. Fundamental Theorem of Calculus:
  4. \[ \int_a^b f(x) \, dx = F(b) - F(a) \] where \( F \) is an antiderivative of \( f \), i.e., \( F'(x) = f(x) \).
Probability and Statistics
  1. Bayes' Theorem: For events \( A \) and \( B \),
  2. \[ P(A|B) = \frac{P(B|A) P(A)}{P(B)} \]
  3. Standard Deviation**: For a set of data \( x_1, x_2, \ldots, x_n \) with mean \( \mu \),
  4. \[ \sigma = \sqrt{\frac{1}{n} \sum_{i=1}^{n} (x_i - \mu)^2} \]
Linear Algebra
  1. Matrix Multiplication: For matrices \( A \) and \( B \),
  2. \[ (AB)_{ij} = \sum_{k} A_{ik} B_{kj} \]
  3. Determinant of a 2x2 Matrix: For matrix \( A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} \),
  4. \[ \text{det}(A) = ad - bc \]
Number Theory
  1. Euclidean Algorithm: To find the greatest common divisor (gcd) of two integers \( a \) and \( b \),
  2. \[ \text{gcd}(a, b) = \text{gcd}(b, a \mod b) \]
  3. Fermat's Little Theorem: If \( p \) is a prime number and \( a \) is an integer not divisible by \( p \), then
  4. \[ a^{p-1} \equiv 1 \pmod{p} \]
These formulae are foundational across many areas of mathematics and are frequently used in both academic studies and practical applications.
\[\frac{numerator}{denominator}\] \[\frac{a}{b}\] % Inline fraction This is an inline fraction: \(\frac{a}{b}\). % Display mode fraction \[ \frac{a}{b} \]