If y = y(x) is the solution of the equation esinycosydxdy+esinycosx=cosx, y(0) = 0; then 1+y(6π)+23y(3π)+21y(4π) is equal to ____________.
Answer: 0
Solution
Key Concepts and Formulas
Linear First-Order Differential Equation: A differential equation of the form dxdy+P(x)y=Q(x), where P(x) and Q(x) are functions of x.
Integrating Factor (I.F.): For a linear first-order differential equation, the integrating factor is e∫P(x)dx.
Solution of Linear First-Order Differential Equation: The solution is given by y⋅(I.F.)=∫Q(x)⋅(I.F.)dx+C, where C is the constant of integration.
Step 1: Analyze the Given Differential Equation and Prepare for Substitution
The given differential equation is:
esinycosydxdy+esinycosx=cosx
We observe that the term esinycosydxdy resembles the derivative of esiny with respect to x. This suggests a substitution to simplify the equation.
Step 2: Introduce a Substitution
Let t=esiny. Then, we find dxdt using the chain rule:
dxdt=dydt⋅dxdy=esinycosydxdy
Substituting t=esiny and dxdt=esinycosydxdy into the original equation, we get:
dxdt+tcosx=cosx
Step 3: Transform the Equation into a Linear First-Order Differential Equation
Rearranging the equation, we have:
dxdt+(cosx)t=cosx
This is a linear first-order differential equation in the form dxdt+P(x)t=Q(x), where P(x)=cosx and Q(x)=cosx.
Step 4: Calculate the Integrating Factor
The integrating factor (I.F.) is given by:
I.F.=e∫P(x)dx=e∫cosxdx=esinx
Step 5: Find the General Solution
The general solution is given by:
t⋅(I.F.)=∫Q(x)⋅(I.F.)dx+C
Substituting the values, we have:
t⋅esinx=∫cosx⋅esinxdx+C
Let u=sinx, so du=cosxdx. Then, the integral becomes:
∫eudu=eu+C=esinx+C
Therefore,
t⋅esinx=esinx+Ct=1+Ce−sinx
Step 6: Substitute Back to Find y(x)
Substitute t=esiny back into the equation:
esiny=1+Ce−sinx
Step 7: Apply the Initial Condition y(0) = 0
Given y(0)=0, we substitute x=0 and y=0 into the equation:
esin0=1+Ce−sin0e0=1+Ce01=1+CC=0
Step 8: Obtain the Particular Solution
Since C=0, the particular solution is:
esiny=1
Taking the natural logarithm of both sides:
siny=ln(1)=0siny=0y=nπ,n∈Z
Since y(0)=0, we consider the solution y=0 for all x.
Step 9: Evaluate the Expression
We need to find the value of:
1+y(6π)+23y(3π)+21y(4π)
Since y(x)=0 for all x:
1+0+23(0)+21(0)=1+0+0+0=1
However, the correct answer is 0. There must be an error in our steps. Let's re-examine the solution from Step 5:
tesinx=∫cosxesinxdx+Ctesinx=esinx+Ct=1+Ce−sinxesiny=1+Ce−sinx
Using y(0)=0, we have
esin0=1+Ce−sin01=1+CC=0.
So esiny=1, meaning siny=0 and y=0 for all x.
The expression becomes:
1+y(π/6)+23y(π/3)+21y(π/4)=1+0+0+0=1.
Let's go back to the original differential equation:
esinycosydxdy+esinycosx=cosxdxdt+tcosx=cosxdxdt=cosx(1−t)1−tdt=cosxdx−ln∣1−t∣=sinx+Cln∣1−t∣=−sinx−C1−t=e−sinx−C=Ae−sinx for some constant A.
1−esiny=Ae−sinxesiny=1−Ae−sinx
When x=0, y=0. So esin0=1−Ae−sin0.
1=1−A. Therefore, A=0.
This leads to the same solution esiny=1, so y=0.
There seems to be an error in the question itself or the given answer. Let's assume there's a typo and the initial condition is different. Suppose we want the final answer to be 0. Then:
1+y(π/6)+23y(π/3)+21y(π/4)=0y(π/6)+23y(π/3)+21y(π/4)=−1
Since the initial condition led to y=0, let's try separation of variables.
dxdt=cosx(1−t)∫1−tdt=∫cosxdx−ln∣1−t∣=sinx+Cln∣1−t∣=−sinx−C∣1−t∣=e−sinx−C=Ae−sinx1−esiny=Ae−sinxesiny=1−Ae−sinxsiny=ln(1−Ae−sinx)y=arcsin(ln(1−Ae−sinx))y(0)=0, so 0=arcsin(ln(1−Ae0))0=arcsin(ln(1−A))0=ln(1−A)1=1−A, so A=0. This means we are back to y=0.
Let's try y=arcsin(0)=0.
Common Mistakes & Tips
Be careful with the chain rule when differentiating composite functions.
Remember to substitute back the original variable after solving the differential equation.
Always check the initial conditions to find the particular solution.
Summary
We transformed the given differential equation into a linear first-order differential equation using a suitable substitution. After finding the integrating factor and solving for the general solution, we applied the initial condition to find the particular solution. However, the initial condition y(0)=0 results in the trivial solution y(x)=0, which yields a final answer of 1, not 0 as provided. There might be an error in the question or the expected answer.