Skip to content

Commit e44ceb0

Browse files
committed
ading to diffEQ
1 parent 987088e commit e44ceb0

File tree

4 files changed

+84
-23
lines changed

4 files changed

+84
-23
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
{
2-
"MD013": false
2+
"MD013": false,
3+
"MD033": false,
4+
"MD036": false
35
}

other/stem/math/pure/changes/calculus-cheat-sheet/README.md

+9-12
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Table of Contents
1212
* [INTEGRAL CALCULUS (THE INTEGRAL)](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet#integral-calculus-the-integral)
1313
* [DEFINITION OF AN INTEGRAL](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet#definition-of-an-integral)
1414
* [BASIC INTEGRAL RULES](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet#basic-integral-rules)
15-
* [A REAL WORLD EXAMPLE USING DERIVATIVES AND INTEGRALS](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet#a-real-world-example-using-derivatives-and-integrals)
15+
* [EXAMPLES](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet#examples)
1616
* [FINDING VELOCITY (Using a Derivative)](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet#finding-velocity-using-a-derivative)
1717
* [FINDING DISTANCE FUNCTION (Using an Integral)](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet#finding-distance-function-using-an-integral)
1818

@@ -22,14 +22,14 @@ Documentation and Reference
2222
cheat sheet
2323
* [my-latex-renders](https://github.com/JeffDeCola/my-latex-renders)
2424

25+
## OVERVIEW
26+
2527
| CONTEXT | WHAT f(x) REPRESENTS | WHAT WE WANT TO FIND |
2628
|------------------------|------------------------------------|--------------------------------------|
2729
| CALCULUS (Derivatives) | $f(x)$ is the original function | The derivative $f'(x)=\frac{dy}{dx}$ |
2830
| CALCULUS (Integrals) | $f(x)$ is function to integrate | Function $F(x)=\int f(x)dx$ |
2931
| DIFFERENTIAL EQUATIONS | $f(x)$ is the derivative of $y(x)$ | Solve for $y(x)$ by integrating |
3032

31-
## OVERVIEW
32-
3333
Calculus is a branch of mathematics that studies continuous change.
3434
It was developed independently by Isaac Newton and
3535
Gottfried Leibniz in the 17th century, and it has become one of
@@ -349,25 +349,26 @@ $$
349349
\end{aligned}
350350
$$
351351

352-
## A REAL WORLD EXAMPLE USING DERIVATIVES AND INTEGRALS
352+
## EXAMPLES
353353

354354
Lets take everything we learned and use an example of a car driving.
355355

356356
### FINDING VELOCITY (Using a Derivative)
357357

358358
Lets say a car travels 50 miles every hour.
359+
Instead of $x,y$ we will use $t,s$ for time and distance.
359360
We can write the distance function as
360361

361362
$$
362-
s(t) = 50t
363+
s = f(t) = 50t
363364
$$
364365

365366
where `t` is time in hours and `s` is distance in miles.
366367

367368
The velocity of the car is the **derivative** of the distance function.
368369

369370
$$
370-
v(t) = \frac{ds}{dt} = 50
371+
\frac{ds}{dt} = f'(t) = 50
371372
$$
372373

373374
So the velocity of the car is 50 mph.
@@ -378,13 +379,9 @@ Lets say we know the velocity of a car is 50 mph.
378379
We can write the velocity function as
379380

380381
$$
381-
v(t) = 50
382+
\frac{ds}{dt} = f'(t) = 50
382383
$$
383384

384-
The distance the car travels is the **integral** of the velocity function.
385+
The distance function is the **integral** of the velocity function.
385386

386-
$$
387-
s(t) = \int v(t) dt = 50t + C
388-
$$
389387

390-
So the distance the car travels is 50t + C.
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"MD013": false
2+
"MD013": false,
3+
"MD036": false
34
}

other/stem/math/pure/changes/calculus-cheat-sheet/differential-equations-cheat-sheet/README.md

+70-9
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ _The study of continuous change._
55
Table of Contents
66

77
* [OVERVIEW](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet/differential-equations-cheat-sheet#overview)
8+
* [HOW TO SOLVE A DIFFERENTIAL EQUATION](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet/differential-equations-cheat-sheet#how-to-solve-a-differential-equation)
89
* [UNDERSTANDING f(x)](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet/differential-equations-cheat-sheet#understanding-fx)
910
* [f(x) in CALCULUS](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet/differential-equations-cheat-sheet#fx-in-calculus)
1011
* [f(x) in DIFFERENTIAL EQUATIONS](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet/differential-equations-cheat-sheet#fx-in-differential-equations)
11-
* [SUMMARY](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet/differential-equations-cheat-sheet#summary)
1212
* [CLASSIFICATION OF DIFFERENTIAL EQUATIONS](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet/differential-equations-cheat-sheet#classification-of-differential-equations)
1313
* [BY TYPE](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet/differential-equations-cheat-sheet#by-type)
1414
* [BY ORDER](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet/differential-equations-cheat-sheet#by-order)
@@ -20,14 +20,14 @@ Documentation and Reference
2020
* [calculus](https://github.com/JeffDeCola/my-cheat-sheets/tree/master/other/stem/math/pure/changes/calculus-cheat-sheet)
2121
cheat sheet
2222

23+
## OVERVIEW
24+
2325
| CONTEXT | WHAT f(x) REPRESENTS | WHAT WE WANT TO FIND |
2426
|------------------------|------------------------------------|--------------------------------------|
2527
| CALCULUS (Derivatives) | $f(x)$ is the original function | The derivative $f'(x)=\frac{dy}{dx}$ |
2628
| CALCULUS (Integrals) | $f(x)$ is function to integrate | Function $F(x)=\int f(x)dx$ |
2729
| DIFFERENTIAL EQUATIONS | $f(x)$ is the derivative of $y(x)$ | Solve for $y(x)$ by integrating |
2830

29-
## OVERVIEW
30-
3131
* **Calculus** is a broad field of mathematics that includes
3232
differentiation (finding derivatives) and
3333
integration (finding integrals).
@@ -44,6 +44,49 @@ change and accumulation.
4444
The goal of diffEQ is to find the function y(x) that satisfies the equation.
4545
```
4646

47+
## HOW TO SOLVE A DIFFERENTIAL EQUATION
48+
49+
Given this first-order ordinary differential equation
50+
let's walk through the steps to solve it.
51+
52+
$$
53+
\frac{dy}{dx} = 2x
54+
$$
55+
56+
Separate the variables,
57+
58+
$$
59+
dy = 2x dx
60+
$$
61+
62+
Integrate both sides.
63+
64+
$$
65+
\int dy = \int 2x dx
66+
$$
67+
68+
$$
69+
y = x² + C
70+
$$
71+
72+
Solve for the constant C using initial conditions.
73+
74+
$$
75+
y(0) = 0² + C = 0
76+
$$
77+
78+
Hence
79+
80+
$$
81+
C = 0
82+
$$
83+
84+
Therefore, the solution to the differential equation is
85+
86+
$$
87+
y = x²
88+
$$
89+
4790
## UNDERSTANDING f(x)
4891

4992
Understanding the role of $f(x)$ is important because:
@@ -60,7 +103,7 @@ Understanding the role of $f(x)$ is important because:
60103
In calculus, we define f(x) as the original function, and we
61104
find the derivative or integral on that function.
62105

63-
#### Derivative
106+
**Derivative**
64107

65108
Given a function, find the rate of change.
66109

@@ -88,7 +131,7 @@ $$
88131
f'(x) = \frac{dy}{dx} = 2x + 3
89132
$$
90133

91-
#### Integral
134+
**Integral**
92135

93136
Given the rate of change, find the function.
94137

@@ -132,10 +175,16 @@ $$
132175
y'(x) = \frac{dy}{dx} = f(x)
133176
$$
134177

135-
To solve for y(x), we integrate both sides of the equation,
178+
Separate the variables
179+
180+
$$
181+
{dy} = f(x){dx}
182+
$$
183+
184+
integrate both sides of the equation,
136185

137186
$$
138-
\int \frac{dy}{dx} dx = \int f(x) dx
187+
\int {dy} = \int f(x) dx
139188
$$
140189

141190
$$
@@ -148,10 +197,22 @@ $$
148197
y'(x) = \frac{dy}{dx} = f(x) = 2x + 3
149198
$$
150199

151-
Solve for y(x),
200+
or,
201+
202+
$$
203+
\frac{dy}{dx} = 2x + 3
204+
$$
205+
206+
Separate the variables,
207+
208+
$$
209+
dy = (2x + 3) dx
210+
$$
211+
212+
Integrate both sides,
152213

153214
$$
154-
\int \frac{dy}{dx} dx = \int (2x + 3) dx
215+
\int dy = \int (2x + 3) dx
155216
$$
156217

157218
$$

0 commit comments

Comments
 (0)