diff-equations

Solve ODEs analytically and numerically with Laplace transforms and eigenvalue analysis.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/jpfielding/claude.pnge --skill diff-equations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diff-equations
Source: https://github.com/jpfielding/claude.pnge/tree/main/skills/diff-equations
Command: npx skills add https://github.com/jpfielding/claude.pnge --skill diff-equations

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill tackles the complex task of solving ordinary differential equations (ODEs), which are fundamental to modeling dynamic systems in engineering and science, by providing both analytical and numerical solution methods.

Core Features & Use Cases

  • Analytical Solutions: Solves first-order linear and separable ODEs, second-order linear ODEs with constant coefficients (including homogeneous and non-homogeneous cases via undetermined coefficients and variation of parameters), and systems of ODEs using eigenvalue methods.
  • Laplace Transforms: Facilitates solving ODEs by transforming them into algebraic equations in the s-domain and then transforming the solution back to the time domain.
  • Numerical Methods: Implements Euler's method and the more accurate 4th-order Runge-Kutta (RK4) method for approximating solutions when analytical methods are intractable or for verification.
  • Phase Plane Analysis: Classifies equilibrium points for 2D linear systems to understand system behavior (nodes, spirals, saddles).
  • Use Case: A chemical engineer needs to model a reactor's temperature dynamics, which is governed by a second-order ODE. They can use this Skill to find an analytical solution or use RK4 to simulate the temperature profile over time given specific initial conditions and forcing functions.

Quick Start

Use the diff-equations skill to solve the ODE y'' + 4*y = sin(t) with initial conditions y(0)=0 and y'(0)=1.

Frequently Asked Questions about diff-equations

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

FAQPage Schema
How do I solve a second-order ODE with constant coefficients and initial conditions?

To solve a second-order ODE with constant coefficients, this Skill provides analytical solutions using undetermined coefficients and variation of parameters, handling both homogeneous and non-homogeneous cases with specified initial conditions.

What is the best way to numerically approximate an ODE solution when analytical methods fail?

When analytical ODE methods are intractable, the best way to approximate the solution is using numerical methods like Euler's method or the 4th-order Runge-Kutta (RK4) method, both of which this Skill implements for simulating dynamic system profiles.

Can I use Laplace transforms to solve differential equations with this tool?

Yes, you can use Laplace transforms to solve differential equations. The Skill transforms ODEs into algebraic equations in the s-domain and then transforms the solution back to the time domain.

Does this Skill support phase plane analysis for 2D linear systems?

Yes, this Skill supports phase plane analysis for 2x2 linear systems. It classifies equilibrium points such as nodes, spirals, and saddles using eigenvalue methods to help you understand dynamic system behavior.

How do I solve a system of ODEs using eigenvalue methods?

To solve a system of ODEs using eigenvalue methods, the Skill performs eigenvalue analysis on the system's coefficient matrix, deriving analytical solutions that characterize dynamic behavior for engineering and physics models.