first-order-odes

Classify and solve first-order ODEs using analytical, numerical, and symbolic methods.

8|1|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/scooter-lacroix/Maestro --skill first-order-odes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: first-order-odes
Source: https://github.com/scooter-lacroix/Maestro/tree/main/maestro/skills/math/math/odes-pdes/first-order-odes
Command: npx skills add https://github.com/scooter-lacroix/Maestro --skill first-order-odes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scipy, sympy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a structured approach to solving problems involving first-order ordinary differential equations (ODEs) within the context of ODEs and PDEs.

Core Features & Use Cases

  • ODE Classification: Helps identify whether an ODE is linear, separable, exact, or Bernoulli.
  • Solution Method Selection: Recommends appropriate analytical or numerical methods based on ODE classification.
  • Numerical Solvers: Integrates with scipy.integrate.solve_ivp for initial value problems.
  • Symbolic Solvers: Utilizes sympy_compute.py for symbolic solutions.
  • Phase Portraits: Aids in analyzing autonomous ODEs by finding and analyzing equilibria.
  • Use Case: When faced with a differential equation like y' + 2y = sin(x), this skill will guide you to classify it as linear, apply the integrating factor method, and verify the solution.

Quick Start

Use the first-order-odes skill to solve the differential equation y' + y = x with the initial condition y(0) = 1.

Frequently Asked Questions about first-order-odes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I solve a first-order ODE using Python and SymPy?

You can solve a first-order ODE symbolically by using SymPy to classify the equation and apply analytical methods like integrating factors or separation of variables. This skill automates that classification and solution process.

What is the best way to numerically integrate an initial value problem for a differential equation?

For numerically integrating an initial value problem, this skill leverages SciPy's `solve_ivp` function. It computes approximate numerical solutions for first-order ODEs when analytical methods are insufficient or unavailable.

How do I classify a differential equation as linear, separable, exact, or Bernoulli?

Classifying a differential equation involves checking its structural form against known patterns. This skill analyzes the ODE structure to identify whether it is linear, separable, exact, or Bernoulli, which determines the valid solution method.

Do I need SciPy and SymPy installed to compute symbolic and numerical ODE solutions?

Yes, you need both SciPy and SymPy installed in your Python environment. SciPy handles numerical integration for initial value problems, while SymPy provides the symbolic math capabilities required for analytical solutions.

How do I analyze equilibria and phase portraits for autonomous differential equations?

To analyze equilibria in autonomous ODEs, this skill finds equilibrium points and generates phase portrait visualizations. This helps understand the long-term qualitative behavior and stability of the dynamical system.