One last question

Calculus Level 4

Let's define a differential equation:

d 2 y d x 2 d y d x + y = x \displaystyle \dfrac{d^{2}y}{dx^{2}} - \dfrac{dy}{dx}+y=x

with its initial conditions as y ( 1 ) = 1 , y ( 1 ) = 0 \displaystyle y(1)=1 , y'(1)=0 .

If y = f ( x ) \displaystyle y=f(x) is the solution of the given D E DE , evaluate f ( 1.21 ) \displaystyle f(1.21) .


The answer is 1.001624.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

Kartik Sharma
Mar 20, 2015

Well, thanks for another one! I just saw this problem and it is little late, I know.

y y + y = x y'' - y' + y = x , so this is our DE.

Now, look at this equation - y y + y = 0 y'' - y' + y = 0 . It will be easy to find solution of this DE by just substituting y = e λ x y = {e}^{\lambda x} and forming auxiliary equation as -

λ 2 λ + 1 = 0 {\lambda}^{2} - \lambda + 1 = 0 , and so λ = 1 + 3 ι 2 , 1 3 ι 2 \lambda = \frac{1 + \sqrt{3}\iota}{2}, \frac{1 - \sqrt{3}\iota}{2}

So our solution would be - y = C 1 e x / 2 c o s ( 3 x 2 ) + C 2 e x / 2 s i n ( 3 x 2 ) y = {C}_{1}{e}^{x/2}cos(\frac{\sqrt{3}x}{2}) + {C}_{2}{e}^{x/2}sin(\frac{\sqrt{3}x}{2}) , which can easily be seen as we have 2 solutions of the quadratic and so in DE, we will just add them(and forget not to "de-substitute") and yeah trigonometric ratios are just a result of e ι x = c o s x + i s i n x {e}^{\iota x} = cosx + isinx

So, we have found the solution to y y + y = 0 y'' - y' + y = 0 and we have to find solution to y y + y = x y'' - y' + y = x . Well, just "add" x x , right?

Yes. Adding x x in y y will make it for the y ( 0 ) {y}^{(0)} term but will add an extra 1 1 on differentiating once. To remove it, we will add another term i.e additive inverse of that 1 1 in y y whose differentiation would be just 0 0 .

Therefore, our final answer finally becomes -

y = C 1 e x / 2 c o s ( 3 x 2 ) + C 2 e x / 2 s i n ( 3 x 2 ) + x + 1 y = {C}_{1}{e}^{x/2}cos(\frac{\sqrt{3}x}{2}) + {C}_{2}{e}^{x/2}sin(\frac{\sqrt{3}x}{2}) + x + 1

Rest is just trivial!

Now, I will be looking forward to a Laplace's Transform solution as well(as I donno)

Kartik Sharma - 6 years, 2 months ago

Log in to reply

Actually I had tried it using Laplace Transform and got it wrong twice ! But I am not going to lose hope and am going to try it again .

I thought you knew Laplace Transform . No worries . There are some really nice videos from Khan Academy , maybe you can watch them .

A Former Brilliant Member - 6 years, 2 months ago

Log in to reply

Oh, I will check out KA, then. I read about Laplace transform but didn't understand(maybe I was not interested much then)

Kartik Sharma - 6 years, 2 months ago

Log in to reply

@Kartik Sharma Try learning Integral Transforms since they come in handy a lot .

For example , Pratik uses it a lot while solving Integral questions , I use them for solving DE . Again , I got it wrong since the initial value has not been given for x=0 .

A Former Brilliant Member - 6 years, 2 months ago

Log in to reply

@A Former Brilliant Member Oh k! Thanks! I will try!

Kartik Sharma - 6 years, 2 months ago

Hey I tried it using Laplace Transform and I am getting the same answer but just the conditions need to be altered instead of y ( 1 ) a n d y ( 1 ) y^{ \prime }\left( 1 \right) and \ y(1) it should be y ( 0 ) a n d y ( 0 ) y(0) \ and \ y^{ \prime }\left( 0 \right) . I got the same answer by doing so as in Laplace transform we will get the terms y ( 0 ) a n d y ( 0 ) y(0) \ and \ y^{ \prime }\left( 0 \right) .

Harshvardhan Mehta - 6 years, 2 months ago

Log in to reply

@Harshvardhan Mehta Actually you can make a substitution while solving this question .

η = x 1 \eta = x-1

Btw I have soled it but won't post the solution since it's 2 pages long ! :P

A Former Brilliant Member - 6 years, 2 months ago

Log in to reply

@A Former Brilliant Member ohhh ok.... I just replaced y ( 1 ) w i t h y ( 0 ) y(1) \ with \ y(0) and the other one too and got the same answer in like half a page.

Harshvardhan Mehta - 6 years, 2 months ago

You asked for Laplace, Azhaghu, you got it above! Check out my solution & enjoy!

tom engelsman - 3 years, 6 months ago

You asked for Laplace, Kartik, you got it above! Check out my solution & enjoy!

tom engelsman - 3 years, 6 months ago
Tom Engelsman
Nov 22, 2017

We'd like to solve this ODE via a Laplace Transform, right? Only after performing a simple substitution first! Let g ( t ) = f ( x ) g(t) = f(x) (where t = x 1 t = x-1 ) so that g ( 0 ) = f ( 1 ) = 1 , g ( 0 ) = f ( 1 ) = 0 g(0) = f(1) = 1, g'(0) = f'(1) = 0 are our initial conditions. We now obtain:

g ( t ) g ( t ) + g ( t ) = t + 1 g''(t) - g'(t) + g(t) = t+1

whose Laplace Transform computes to:

[ s 2 G ( s ) s g ( 0 ) g ( 0 ) ] [ s G ( s ) g ( 0 ) ] + G ( s ) = 1 s 2 + 1 s [s^{2}G(s) - s \cdot g(0) - g'(0)] - [sG(s) - g(0)] + G(s) = \frac{1}{s^{2}} + \frac{1}{s} ;

or ( s 2 s + 1 ) G ( s ) = 1 + s s 2 + s 1 ; (s^2 - s + 1) \cdot G(s) = \frac{1+s}{s^2} + s - 1;

or G ( s ) = s 3 s 2 + s + 1 s 2 ( s 2 s + 1 ) = 1 s 2 + 2 s s s 2 s + 1 G(s) = \frac{s^3 - s^2 + s + 1}{s^{2} (s^2 - s + 1)} = \frac{1}{s^2} + \frac{2}{s} - \frac{s}{s^2 - s + 1}

whose inverse Laplace Transform computes to:

g ( t ) = L 1 [ G ( s ) ] = t + 2 [ 1 3 s i n ( 3 t 2 ) + c o s ( 3 t 2 ) ] e t / 2 . g(t) = L^{-1} [G(s)] = \boxed{t + 2 - [\frac{1}{\sqrt{3}} sin(\frac{\sqrt{3}t}{2}) + cos(\frac{\sqrt{3}t}{2})] \cdot e^{t/2} }.

Finally, we calculate f ( 1.21 ) = g ( 0.21 ) 1.001624 . f(1.21) = g(0.21) \approx \boxed{1.001624}.

VIOLA!!!!!!!

The solution I'm gonna post here is not a rigorous maths, so, for those who don't like it. I do apologise.

Since the question has already given the value at x=1 and its derivative a t the same point, so, why not just try a series solution.(I'm not gonna prove that this series is a solution nor whether the value we want to find is in the radius of convergent or not.)

By differentiating repeatedly, one should see a pattern of the derivatives at x=1 that

y = 1 , y = 0 , y " = 0 , y ( 3 ) = 1 , y ( 4 ) = 1 , y ( 5 ) = 0 , y ( 6 ) = 1 , y ( 7 ) = 1 , y ( 8 ) = 0 a n d y ( 9 ) = 1 \displaystyle y=1,{ y }^{ ' }=0,{ y }^{ " }=0,{ y }^{ (3) }=1,{ y }^{ (4) }=1,{ y }^{ (5) }=0,{ y }^{ (6) }=-1,{ y }^{ (7) }=-1,{ y }^{ (8) }=0\quad and\quad { y }^{ (9) }=1 and so on.

so f ( 1.21 ) = 1 + ( 0.21 ) 3 3 ! + ( 0.21 ) 4 4 ! ( 0.21 ) 6 6 ! + . . . \displaystyle f(1.21)=1+\frac { { (0.21) }^{ 3 } }{ 3! } +\frac { { (0.21) }^{ 4 } }{ 4! } -\frac { { (0.21) }^{ 6 } }{ 6! } +...

f ( 1.21 ) = 1.001624 \displaystyle f(1.21)=\boxed{1.001624}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...