Question: Find the solution of ( 12.7 )withy(0)=y(π/2)=0when the forcing function is givenf(x).f(x)={x,0<x<π/4π/2x,π/4<x<π/2.

Short Answer

Expert verified

The value of y''+y=f(x)for the function f(x)=x,0<x<π/4π/2π/4<x<π/2is

y(x)=π/2x2cos(x),x>π/4x2sin(x),x<π/4

Step by step solution

01

Given information

The given expressions are f(x)=x,0<x<π/4π/2π/4<x<π/2-

02

Definition of Green Function

In mathematics, a Green's function is the impulse response of an inhomogeneous linear differential operator defined on a domain with specified initial conditions or boundary conditions.

03

Solve the given function

The solution of differential equation

y''+y=f(x)

The boundary conditions applied.

y(x)=cosx0xsinx'fx'dx'sinxxsincosx'fx'dx3

The function f(x) for interval (0,π/4)is used.

y(x)=cos(x)0xsinx'x'dx'I1sin(x)xπ/4cosx'x'dx'+π/4π/2cosx'π/2x'dx'I2

I1=sinx'x'cosx'x0=(sin(x)xcos(x)00)

And, evaluating the integral $I_{2}$, we get

I2=x'sinx'+cosx'π/4x+π/2sinx'π/2π/4x'sinx'+cosx'π/2π/4=π/412+12xsin(x)cos(x)+π/2π/212π/2π/41212=xsin(x)cos(x)+12(π/4+1π/2+π/4+1)+(π/2π/2)=xsin(x)cos(x)+12(2+π/2π/2)+(0)=xsin(x)cos(x)+12(2)=xsin(x)cos(x)+2

y(x)=cos(x)I1sin(x)I2=cos(x)[sin(x)xcos(x)]sin(x)[xsin(x)cos(x)+2]=cos(x)sin(x)+xcos(x)2+xsin(x)2+sin(x)cos(x)2sin(x)=x2sin(x)

And, for the second case where $x>\pi / 4$, we get

y(x)=cos(x)[0π/4sinx'x'dx'I3+π/4xsinx'π/2x'dx'I4]sin(x)(xπ/2cosx'π/2x'dx'I5)

And, hence we have

y(x)=cos(x)I3+I4sin(x)I5

And, hence evaluating the integral $I_{3}$, we get

I3=0π/4x'sinx'dx'=sinx'x'cosx'π/40=sin(π/4)π/4cos(π/4)00=12(1π/4)

I4=π/4xsinx'π/2x'dx'=π/2cosx'sinx'x'cosx'xπ/4=π/2cosx'sinx'+x'cosx'xπ/4=(π/2cos(x)sin(x)+xcos(x)+π/2cos(π/4)+sin(π/4)π/4cos(π/4))=xcos(x)sin(x)+12(π/2+1π/4)π/2cos(x)

I3+I4=xcos(x)sin(x)+12(π/2+1π/4+1π/4)π/2cos(x)Thus,wegetI3+I4=xcos(x)sin(x)+12(2)π/2cos(x)I5=xπ/2cosx'π/2x'dx'=π/2sinx'x'sinx'+cosx'π/2x=π/2sinx'x'sinx'cosx'π/2x=(π/21π/210π/2sin(x)+xsin(x)+cos(x))=(π/2sin(x)+xsin(x)+cos(x))y(x)=cos(x)I3+I4sin(x)I5

And, hence the solution to the differential equation in the stated case, is

y(x)=cos(x)xcos(x)sin(x)+12(2)π/2cos(x)sin(x)[π/2sin(x)+xsin(x)+cos(x)]y(x)=xcos(x)2+cos(x)sin(x)2cos(x)+π/2cos(x)2+π/2sin(x)2xsin(x)2cos(x)sin(x)y(x)=xcos(x)2+sin(x)22cos(x)+π/2sin(x)2+cos(x)2+(cos(x)sin(x)cos(x)sin(x))y(x)=x2cos(x)+π/2+0y(x)=π/2x2cos(x)

and, hence the general solution to the given differential equation, is thus

The solution to the given differential equation, is given by

y(x)=π/2x2cos(x),x>π/4x2sin(x),x<π/4

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Find the shape of a mirror which has the property that rays from a point 0 on the axis are reflected into a parallel beam. Hint: Take the point 0 at the origin. Show from the figure that tanθ=2yx. Use the formula for tanθ2to express this in terms of tanθ=dydxand solve the resulting differential equation. (Hint: See Problem 16.)

Obtain L(te-atcosbt)

For each of the following differential equations, separate variables and find a solution containing one arbitrary constant. Then find the value of the constant to give a particular solution satisfying the given boundary condition. Computer plot a slope field and some of the solution curves.

12.(x+xy)y'+y=0 y = 1When x = 1.

Solve by use of Fourier series. Assume in each case that the right-hand side is a periodic function whose values are stated for one period.

y"+9y={x,0<x<10,-1<x<0

(a) Show that D(eaxy)=eax(D+a)y,D2(eaxy)=eax(D+a)2y, and so on; that is, for any positive integral n, Dn(eaxy)=eax(D+a)ny.

Thus, show that ifis any polynomial in the operator D, then L(D)(eaxy)=eaxL(D+a)y.

This is called the exponential shift.

(b) Use to show that (D-1)3(exy)=exD3y,(D2+D-6)(e-3xy)=e-3x(D2-5D)y..

(c) Replace Dby D-a, to obtain eaxP(D)y=P(D-a)eaxy

This is called the inverse exponential shift.

(d) Using (c), we can change a differential equation whose right-hand side is an exponential times a

polynomial, to one whose right-hand side is just a polynomial. For example, consider

(D2-D-6)y=10×e2x; multiplying both sides by e-3xand using (c), we get

e-3x(D2-D-6)y=[D+32-D+3-6"]"ye-3x=(D2+5D)ye-3x=10x

Show that a solution of (D2+5D)u=10xis u=x2-25x; then or use this method to solve Problems 23 to 26.

See all solutions

Recommended explanations on Physics Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free