Q. 6

Question

Initial-Value Problems: An initial-value problem is a differential equation together with an initial condition that specifies one value of a function.

  • Find the solution f to the initial-value problem f'(x)= sinx, f(π)=0.

Step-by-Step Solution

Verified
Answer

Ans: f(x)=-cosx-1

1Step 1. Given information:

The initial-value problem f'(x)=sinx,f(π)=0.

2Step 2. Solving the differential equation :

In order to solve the given differential equation f'(x)=sinx, since the differential equation is already separable, so integrate both sides with respect to $x$ to get


f'(x)=sinxdxf(x)=-cosx+C


Here C is the integration constant.

Now use the initial condition f(π)=0 and simplify further for C to get


f(π)=-cos(π)+C0=-(-1)+C0=1+CC=-1


Thus, the solution of the given differential equation is f(x)=-cosx-1.