/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q2.3-25E Question: (a) Using definite int... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Question: (a) Using definite integration, show that the solution to the initial value problem dydx+2xy=1,y(2)=1can be expressed as y(x)=e-x2(e4+∫2xet2dt).

(b) Use numerical integration (such as Simpson’s rule, Appendix C) to approximate the solution at x=3.

Short Answer

Expert verified
  1. Proved
  2. y3≈0.183

Step by step solution

01

Method for solving linear equations

  • Write the equation in the standard form dydx+P(x)y=Q(x).
  • Calculate the integrating factor by μ(x)the formula .
  • Multiply the equation in standard form by μ(x)and, recalling that the left-hand side is just ddx[μ(x)y], obtainμ(x)dydx+Pμ(x)y=μ(x)Q(x)ddx[μ(x)y]=μ(x)Q(x)
  • Integrate the last equation and solve for y by dividing by μ(x)to obtain y(x)=1Ï€(x)[∫π(x)Q(x)+c]. Here C is an arbitrary constant.
  • Simpson’s rule: .∫f(x)x'≈∆x3(fx0+4fx1+2fx2+.......4fxn-1+fxn)
  • Where ∆x=b-anand xi=a+∆x.
02

Step 2(a): Solve the given equation

Given that,

dydx+2xy=1,y(2)=1

To prove it can be expressed as y(x)=e-x2(e4+∫2xet2dt).

Calculate the integrating factor of μx.

Where P(x)=2x.

Then,

μx=e∫Pxdx=e∫2xdx=ex2

03

Simplification method

Multiply μxin equation (1)

role="math" localid="1664183318615" ex2dydx+2ex2xy=ex2ddxex2y=ex2ddtet2y=et2

Integrating both sides. And the initial value of x is starts at 2, where y = 1. So, the limits of integration would be from 2 to x.

role="math" localid="1664183563908" ∫ddtet2ydt=∫et2dtet2y2x=∫2xet2dtex2y-e22=∫2xet2dtex2y-e4=∫2xet2dtex2y=e4+∫2xet2dty=e-x2e4+∫2xet2dt

Hence proved. Because the solution is expressed in the form of

y=e-x2e4+∫2xet2dt......2

Hence it is shown that the solution to the initial value problem dydx+2xy=1,y(2)=1can be expressed as y(x)=e-x2(e4+∫2xet2dt).

04

Using Simpson’s rule to approximate the solution

Referring to part a: solution is y=e-x2e4+∫2xet2dt.

To approximate the solution at x = 3.

Since the Simpson’s rule is shown below.

role="math" localid="1664183811884" ∫abf(x)x'≈∆x3(f(x0)+4f(x1)+2f(x2)+.......4f(xn-1)+f(xn)).......3

Then, using 4 intervals,

∆x=b-an=3-24=14

Substitute the value in equation (3)

∫22et2dt≈112e4+2∑n=12-1e144+n2+4∑n=12e1167+2n2+e9≈112e4+2∑n=11e144+n2+4∑n=12e1167+2n2+e9≈1460.35435

Substitute the value in equation (3).

y3=e-32e4+1460.35435≈0.186960

05

 Step 5: Continue the Simpson’s rule

Using 6 intervals,

∆x=b-an=3-26=16

Substitute the value in equation (3)

∫22et2dt≈136e4+2∑n=16-1e142+n62+4∑n=16e114423+2n2+e9≈136e4+2∑n=15e142+n62+4∑n=16e114423+2n2+e9≈1428.61685

Substitute the value in equation (2).

y3=e-32e4+1428.68685≈0.1803043

Using 8 intervals,

∆x=b-an=3-28=18

Substitute the value in equation (3)

∫22et2dt≈148e4+2∑n=18-1e142+n82+4∑n=16e125631+2n2+e9≈148e4+2∑n=17e142+n82+4∑n=16e125631+2n2+e9≈1428.26131

Substitute the value in equation (2).

y3=e-32e4+1428.26131≈0.18300

06

 Step 6: Table of intervals

Table of Simpson’s rule is shown below for the solution y=e-x2e4+∫2xet2dt.

Intervals

y(3)

4

0.186960

6

0.183043

8

0.18300

10

0.18300

12

0.18300

Since the approximate value of y(3)1s 0.183.

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 91Ó°ÊÓ!

One App. One Place for Learning.

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

Get started for free

Study anywhere. Anytime. Across all devices.