Differential equation: y'-y=(1/2)x-1

Click For Summary
SUMMARY

The differential equation y' - y = (1/2)x - 1 can be solved using the integrating factor method. The integrating factor is e^{-x}, which simplifies the equation to (e^{-x}y)' = e^{-x}g(x). The solution derived is y = (-1/2)x + (1/2) + Ce^x, where C is an arbitrary constant determined by initial conditions. The discussion highlights the importance of correctly applying the product rule and taking the antiderivative accurately to avoid errors in the solution process.

PREREQUISITES
  • Understanding of first-order linear differential equations
  • Familiarity with integrating factors in differential equations
  • Knowledge of the product rule in calculus
  • Ability to compute antiderivatives
NEXT STEPS
  • Study the method of integrating factors for solving linear differential equations
  • Learn about the uniqueness of solutions in differential equations and the role of initial conditions
  • Explore advanced techniques for solving differential equations, such as variation of parameters
  • Practice solving similar first-order linear differential equations to reinforce understanding
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as anyone looking to enhance their problem-solving skills in calculus.

false_alarm
Messages
5
Reaction score
0
I know this looks really easy, but trying to solve this is amazingly difficult. I couldn't do it, i kept getting wrong answers. Any body got any idea how to solve this?
 
Physics news on Phys.org
false_alarm said:
I know this looks really easy, but trying to solve this is amazingly difficult. I couldn't do it, i kept getting wrong answers. Any body got any idea how to solve this?

When methods have you leart because there is more then one way to solve the above equation.
 
I just used the basic linear form, got an integrating factor, and then just took the antiderivative of what was left
 
false_alarm said:
I just used the basic linear form, got an integrating factor, and then just took the antiderivative of what was left

If no one else helps you out I'll try to solve it with that method tomorrow. First though you have to show me the steps you tried.
 
y'-y=(1/2)x-1
(1/2)x-1=g(x)
y'-y=g(x)...linear form
d(x)y'-s(x)y=(d(x)y)'...product rule
only works if d(x)'=s(x)
the only function that is its own integral, that i could think of, is e^{x}
but since the y is negative, it would have to be e^{-x}

so then u could say,

e^{-x}y'-e^{-x}y=e^{-x}g(x)

(e^{-x}y)'=e^{-x}g(x)...use the product rule
e^{-x}y=antiderivative(e^{-x}g(x))...took antiderivative
y=antiderivative(e^{-x}((1/2)x-1))/e^{-x}...divide both sides by e^{-x}

I think I am screwing up in the simplifying part. But, the integration becomes tricky
 
Hey I just figured it out. The first time i did it i made a really small error in the beginning that made it unsolvable. Thanks anyways. In case your wondering though,

y=(-1/2)x+(1/2)
 
You know that the solution isn't unique, right? You can add e^x times any constant to your answer and still have a valid solution.
 
Yeah, the solution will only be unique if you specify an initial condition such as y(0). Otherwise your integrating factor method should still leave you with a term Ce^x for some undetermined constant C.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 52 ·
2
Replies
52
Views
8K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K