Differential Equations formula reference

First-Order Linear ODE Solution

Gives the integrating-factor solution of y′+P(x)y=Q(x).

Open in editor
LaTeXy=e^{-\int P(x)dx}\left(\int Q(x)e^{\int P(x)dx}dx+C\right)

Variables

  • P(x): coefficient function
  • Q(x): forcing function
  • C: integration constant

How to use this formula

Gives the integrating-factor solution of y′+P(x)y=Q(x).

Important notes

  • Continuity assumptions are needed on the interval of interest.
  • Apply initial data after finding the general solution.

Quick example

For y′+y=1, the solution is y=1+Ce^{-x}.

Applicability, worked calculation, and verification

Assumptions and domain checks

  • Continuity assumptions are needed on the interval of interest.
  • Integration limits, the differential, and any constant of integration must be included where required.
  • State the domain together with any initial or boundary conditions, and confirm the regularity assumptions required by the method.

Worked example

Input

Output

For y′+y=1, the solution is y=1+Ce^{-x}.

Common mistakes

  • Keep the integration bounds and differential attached to First-Order Linear ODE Solution, and include a constant of integration for an indefinite integral.
  • Do not present a general solution as the requested solution before applying all initial or boundary conditions.

Continue the workflow

Use First-Order Linear ODE Solution in your own work

  1. Check the domainMatch the variables and assumptions to the problem before substituting values.
  2. Copy the exact notationPreserve grouping, signs, and exponents in y=e^{-\int P(x)dx}\left(\int Q(x)e^{\int P(x)dx}dx+C\right).
  3. Edit or convertOpen the expression in the LaTeX editor, then export it for your document or web page.

Review and verification

Last reviewed: 2026-07-23

Automated quality check: Kept noindex until the missing evidence is supplied.

Formula references

Frequently asked questions

What is the First-Order Linear ODE Solution used for?

Gives the integrating-factor solution of y′+P(x)y=Q(x).

Can I copy this formula as LaTeX?

Yes. Copy y=e^{-\int P(x)dx}\left(\int Q(x)e^{\int P(x)dx}dx+C\right) or open it in the LaTeX editor.

What should I check before using it?

Confirm that each variable, unit, domain restriction, and assumption matches the problem.

Reuse, attribution, and correction

Share this reference without losing its source

Copy a citation, permanent link, Markdown link, or self-contained embed card. Each reusable format points readers back to the maintained canonical page.

Report an issue

Search the whole reference

Symbols, formulas, guides, tools and commands

Start typing to search.

move · Enter open · Esc close