Key Concepts and Formulas
- Bernoulli Differential Equation: A differential equation of the form dxdy+P(x)y=Q(x)yn, where n is a real number not equal to 0 or 1.
- Substitution for Bernoulli Equation: To solve a Bernoulli equation, use the substitution v=y1−n.
- Integrating Factor: For a linear first-order differential equation dxdv+P1(x)v=Q1(x), the integrating factor is given by I.F.=e∫P1(x)dx.
Step-by-Step Solution
Step 1: Identify and Transform the Bernoulli Equation
The given differential equation is cosxdy=y(sinx−y)dx,0<x<2π. We need to rewrite it in the standard Bernoulli form.
- Divide by cosxdx:
dxdy=cosxy(sinx−y)
This isolates dxdy on one side.
- Separate terms and rewrite using trigonometric identities:
dxdy=ycosxsinx−y2cosx1=ytanx−y2secx
We use cosxsinx=tanx and cosx1=secx to simplify.
- Rearrange to Bernoulli form:
dxdy−(tanx)y=−(secx)y2
This matches the form dxdy+P(x)y=Q(x)yn, where P(x)=−tanx, Q(x)=−secx, and n=2.
- Divide by y2:
y21dxdy−ytanx=−secx
This prepares the equation for the substitution.
- Substitute v=y1:
Let v=y1=y−1. Then, dxdv=−y21dxdy. So, y21dxdy=−dxdv.
This substitution will transform the equation into a linear one.
- Substitute into the equation:
−dxdv−(tanx)v=−secx
We replace y21dxdy with −dxdv and y1 with v.
- Multiply by −1 to get the standard linear form:
dxdv+(tanx)v=secx
Now we have a linear first-order differential equation in the form dxdv+P1(x)v=Q1(x), where P1(x)=tanx and Q1(x)=secx.
Step 2: Solve the Linear Differential Equation
- Find the Integrating Factor (I.F.):
I.F.=e∫P1(x)dx=e∫tanxdx
The integrating factor helps us solve the linear equation.
- Evaluate the integral:
∫tanxdx=∫cosxsinxdx=−ln∣cosx∣=ln∣secx∣
Since 0<x<2π, cosx>0 and secx>0, so we can drop the absolute value.
- Calculate the I.F.:
I.F.=eln(secx)=secx
- Multiply the linear equation by the I.F.:
(secx)dxdv+(secx)(tanx)v=sec2x
This makes the left side a derivative of a product.
- Recognize the left side as a derivative:
dxd(vsecx)=sec2x
- Integrate both sides with respect to x:
∫dxd(vsecx)dx=∫sec2xdx
vsecx=tanx+C
This gives us the general solution in terms of v and x.
Step 3: Substitute Back to the Original Variable
- Substitute v=y1 back into the equation:
y1secx=tanx+C
This expresses the solution in terms of the original variable y.
- Rearrange the equation:
secx=y(tanx+C)
y=tanx+Csecx
- Rewrite the equation:
y=tanx+Csecx
secx=(tanx+C)y
Common Mistakes & Tips
- Sign Errors: Pay close attention to signs when rearranging and substituting in the Bernoulli equation. A simple sign error can throw off the entire solution.
- Integrating Factor: Remember to integrate P1(x) correctly to find the integrating factor. The integral of tanx is ln∣secx∣. Don't forget the absolute value, but consider whether it can be dropped based on the given domain.
- Back Substitution: Always substitute back to the original variable y after solving for v.
Summary
We solved the given Bernoulli differential equation by first transforming it into a linear first-order differential equation using the substitution v=y1. We then found the integrating factor, solved for v, and finally substituted back to express the solution in terms of y. The final solution is secx=(tanx+C)y.
The final answer is \boxed{\sec x = \left( {\tan x + c} \right)y}, which corresponds to option (D).