Diff Eq Solver (Simplified)

Solve simple differential equations.

Result:

--

Differential Equation Calculator: Modeling the Real World

Calculus is the study of how things change, and **Differential Equations** (Diff Eqs) are the language we use to describe that change. From the spread of a virus to the motion of planets, almost every dynamic system in the universe can be modeled with a differential equation. Our **Diff Eq Calculator** helps you understand the solutions to basic first-order Ordinary Differential Equations (ODEs).

What Is a Differential Equation?

An algebraic equation (like $x^2 + 3x = 10$) asks you to find a number. A **differential equation** asks you to find a function.

It relates a function $y(x)$ to its derivatives $y', y'', \dots$.

Example: $y' = y$ asks "What function is equal to its own slope?" (Solution: $y = e^x$)

Types of First-Order Equations

This calculator focuses on first-order ODEs, which involve only the first derivative ($dy/dx$).

1. Separable Equations

These are variables that can be separated onto opposite sides of the equation.

$$\frac{dy}{dx} = g(x)h(y) \implies \int \frac{1}{h(y)} dy = \int g(x) dx$$

You solve by integrating both sides.

2. Linear Equations

These can be written in the form:

$$\frac{dy}{dx} + P(x)y = Q(x)$$

To solve these, we use a clever trick called an **Integration Factor**: $I(x) = e^{\int P(x) dx}$. Multiplying the entire equation by $I(x)$ turns the left side into the derivative of a product, making it easy to integrate.

Visualizing Solutions: Slope Fields

Since a differential equation gives you the slope ($y'$) at any point $(x,y)$, you can draw tiny line segments representing these slopes on a graph. This creates a "Slope Field." The solution curves flow through this field like water in a stream.

Applications

  • Physics: Newton's Second Law ($F=ma$) is a differential equation ($F = m \frac{d^2x}{dt^2}$).
  • Biology: Population growth models (Exponential, Logistic).
  • Finance: Compound interest formulas are solutions to $A' = rA$.

Conclusion

Solving differential equations often requires integration skills and algebraic manipulation. Use the **Differential Equation Calculator** to check the form of your general solutions and verify your initial value problems.