# D.E. Linear equation with integrating factor

• Marco Lugo
I'm glad it worked!In summary, the correct solution for the given differential equation is y(t) = 7tet + 8e8t - 6et and the software may require the use of exp(t) notation instead of the standard et.

## Homework Statement

https://webwork.utpa.edu/webwork2_files/tmp/equations/2d/02a7e6a06f5b2424758fa01cc965f71.png [Broken] with https://webwork.utpa.edu/webwork2_files/tmp/equations/80/81c176aa8964438a63eb096513245f1.png [Broken]

## Homework Equations

[/B]
Standard form: y' + p(x)y = f(x)

Integrating factor: r(x)= e∫p(x)dx

Solution: y(x) = e-∫p(x)dx(∫e∫p(x)dx ⋅ f(x) dx + C)

## The Attempt at a Solution

From, y' - y = 7et + 56e8t

I got, p(x) = -1 and f(x) = 7et + 56e8t

So the integrating factor is r(t)= e∫-1 dt = e-t

Plug it into the solution formula,
y(t)= et [∫e-t (7et + 56e8t) dt + C]

= et (7t + 8e7t+ C)

= 7tet + 8e8t+ Cet

Using the initial condition y(0)= 2

= 8 + C = 2
C = -6

My final solution,
y(t) = 7tet + 8e8t- 6et

check: y(0) = 7(0)e(0) + 8e8(0)- 6e(0) = 2

But when I type it into WeBWork, it says my answer is incorrect. I don't think its a syntax problem because it has a preview button that allows you to see your actual problem.

Could it be that, y' - y = 7et + 56e8t is not in standard form?

Last edited by a moderator:
Marco Lugo said:

## Homework Statement

https://webwork.utpa.edu/webwork2_files/tmp/equations/2d/02a7e6a06f5b2424758fa01cc965f71.png [Broken] with https://webwork.utpa.edu/webwork2_files/tmp/equations/80/81c176aa8964438a63eb096513245f1.png [Broken]

## Homework Equations

[/B]
Standard form: y' + p(x)y = f(x)

Integrating factor: r(x)= e∫p(x)dx

Solution: y(x) = e-∫p(x)dx(∫e∫p(x)dx ⋅ f(x) dx + C)

## The Attempt at a Solution

From, y' - y = 7et + 56e8t

I got, p(x) = -1 and f(x) = 7et + 56e8t

So the integrating factor is r(t)= e∫-1 dt = e-t

Plug it into the solution formula,
y(t)= et [∫e-t (7et + 56e8t) dt + C]

= et (7t + 8e7t+ C)

= 7tet + 8e8t+ Cet

Using the initial condition y(0)= 2

= 8 + C = 2
C = -6

My final solution,
y(t) = 7tet + 8e8t- 6et

check: y(0) = 7(0)e(0) + 8e8(0)- 6e(0) = 2

But when I type it into WeBWork, it says my answer is incorrect. I don't think its a syntax problem because it has a preview button that allows you to see your actual problem.

Could it be that, y' - y = 7et + 56e8t is not in standard form?
I don't see anything wrong with your work or your solution. You can (and should) verify for yourself that your solution is correct by first checking that the initial condition is satisfied, and then by substituting your solution into the differential equation. Your solution should make the DE a true statement.

As far as why the software doesn't accept your solution, make sure that you are working the same problem it thinks you are working. I would also check with the instructor.

Last edited by a moderator:
Mark44 said:
I don't see anything wrong with your work or your solution. You can (and should) verify for yourself that your solution is correct by first checking that the initial condition is satisfied, and then by substituting your solution into the differential equation. Your solution should make the DE a true statement.

As far as why the software doesn't accept your solution, make sure that you are working the same problem it thinks you are working. I would also check with the instructor.

I checked the initial condition but you're right I should have substituted my solution into the problem.

my solution,
y(t) = 7tet + 8e8t - 6et

check:
dy/dt= 64e8t + 7tet + et

substituting both into the initial probelm,

dy/dt - y = 56e8t + 7et

64e8t + 7tet + et - 7tet - 8e8t + 6et

I get, 56e8t + 7et

I don't see anything wrong. I would submit the answer again but I only have 2 more tries, so I want to get some more advice before I do.

Marco Lugo said:
I checked the initial condition but you're right I should have substituted my solution into the problem.

my solution,
y(t) = 7tet + 8e8t - 6et

check:
dy/dt= 64e8t + 7tet + et

substituting both into the initial probelm,

dy/dt - y = 56e8t + 7et

64e8t + 7tet + et - 7tet - 8e8t + 6et

I get, 56e8t + 7et

I don't see anything wrong. I would submit the answer again but I only have 2 more tries, so I want to get some more advice before I do.