GLOBAL KNOWLEDGE ARK

Mathematics · Article

First-order equations and solution methods

Derive separation, integrating factors, exact equations and useful substitutions while tracking every divided quantity, branch and solution interval. Verify initial-value answers in the original equation and distinguish an implicit solution from a valid differentiable branch.

Back to Mathematics

After reading, you can

  • Choose a first-order method from the equation’s structure and stated domain.
  • Justify separation by the chain rule and restore equilibria excluded by division.
  • Handle logarithmic constants, signs and finite endpoints without joining incompatible solution branches.
  • Derive a normalized integrating factor and the definite-integral solution of a continuous linear initial-value problem.
  • Separate a homogeneous response from a forced response and match solutions across finite forcing switches.
  • Construct potentials for exact equations on an admissible domain, with the local/global distinction preserved.
  • Derive one-variable integrating-factor tests, Bernoulli substitution and ratio substitution with their restrictions.
  • Check original-equation residuals, initial conditions, units and intervals instead of accepting a transformed formula alone.
01

Choose a structure and record what a transformation can change

A first-order equation may admit several solution methods, but every method has a domain. Start by writing the unknown function, independent variable, original equation and initial data. Note where coefficients, denominators and real powers are defined. Then identify a useful structure: a product f(t)g(y), a linear expression y′+p(t)y=q(t), an exact differential relation, or a substitution that produces one of these forms.

The methods below derive equivalent relations only where their operations are legitimate. Dividing by g(y) can remove equilibrium solutions. Dividing by a coefficient of y′ excludes its zeros. Taking a logarithm requires a nonzero argument with the appropriate absolute value, and solving for a real root selects branches. Maintain a list of these restrictions and check the excluded cases directly in the original equation.

Lesson 137 established what an initial-value solution means, along with local existence and uniqueness conditions. Here those ideas guide algebraic solution methods. A formula is finally accepted only after differentiation, substitution, the initial-data check and a connected interval containing the initial time. If an equation has no convenient elementary integral, a definite-integral or implicit answer can still be exact.

The examples use dimensionless x or t unless physical units are stated. For physical models, coefficients and exponential arguments must be dimensionally consistent. No finite list of pattern-matching rules solves every nonlinear first-order equation; a failed pattern recognition is a reason to use other analysis, not a reason to alter the equation until it fits.

Structure suggests a method, with a restriction to retain
Recognised structureUseful transformationRestriction to check
y′=a(t)b(y)Integrate 1/b(y) along a solutionSeparate b(y)=0 cases
y′+p(t)y=q(t)Multiply by μ=e^(∫p)Continuous coefficients on one interval
M dx+N dy=0 with a potential HUse H(x,y)=CIdentify an actual graph branch
y′+p y=q yⁿUse v=y^(1−n)Nonzero real branch; n≠0,1
y′=F(y/x)Use v=y/xx≠0; restore constant ratios
02

Separation is a chain-rule argument

Consider y′=a(t)b(y), with a continuous and b continuous on the relevant intervals. On an interval of a solution where b(y(t))≠0, choose an antiderivative G with G′(u)=1/b(u). The chain rule gives dG(y(t))/dt=y′(t)/b(y(t))=a(t). Thus G(y(t))−G(y₀)=∫_(t₀)^t a(s) ds, provided the initial state belongs to that same nonzero branch.

The familiar notation dy/b(y)=a(t) dt abbreviates this argument. It is useful bookkeeping, but it does not turn arbitrary symbols into independent quantities that may always be divided or cancelled. The nonzero condition on b is what makes G′ meaningful. The definite-integral version retains the initial value directly and avoids carrying two unnecessary integration constants.

Conversely, if a differentiable branch satisfies G(y(t))−G(y₀)=∫a and b is defined and nonzero along it, differentiation recovers y′=a(t)b(y). If G is locally invertible there, one can solve for y locally. A global inverse, a convenient elementary antiderivative and an explicit formula are different additional conveniences, not automatic consequences.

Before dividing, solve b(c)=0. Each admissible constant function y=c is an equilibrium solution of the original equation, regardless of a(t). These solutions are not represented by a separated expression containing 1/b(c). A final family that happens to extend to an equilibrium at a limiting constant may include it, but that inclusion must be checked rather than assumed.

Restore the excluded equilibrium and the initial signy′=2x(y−3), initial value 5 at zero. Orange is the selected exact formula 3+(2)e^(x²); green dashed is the constant equilibrium 3. The exponential factor is positive, so the difference from equilibrium retains its initial sign 1. When that difference is zero, the equilibrium is verified directly instead of dividing by it. Curves use numerical evaluations of the retained exact formulas; both axes are dimensionless.Restore the excluded equilibrium and the initial sign-12.405.7219.04y (dimensionless)x (dimensionless)y′=2x(y−3)Initial y=5Equilibrium: 3Difference sign: 1Divide at initial point?Yes, nonzero branch.Interval: ROriginal-equation residual and initial mismatch are exactly zero.
The chain rule justifies separation only on a nonzero branch. Absolute values do not erase a negative initial sign; the excluded constant solution is retained separately.
03

Dividing out an equilibrium can hide the requested solution

For y′=y(1−y), the equilibria are 0 and 1. On a branch avoiding both values, partial fractions allow separation by 1/[y(1−y)]. If the initial value is y(0)=0, that divided equation is unavailable at the initial point, whereas y=0 solves the original problem immediately. A method should preserve that simple answer rather than declare the initial-value problem unsolvable.

When the original field is locally Lipschitz in the state, a nonconstant solution cannot meet an equilibrium solution at a finite point in its interval and then depart differently. Local uniqueness at a meeting point would force local agreement, and continuation of that agreement over the common interval prevents a crossing. Polynomial logistic fields have this local regularity. The claim concerns the original equation and its domain.

Without uniqueness, equilibrium waiting and departure can occur. The delayed cubic examples for y′=3|y|^(2/3) in lesson 137 satisfy the equation while spending an interval at zero. Dividing by |y|^(2/3) loses their zero pieces and cannot describe all such histories. An implicit separated branch alone does not settle the entire non-Lipschitz initial-value problem.

This distinction helps organise a solution: list equilibria first, solve nonzero branches second, and use the actual uniqueness hypotheses to describe how branches can meet. Do not infer non-crossing only from a plotted family. Conversely, do not add arbitrary spliced curves to a smooth unique problem merely because each piece separately satisfies a transformed relation away from its join.

04

Logarithms preserve signs through a branch, not by erasing them

For y′=a(t)y on a nonzero branch, separation gives ln|y(t)|−ln|y₀|=∫_(t₀)^t a(s) ds. Exponentiating yields y(t)=y₀ exp(∫a), since the branch retains its initial sign. The exponential factor is positive, so positive and negative nonzero initial values remain of their respective signs while the integral exists.

In an indefinite calculation, ln|y|=A(t)+C gives |y|=e^C e^(A(t)), with e^C>0. Restoring either sign produces y=C₁e^(A(t)) with C₁≠0. The equilibrium y=0 was excluded in the division and can be appended after direct verification, allowing the final constant C₁ to range over all real numbers in this particular equation.

An absolute value cannot be dropped silently when negative states are allowed. For example ∫dy/y=ln|y|+C on either half-line. A logarithm of a physical dimensional quantity should also be understood through a reference ratio: ln|y/y₀| is dimensionless when y and y₀ share units. The definite expression displays that ratio naturally.

Restore the excluded equilibrium and the initial signy′=y/(1+x²), initial value -2 at zero. Orange is the selected exact formula (-2)e^(arctan x); green dashed is the constant equilibrium 0. The exponential factor is positive, so the difference from equilibrium retains its initial sign -1. When that difference is zero, the equilibrium is verified directly instead of dividing by it. Curves use numerical evaluations of the retained exact formulas; both axes are dimensionless.Restore the excluded equilibrium and the initial sign-1-4.990-2.1910.6y (dimensionless)x (dimensionless)y′=y/(1+x²)Initial y=-2Equilibrium: 0Difference sign: -1Divide at initial point?Yes, nonzero branch.Interval: ROriginal-equation residual and initial mismatch are exactly zero.
The chain rule justifies separation only on a nonzero branch. Absolute values do not erase a negative initial sign; the excluded constant solution is retained separately.

After solving an algebraic relation, inspect denominators and real-valued branches. A squared relation may contain more than one sign choice, and an initial value fixes the local choice only where it can be continued differentiably. Constants are not permission to glue disconnected intervals or cross a forbidden state. Verification in the original equation remains the final algebraic safeguard.

05

The logistic formula has equilibria and interval cases

For N′=rN(1−N/K), with r,K>0, first record N=0 and N=K. On a branch with neither value, the identity 1/[N(1−N/K)]=1/N+1/(K−N) gives ln|N/(K−N)|=r(t−t₀)+C. Solving and applying N(t₀)=N₀≠0 gives N(t)=K/[1+A e^(−r(t−t₀))], where A=K/N₀−1.

If 0<N₀<K, then A>0, the denominator stays positive for all real time, and N increases toward K in forward time. For N₀=K, A=0 gives the equilibrium formula; N₀=0 must be retained separately. These cases show precisely which equilibrium the divided derivation omitted and how the final formula can extend to one of them.

If N₀>K, then −1<A<0. The denominator is positive for t≥t₀ but vanishes at t_*=t₀+ln(−A)/r<t₀. The maximal connected mathematical interval containing t₀ is (t_*,∞), and N decreases toward K forward in time. A future prediction can be regular even though backward continuation fails after finite time.

For a negative initial value, which has no ordinary population interpretation, A<−1 and t_*=t₀+ln(−A)/r>t₀. The initial branch exists on (−∞,t_*) and becomes unbounded negatively as t approaches t_* from below. The equation is smooth at all finite states, but that does not prevent finite-time blow-up. Physical population modelling normally restricts to N≥0; the mathematical negative case clarifies the formula’s interval restrictions.

The logistic initial value determines its connected branchFor K=6 and r=2, initial N=12. Orange is the connected branch through t=0; a blue dashed branch, when present, is separated by its pole. The green capacity line is N=6. Selected z=e^(−2t)=1/2 gives 8. This sample is on the IVP branch. Zero and capacity equilibria are separately retained. Negative initial values are mathematical cases without ordinary population interpretation.The logistic initial value determines its connected branch-1-3000130N (dimensionless)t (dimensionless)N₀=12A=-1/2z=1/2Denominator: 3/4Formula: 8On the initial branch.Pole t≈-0.347Orange: IVP branch. Blue dashed: a separate formula branch, never joined.
An above-capacity initial state has a backward pole; a negative state can have a forward pole. The denominator and the connected interval matter even when a later algebraic value is finite.
06

Derive the integrating factor from the product rule

Consider y′+p(t)y=q(t) on an interval I where p and q are continuous and t₀∈I. If the original equation is a(t)y′+b(t)y=c(t), first choose an interval where a(t)≠0 and set p=b/a, q=c/a. A zero of a requires its own original-equation analysis; it is not automatically included after division.

Define the normalized integrating factor μ(t)=exp(∫_(t₀)^t p(s) ds). Then μ(t₀)=1, μ>0 and μ′=pμ. Multiplication gives μy′+μpy=(μy)′=μq. Integration from t₀ to t yields μ(t)y(t)−y₀=∫_(t₀)^t μ(s)q(s) ds. Division by the positive μ is legitimate everywhere on I.

Therefore y(t)=μ(t)^(−1)[y₀+∫_(t₀)^t μ(s)q(s) ds]. This formula gives an actual differentiable solution across I and verifies the initial value. It also proves uniqueness there: the difference of two solutions has (μ(y₁−y₂))′=0 and initial value zero. Continuous linear coefficients on an interval support this whole-interval conclusion; it is stronger than a merely local rectangle guarantee.

Any nonzero constant multiple of μ works equally well in an indefinite derivation. The final solution still needs one independent integration constant or its initial-value replacement; it must not be discarded along with the arbitrary scaling of μ. When units are present, p has units inverse time, so ∫p dt is dimensionless, while q has units of y per time.

Transported initial data plus accumulated forcingy′+2xy=2x with initial value 4. Blue dashed is the transported initial term, green dashed the accumulated forcing, and orange their sum. The normalized integrating factor e^(x²) is positive and equals one at zero. The product rule proves the residual identity on R. The displayed numerical curves are exact-formula illustrations, not a numerical ODE solver.Transported initial data plus accumulated forcing0-0.512.7526y (dimensionless)x (dimensionless)y′+2xy=2xμ=e^(x²)μ(0)=1, μ>0Initial transportAccumulated forcingSum: selected solutionWhole interval: RBoth initial mismatch and original-equation residual are exactly zero.
The homogeneous contribution solves the zero-forcing equation. Adding it to one forced contribution gives the solution; adding two full forced solutions instead doubles the forcing.
07

A linear solution separates retained data from accumulated input

The definite-integral solution can be written y(t)=G(t,t₀)y₀+∫_(t₀)^t G(t,s)q(s) ds, where G(t,s)=exp(−∫_s^t p(u) du). The first term transports the initial state through the homogeneous equation y′+py=0. For t≥t₀, the integral accumulates the forcing q over earlier times, weighted by the response between s and t. This identity follows by expanding the ratio μ(s)/μ(t) in the previous formula.

For constant p=k, the weight is e^(−k(t−s)). If k>0, earlier input is attenuated more strongly as its age increases. The homogeneous response decays forward in time. If k<0, it grows instead, and if k=0 the formula reduces to direct integration. The sign and units of k determine the interpretation; a linear equation is not necessarily a stable decay model.

If y_p is one particular solution and y_h is any homogeneous solution, y_p+y_h solves the same forced equation. The difference of two solutions to the same forced equation is homogeneous. Their sum generally doubles the forcing and is not another solution to the original forced equation. Superposition must be applied to the operator and the right sides actually present.

For y′+2y=6 with initial value y₀ at t₀, the equilibrium particular solution is 3 and the homogeneous response is C e^(−2(t−t₀)). Thus y=3+(y₀−3)e^(−2(t−t₀)). This familiar form is now derived from a general product-rule method. It is not necessary to guess that every forcing is constant: the integral formula remains available for continuous varying q.

08

Solve across a finite forcing switch with a clear solution notion

A forcing can change at a known time. For y′+ky=q(t) with a finite jump in q, solve separately on the open intervals to either side of the switch. In a model with no impulse and a continuous stored state, match the value of y at the switching time and use it as the next interval’s initial value. Continuity of the state is a modelling and solution condition here; it is not permission to claim the derivative is also continuous.

For example, let k=1 and q=0 for t<1, q=2 for t>1, with y(0)=0. Before the switch y=0. Matching y(1)=0 gives y=2(1−e^(−(t−1))) for t>1. Its left derivative at 1 is 0 and its right derivative is 2, so it is not a classical differentiable solution at the switch. It is continuous and piecewise classical, satisfying the integral balance across the switch.

Assigning any single finite value to q at the jump does not change its integral, but it cannot make these unequal one-sided derivatives equal. A globally classical solution claim therefore requires more than matching values. One may use a continuous piecewise C¹ solution with its integral equation in this finite-switch setting; more general weak formulations and impulses need their own definitions.

Do not introduce a jump in stored mass, charge or another state merely because its finite input rate jumps. A state jump would require a different model, such as an ideal impulse. Conversely, forcing that changes a coefficient rather than only q must be handled with the corresponding interval equations. Record every switching time and the continuity or jump conditions being imposed.

Match the state without inventing a classical derivativeFor y′+y=q, q changes from 0 to 2 at t=1. The orange continuous solution is zero before the switch and 2(1−exp(−(t−1))) after it. At the green join the left derivative is zero and right derivative two. Two short tangent arrows indicate these one-sided directions under the plotted coordinate scales; the rising arrow is a tangent, not another exact solution segment. No finite assignment to q(1) repairs the derivative mismatch.Match the state without inventing a classical derivative0-0.21.51.0532.3y (dimensionless)t (dimensionless)Selected t=1State is continuous.Left derivative: 0Right derivative: 2No derivative at switch.Piecewise classicalIntegral balance retained.A single finite value assigned to q(1) cannot remove the kink.
With no impulse, a finite input jump changes the rate and keeps the stored state continuous. This is piecewise classical with an integral balance, not classical at the switch.
09

An exact differential relation preserves a potential

Write a first-order differential relation as M(x,y) dx+N(x,y) dy=0. Along a differentiable function y(x), this means M(x,y)+N(x,y)y′=0. If a C¹ potential H satisfies H_x=M and H_y=N on the domain, the chain rule gives dH(x,y(x))/dx=0. Thus each solution graph lies on a level curve H=C. This connects first-order equations to the potential and path-independence ideas of lessons 134–136.

With continuously differentiable M and N, the condition M_y=N_x is necessary for a C² potential. On an open rectangle it is also sufficient. To see this, fix (x₀,y₀) and set H(x,y)=∫_(x₀)^x M(s,y₀) ds+∫_(y₀)^y N(x,v) dv. Differentiation gives H_y=N and H_x=M(x,y₀)+∫_(y₀)^y N_x(x,v) dv=M(x,y), using N_x=M_y and the fundamental theorem.

This rectangle construction supplies a local potential near any point where M,N are C¹ and M_y=N_x on a neighbourhood. A global potential on a larger region requires suitable domain conditions, such as a simply connected open domain. Equality of cross-partials on a punctured plane does not by itself provide a global potential. The vortex field studied in lessons 134–136 is the standard warning, with a nonzero integral around its hole.

To find H in practice, integrate M with respect to x and retain an unknown function A(y), then differentiate in y and match N. The resulting H=C is an implicit relation. If N=H_y≠0 at an initial point, the implicit function theorem supplies a local differentiable graph y(x). At a point where that condition fails, inspect the original relation; a level curve may have a vertical tangent, multiple branches or a degenerate point.

A level curve needs a differentiable graph branchThe level x²y+y²=2 has the selected positive branch (−x²+sqrt(x⁴+8))/2 through (1,1); N=sqrt(x⁴+8)>0 on R. Orange marks the selected branch, green the required initial point. Coordinate scales are independently labelled; no equal-length scale is claimed. The sample radical retains an exact symbolic representation.A level curve needs a differentiable graph branch-2-0.500.7522y (dimensionless)x (dimensionless)H=x²y+y²Level: 2x=1y=(−1+sqrt(9))/2N≠0: yesCorrect initial branch.Finite graph derivative.N=sqrt(x⁴+8)>0 supplies a finite graph derivative on R.
A potential identity preserves the level. An implicit geometric curve is not automatically one global differentiable function; the original relation and N=H_y decide the graph issue.
10

A level curve is not automatically one global function

For 2x dx+2y dy=0, take H=x²+y². Through (0,2), the implicit relation is x²+y²=4. Near the initial point the correct graph is y=√(4−x²), with −2<x<2. It satisfies y′=−x/y and the original relation 2x+2yy′=0 throughout that interval. The lower semicircle is a different local branch, not the same initial-value solution.

At the endpoints (±2,0), the original relation would require 2x+0·y′=0, impossible for a finite derivative there. The upper semicircle therefore does not become a classical graph solution through either endpoint merely because the implicit circle continues as a geometric curve. Parametrised curves and functions of x answer different questions.

A level curve needs a differentiable graph branchThe level x²+y²=4 contains upper and lower semicircles. The initial point (0,2) selects the upper branch. The endpoints (±2,0) are open circles because the original relation has no finite graph derivative there. Orange marks the selected branch, green the required initial point. Coordinate scales are independently labelled; no equal-length scale is claimed. The sample radical retains an exact symbolic representation.A level curve needs a differentiable graph branch-2.4-2.4002.42.4y (dimensionless)x (dimensionless)H=x²+y²Level: 4x=2y=sqrt(0)N≠0: noCorrect initial branch.No finite graph derivative.Open endpoint markers separate a geometric curve from a classical graph.
A potential identity preserves the level. An implicit geometric curve is not automatically one global differentiable function; the original relation and N=H_y decide the graph issue.

Conversely, an explicit formula can seem singular because it was derived by dividing a factor that the original equation allowed to vanish. Check those points directly. A removable algebraic denominator in one representation and a genuine failure of a classical solution are different possibilities. The original equation determines which is present.

If an implicit integral is not expressible in elementary functions, retain it with its branch and interval conditions. Local inversion or controlled numerical evaluation can still answer questions. Solving for y is an optional final convenience; declaring all implicit relations unsolved loses valid exact mathematical information.

11

A nonlinear exactness test can also reveal an integrating factor

An equation that is not exact may become exact after multiplication by a nonvanishing function μ. The exactness condition is (μM)_y=(μN)_x. If μ depends only on x, this expands to μM_y=μ′N+μN_x. On a region where N≠0, a sufficient recognisable case is (M_y−N_x)/N=A(x), giving μ(x)=exp(∫A(x) dx). Verify the multiplied cross-partials directly after choosing the factor.

If instead μ depends only on y, the expansion gives μ′M+μM_y=μN_x. Where M≠0, if (N_x−M_y)/M=B(y), choose μ(y)=exp(∫B(y) dy). The two tests have different denominators and signs. They are useful sufficient tests, not an exhaustive catalogue of integrating factors for every first-order relation.

For 2y dx+x dy=0 on x>0, M_y−N_x=1 and N=x, so A=1/x. Taking μ=x yields 2xy dx+x²dy=0, the exact differential of x²y. The original initial value y(1)=2 therefore gives y=2/x² on x>0. The same equation is also linear after division by x; the two methods agree because they are consistent rewritings.

Multiplication by a factor that is zero or undefined somewhere changes equivalence there. The exponential construction is nonzero only where its defining integral is meaningful. If a simplified factor such as y is used on a selected half-plane, analyse y=0 separately in the original equation. Likewise, a ratio test obtained by dividing N or M is initially justified only where that denominator is nonzero, even if a final factor later extends.

A zero factor does not preserve an equation's equivalenceM=2y,N=x and μ=x on x>0 give potential x²y and branch y=2/x². The orange curve is the branch through (1,2); the green zero solution is separately retained in the original relation. The selected point (1,2) is an operation probe and need not be on the requested branch. A dashed gray axis shows the factor-zero restriction; equal multiplied cross-partials at such a point do not justify division or equivalence.A zero factor does not preserve an equation's equivalence0-0.31.52.8536y (dimensionless)x (dimensionless)μ(x)=xPotential: x²yProbe factor: 1Test ratio: 1Selected half-plane:x>0Operation admissible here.Green y=0 is an original solution, separate from the divided derivation.
The x-only and y-only factor tests use different signed ratios. Verify exactness after multiplication and preserve the nonzero factor domain; separately check the original zero solution.
A zero factor does not preserve an equation's equivalenceM=y,N=2x and μ=y on y>0 give potential xy² and branch y=2/sqrt(x), x>0. The orange curve is the branch through (1,2); the green zero solution is separately retained in the original relation. The selected point (1,2) is an operation probe and need not be on the requested branch. A dashed gray axis shows the factor-zero restriction; equal multiplied cross-partials at such a point do not justify division or equivalence.A zero factor does not preserve an equation's equivalence0-0.31.52.8536y (dimensionless)x (dimensionless)μ(y)=yPotential: xy²Probe factor: 2Test ratio: 1/2Selected half-plane:y>0Operation admissible here.Green y=0 is an original solution, separate from the divided derivation.
The x-only and y-only factor tests use different signed ratios. Verify exactness after multiplication and preserve the nonzero factor domain; separately check the original zero solution.
12

Bernoulli substitution linearises a selected nonzero branch

A Bernoulli equation has the form y′+p(x)y=q(x)yⁿ. Take p and q continuous on the interval being studied. The cases n=0 and n=1 are already linear and should be handled directly. For n≠0,1, select a nonzero real branch where the needed powers are defined and differentiable. For arbitrary real n, the positive branch y>0 is a convenient sufficient setting; other branches require their own real-power domain checks.

Divide by yⁿ and put v=y^(1−n). The chain rule gives v′=(1−n)y^(−n)y′, so the transformed equation is v′+(1−n)p(x)v=(1−n)q(x). This is linear in v. Solve it by an integrating factor, then invert the substitution only on a branch consistent with the original initial value and real-power domain.

For y′+y=2y² with y(0)=1/4, take v=1/y. Then v′−v=−2 and v(0)=4, giving v=2+2e^x and y=1/(2+2e^x). Direct substitution verifies the answer for all real x. The original equilibrium y=0 was excluded by taking a reciprocal and must be listed separately when describing the equation’s solutions.

A transformed solution need not stay in the range of the chosen power map. If it reaches zero or leaves that range, inspect the inverse and the original equation before extending. In the reciprocal example a zero of v would correspond to a pole in y. For other powers the behaviour can differ. If n<0, the original right side may itself be undefined at y=0, so zero is not automatically an equilibrium to append.

A reciprocal zero is a boundary of the recovered branchFor y′+y=2y², initial y=1/4. Where y is nonzero, v=1/y solves v′−v=−2. Orange is the initial-value y branch; blue dashed is a separate post-pole branch if present. Selected z=e^x=1 gives v=4, y=1/4. The original zero and one-half equilibria remain separately retained. No y value is assigned where v=0.A reciprocal zero is a boundary of the recovered branch-1-30.2501.53y (dimensionless)x (dimensionless)Initial y=1/4v=1/y on nonzero statesz=eˣ=1v=4y=1/4On the initial branch.No finite pole.The inverse v=0 is forbidden even though the transformed equation is regular.
A correct transformed linear solution still needs a nonzero inverse and the connected original IVP interval. The original zero solution has no reciprocal representation.
13

A known particular solution can reduce a Riccati equation

A Riccati equation is y′=a(x)y²+b(x)y+c(x); take a,b,c continuous on the chosen interval. There is no claim here that every such equation has an elementary solution. If one particular solution y_p is already known on an interval, however, the substitution y=y_p+1/v can reduce the remaining noncoincident branches to a linear equation wherever v is finite and nonzero.

Differentiate the substitution: y′=y_p′−v′/v². Expanding the quadratic right side and using y_p′=a y_p²+b y_p+c leaves −v′/v²=(2a y_p+b)/v+a/v². Multiplication by v² gives v′+(2a y_p+b)v=−a. Solve this linear equation, then reconstruct y on intervals where v≠0. The known y_p is retained separately because it has no finite v representation.

For y′=y²−1, choose y_p=1. The transformed equation is v′+2v=−1. With y(0)=0, v(0)=−1 and v=−(1+e^(−2x))/2. Hence y=1−2/(1+e^(−2x))=−tanh x, valid for all real x. Its derivative is −sech²x=y²−1. Both constant solutions y=1 and y=−1 can also be checked directly in the original equation.

This reduction is useful only when a particular solution is genuinely supplied or found. Guessing an incorrect y_p creates an incorrect linear equation even if the later integrating-factor algebra is flawless. The coefficients, chosen particular solution, reciprocal restrictions and initial conversion are all part of the method’s verification. No general Riccati solvability promise follows from this special reduction.

A supplied particular solution is retained, not divided awayFor y′=y²−1, the known y_p=1 is separately verified and drawn green. Other branches use y=1+1/v, with v′+2v=−1. Initial y=2 yields selected z=e^(2x)=1, v=1 and y=2. Orange is the initial branch; blue dashed is a separate branch where a reciprocal pole intervenes. A regular transformed equation does not make inversion at v=0 legitimate.A supplied particular solution is retained, not divided away-1-90019y (dimensionless)x (dimensionless)Initial y=2Known yₚ=1 retainedv′+2v=−1v=1y=2On the initial branch.Pole x≈0.549Known-solution verification and original residual are separate checks.
The Riccati reduction requires an actual known particular solution. Retain it separately, solve the linear v equation, and reconstruct only where v≠0 on the original connected interval.
14

A ratio equation uses a different meaning of homogeneous

Some first-order equations have the form y′=F(y/x), on a domain with x≠0. They are traditionally called homogeneous first-order equations in the ratio sense. This terminology differs from a linear homogeneous equation with zero forcing. The ratio equation can be nonlinear, as y′=1+(y/x)² is.

Set v=y/x, so y=xv and y′=v+xv′. The equation becomes xv′=F(v)−v. On a branch where F(v)−v≠0, separation gives ∫dv/[F(v)−v]=ln|x|+C. Use an interval wholly on x>0 or x<0, as selected by the initial point. A formula derived using ln|x| does not justify passage through x=0.

Before dividing by F(v)−v, solve F(c)=c. Each such constant ratio gives the straight-line solution y=cx on a suitable original domain. For y′=y/x+(y/x)²−1, these ratios are c=±1. On other branches, xv′=v²−1 and the partial-fraction integral is (1/2)ln|(v−1)/(v+1)|=ln|x|+C.

For that example with y(1)=0, the initial ratio v(1)=0 gives v=(1−x²)/(1+x²), so y=x(1−x²)/(1+x²) on x>0. Although this rational expression itself is finite at zero, the original field contains y/x and is not defined there. The initial-value problem’s field domain therefore still blocks an unqualified continuation through zero.

Restore constant ratios and retain the original x-domainFor y′=y/x+(y/x)²−1, put v=y/x only on x≠0. The requested rational branch through (1,0) is x(1−x²)/(1+x²). Green dashed y=x and y=−x are the constant-ratio solutions lost by dividing v²−1. The orange selected curve is drawn only for x>0, and an open origin marks the forbidden original field even though its algebraic formula can be finite there. The negative-x side of the plot is deliberately left empty.Restore constant ratios and retain the original x-domain-0.2-3.31.4033.3y (dimensionless)x (dimensionless)Selected x=1Formula y=0v=y/x: 0Original field: definedRetain y=x and y=−xFormula matches initial data.Requested interval: x>0At x=0, a finite formula is not a value of this original-field IVP.
The ratio equation is nonlinear despite its traditional homogeneous name. A finite rational expression at zero does not extend a solution of a field containing y/x through zero.
15

Close the calculation in the original equation

A solution record should show the recognised structure, legitimate transformations, any divided or inverted factors, the integrated relation and the converted initial data. Differentiate the final candidate and substitute into the original equation. This final check can reveal a lost sign, wrong integrating-factor exponent or false particular solution that a transformed residual alone would miss.

Then give a connected interval containing the initial point. Its endpoints may come from original coefficient singularities, zeros of a reconstructed denominator, real-root limits, or loss of a differentiable graph. Do not copy the domain of an intermediate expression as though it automatically were the maximal solution interval. A sufficient working interval and a proved maximal interval should be labelled differently.

Retain excluded equilibria and known particular solutions as appropriate. Where nonuniqueness is possible, do not claim that one separated branch lists every solution. Where coefficients are continuous and a linear initial-value formula has been derived across an interval, its uniqueness follows from the product-rule argument. Match the strength of the conclusion to the argument actually available.

The explorer should display the original relation, selected branch, transformed variable where used, exact initial-data check and any inadmissible operation. Comparing direct residuals at several points helps test the displayed implementation but cannot prove an identity for every real input. Its diagrams should mark poles, switching times and vertical-tangent endpoints instead of connecting unrelated curve pieces.

Verify the original equation after every transformation

The eleven independent panels compare fixed examples. Exact fractions, radicals and exponential coordinates retain the algebraic checks. Decimal values and drawn curves are illustrations; they do not prove an identity or a theorem from finite samples.

Check an operation before dividing or inverting

A transformation has a domain of equivalence
CheckResult
Operationdivide by y(1−y)
Probe (x,y)(0, 0)
Divided or inverted factor0
Admissible at this point?No
ReasonThis operation loses a zero state; check it directly in the original equation.

This is a pointwise operation check, not a proof of an entire solution interval.

Retain equilibria and initial signs in separation

Restore the excluded equilibrium and the initial signy′=2x(y−3), initial value 5 at zero. Orange is the selected exact formula 3+(2)e^(x²); green dashed is the constant equilibrium 3. The exponential factor is positive, so the difference from equilibrium retains its initial sign 1. When that difference is zero, the equilibrium is verified directly instead of dividing by it. Curves use numerical evaluations of the retained exact formulas; both axes are dimensionless.Restore the excluded equilibrium and the initial sign-12.405.7219.04y (dimensionless)x (dimensionless)y′=2x(y−3)Initial y=5Equilibrium: 3Difference sign: 1Divide at initial point?Yes, nonzero branch.Interval: ROriginal-equation residual and initial mismatch are exactly zero.
The chain rule justifies separation only on a nonzero branch. Absolute values do not erase a negative initial sign; the excluded constant solution is retained separately.
Exact branch and original-equation checks
QuantityResult
Original equationy′=2x(y−3)
Candidate formula3+(2)e^(x²)
Initial value5
Equilibrium3
Initial difference from equilibrium2
Sign of that difference1
Division allowed at initial state?Yes
Equilibrium restored directly?No
Original residual identity0
Initial mismatch0
Classical interval(−∞,∞)
Numerical illustrations of the exact formula
Exact xy ≈y′ ≈
050
18.4365610.8731

Direct differentiation gives the original equation for every real x. The exact equilibrium is restored before any division. The exponential preserves the sign of the initial nonzero difference; numerical samples only illustrate this identity.

Keep logistic denominator and interval cases

The logistic initial value determines its connected branchFor K=6 and r=2, initial N=3. Orange is the connected branch through t=0; a blue dashed branch, when present, is separated by its pole. The green capacity line is N=6. Selected z=e^(−2t)=1/2 gives 4. This sample is on the IVP branch. Zero and capacity equilibria are separately retained. Negative initial values are mathematical cases without ordinary population interpretation.The logistic initial value determines its connected branch-1-3000130N (dimensionless)t (dimensionless)N₀=3A=1z=1/2Denominator: 3/2Formula: 4On the initial branch.No finite pole.Orange: IVP branch. Blue dashed: a separate formula branch, never joined.
An above-capacity initial state has a backward pole; a negative state can have a forward pole. The denominator and the connected interval matter even when a later algebraic value is finite.
N′=2N(1−N/6), including excluded equilibria and pole samples
QuantityExact result
N₀3
A=6/N₀−11
z=e^(−2t)1/2
Selected time−ln(1/2)/2
Denominator3/2
Formula value4
Direct derivative at sample8/3
Original right side at sample8/3
Original residual0
Sample on initial-value branch?Yes
IVP value at this sample4
Maximal connected initial interval(−∞,∞)
Pole timeNo finite pole
Retained equilibria0, 6
Ordinary nonnegative population interpretation?Yes

z=e^(−rt)>0 is an exact exponential coordinate; selected t is logarithmic. The initial-value interval is the connected branch through z=1. A zero denominator gets no value/residual; a post-pole formula can satisfy the equation without belonging to this IVP. Negative populations are a mathematical interval case, not an ordinary population interpretation.

Verify the normalized product-rule solution

Transported initial data plus accumulated forcingy′+2xy=2x with initial value 4. Blue dashed is the transported initial term, green dashed the accumulated forcing, and orange their sum. The normalized integrating factor e^(x²) is positive and equals one at zero. The product rule proves the residual identity on R. The displayed numerical curves are exact-formula illustrations, not a numerical ODE solver.Transported initial data plus accumulated forcing0-0.512.7526y (dimensionless)x (dimensionless)y′+2xy=2xμ=e^(x²)μ(0)=1, μ>0Initial transportAccumulated forcingSum: selected solutionWhole interval: RBoth initial mismatch and original-equation residual are exactly zero.
The homogeneous contribution solves the zero-forcing equation. Adding it to one forced contribution gives the solution; adding two full forced solutions instead doubles the forcing.
Homogeneous transport and accumulated forcing add to the requested solution
QuantityExact expression
Equationy′+2xy=2x
Normalized μe^(x²)
μ(0)1
μ positive on the whole interval?Yes
Candidate1+(3)e^(−x²)
Initial-state transporty₀e^(−x²)
Accumulated forcing1−e^(−x²)
Original residual identity0
Initial mismatch0
Classical unique solution interval(−∞,∞)
Right side for sum of two full forced solutions4x
Right side for difference0
Approximate exponential evaluations of the exact decomposition
Exact xInitial transport ≈Forcing contribution ≈Sum y ≈y′ ≈q−py ≈
040400
11.471520.6321212.10364-2.20728-2.20728

The product rule proves (μy)′=μq on R, with μ(0)=1 and μ>0. Continuous coefficients give the whole-interval unique IVP. Initial transport plus accumulated forcing gives this solution; adding two full solutions instead doubles the forcing. Plotted exponentials are numerical illustrations.

Check the original leading-coefficient zero separately

A removable representation needs original-equation proofThe original relation is x y′+y=2x and the divided candidate family is x+C/x with C=1. The gray line marks the excluded divided coefficient x=0. The orange positive-x branch has a genuine pole; its negative-x blue dashed branch is separate. The selected probe is x=1/2. Finite sample values and original-equation checks are displayed separately from normal-form authority.A removable representation needs original-equation proof-1-60.5026y (dimensionless)x (dimensionless)C=1, x=1/2Value: 5/2Divided field at probe:definedOriginal residual:0No finite extension at zero.The original equation and its divided normal form have different domains.
Dividing by x never authorizes the divided field at zero. The special C=0 extension follows from direct verification of y=x in the original relation.
A divided formula and a separately verified original solution have different authority
QuantityExact result
C, selected x1, 1/2
Initial value at x=12
Divided form defined at probe?Yes
Simplified candidate defined?Yes
Candidate value5/2
Candidate derivative-3
Original residual0
Extension through zero proved separately?No
Interval obtained by dividing through positive initial point(0,∞)
Interval proved in the original equation(0,∞)

The requested nonzero-C candidate has a genuine pole at x=0. Its initial branch through x=1 is (0,∞); no finite extension through the pole is assigned.

Match a continuous state at the forcing switch

Match the state without inventing a classical derivativeFor y′+y=q, q changes from 0 to 2 at t=1. The orange continuous solution is zero before the switch and 2(1−exp(−(t−1))) after it. At the green join the left derivative is zero and right derivative two. Two short tangent arrows indicate these one-sided directions under the plotted coordinate scales; the rising arrow is a tangent, not another exact solution segment. No finite assignment to q(1) repairs the derivative mismatch.Match the state without inventing a classical derivative0-0.21.51.0532.3y (dimensionless)t (dimensionless)Selected t=1State is continuous.Left derivative: 0Right derivative: 2No derivative at switch.Piecewise classicalIntegral balance retained.A single finite value assigned to q(1) cannot remove the kink.
With no impulse, a finite input jump changes the rate and keeps the stored state continuous. This is piecewise classical with an integral balance, not classical at the switch.
Continuous and piecewise classical, with no derivative assigned at the kink
QuantityResult
Selected time1
State expression0
State value ≈0
Derivative ≈Does not exist at switch
Left / right state at switch0 / 0
Left / right derivative0 / 2
Original residual at probeNot assigned / undefined
Classical at this probe?No
Globally classical across switch?No
Piecewise classical and integral balance?Yes

No impulse and a continuous stored state are imposed. Exact substitution verifies each open subinterval; matching values supplies the integral balance. Unequal one-sided derivatives forbid classical differentiability at the switch, for any finite assigned value of q(1).

Select an actual differentiable implicit branch

A level curve needs a differentiable graph branchThe level x²y+y²=2 has the selected positive branch (−x²+sqrt(x⁴+8))/2 through (1,1); N=sqrt(x⁴+8)>0 on R. Orange marks the selected branch, green the required initial point. Coordinate scales are independently labelled; no equal-length scale is claimed. The sample radical retains an exact symbolic representation.A level curve needs a differentiable graph branch-2-0.500.7522y (dimensionless)x (dimensionless)H=x²y+y²Level: 2x=1y=(−1+sqrt(9))/2N≠0: yesCorrect initial branch.Finite graph derivative.N=sqrt(x⁴+8)>0 supplies a finite graph derivative on R.
A potential identity preserves the level. An implicit geometric curve is not automatically one global differentiable function; the original relation and N=H_y decide the graph issue.
Potential level and graph-branch checks remain separate
QuantityExact expression or result
Potential Hx²y+y²
Level2
Selected x1
Exact y expression(−1+sqrt(9))/2
Rational y representation1
y numerical illustration1
N=H_ysqrt(9)
N≠0?Yes
Required initial branch?Yes
Finite graph derivative?Yes
Graph derivative representation-2/3
Original residual identity0
Classical branch interval(−∞,∞)

The positive square-root branch through (1,1) has N=sqrt(x⁴+8)>0 everywhere. The potential identity implies the original residual by the chain rule.

Keep the integrating-factor sign and nonzero domain

A zero factor does not preserve an equation's equivalenceM=2y,N=x and μ=x on x>0 give potential x²y and branch y=2/x². The orange curve is the branch through (1,2); the green zero solution is separately retained in the original relation. The selected point (1,2) is an operation probe and need not be on the requested branch. A dashed gray axis shows the factor-zero restriction; equal multiplied cross-partials at such a point do not justify division or equivalence.A zero factor does not preserve an equation's equivalence0-0.31.52.8536y (dimensionless)x (dimensionless)μ(x)=xPotential: x²yProbe factor: 1Test ratio: 1Selected half-plane:x>0Operation admissible here.Green y=0 is an original solution, separate from the divided derivation.
The x-only and y-only factor tests use different signed ratios. Verify exactness after multiplication and preserve the nonzero factor domain; separately check the original zero solution.
Equal multiplied cross-partials do not remove a zero-factor restriction
QuantityExact result
M / N4 / 1
M_y / N_x2 / 1
Test ratio denominator1
Signed test ratio1
Selected factor μ1
Test denominator nonzero?Yes
Factor nonzero?Yes
Selected half-planex>0
Point in that half-plane?Yes
(μM)_y / (μN)_x2 / 2
Potentialx²y
Requested branchy=2/x²
Original finite slope at sample-4
Original zero solution retained?Yes

The original relation is equivalent to its multiplied form only where the factor is nonzero. Equal multiplied cross-partials at a zero factor do not restore equivalence. The y-only test uses (N_x−M_y)/M; the x-only test uses (M_y−N_x)/N. The original zero solution is separately checked.

Return from the Bernoulli reciprocal with its domain

A reciprocal zero is a boundary of the recovered branchFor y′+y=2y², initial y=1/4. Where y is nonzero, v=1/y solves v′−v=−2. Orange is the initial-value y branch; blue dashed is a separate post-pole branch if present. Selected z=e^x=1 gives v=4, y=1/4. The original zero and one-half equilibria remain separately retained. No y value is assigned where v=0.A reciprocal zero is a boundary of the recovered branch-1-30.2501.53y (dimensionless)x (dimensionless)Initial y=1/4v=1/y on nonzero statesz=eˣ=1v=4y=1/4On the initial branch.No finite pole.The inverse v=0 is forbidden even though the transformed equation is regular.
A correct transformed linear solution still needs a nonzero inverse and the connected original IVP interval. The original zero solution has no reciprocal representation.
y′+y=2y² and v=1/y are checked in their own domains
QuantityExact result
Original initial y₀1/4
Reciprocal allowed at initial point?Yes
Converted initial v₀4
Linear equationv′−v=−2
z=e^x1
v at sample4
Transformed residual0
Inverse allowed at sample?Yes
Formula y1/4
Direct y′ / original right side-1/8 / -1/8
Original residual0
On initial branch?Yes
IVP value1/4
Initial classical interval(−∞,∞)
Retained equilibria0, 1/2

The reciprocal is used only for nonzero original states and nonzero transformed v. The zero original solution is retained without a reciprocal. A transformed zero receives no finite y; a post-pole inverse can solve the original equation on a separate branch but not continue this IVP.

Use an actually known Riccati particular solution

A supplied particular solution is retained, not divided awayFor y′=y²−1, the known y_p=1 is separately verified and drawn green. Other branches use y=1+1/v, with v′+2v=−1. Initial y=2 yields selected z=e^(2x)=1, v=1 and y=2. Orange is the initial branch; blue dashed is a separate branch where a reciprocal pole intervenes. A regular transformed equation does not make inversion at v=0 legitimate.A supplied particular solution is retained, not divided away-1-90019y (dimensionless)x (dimensionless)Initial y=2Known yₚ=1 retainedv′+2v=−1v=1y=2On the initial branch.Pole x≈0.549Known-solution verification and original residual are separate checks.
The Riccati reduction requires an actual known particular solution. Retain it separately, solve the linear v equation, and reconstruct only where v≠0 on the original connected interval.
y=1+1/v retains y_p=1 separately and forbids v=0
QuantityExact result
Known particular y_p1
Known-particular original residual0
Original y₀ / converted v₀2 / 1
Linear equationv′+2v=−1
z=e^(2x)1
v / v′1 / -3
Transformed residual0
Formula y2
Direct y′ / original right side3 / 3
Original residual0
On initial branch?Yes
IVP value2
Connected initial interval(−∞,ln(3)/2)
Retained equilibria-1, 1

The supplied y_p=1 is checked in the original equation and retained separately because no finite v represents it. The reduction describes other branches where v is finite and nonzero. Exact transformed residuals do not authorize inversion through v=0 or continuation across a pole.

Restore constant ratios without passing through x=0

Restore constant ratios and retain the original x-domainFor y′=y/x+(y/x)²−1, put v=y/x only on x≠0. The requested rational branch through (1,0) is x(1−x²)/(1+x²). Green dashed y=x and y=−x are the constant-ratio solutions lost by dividing v²−1. The orange selected curve is drawn only for x>0, and an open origin marks the forbidden original field even though its algebraic formula can be finite there. The negative-x side of the plot is deliberately left empty.Restore constant ratios and retain the original x-domain-0.2-3.31.4033.3y (dimensionless)x (dimensionless)Selected x=1Formula y=0v=y/x: 0Original field: definedRetain y=x and y=−xFormula matches initial data.Requested interval: x>0At x=0, a finite formula is not a value of this original-field IVP.
The ratio equation is nonlinear despite its traditional homogeneous name. A finite rational expression at zero does not extend a solution of a field containing y/x through zero.
The rational formula's definition does not expand the original field domain
QuantityExact result
x1
Algebraic v formula0
Actual ratio y/x0
Candidate y / y′0 / -1
Original field defined?Yes
Original right side-1
Original residual0
Transformed residual0
Division by v²−1 allowed at sample?Yes
Satisfies requested y(1)=0?Yes
IVP value at sample0
Initial interval(0,∞)
Retained straight-line ratios1, -1

The rational y formula can be finite at x=0 while the original field and v=y/x are undefined there. Straight lines y=±x are restored before dividing by v²−1; they solve the equation on x>0 but do not satisfy the requested y(1)=0. Ratio-homogeneous is not the same term as linear homogeneous.

What the finite comparisons establish

The 56 states test these specified examples and their exact transformations. Algebraic identities, original-equation substitution, branch hypotheses and derived interval restrictions support the displayed conclusions. Finite samples do not prove arbitrary equation identities, local uniqueness or global exactness on a punctured domain.

Exact expressions and plotted approximations

Rational z values represent exact positive exponentials, so their selected times remain exact logarithmic expressions. Radical and exponential formulas remain exact in tables; decimal evaluations locate their plotted markers. Curves stop at poles and graph endpoints. A finite forcing switch is marked as piecewise classical, with no derivative or classical residual assigned at its kink.

Worked examples

Separate after recording the constant solution

Solve y′=2x(y−3), y(0)=5. Include the constant solution of the differential equation and state the initial-value interval.

  1. Before division, y=3 is an equilibrium. The initial value 5 belongs to a different branch.
  2. On that branch, d[ln|y−3|]/dx=2x. Integrating from 0 to x gives ln|(y−3)/2|=x².
  3. The initial sign is positive, so y−3=2e^(x²) and y=3+2e^(x²).
  4. Differentiate: y′=4x e^(x²)=2x(y−3), and y(0)=5. The formula is defined on ℝ; the equilibrium y=3 solves the equation but not these data.

y=3+2e^(x²) on ℝ. The excluded equilibrium is y=3.

Keep a negative initial sign

Solve y′=y/(1+x²), y(0)=−2.

  1. The zero solution is separate; on the requested nonzero branch, ln|y/(-2)|=∫_0^x ds/(1+s²)=arctan x.
  2. Exponentiation preserves the negative initial sign, giving y=−2e^(arctan x).
  3. Its derivative is y/(1+x²), and its initial value is −2. The denominator 1+x² never vanishes, so the interval is ℝ.
  4. Replacing y by +2e^(arctan x) would satisfy the equation with the wrong initial data. The absolute value does not erase the sign information.

y(x)=−2e^(arctan x), x∈ℝ.

Equilibrium, ordinary growth and backward failure

For N′=2N(1−N/6), compare initial values N(0)=0, N(0)=3 and N(0)=12, in dimensionless variables.

  1. N=0 is an equilibrium obtained before division. It satisfies its initial-value problem on ℝ.
  2. For N₀=3, A=6/3−1=1, so N=6/(1+e^(−2t)), valid on ℝ and increasing from 3 toward 6 in future time.
  3. For N₀=12, A=6/12−1=−1/2, so N=6/(1−e^(−2t)/2). Its denominator vanishes at t_*=−(ln2)/2.
  4. The interval containing 0 for the last case is (−(ln2)/2,∞); it decreases from 12 toward 6 for t≥0. Substitution verifies each equation and initial value.

The three solutions are 0, 6/(1+e^(−2t)) and 6/(1−e^(−2t)/2), with the last initial branch restricted to t>−(ln2)/2.

A variable coefficient can make the product rule simple

Solve y′+2xy=2x, y(0)=4.

  1. The continuous coefficients are p=2x and q=2x on ℝ. The normalized factor is μ=e^(x²).
  2. Then (e^(x²)y)′=2x e^(x²), so e^(x²)y−4=e^(x²)−1.
  3. Hence y=1+3e^(−x²). Differentiating gives y′=−6x e^(−x²), which makes y′+2xy=2x.
  4. At x=0 the value is 4. The continuous linear formula is valid and unique across ℝ.

y(x)=1+3e^(−x²), x∈ℝ.

An explicit extension is not the same as normal-form authority

Solve x y′+y=2x for y(1)=2 on x>0. What must be checked separately at x=0?

  1. On x>0 divide by x: y′+y/x=2. An integrating factor is x, and (xy)′=2x.
  2. Thus xy=x²+C. The initial value gives C=1, so y=x+1/x.
  3. The interval containing 1 is (0,∞). This candidate has a genuine pole at zero and cannot extend there as a finite classical solution.
  4. For other data the family member C=0 gives y=x, which does satisfy the original equation at zero too. That special extension follows by original-equation verification, not by applying the divided field through its undefined point.

The requested solution is y=x+1/x on (0,∞). Original-equation analysis is needed at x=0.

Match a continuous state across a finite rate switch

Solve y′+y=q(t), y(0)=0, where q=0 before t=1 and q=2 after t=1. Use a continuous state and no impulse.

  1. Before the switch, the initial-value solution is y=0. Continuity therefore gives y(1)=0.
  2. After the switch the equation is y′+y=2, with the matched starting value zero at 1. The solution is y=2(1−e^(−(t−1))).
  3. Substitution verifies each equation on its open interval. At the switch the state is continuous, but the left derivative is 0 and the right derivative is 2.
  4. Thus this is a continuous piecewise classical solution satisfying the integral balance. It is not differentiable at 1 and is not a classical solution there, whichever finite single value is assigned to q(1).

y=0 for t≤1 and y=2(1−e^(−(t−1))) for t≥1, with the equation interpreted piecewise and through its integral balance.

Build a potential with a genuine function branch

Solve (2xy) dx+(x²+2y) dy=0 with y(1)=1, selecting the branch through that point.

  1. M=2xy and N=x²+2y satisfy M_y=2x=N_x. Integrating M in x gives H=x²y+A(y).
  2. Matching H_y=x²+A′(y) with N gives A′=2y, hence H=x²y+y². The initial level is H(1,1)=2.
  3. Solving y²+x²y=2 gives y=(−x²±√(x⁴+8))/2. The initial data select the positive sign.
  4. On that branch N=x²+2y=√(x⁴+8)>0 for every real x, so it is differentiable on ℝ. Differentiating the level relation gives 2xy+(x²+2y)y′=0, the original relation.

y(x)=(−x²+√(x⁴+8))/2, x∈ℝ.

A factor depending on y requires a branch restriction

Solve y dx+2x dy=0, y(1)=2, by finding an integrating factor depending only on y. What solution can that factor exclude?

  1. M=y and N=2x give (N_x−M_y)/M=(2−1)/y=1/y on y>0. Thus μ(y)=y is a valid nonzero factor on this half-plane.
  2. Multiplication gives y²dx+2xy dy=d(xy²)=0. The initial value gives xy²=4.
  3. Select y=2/√x on x>0. Differentiation yields y′=−x^(−3/2), so y+2xy′=0 and y(1)=2.
  4. The original equation also admits y=0, which multiplication or division using a factor restricted to y>0 did not describe. It does not satisfy these initial data, but must be retained in a general solution discussion.

The requested branch is y=2/√x on (0,∞). The excluded equilibrium y=0 solves the original equation.

Solve the linear reciprocal equation and return to y

Solve y′+y=2y², y(0)=1/4, using Bernoulli substitution.

  1. On the requested positive branch put v=1/y, so v′=−y′/y². Dividing the original equation by y² and changing sign gives v′−v=−2.
  2. An integrating factor is e^(−x). Thus (e^(−x)v)′=−2e^(−x), giving v=2+C e^x.
  3. The converted initial value is v(0)=4, so C=2 and y=1/(2+2e^x). The denominator stays positive for all x.
  4. Differentiation gives y′=−2e^x/(2+2e^x)², equal to 2y²−y. The original y=0 and y=1/2 are equilibria; the reciprocal method excluded the first one, which was checked separately.

y(x)=1/(2+2e^x), x∈ℝ.

A known particular solution reduces a blow-up branch

For y′=y²−1 and y(0)=2, use the known particular solution y_p=1 and identify the initial branch’s interval.

  1. Set y=1+1/v. The linear equation is v′+2v=−1 and the initial value is v(0)=1.
  2. Solving gives v=−1/2+(3/2)e^(−2x). Hence y=1+2/(3e^(−2x)−1)=(3+e^(2x))/(3−e^(2x)).
  3. The denominator vanishes at x_*=(ln3)/2. The connected interval containing 0 is (−∞,(ln3)/2). The solution diverges positively as it approaches x_* from below.
  4. With u=e^(2x), differentiating gives y′=12u/(3−u)², while y²−1 gives the same expression. At zero the value is 2. The known solution y_p=1 remains separately valid but does not satisfy these data.

y=(3+e^(2x))/(3−e^(2x)) on (−∞,(ln3)/2).

Restore straight lines removed by ratio separation

Solve y′=y/x+(y/x)²−1 for y(1)=0 on x>0. Find the straight-line solutions that separation excludes.

  1. Let v=y/x. Then v+xv′=v+v²−1, so xv′=v²−1. Before division, v=±1 give y=±x.
  2. For the requested branch v(1)=0, separation gives (1/2)ln|(v−1)/(v+1)|=ln x+C. Retaining its initial sign yields (v−1)/(v+1)=−x².
  3. Solving gives v=(1−x²)/(1+x²) and y=x(1−x²)/(1+x²). Directly v′=−4x/(1+x²)², so xv′=v²−1, verifying the original equation on x>0.
  4. The formula is finite at x=0, but the original field y/x is not defined there. It is a solution of this initial-value problem on (0,∞); no passage through zero is inferred.

y=x(1−x²)/(1+x²) on (0,∞). The separately retained straight-line solutions are y=x and y=−x.

Try it yourself

  1. Is y′=(x²+1)(y−4) separable? Which constant solution must be recorded before dividing?

    Show the answer and reasoning

    Yes; y=4 is the equilibrium.

    The right side is a product of a function of x and a function of y. Dividing by y−4 removes its zero case.

  2. If y′=a(x)b(y) and G′=1/b on a nonzero branch, what is dG(y(x))/dx?

    Show the answer and reasoning

    It is a(x).

    The chain rule gives G′(y)y′=y′/b(y)=a(x). The conclusion requires b(y)≠0 on the branch.

  3. For y′=y(1−y), y(0)=1, should one divide by y(1−y) at the initial point?

    Show the answer and reasoning

    No; the original constant solution y=1 already satisfies the problem.

    The divided expression is undefined there. Smoothness and local uniqueness support retaining the equilibrium without introducing arbitrary departing branches.

  4. From ln|y|=x+C and a negative initial value, may one choose y=e^C e^x without a minus sign?

    Show the answer and reasoning

    No; the initial sign must be restored.

    e^C is positive. The negative branch is y=−e^C e^x; an absolute value does not remove initial sign information.

  5. For N′=2N(1−N/6), N(0)=12, where is the pole of the initial branch?

    Show the answer and reasoning

    At t=−(ln2)/2, with initial interval (−(ln2)/2,∞).

    The denominator 1−e^(−2t)/2 vanishes when e^(−2t)=2. The pole is backward from the initial time.

  6. For y′+p(x)y=q(x), what normalized integrating factor has value 1 at x₀?

    Show the answer and reasoning

    μ(x)=exp(∫_(x₀)^x p(s) ds).

    Its derivative is pμ, making (μy)′=μq. Its positivity permits division throughout the continuous-coefficient interval.

  7. If L[y₁]=q and L[y₂]=q for one linear differential operator, what are L[y₁−y₂] and L[y₁+y₂]?

    Show the answer and reasoning

    They are 0 and 2q, respectively.

    Linearity preserves the right sides under the same subtraction or addition. Two forced solutions cannot usually be added to get another solution with unchanged forcing.

  8. Why is division of x y′+y=2x by x initially restricted to x≠0?

    Show the answer and reasoning

    The divided field contains 1/x and is undefined at zero.

    An original-equation solution may sometimes extend through zero, but that extension needs separate verification. Normal-form algebra alone cannot authorize it.

  9. A continuous piecewise solution has left derivative 0 and right derivative 2 at a forcing switch. Is it a classical differentiable solution at that point?

    Show the answer and reasoning

    No.

    The unequal one-sided derivatives rule out differentiability there. A piecewise classical solution satisfying an integral balance is a different, explicitly stated notion.

  10. For M=3x²+2y and N=2x+4y, construct a potential H.

    Show the answer and reasoning

    H=x³+2xy+2y², up to an additive constant.

    H_x=3x²+2y=M and H_y=2x+4y=N. Equality M_y=N_x=2 is consistent with exactness on the plane.

  11. Does M_y=N_x on the whole punctured plane automatically guarantee one global potential?

    Show the answer and reasoning

    No.

    The domain can carry nonzero loop integrals around its hole. The local rectangle result is not an unconditional global theorem.

  12. For H(x,y)=C with H_x=M and H_y=N, what convenient condition at an initial point gives a local differentiable graph y(x)?

    Show the answer and reasoning

    N=H_y≠0 there, with the required continuity of the derivatives.

    The implicit function theorem then supplies the graph. A level curve without this check can have a vertical tangent or other obstruction.

  13. For an integrating factor μ(x), which ratio must depend only on x where its denominator is nonzero?

    Show the answer and reasoning

    (M_y−N_x)/N.

    Expanding (μM)_y=(μN)_x gives μ′/μ=(M_y−N_x)/N. The y-only test instead uses (N_x−M_y)/M.

  14. For y′+p y=q yⁿ on a suitable nonzero real branch with n≠0,1, state the substitution and transformed linear equation.

    Show the answer and reasoning

    v=y^(1−n), with v′+(1−n)p v=(1−n)q.

    Multiply the divided equation by 1−n and use v′=(1−n)y^(−n)y′. Real powers and inverse branches retain their domain restrictions.

  15. In a reciprocal substitution y=1/v, may a transformed solution be inverted through a zero of v as a finite classical y?

    Show the answer and reasoning

    No.

    The reciprocal is undefined at that point. The original initial branch and any continuation need separate analysis, and a pole often results.

  16. For y′=a y²+b y+c with a known solution y_p, what equation follows from y=y_p+1/v?

    Show the answer and reasoning

    v′+(2a y_p+b)v=−a, where the substitution is valid.

    The y_p terms cancel because it solves the original equation. Multiplication by v² then gives a linear equation; y_p itself remains separately retained.

  17. For y′=F(y/x), which constant ratios are lost by dividing the transformed equation by F(v)−v?

    Show the answer and reasoning

    The roots F(c)=c, giving y=cx on the original admissible domain.

    The substitution gives xv′=F(v)−v. Constant v=c solutions are precisely the zero cases of the divided factor.

  18. Why must a final candidate be substituted into the original equation, rather than only a divided or transformed equation?

    Show the answer and reasoning

    Transformations can exclude states, change domains or introduce branch restrictions.

    The original residual, initial data and connected interval determine the requested solution. Correct algebra in a restricted transform alone may lose or misclassify valid cases.

What to carry forward

  • Recognise the equation’s structure and domain before choosing a first-order method.
  • Separation follows from the chain rule on a branch where the divided state factor is nonzero.
  • Record equilibria before dividing, and use uniqueness hypotheses when discussing branch crossings.
  • Logarithmic absolute values preserve branch information; restore the initial sign explicitly.
  • A logistic formula has equilibrium and denominator cases that determine its initial branch’s interval.
  • A normalized integrating factor turns a continuous linear equation into a product derivative.
  • The definite-integral linear formula keeps the initial datum and accumulated forcing visible.
  • The difference of solutions to the same linear forced equation is homogeneous; their sum changes the forcing.
  • Finite forcing switches can give a continuous piecewise classical solution whose derivative jumps.
  • An exact differential relation preserves a potential, with local and global domain conditions kept distinct.
  • An implicit level curve must be restricted to an actual differentiable function branch.
  • One-variable integrating-factor tests are sufficient recognisable cases, with signs and denominators that matter.
  • Bernoulli substitution linearises a selected nonzero real branch and can omit zero solutions.
  • A known Riccati particular solution reduces other admissible branches to a linear equation, while remaining separately retained.
  • Ratio substitution requires x≠0 and separately retains constant-ratio straight lines.
  • Verify every final candidate, initial datum and interval in the original equation; a transformed formula alone is insufficient.

References

Sources for the concepts and teaching approaches in this article.

  1. Calculus Volume 2OpenStaxOpen textbook · §§4.3, 4.5Separation and excluded constants · §4.3Linear equations and integrating factors · §4.5openstax.org
  2. Notes on Diffy QsJiří LeblAuthor’s open textbook · §§1.5, 1.8Bernoulli and ratio substitutions · §1.5Exact equations and one-variable factors · §1.8jirka.org
  3. Ordinary Differential Equations and Dynamical Systems · Riccati reductionGerald TeschlAuthor’s preliminary text · §1.4, pp.15–16 · PDFmat.univie.ac.atRead source