You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: public/content/learn/math/derivatives/derivatives-content.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ The derivative takes the average rate of change (slope) between two points, then
61
61
62
62
Here we have linearly growing function.
63
63
64
-
Derivative is always 3 for any `x` value, which means that in the original function, growth of `y`at any point is 3x (if you increase `x` by 1, `y` will increase by 3, check it).
64
+
Derivative is always 3 for any `x` value, which means that in the original function, the rate of growth of `y` is 3 (if you increase `x` by 1, `y` will increase by 3, check it).
65
65
66
66

67
67
@@ -71,7 +71,7 @@ Derivative shows this accelerating growth, you can notice that derivative is inc
71
71
72
72

73
73
74
-
In previous example derivative was always 3, which meant that function is always consistantly growing by 3 times `x`.
74
+
In previous example derivative was always 3, which meant that function is always consistantly growing by 3.
Copy file name to clipboardExpand all lines: public/content/learn/math/gradients/gradients-content.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,17 +15,17 @@ Welcome! This guide will walk you through the concept of gradients. We'll start
15
15
16
16
## Step 1: From Line Slope (Derivative) To Surface Slope (Gradient)
17
17
18
-
Let's start with what you know. For a simple function like `f(x) = x²`, the derivative `f'(x) = 2x` gives you the slope of the curve at any point `x`. So for `x=3`, derivative is `2*3=6`. That means as you increase `x`but a tiny bit, `f(x) = x²` will increase by 6.
18
+
Let's start with what you know. For a simple function like `f(x) = x²`, the derivative `f'(x) = 2x` gives you the slope of the curve at any point `x`. So for `x=3`, derivative is `2 * 3 = 6`. That means as you increase `x`by a tiny bit, `f(x) = x²` will increase by 6.
19
19
20
-
At `x=4`, derivative is `2*4=8`, so at that point `f(x) = x²` is increasing by 8x.
20
+
At `x=4`, derivative is `2 * 4 = 8`, so at that point `f(x) = x²` is increasing by 8.
21
21
22
22
23
23
24
24
25
25
26
26
Notice that I say "if you increase x by a bit, `f(x) = x²` will increase by 6" and I don't say "if you increase x by 1", because increasing x by 1 (from 3 to 4 in this case) is a lot and by that point derivative (rate of change) will go from 6 to 8.
27
27
28
-
On this image you can see that the red slope at `x=3` is smaller than thes green slope at `x=4`.
28
+
On this image you can see that the red slope at `x=3` is smaller than the green slope at `x=4`.
29
29
30
30

31
31
@@ -45,7 +45,7 @@ There isn't just one. There's a slope if you take a step in the x-direction, a d
45
45
46
46
To handle this, we use **partial derivatives**.
47
47
48
-
-**Partial Derivative with respect to x (∂f/∂x):** This is the slope if you only move in the x-direction. You treat y as a constant. For `f(x, y) = x² + y²`, the partial derivative `∂f/∂x = 2x` - remember the rule for a constant that stands alone, constants become 0 in the derivative, and since we treat y as a constant, `+ y²` will ecome`+ 0`.
48
+
-**Partial Derivative with respect to x (∂f/∂x):** This is the slope if you only move in the x-direction. You treat y as a constant. For `f(x, y) = x² + y²`, the partial derivative `∂f/∂x = 2x` - remember the rule for a constant that stands alone, constants become 0 in the derivative, and since we treat y as a constant, `+ y²` will become`+ 0`.
49
49
50
50
-**Partial Derivative with respect to y (∂f/∂y):** This is the slope if you only move in the y-direction. You treat x as a constant. For `f(x, y) = x² + y²`, the partial derivative `∂f/∂y = 2y`.
51
51
@@ -96,15 +96,15 @@ Let's go back to our bowl function, `f(x, y) = x² + y²`, and its gradient, `
96
96
Let's calculate the gradient at a specific point, say `(3, 1)`.
97
97
98
98
```
99
-
∇f(3, 1) = [ 2 3, 2 1 ] = [6, 2]
99
+
∇f(3, 1) = [ 2 * 3, 2 * 1 ] = [6, 2]
100
100
```
101
101
102
102
This vector `[6, 2]` is an arrow that points "6 units in the x-direction and 2 units in the y-direction." This is an arrow pointing up and to the right, away from the minimum at `(0, 0)`. This makes perfect sense! From the point `(3, 1)`, the steepest way up the bowl is away from the bottom.
103
103
104
104
What about the point `(-2, -2)`?
105
105
106
106
```
107
-
∇f(-2, -2) = [ 2 -2, 2 -2 ] = [-4, -4]
107
+
∇f(-2, -2) = [ 2 * -2, 2 * -2 ] = [-4, -4]
108
108
```
109
109
110
110
This vector points down and to the left, again, away from the bottom of the bowl at `(0, 0)`.
Copy file name to clipboardExpand all lines: public/content/learn/math/matrices/matrices-content.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Multiply each element by the scalar. For `(2A)`:
59
59
60
60
### 3.3 Matrix multiplication
61
61
62
-
You do a dot product of a row of th first matrix with the column of the second matrix and write result at the position where that row and column intercept.
62
+
You do a dot product of a row of the first matrix with the column of the second matrix and write the result at the position where that row and column intersect.
63
63
64
64
If `(A)` is `(m x p)` and `(B)` is `(p x n)`, then `(AB)` is `(m x n)`. Multiply rows of `(A)` by columns of `(B)` and sum.
0 commit comments