Why is this equation non separable?

  • Context: MHB 
  • Thread starter Thread starter brunette15
  • Start date Start date
  • Tags Tags
    Separable
Click For Summary
SUMMARY

The equation dy/dx + y = 1 is indeed separable, contrary to initial beliefs. The correct approach involves treating it as a linear equation and multiplying through by e^x, leading to the product rule for differentiation. The explicit solution is y(x) = 1 + Ce^(-x), where C is a constant. This method reveals the trivial solution y ≡ 1, which is overlooked when treating the equation as separable.

PREREQUISITES
  • Understanding of first-order differential equations
  • Familiarity with integration techniques
  • Knowledge of linear equations and their solutions
  • Basic concepts of the product rule in calculus
NEXT STEPS
  • Study the method of integrating factors for linear differential equations
  • Learn about the separation of variables technique in differential equations
  • Explore the implications of trivial solutions in differential equations
  • Investigate the use of exponential functions in solving differential equations
USEFUL FOR

Students and professionals in mathematics, particularly those focusing on differential equations, as well as educators seeking to clarify the concepts of separability and linearity in equations.

brunette15
Messages
58
Reaction score
0
Hi everyone,
I am trying to find any particular solution for the equation dy/dx + y = 1.
I have been told it is not separable.

I have done the following:
dy/dx = 1-y
integral of 1/(1-y) dy = integral
-loge(1-y) = c
e^-c = 1-y
y = 1- e^-c
let c = 0
y = 1-1
A particular solution is y= 0.

My question is why would my questions be mathematically incorrect?
 
Physics news on Phys.org
I've moved this thread to our Differential Equations forum as that's a better fit for the question being asked. :D

The equation you posted is in fact separable, but I find it much easier to solve if we treat it as a linear equation, and multiply through by $e^x$ to obtain:

$$e^x\d{y}{x}+ye^x=e^x$$

Rewrite the left side, observing it is the differentiation of a product:

$$\frac{d}{dx}\left(e^xy\right)=e^x$$

Now, integrate through with respect to $x$:

$$e^xy=e^x+C$$

Divide through now by $e^x$ to obtain the explicit solution:

$$y(x)=1+Ce^{-x}$$

Notice that for suitable choice of $C$, we get the trivial solution $y\equiv1$ that you would technically lose by treating it as a separable equation.
 
brunette15 said:
dy/dx = 1-y
integral of 1/(1-y) dy = integral
-loge(1-y) = c

Hey brunette55, (Smile)

That should be $-\ln(1-y)=x+c$.
Do you see why?
 
brunette15 said:
Hi everyone,
I am trying to find any particular solution for the equation dy/dx + y = 1.
I have been told it is not separable.

I have done the following:
dy/dx = 1-y
integral of 1/(1-y) dy = integral ?

Your approach is valid, this equation is separable as you have shown. Your problem is that you did not integrate the RHS with respect to x. This is why I much prefer doing every step...

$\displaystyle \begin{align*} \frac{\mathrm{d}y}{\mathrm{d}x} &= 1 - y \\ \frac{1}{1 - y}\,\frac{\mathrm{d}y}{\mathrm{d}x} &= 1 \\ \int{ \frac{1}{1 - y }\,\frac{\mathrm{d}y}{\mathrm{d}x} \, \mathrm{d}x} &= \int{ 1 \,\mathrm{d}x} \\ \int{ \frac{1}{1 - y}\,\mathrm{d}y} &= x + C_1 \\ -\ln{ \left| 1 - y \right| } + C_2 &= x + C_1 \end{align*}$

Can you continue?
 
This all clears up a lot, thanks everyone! :)
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K