Pure mathematics is, in its way, the poetry of logical ideas. Do not worry about your difficulties in mathematics, I assure you that mine are still greater, Albert Einstein
An algebraic equation is a mathematical statement asserting that two algebraic expressions are equal.. These expressions are constructed using:
An algebraic equation typically has the following general form: Expression1 = Expression2, where the two expressions are set equal to each other.
Examples: y = 2x + 4 (simple linear equation, represents a straight line with a slope of 2 and a y-intercept of 4), ax2 + bx + c = 0 (quadratic equation, it represents a parabola), $ln(xy + t) = z·sin(\sqrt{x})$.
Definition. A differential equation is an equation that involves one or more functions and their derivatives. It relates the function itself (the dependent variable), its derivatives with respect to one or more independent variables (rates of change), and the independent variable(s) themselves, e.g., $\frac{dy}{dx} = 3x +5y, y' + y = 4xcos(2x), \frac{dy}{dx} = x^2y+y, etc.$
If an algebraic equation is a “snapshot” of a relationship, a differential equation is the “instruction manual” for how that relationship moves and changes.
Key Components (e.g., $\frac{dy}{dx} = 3x +5y$):
To solve ordinary differential equations (ODEs), several methods can be employed, each suited to different types of equations. Here are some of the key methods:
Separation of Variables. This method is used for ODEs where the algebraic expression can be factored into a function of $x$ times a function of $y$, $\frac{dy}{dx} = g(x)h(y)$. By separating the variables to opposite sides of the equation, you can integrate both sides separately: $\int \frac{dy}{h(y)} = \int g(x)dx + C$
Integrating Factors. This powerful technique applies strictly to linear first-order ODEs, $\frac{dy}{dx} + P(x)y = Q(x)$. The idea is to multiply the entire equation by an integrating factor μ(x) = $e^{\int P(x)dx}$, which simplifies the left-hand side into a product derivative, making the equation easier to solve: $\frac{d}{dx}(y·μ(x)) = Q(x)·μ(x)$. Integrating both sides with respect to x yields the solution.
Exact Differential Equations. These are ODEs that can be expressed in the form of a total differential of a multivariable potential function, M(x, y)dx + N(x, y)dy = 0, where the exactness condition $\boxed{\frac{∂M}{∂y} = \frac{∂N}{∂x}}$ must be satisfied. If exact, you integrate $M$ with respect to $x$ (and $N$ with respect to $y$) to reverse-engineer the original potential function $f(x, y)$. The implicit solution is defined as $f(x,y) = C$.
Substitution Methods (e.g., Bernoulli Equations). Sometimes an ODE doesn’t fit the above categories but can be transformed into one that does via substitution. For example, a Bernoulli equation takes the form $y' + P(x)y = Q(x)y^n$. By using the substitution $v = y^{1-n}$, the equation is transformed into a standard linear ODE, which can then be solved using an Integrating Factor.
Geometric Interpretations. This approach involves visualizing the solution in the phase plane or using graphical methods to understand the behavior of the solutions. For example, in autonomous differential equations, the phase plane can help in understanding the equilibrium points and the stability of the solutions.
Numerical Methods. For ODEs that cannot be solved analytically, numerical methods are used to find approximate solutions.

Euler’s method is the most fundamental numerical technique for approximating the solution to a first-order Initial Value Problem (IVP): $y' = f(x, y), \quad y(x_0) = y_0$.
Unlike analytical methods that seek an explicit formula for y(x), Euler’s method generates an approximation by creating a sequence of discrete points (xk, yk) that estimate the true solution at discrete points. More precisely, each yk estimates the value of the true solution y(xk).
Euler's method approximates the continuous solution curve by linking together a series of short tangent lines (Refer to Figure 1 for a visual representation and aid in understanding it). Each new point is determined by calculating the slope of the tangent line at the previous point.
The slope at any point $(x_k, y_k)$ is determined exactly by the given differential equation y′ = f(x, y). The method progresses from one point to the next by taking small, uniform steps of size h along the x-axis.

Given the differential equation of the form: y’ = f(x, y) and an initial condition y(x0) = y0, Euler’s method approximates y at points x1, x2, ···, xN. The basic idea is to use the slope at $(x_n, y_n)$ to estimate y at the next point $x_{n+1}$ of the sequence using the following steps:

To summarize, the iterative formulas are: $\boxed{x_{n+1} = x_n + h \quad \text{and} \quad y_{n+1} = y_n + h \cdot f(x_n, y_n)}$
Step-by-step table of calculations:
| n | xn | yn | An=xn2-yn2 | hAn |
|---|---|---|---|---|
| 0 | 0 | 1 | 0-12=-1 | -0.1 |
| 1 | 0.1 | 1-0.1 = 0.9 | 0.12-0.92=-0.8 | -0.08 |
| 2 | 0.2 | 0.9-0.08 = 0.82 | 0.22-0.822=-0.6324 | -0.06324 |
| 3 | 0.3 | 0.82−0.06324 = 0.75676 | 0.3²-0.75676²=−0.48268 | −0.048268 |
Using the table, the approximated value at $x = 0.3$ is $y_3 \approx y_2 + hA_2 \approx 0.82 −0.06324 = 0.75676$. To find the approximated value at $x = 0.4$, we perform one more iteration: $y_4 = y_3 + hA_3 = 0.75676 - 0.048268 = \mathbf{0.70849}$
Euler’s method provides a straightforward approach to approximating solutions of first-order ODEs. While simple and easy to implement, its accuracy depends heavily on the step size h and the geometric behavior of the true solution.
Convex Solutions ($y'' > 0$): If the true solution is curving upward, the tangent lines will sit below the curve. Therefore, Euler’s approximation tends to underestimate the true value.
Concave Solutions ($y'' < 0$): If the true solution is curving downward, the tangent lines will sit above the curve. Therefore, Euler’s approximation tends to overestimate the true value (Refer to Figure C for a visual representation and aid in understanding it).

In our example, to determine the convexity, we calculate the second derivative using implicit differentiation and the Chain Rule: $y'' = \frac{d}{dx}(y') = \frac{d}{dx}(x^2-y^2) = 2x -2yy'.$
Evaluate this at our initial condition (x0 = 0, y0 = 1): y(0) = 1 (Initial condition), y’(0) = A0 = -1, y’’(0) =[y’’ = 2x -2yy’] 2·0 -2·1·(-1) = 2. Since y′′(0) = 2 > 0, the exact solution is convex near x = 0. We can confidently conclude that Euler’s method will underestimate the true solution in the initial steps.
Euler’s method approximates the solution curve by constructing a series of tangent line segments, moving from one point to the next based on the local slope of the solution at the current point.
Each tangent line is a linear approximation, and as such, the error introduced at each step depends on how much the true solution deviates from linearity over that interval. Therefore, its accuracy can vary depending on the step size and the nature of the solution curve. For smoother (slowly changing) functions, Euler’s method performs better, while for more complex functions, smaller steps (halve the step side, halve the error, refer to Figure D) or more advanced numerical methods (like Runge-Kutta) may be needed for improved accuracy and stability.

Let’s consider the differential equation $y' = x + 2y$, with the initial condition $y(0) = 0$. We want to approximate $y(0.4)$ using a step size of $h = 0.1$.
Euler’s method is a fundamental numerical technique used to approximate solutions to ordinary differential equations (ODEs) when an analytical solution is difficult, costly or impossible to obtain.
Step-by-step table of calculations $\boxed{x_{n+1} = x_n + h \quad \text{and} \quad y_{n+1} = y_n + h \cdot f(x_n, y_n)}$:
| n | xn | yn | An=xn+2yn | hAn=0.1An |
|---|---|---|---|---|
| 0 | 0 | 0 | 0+2*0=0 | 0 |
| 1 | 0.1 | 0+0.1·0 = 0 | 0.1+2·0 = 0.1 | 0.01 |
| 2 | 0.2 | 0 + 0.01 = 0.01 | 0.2+2·001 = 0.22 | 0.022 |
| 3 | 0.3 | 0.01 + 0.022 = 0.032 | 0.3 + 2·0.032=0.364 | 0.0364 |
| 4 | 0.4 | 0.032 + 0.0364 = 0.0684 | 0.4 + 2·0.0684=0.5368 | 0.05368 |
After four steps, the approximated value at x = 0.4 is y4 ≈ 0.032 + 0.0364 = 0.0684.
To evaluate the accuracy of our numerical approximation, let’s solve the differential equation analytically.
Conclusion: Our Euler's method approximation is y(0.4) ≈ 0.0684, whereas the exact value is approximately 0.106399. The discrepancy indicates that Euler's method with h = 0.1 is not very accurate for this problem over this interval.
Why does this happen? The exact solution involves an exponential term e2x, with grows rapidly. Euler's method, relying on purely linear tangent approximations, with a relatively large step size h = 0.1, struggles to capture this rapid, compounding change. The error accumulates at each step, leading to significant deviation from the exact solution.
We can prove mathematically that Euler’s method will fall short. We calculate the second derivative:
$y'' = \frac{d}{dx}(y') = \frac{d}{dx}(x+2y) = 1 + 2y'$.
At our starting point $(0, 0)$, the slope is $y' = 0 + 2\cdot 0 = 0$, hence $y''(0) = 1 + 2(0) = 1$
Since $y'' > 0$, the solution curve is convex (curving upward) near $x = 0$. Tangent lines drawn on a convex curve always sit below the curve, proving that Euler’s method will always underestimate the true solution here.