File size: 7,343 Bytes
833dac3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
## Stores all the few-shot examples

# Few-shot examples for concept decomposition
CONCEPT_DECOMPOSITION_EXAMPLES_1= {
  "main_concept": "Algebra",
  "Explanation": "Algebra is a branch of mathematics that uses symbols and letters to represent numbers and their relationships. It helps solve equations and understand patterns.",
  "sub_concepts": [
    {
      "id": "1.1",
      "name": "Functions",
      "description": "Functions show how one quantity depends on another and are used to model relationships.",
      "difficulty": "basic"
    },
    {
      "id": "1.2",
      "name": "The Domain and Range of a Function",
      "description": "Domain is the set of input values, and range is the set of output values for a function.",
      "difficulty": "basic"
    },
    {
      "id": "1.3",
      "name": "Intervals and Interval Notation",
      "description": "A way to write ranges of values between two endpoints.",
      "difficulty": "basic"
    },
    {
      "id": "1.4",
      "name": "Even and Odd Functions",
      "description": "Even functions are symmetrical about the y-axis; odd functions are symmetrical about the origin.",
      "difficulty": "intermediate"
    },
    {
      "id": "1.5",
      "name": "Function Graph Transformations: Vertical and Horizontal Shifts",
      "description": "Moves the graph of a function up, down, left, or right.",
      "difficulty": "intermediate"
    },
    {
      "id": "1.6",
      "name": "Function Graph Transformations: Stretching, Reflecting, and Compressing",
      "description": "Changes the shape of a graph by stretching, flipping, or squeezing it.",
      "difficulty": "intermediate"
    },
    {
      "id": "1.7",
      "name": "Function Graphs: Combined Transformations",
      "description": "Applies multiple changes to a function’s graph to show complex transformations.",
      "difficulty": "advanced"
    },
    {
      "id": "1.8",
      "name": "Arithmetic Operations on Functions",
      "description": "Combines functions by adding, subtracting, multiplying, or dividing them.",
      "difficulty": "intermediate"
    },
    {
      "id": "1.9",
      "name": "Composition of Functions",
      "description": "Applies one function to the result of another to build new functions.",
      "difficulty": "advanced"
    },
    {
      "id": "1.10",
      "name": "One-to-One Functions",
      "description": "A function where each input has a unique output, important for finding inverses.",
      "difficulty": "advanced"
    },
    {
      "id": "1.11",
      "name": "Linear, Quadratic, and Cubic Function Models",
      "description": "Basic function types that model different patterns of change.",
      "difficulty": "basic"
    },
    {
      "id": "1.12",
      "name": "Exponential Models",
      "description": "Functions that model rapid growth or decay, used in real-life applications.",
      "difficulty": "intermediate"
    }
  ],
  "relationships": [
    {
      "source": "1.1",
      "target": "1.2",
      "type": "prerequisite",
      "explanation": "Understanding functions is necessary to define their domain and range."
    },
    {
      "source": "1.2",
      "target": "1.3",
      "type": "related",
      "explanation": "Interval notation is commonly used when expressing domain and range."
    },
    {
      "source": "1.1",
      "target": "1.4",
      "type": "prerequisite",
      "explanation": "You need to understand basic function behavior before classifying them as even or odd."
    },
    {
      "source": "1.1",
      "target": "1.5",
      "type": "prerequisite",
      "explanation": "Understanding functions is key to learning how their graphs shift."
    },
    {
      "source": "1.5",
      "target": "1.6",
      "type": "prerequisite",
      "explanation": "Once shifts are understood, more complex transformations like stretching or reflecting can be learned."
    },
    {
      "source": "1.6",
      "target": "1.7",
      "type": "prerequisite",
      "explanation": "Understanding individual transformations helps in learning combined transformations."
    },
    {
      "source": "1.1",
      "target": "1.8",
      "type": "prerequisite",
      "explanation": "Understanding functions is necessary before performing operations on them."
    },
    {
      "source": "1.8",
      "target": "1.9",
      "type": "prerequisite",
      "explanation": "You need to be comfortable with function operations before learning function composition."
    },
    {
      "source": "1.9",
      "target": "1.10",
      "type": "prerequisite",
      "explanation": "Understanding composition is helpful when studying one-to-one functions and their inverses."
    },
    {
      "source": "1.1",
      "target": "1.11",
      "type": "related",
      "explanation": "Function models are real-world applications of the basic function concept."
    },
    {
      "source": "1.11",
      "target": "1.12",
      "type": "prerequisite",
      "explanation": "Linear, quadratic, and cubic models are usually taught before exponential models."
    }
  ]
}

CONCEPT_DECOMPOSITION_EXAMPLES_2 = {
  "main_concept": "Normal Distribution",
  "Explanation": "A normal distribution is a symmetric, bell-shaped curve where the mean represents the center and the variance measures how spread out the data is. Most data falls close to the mean, especially within a few standard deviations.",
  "sub_concepts": [
    {
      "id": "1.1",
      "name": "Mean of a Normal Distribution",
      "description": "The average value of the data and the center point of the bell curve.",
      "difficulty": "basic"
    },
    {
      "id": "1.2",
      "name": "Variance of a Normal Distribution",
      "description": "A measure of how much the data spreads out from the mean.",
      "difficulty": "intermediate"
    },
    {
      "id": "1.3",
      "name": "Standard Deviation",
      "description": "The square root of variance; it shows the average distance of data from the mean.",
      "difficulty": "intermediate"
    },
    {
      "id": "1.4",
      "name": "Properties of the Normal Distribution",
      "description": "The distribution is symmetric with the mean, median, and mode all equal, forming a bell curve.",
      "difficulty": "basic"
    },
    {
      "id": "1.5",
      "name": "Empirical Rule (68-95-99.7 Rule)",
      "description": "Describes how data is spread in a normal distribution using standard deviations.",
      "difficulty": "intermediate"
    }
  ],
  "relationships": [
    {
      "source": "1.1",
      "target": "1.4",
      "type": "prerequisite",
      "explanation": "Understanding the mean is necessary to grasp the symmetry and central tendency of the normal distribution."
    },
    {
      "source": "1.2",
      "target": "1.3",
      "type": "prerequisite",
      "explanation": "Standard deviation is derived from the variance, so variance must be understood first."
    },
    {
      "source": "1.3",
      "target": "1.5",
      "type": "prerequisite",
      "explanation": "The empirical rule is based on standard deviations, so understanding standard deviation is essential."
    },
    {
      "source": "1.4",
      "target": "1.5",
      "type": "related",
      "explanation": "The empirical rule is one of the defining properties of a normal distribution."
    }
  ]
}