# Nakafa Framework: LLM
URL: https://nakafa.com/en/subject/high-school/12/mathematics/data-analysis-probability/normal-distribution-function
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/12/mathematics/data-analysis-probability/normal-distribution-function/en.mdx
Output docs content for large language models.
---
export const metadata = {
  title: "Normal Distribution Function",
  description: "Learn normal distribution function with bell curve visualization and examples. Understand z-score transformation and calculate probabilities step-by-step.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "05/26/2025",
  subject: "Data Analysis and Probability",
};
import { getColor } from "@repo/design-system/lib/color";
import { LineEquation } from "@repo/design-system/components/contents/line-equation";
## Understanding Normal Distribution
Did you know that the height of students in your school, national exam scores, or even the weight of apples in the supermarket all follow the same pattern? This pattern is called **normal distribution**.
Normal distribution was first introduced by Abraham de Moivre in  as an approximation of the binomial distribution for large . Later, Pierre-Simon Laplace developed it further and it became known as the Moivre-Laplace Theorem. Laplace used normal distribution to analyze errors in experiments.
> Normal distribution is very useful because many natural and social phenomena follow this pattern. From human height to scientific measurement results, everything tends to be normally distributed.
## Characteristics of Normal Curve
Imagine a very symmetrical hill, like an inverted bell. That's the shape of the normal distribution curve. Let's look at the visualization of a standard normal curve with  and :
 {
        const points = [];
        const step = 0.1;
        for (let x = -3.5; x <= 3.5; x += step) {
          const y = (1 / Math.sqrt(2 * Math.PI)) * Math.exp(-0.5 * x * x);
          points.push({ x: x, y: y, z: 0 });
        }
        return points;
      })(),
      color: getColor("PURPLE"),
      smooth: true,
      showPoints: false,
      labels: [
        { text: "μ = 0", at: 35, offset: [0, 0.5, 0] }
      ]
    },
    {
      points: [
        { x: -1, y: 0, z: 0 },
        { x: -1, y: (1 / Math.sqrt(2 * Math.PI)) * Math.exp(-0.5), z: 0 }
      ],
      color: getColor("ORANGE"),
      smooth: false,
      showPoints: false,
      labels: [
        { text: "μ - σ", at: 0, offset: [0, -0.3, 0] }
      ]
    },
    {
      points: [
        { x: 1, y: 0, z: 0 },
        { x: 1, y: (1 / Math.sqrt(2 * Math.PI)) * Math.exp(-0.5), z: 0 }
      ],
      color: getColor("ORANGE"),
      smooth: false,
      showPoints: false,
      labels: [
        { text: "μ + σ", at: 0, offset: [0, -0.3, 0] }
      ]
    },
  ]}
/>
This curve has several unique characteristics that make it special:
1. **Shape and Symmetry**
    The curve is bell-shaped and symmetrical about the vertical line passing through the mean (). This means the left and right parts of the curve are perfect mirrors of each other.
2. **Central Point**
    The mean, median, and mode are all located at the same point, which is at the peak of the curve. This occurs because the distribution is symmetrical.
3. **Inflection Points**
    The curve has inflection points at , which means the curve changes from concave to convex (or vice versa) at a distance of one standard deviation from the mean.
4. **Horizontal Asymptote**
    The curve approaches the  axis but never touches it, both at the left and right ends.
## Its Mathematical Function
Now, let's look at its mathematical formula. Don't worry if it looks complicated, the important thing is that you understand the concept.
If  is a normal random variable with mean  and variance , then the normal distribution function can be written as:
for .
Where:
-  is the constant 
-  is the constant number 
-  is the mean of the distribution
-  is the standard deviation
> This formula looks complex, but you don't need to memorize it or calculate it manually. The important thing is to understand that the shape of the curve is determined by the values of  and .
## Transformation to Standard Normal
In practice, we often use the **standard normal distribution** with mean  and standard deviation . To convert a regular normal distribution to standard normal, we use the transformation:
This variable  is called the **standard score** or **z-score**. This transformation is very useful because it allows us to use the readily available standard normal distribution table.
**Why use z-score?**
With this transformation, we can compare data from different distributions. For example, you can compare math scores with physics scores, even though their means and standard deviations are different.
## Calculation Example
Let's look at a practical example. Suppose we have a normal distribution with  and . We want to find the probability that  lies between  and .
**Step 1: Transform to z-score**
**Step 2: Use the standard normal distribution table**
We need to find . Remember that for interval probability, we use the formula:
From the standard normal distribution table:
- 
- 
**Step 3: Calculate the final probability**
So, the probability that  lies between  and  is  or approximately .