Solving a linear first order differential equation

Click For Summary

Discussion Overview

The discussion revolves around solving a linear first-order differential equation of the form 4y' = e^(x/4) + y. Participants explore various methods for rearranging the equation, finding the integrating factor, and integrating to find the solution. The conversation includes technical reasoning and mathematical manipulation.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests dividing the original equation by 4 to obtain y' = (e^(x/4))/4 + (y/4), but expresses uncertainty about the integrating factor.
  • Another participant emphasizes the need to rearrange the equation into standard linear form, proposing the equation dy/dx - (1/4)y = (1/4)e^(x/4) and asks for the integrating factor.
  • Several participants discuss the integrating factor, with some asserting it is e^(-x/4) and others questioning the computation of the integrating factor based on the coefficient of y.
  • A participant presents an alternative approach by rewriting the equation and integrating, leading to a proposed solution y = (1/4)x e^(x/4) + C e^(x/4).
  • There are reminders about the importance of signs in the equations, indicating potential confusion in the calculations.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the integrating factor or the best approach to solving the equation, with multiple competing views and methods presented throughout the discussion.

Contextual Notes

Some participants express uncertainty regarding the steps to find the integrating factor and the implications of rearranging the equation, indicating that assumptions about the form of the integrating factor may vary.

Logan Land
Messages
83
Reaction score
0
4y'=e^(x/4) + y

First I need to divide through by 4 correct?
To obtain
y'=(e^(x/4))/4 + (y/4)

But then when I try to find integrating factor I just come up with e^(x/4) which I think is incorrect
 
Physics news on Phys.org
Re: Solving a differential equation

First put the equation in the standard form.
 
I have edited the title to make it a bit more descriptive of the problem. A topic's title should give at least one level of information more than is implied by the forum in which it is posted. :D

I would first arrange the ODE in standard linear form by subtracting through by $y$ and then dividing through by 4:

$$\frac{dy}{dx}-\frac{1}{4}y=\frac{1}{4}e^{\frac{x}{4}}$$

Now, what is your integrating factor $\mu(x)$?
 
Last edited:
MarkFL said:
I have edited the title to make it a bit more descriptive of the problem. A topic's title should give at least one level of information more than is implied by the forum in which it is posted. :D

I would first arrane the ODE in standard linear form by subtracting through by $y$ and then dividing through by 4:

$$\frac{dy}{dx}-\frac{1}{4}y=\frac{1}{4}e^{\frac{x}{4}}$$

Now, what is your integrating factor $\mu(x)$?

I still keep getting e^(x/4)

Do I not put it as e^(1/4)(integral e^(x/4))
 
Don't forget the sign !.
 
ZaidAlyafey said:
Don't forget the sign !.

Yes, in this problem, we have $$P(x)=-\frac{1}{4}$$.
 
$$4y' - y = e^{\frac{x}{4}}$$

Divide by $$4 e^{\frac{x}{4}}$$

$$y'e^{-\frac{x}{4}} - \frac{1}{4}\,y\,e^{-\frac{x}{4}} = \frac{1}{4}$$

Now we realize that $$\frac{d}{dx} \left( y e^{-\frac{x}{4}}\right) = y'e^{-\frac{x}{4}} -\frac{1}{4} y\,e^{-\frac{x}{4}} $$

Hence $$\frac{d}{dx} \left( y e^{-\frac{x}{4}}\right)=\frac{1}{4}$$

Integrating with respect to x :

$$y\, e^{-\frac{x}{4}}=\frac{1}{4}x\,+\,C$$

$$y\,=\frac{1}{4}\,x\, e^{\frac{x}{4}}+\,C e^{\frac{x}{4}}$$
 
MarkFL said:
Yes, in this problem, we have $$P(x)=-\frac{1}{4}$$.

So no matter what we use the information on the left to compute the integrating factor? Even in this case with no x just (-1/4)

In that case would it be (-1/4)x?

e^(-1/4)integral dxOh the integrating factor is e^(-x/4)?
 
LLand314 said:
Oh the integrating factor is e^(-x/4)?

yes .
 
  • #10
You want something of the form
\frac{dY}{dx}= f(x)

Initially we have
4\frac{dy}{dx}- y= e^{x/4}
where I have put all the "y" dependence on the left.

Yes, you can if you like divide by 4- that is not necessary but makes the calculations simpler
\frac{dy}{dx}- y/4= e^{x/4}/4

We want to multiply by some u(x) that will make the left side a single derivative: that the left side becomes \frac{d(uy)}{dx}.

By the product rule, \frac{d(uy)}{dx}= u\frac{dy}{dx}+ \frac{du}{dx}y and, we can see that, by multiplying by u we would have u\frac{dy}{dx}- \frac{uy}{4}. Comparing those, we see we must have \frac{du}{dx}= -\frac{u}{4}, a simple, separable equation: \frac{du}{u}= -\frac{dx}{4} and integerating ln(u)= -\frac{x}{4}+ C or u= Ce^{-x/4}.

That is, an "integrating factor" is e^{-x/4}:
e^{-x/4}\frac{dy}{dx}- \frac{e^{-x/4}y}{4}= \frac{d(e^{-x/4}y}{dx}

so multiplying both sides of the original equation by e^{-x/4} we have
\frac{d(e^{-x/4}y}{dx}= \frac{1}{4}
and we can integrate both sides to get
e^{-x/4}y= \frac{x}{4}+ C
so that y= \frac{x}{4}e^{x/4}+ Ce^{x/4}.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
641
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K