# Y''-2y'+y=e^xοΌy(0)=y'(0)=0. Solve y(2)?

### VERIFIED

### Fotios Tsitsos

I love using Mathematics and Science to explain and understand the world.

The short answer is 2e^2. However to reach this solution you need to work a bit. This is a second order ordinary differential equation, which means that the solution will be a function that comprises of two parts, the particular integral and the complementary function. The complementary function is the easiest to find. It is the solution of the differential equation when the left hand side is 0, i.e. yβ-2yβ+y=0. This you will find by guessing the solution y=e^Ξ±x, where Ξ± is the constant to be found. By successive differentiation you find that yβ=Ξ±e^Ξ±x and yβ=Ξ±^2 e^Ξ±x. Substitute this in the equation above and you will find: (Ξ±^2 -2Ξ± +1)e^Ξ±x =0. The exponential cannot be 0 therefore the polynomial in the parentheses must be 0, where when you solve that equation you find the double solution Ξ±=1. When you have a double solution, your complementary function will be of the form Ae^Ξ±x +Ξxe^Ξ±x. Therefore in this case the complementary function is Ae^x +Bxe^x. Now, the particular integral will be any function that satisfies the original differential equation. Here you basically have to guess which function may be suitable, but it is most likely going to be one that contains an exponential. In fact it is bx^2 e^x, where b is a constant to be found. You find the constant b using the same method as before, that is successive differentiation to find yβ and yβ, which are 2xbe^x +bx^2 e^x and 2be^x +4bxe^x +bx^2 e^x respectively. Plug these answers into the original differential equation and you should get 2be^x=e^x which gives b=1/2. Therefore the particular integral is (x^2 e^x)/2. The full solution is the sum of the complementary function and the particular integral so: y(x)=Ae^x +Bxe^x +(x^2 e^x)/2. Taking the boundary condition y=0 gives A=0 and then by differentiating y(x) once and applying the condition yβ=0 gives B=0. The solution is therefore simply y(x)=(x^2 e^x)/2 which means that y(2)= 2e^2.

### Fotios also answered

### Asked in Maths π―

ASKED BY DURDANA

MATHS π―#### How do I help my child who is 7 years old with their timetables?

You can find a lot of free resources on the internet. Things like songs on YouTube (that can be quite catchy) that will focus on one times table per...

ASKED BY HAILIE

MATHS π―#### How do you find a circumumference of a circle?? Iβm confused πππ?

donβt worry youβll get the hang of it eventually! there are 3 key elements of a circle you have to remember: circumference=the perimeter diameter= t...

ASKED BY MELINA

MATHS π―#### A right angled triangle with one side 5.7 cm and the other 6.3 cm what is x (the short side, base)?

Longest side is the hypotenuse so by Pythagoras (6.3)^2 = (5.7)^2 + x^2 Rearranging x = Sqrt((6.3)^2 - (5.7)^2) So x = 2.68 3sf ...

ASKED BY LARA

MATHS π―#### What is the difference between weight and mass in terms of vectors and scalars?

Mass is the amount of matter an object contains, whereas weight is the force acted on the object due to gravitational force. This equation may help ...

ASKED BY SAMMY

MATHS π―#### How to calculate irrational Surds? (Steps of how to answer it)?

A number is described as rational if it can be written as a fraction (one integer divided by another integer), e.g. 5/7. The decimal form of a ratio...

ASKED BY FRANCESCO

MATHS π―#### Why in the rules of factorial 0! = 1?

I can think of five main reasons as to why 0! is defined to be 1. Though bear in mind this is just a definition, we could have defined it to be anyt...

ASKED BY SHAAN

MATHS π―#### Prove, from first principles, that the derivative of 5xcubed is 15x squared. How would I do this?

The formula for derivatives from first principles is lim(h to 0) of [f(x+h)-f(x)]/h. So in this case f(x) is 5xcubed, and we want to show that when ...

ASKED BY JOJO

MATHS π―#### Explanation of how a fibonacci sequence being applied in a rabbit?

Set the problem up as follows: Assume that: a newly born pair of rabbits, one male, one female, are put in a field; rabbits are able to breed at the...

ASKED BY HARLEY

MATHS π―#### How do you find the area of a triangle with surds as lengths?

You find the area as usual, by using one of the formulas you already know. The only trick here is to use the lengths in square root format and not a...

ASKED BY JOSH

MATHS π―#### How do I draw a graph of y=x^2 - 3 for values x from -2 - 2?

In order to do plot this graph, you should draw a table with x values -2, -1, 0, 1, 2 and then substitute in each x value into the equation. this wi...

Find me a tutor

We take your privacy seriously. View our policy.