BO

boundary-value-problems

Provides mathematical strategies and solvers for boundary value problems in ODEs and PDEs.

Install

mkdir -p .claude/skills/boundary-value-problems && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/4574" && unzip -o skill.zip -d .claude/skills/boundary-value-problems && rm skill.zip

Installs to .claude/skills/boundary-value-problems

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Problem-solving strategies for boundary value problems in odes pdes
67 charsno explicit “when” trigger
Advanced

Key capabilities

  • Classifies differential equations by type
  • Implements shooting methods for BVPs
  • Performs domain discretization via finite difference
  • Solves linear systems via tridiagonal matrix operators
  • Calculates eigenvalues for Sturm-Liouville forms

How it works

Maps physical boundary conditions to either shooting, finite difference, or collocation solvers using numerical libraries to compute steady-state solutions.

Inputs & outputs

You give it
ODE definition and boundary conditions
You get back
Numerical solution or eigenvalue set

When to use boundary-value-problems

  • Solve two-point boundary value problems
  • Discretize domain using finite difference
  • Compute eigenvalues for Sturm-Liouville form

About this skill

Boundary Value Problems

When to Use

Use this skill when working on boundary-value-problems problems in odes pdes.

Decision Tree

  1. Problem Classification

    • Two-point BVP: conditions at x=a and x=b?
    • Sturm-Liouville: eigenvalue problem?
    • Mixed conditions: Dirichlet, Neumann, Robin?
  2. Shooting Method

    • Convert BVP to IVP
    • Guess missing initial conditions
    • Iterate to satisfy boundary conditions
    • scipy.integrate.solve_ivp + root finding
  3. Finite Difference Method

    • Discretize domain: x_i = a + i*h
    • Replace derivatives with differences: y'' ~ (y_{i+1} - 2y_i + y_{i-1})/h^2
    • Solve resulting linear system
    • sympy_compute.py linsolve "tridiagonal_matrix" "boundary_vector"
  4. Collocation/BVP Solver

    • scipy.integrate.solve_bvp(ode, bc, x, y_init)
    • Provide initial mesh and guess
    • Check residual for accuracy
  5. Eigenvalue Problems

    • Sturm-Liouville form: -(p(x)y')' + q(x)y = lambda*w(x)*y
    • Eigenvalues are real if p, w > 0
    • Eigenfunctions orthogonal with weight w
    • sympy_compute.py eigenvalues "sturm_liouville_matrix"

Tool Commands

Scipy_Solve_Bvp

uv run python -c "from scipy.integrate import solve_bvp; import numpy as np; ode = lambda x, y: [y[1], -y[0]]; bc = lambda ya, yb: [ya[0], yb[0]-1]; x = np.linspace(0, np.pi, 10); y = np.zeros((2, 10)); sol = solve_bvp(ode, bc, x, y); print('Solution at pi/2:', sol.sol(np.pi/2)[0])"

Sympy_Linsolve

uv run python -m runtime.harness scripts/sympy_compute.py linsolve "tridiagonal_matrix" "boundary_vector"

Z3_Sturm_Liouville

uv run python -m runtime.harness scripts/z3_solve.py prove "eigenvalue_real"

Key Techniques

From indexed textbooks:

  • [Elementary Differential Equations and... (Z-Library)] Boundary Value Problems and Partial Differential Equations (6th ed. Boston: Academic August 7, 2012 21:05 c10 Sheet number 88 Page number 676 cyan black August 7, 2012 21:05 c11 Sheet number 1 Page number 677 cyan black C H A P T E R Boundary Value Problems and Sturm–Liouville Theory As a result of separating variables in a partial differential equation in Chapter 10, we repeatedly encountered the differential equation X + λX = 0, 0 < x < L with the boundary conditions X (0) = 0, X (L) = 0. This boundary value problem is the prototype of a large class of problems that are important in applied mathematics.
  • [Elementary Differential Equations and... (Z-Library)] Nonhomogeneous Boundary Value Problems In this section we discuss how to solve nonhomogeneous boundary value problems for both ordinary and partial differential equations. Most of our attention is directed toward problems in which the differential equation alone is nonhomogeneous, while the boundary conditions are homogeneous. We assume that the solution can be expanded in a series of eigenfunctions of a related homogeneous problem, and then we determine the coefcients in this series so that the nonhomogeneous problem is satised.
  • [Elementary Differential Equations and... (Z-Library)] Consider the boundary conditions y, y bounded as x → −1, −1 m = n. August 7, 2012 21:05 c11 Sheet number 46 Page number 722 cyan black Chapter 11. Boundary Value Problems general differential equations or boundary conditions.
  • [An Introduction to Numerical Analysis... (Z-Library)] Modern Numerical Methods for Ordinary Wiley, New York. User's guide for DVERK: A subroutine for solving non-stiff ODEs. Keller (1966), Analysis of Numerical Methods.
  • [Elementary Differential Equations and... (Z-Library)] Describe in a few words how the solution evolves as time advances. A nonreactive tracer at concentration c0 is continuously introduced into a steady ow at the upstream end of a column of length L packed with a homogeneous granular medium. Assuming that the tracer concentration in the column is initially zero, the boundary value problem that models this process is 0 < x < L, t > 0, t > 0, 0 < x < L, where c(x, t), v, and D are as in Problem 27.

Cognitive Tools Reference

See .claude/skills/math-mode/SKILL.md for full tool documentation.

When not to use it

  • Initial value problems with no boundary conditions
  • Non-linear systems that do not converge

Prerequisites

Python 3.xscipysympy

Limitations

  • Numerical stability depends on grid discretization
  • Requires correct initial guesses for non-linear solvers
  • Sturm-Liouville solutions rely on specific problem formulations

How it compares

Provides a structured decision-making framework for choosing the correct numerical approach for specific ODE classes.

Compared to similar skills

boundary-value-problems side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
boundary-value-problems (this skill)17moReviewAdvanced
literature-review5592moReviewAdvanced
openalex-database487moReviewIntermediate
scientific-critical-thinking187moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

literature-review

K-Dense-AI

Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature searches across biomedical, scientific, and technical domains. Creates professionally formatted markdown documents and PDFs with verified citations in multiple citation styles (APA, Nature, Vancouver, etc.).

5591,298

openalex-database

davila7

Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly works. Use for literature searches, research output analysis, citation analysis, and academic database queries.

48202

scientific-critical-thinking

davila7

Evaluate research rigor. Assess methodology, experimental design, statistical validity, biases, confounding, evidence quality (GRADE, Cochrane ROB), for critical analysis of scientific claims.

1888

biorxiv-database

lifangda

Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.

780

physics-validator

omriwen

Validate optical physics parameters including Fresnel numbers, diffraction regimes, and resolution limits. This skill should be used when configuring Telescope, Microscope, or Camera instruments to ensure physically realistic parameters.

664

fda-database

davila7

Query openFDA API for drugs, devices, adverse events, recalls, regulatory submissions (510k, PMA), substance identification (UNII), for FDA regulatory data analysis and safety research.

539

Search skills

Search the agent skills registry