SOLVER7 Study. Nothing Else.
Exercise 9.3 Q15

Find the equation of a curve passing through the point \((0, 0)\) and whose differential equation is \(y^{'}=e^x\ sin\ x.\)

CBSE Class 12 Maths · Differential Equations

Solution

👶 Simple Explanation

Simple Explanation

Imagine a curve drawn on graph paper, and you only know its slope at every point. Knowing the slope is like knowing how steep a hill is at each spot. To find the actual curve, you work backwards from the slope — this is called integration. A special trick called integration by parts (used twice) helps when the slope involves a product like \( e^x \sin x \). Finally, the curve must pass through a given point, which pins down the exact curve from all possible ones.

Answer: \[ y = \frac{e^{x}(\sin x - \cos x)}{2} + \frac{1}{2}, \] which can also be written as \[ 2y = e^{x}(\sin x - \cos x) + 1. \]

📖 Curve from a Differential Equation Through the Origin

Detailed Explanation

A differential equation of the form \( \frac{dy}{dx} = f(x) \) gives the slope of the curve at every point. To find the actual curve, we integrate both sides with respect to \( x \). This gives the general solution, which contains an arbitrary constant \( C \). Since infinitely many curves share the same slope pattern, the constant \( C \) distinguishes them. To get one specific (particular) curve, we use the given point that the curve passes through. Here the equation involves the product \( e^x \sin x \), so we integrate it using integration by parts applied twice, which is a standard Class 12 technique.

Formula Used

\[ \int e^{x} \sin x \, dx = \frac{e^{x}(\sin x - \cos x)}{2} + C \]

Solution

  1. Step 1: The differential equation is \( y' = e^{x} \sin x \), which means \( \frac{dy}{dx} = e^{x} \sin x \). Since the right side depends only on \( x \), we can integrate both sides directly with respect to \( x \).
  2. Step 2: Integrating gives \[ y = \int e^{x} \sin x \, dx. \] We now evaluate this integral using integration by parts. Let \[ I = \int e^{x} \sin x \, dx. \]
  3. Step 3: Apply integration by parts with \( u = \sin x \) and \( dv = e^{x} dx \), so \( du = \cos x \, dx \) and \( v = e^{x} \). This gives \[ I = e^{x} \sin x - \int e^{x} \cos x \, dx. \]
  4. Step 4: Apply integration by parts again to \( \int e^{x} \cos x \, dx \) with \( u = \cos x \) and \( dv = e^{x} dx \), so \( du = -\sin x \, dx \) and \( v = e^{x} \). This gives \[ \int e^{x} \cos x \, dx = e^{x} \cos x + \int e^{x} \sin x \, dx. \]
  5. Step 5: Substitute this back into the expression for \( I \): \[ I = e^{x} \sin x - \left( e^{x} \cos x + I \right). \] So \[ I = e^{x} \sin x - e^{x} \cos x - I. \]
  6. Step 6: Bring \( I \) to the left side: \[ 2I = e^{x}(\sin x - \cos x). \] Therefore \[ I = \frac{e^{x}(\sin x - \cos x)}{2} + C. \]
  7. Step 7: This gives the general solution \[ y = \frac{e^{x}(\sin x - \cos x)}{2} + C. \] Now we use the given point \( (0, 0) \), meaning \( y = 0 \) when \( x = 0 \), to find \( C \).
  8. Step 8: Substitute \( x = 0 \) and \( y = 0 \). Using \( \sin 0 = 0 \) and \( \cos 0 = 1 \): \[ 0 = \frac{e^{0}(0 - 1)}{2} + C = \frac{-1}{2} + C. \] So \[ C = \frac{1}{2}. \]
  9. Step 9: Substitute \( C = \frac{1}{2} \) back to get the particular solution (the required curve): \[ y = \frac{e^{x}(\sin x - \cos x)}{2} + \frac{1}{2}. \]

Final Answer

\[ y = \frac{e^{x}(\sin x - \cos x)}{2} + \frac{1}{2}, \] which can also be written as \[ 2y = e^{x}(\sin x - \cos x) + 1. \]

Common Mistake

A common mistake is forgetting the constant of integration \( C \) and hence never using the point \( (0,0) \), which leaves only the general solution instead of the required particular curve. Another frequent error is stopping after one integration by parts instead of applying it twice and solving algebraically for the repeating integral \( I \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Recognise the structure of the equation: The differential equation is \( \frac{dy}{dx} = e^{x} \sin x \). — Reason: The right-hand side depends only on \( x \), so both sides can be integrated directly with respect to \( x \) to recover \( y \).
  2. Step 2: Integrate both sides: Integrating both sides gives \[ y = \int e^{x} \sin x \, dx + C. \] Let \( I = \int e^{x} \sin x \, dx \). — Reason: We name the integral \( I \) to keep the working tidy; we will evaluate it using integration by parts twice.
  3. Step 3: First application of integration by parts: Choose \( u = \sin x \) and \( dv = e^{x} \, dx \), so \( du = \cos x \, dx \) and \( v = e^{x} \). Applying \( \int u \, dv = uv - \int v \, du \) yields \[ I = e^{x} \sin x - \int e^{x} \cos x \, dx. \] — Reason: We differentiate the trig function and integrate the exponential, which is the standard choice that eventually loops the integral back to itself.
  4. Step 4: Second application of integration by parts: For the remaining integral, choose \( u = \cos x \) and \( dv = e^{x} \, dx \), so \( du = -\sin x \, dx \) and \( v = e^{x} \). Then \[ \int e^{x} \cos x \, dx = e^{x} \cos x - \int e^{x} (-\sin x) \, dx = e^{x} \cos x + \int e^{x} \sin x \, dx. \] — Reason: Applying parts a second time reintroduces \( I \) on the right, which lets us solve for \( I \) algebraically.
  5. Step 5: Solve for \( I \) algebraically: Substitute the result from Step 4 back into the expression from Step 3: \[ I = e^{x} \sin x - \left( e^{x} \cos x + I \right). \] This gives \[ I = e^{x} \sin x - e^{x} \cos x - I, \] so \[ 2I = e^{x}(\sin x - \cos x), \] and therefore \[ I = \frac{e^{x}(\sin x - \cos x)}{2}. \] — Reason: Because \( I \) appeared on both sides, we treat it as an unknown and collect like terms, giving an exact closed form.
  6. Step 6: Write the general solution: Substituting \( I \) back, the general solution is \[ y = \frac{e^{x}(\sin x - \cos x)}{2} + C. \] — Reason: This is the family of all curves whose slope at every point equals \( e^{x} \sin x \); \( C \) distinguishes each individual curve.
  7. Step 7: Apply the initial condition to find \( C \): The curve passes through the point \( (0,\, 0) \). Substituting \( x = 0 \) and \( y = 0 \): \[ 0 = \frac{e^{0}(\sin 0 - \cos 0)}{2} + C = \frac{1 \cdot (0 - 1)}{2} + C = -\frac{1}{2} + C. \] Hence \( C = \frac{1}{2} \). — Reason: The given point gives one equation in one unknown \( C \), so the particular solution is uniquely determined.
  8. Step 8: State the particular solution: Replacing \( C \) with \( \frac{1}{2} \) in the general solution gives the particular solution: \[ y = \frac{e^{x}(\sin x - \cos x)}{2} + \frac{1}{2}. \] Multiplying through by 2 yields the equivalent form \[ 2y = e^{x}(\sin x - \cos x) + 1. \] — Reason: This is the unique curve from the family that actually passes through \( (0, 0) \).

Final Answer

\[ y = \frac{e^{x}(\sin x - \cos x)}{2} + \frac{1}{2}, \] which can also be written as \[ 2y = e^{x}(\sin x - \cos x) + 1. \]

Common Mistake

One common mistake: after applying integration by parts twice and reaching \( 2I = e^{x}(\sin x - \cos x) \), students forget to divide by 2 and write \( I = e^{x}(\sin x - \cos x) \) — always divide both sides so that \( I = \frac{e^{x}(\sin x - \cos x)}{2} \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Integrate both sides: \[ y = \int e^{x} \sin x \, dx = I \]
  2. Step 2: Apply integration by parts twice to get \[ I = e^{x} \sin x - \int e^{x} \cos x \, dx = e^{x} \sin x - e^{x} \cos x - I \] so \[ 2I = e^{x}(\sin x - \cos x) \] giving \[ I = \frac{e^{x}(\sin x - \cos x)}{2} + C \]
  3. Step 3: General solution: \[ y = \frac{e^{x}(\sin x - \cos x)}{2} + C \] Using \( y(0) = 0 \): \[ 0 = \frac{e^{0}(0 - 1)}{2} + C \Rightarrow C = \frac{1}{2} \]

Answer: \[ y = \frac{e^{x}(\sin x - \cos x)}{2} + \frac{1}{2}, \] which can also be written as \[ 2y = e^{x}(\sin x - \cos x) + 1. \]

➕ More Examples

More Examples

Example 1

Question: Find the equation of a curve passing through the point \( (0, 1) \) whose differential equation is \( \frac{dy}{dx} = e^x \cos x \).

Solution: We are given the differential equation \( \frac{dy}{dx} = e^x \cos x \) and the curve passes through \( (0, 1) \). Step 1: Separate variables and integrate both sides. \[ dy = e^x \cos x \, dx \] Integrating both sides: \[ y = \int e^x \cos x \, dx \] Step 2: Evaluate \( I = \int e^x \cos x \, dx \) using integration by parts twice. Let \( u = \cos x \) and \( v = e^x \). Then: \[ I = \cos x \cdot e^x - \int (-\sin x) \cdot e^x \, dx \] \[ I = e^x \cos x + \int e^x \sin x \, dx \] Now apply integration by parts to \( \int e^x \sin x \, dx \) with \( u = \sin x \), \( v = e^x \): \[ \int e^x \sin x \, dx = e^x \sin x - \int e^x \cos x \, dx = e^x \sin x - I \] Substituting back: \[ I = e^x \cos x + e^x \sin x - I \] \[ 2I = e^x (\cos x + \sin x) \] \[ I = \frac{e^x (\cos x + \sin x)}{2} \] Step 3: Write the general solution. \[ y = \frac{e^x (\cos x + \sin x)}{2} + C \] Step 4: Apply the initial condition \( (0, 1) \), i.e., when \( x = 0 \), \( y = 1 \). \[ 1 = \frac{e^0 (\cos 0 + \sin 0)}{2} + C \] \[ 1 = \frac{1 \cdot (1 + 0)}{2} + C \] \[ 1 = \frac{1}{2} + C \] \[ C = \frac{1}{2} \] Step 5: Write the particular solution. \[ y = \frac{e^x (\cos x + \sin x)}{2} + \frac{1}{2} \] This can also be written as: \[ 2y = e^x (\sin x + \cos x) + 1 \]

Answer: \( 2y = e^x (\sin x + \cos x) + 1 \)

Example 2

Question: Find the equation of a curve passing through the point \( (0, 2) \) whose differential equation is \( \frac{dy}{dx} = x \cdot e^{2x} \).

Solution: We are given the differential equation \( \frac{dy}{dx} = x \cdot e^{2x} \) and the curve passes through \( (0, 2) \). Step 1: Separate variables and integrate both sides. \[ dy = x \cdot e^{2x} \, dx \] Integrating both sides: \[ y = \int x \cdot e^{2x} \, dx \] Step 2: Evaluate \( I = \int x \cdot e^{2x} \, dx \) using integration by parts. Let \( u = x \) so \( \frac{du}{dx} = 1 \), and let \( \frac{dv}{dx} = e^{2x} \) so \( v = \frac{e^{2x}}{2} \). By the integration by parts formula: \[ I = x \cdot \frac{e^{2x}}{2} - \int 1 \cdot \frac{e^{2x}}{2} \, dx \] \[ I = \frac{x e^{2x}}{2} - \frac{1}{2} \cdot \frac{e^{2x}}{2} \] \[ I = \frac{x e^{2x}}{2} - \frac{e^{2x}}{4} \] Step 3: Write the general solution. \[ y = \frac{x e^{2x}}{2} - \frac{e^{2x}}{4} + C \] Step 4: Apply the initial condition \( (0, 2) \), i.e., when \( x = 0 \), \( y = 2 \). \[ 2 = \frac{0 \cdot e^{0}}{2} - \frac{e^{0}}{4} + C \] \[ 2 = 0 - \frac{1}{4} + C \] \[ C = 2 + \frac{1}{4} = \frac{9}{4} \] Step 5: Write the particular solution. \[ y = \frac{x e^{2x}}{2} - \frac{e^{2x}}{4} + \frac{9}{4} \] This can also be written as: \[ 4y = 2x e^{2x} - e^{2x} + 9 \] or equivalently: \[ 4y = e^{2x}(2x - 1) + 9 \]

Answer: \( 4y = e^{2x}(2x - 1) + 9 \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the equation of a curve passing through the point \( (0, 1) \) whose differential equation is \( \frac{dy}{dx} = e^x \cos x \).

Solution

  1. Step 1: Write the differential equation: We are given: \[ \frac{dy}{dx} = e^x \cos x \] Separating variables and integrating both sides: \[ \int dy = \int e^x \cos x \, dx \]
  2. Step 2: Evaluate \( \int e^x \cos x \, dx \) using integration by parts: Let \( I = \int e^x \cos x \, dx \). Applying integration by parts, taking \( \cos x \) as the first function and \( e^x \) as the second function: \[ I = \cos x \cdot e^x - \int (-\sin x) \cdot e^x \, dx \] So we get: \[ I = e^x \cos x + \int e^x \sin x \, dx \] Now apply integration by parts again to \( \int e^x \sin x \, dx \), taking \( \sin x \) as the first function and \( e^x \) as the second: \[ \int e^x \sin x \, dx = \sin x \cdot e^x - \int \cos x \cdot e^x \, dx = e^x \sin x - I \] Substituting back: \[ I = e^x \cos x + e^x \sin x - I \]
  3. Step 3: Solve for \( I \): Bringing \( I \) to the left side: \[ 2I = e^x \cos x + e^x \sin x \] Therefore: \[ I = \frac{e^x (\cos x + \sin x)}{2} + C \]
  4. Step 4: Write the general solution: From Step 1, \( y = I \), so the general solution is: \[ y = \frac{e^x (\sin x + \cos x)}{2} + C \]
  5. Step 5: Apply the initial condition \( (0, 1) \): Substituting \( x = 0 \) and \( y = 1 \) into the general solution: \[ 1 = \frac{e^0 (\sin 0 + \cos 0)}{2} + C \] \[ 1 = \frac{1 \cdot (0 + 1)}{2} + C \] \[ 1 = \frac{1}{2} + C \] Therefore \( C = \dfrac{1}{2} \).
  6. Step 6: Write the particular solution: Substituting \( C = \dfrac{1}{2} \) back into the general solution: \[ y = \frac{e^x (\sin x + \cos x)}{2} + \frac{1}{2} \] This can also be written as: \[ 2y = e^x (\sin x + \cos x) + 1 \]

Answer: \[ y = \frac{e^x (\sin x + \cos x)}{2} + \frac{1}{2} \] or equivalently \[ 2y = e^x (\sin x + \cos x) + 1 \]

Everything you get with Solver7

More questions in Differential Equations

Chapter 9 Examples Q1(i) 65/2/1 2022 / Section A Q1 Chapter 9 Examples Q1(ii) 65/2/2 2023 / Section A Q2 Chapter 9 Examples Q1(iii) 65/2/2 2023 / Section A Q3 Chapter 9 Examples Q2 Chapter 9 Examples Q3 Chapter 9 Examples Q4 Chapter 9 Examples Q5 65/1/1 2023 / Section A Q7 65/2/1 2024 / Section A Q7 65/3/1 2024 / Section A Q7 65/4/1 2022 / Section A Q5 Chapter 9 Examples Q6 65/1/1 2024 / Section A Q8 65/3/1 2023 / Section A Q8 Chapter 9 Examples Q7 65/3/1 2023 / Section A Q9 65/4/2 2024 / Section A Q9 Chapter 9 Examples Q8 65(B) 2026 / Section A Q10 65/4/1 2023 / Section A Q10 Chapter 9 Examples Q9 65(B) 2026 / Section A Q11 65/1/1 2026 / Section A Q11 65/2/1 2022 / Section B Q9 65/4/1 2023 / Section A Q11 Chapter 9 Examples Q10 65/1/1 2026 / Section A Q12 65/4/1 2026 / Section A Q12 Chapter 9 Examples Q11 65/3/1 2026 / Section A Q13 65/4/1 2026 / Section A Q13 65/4/2 2024 / Section A Q13 65/5/1 2026 / Section A Q13 Chapter 9 Examples Q12 65/1/1 2024 / Section A Q14 65/2/1 2024 / Section A Q14 65/5/1 2026 / Section A Q14 Chapter 9 Examples Q13 65/1/1 2023 / Section A Q15 65/2/3 2026 / Section A Q15 Chapter 9 Examples Q14 65/2/3 2026 / Section A Q16 65/4/1 2022 / Section C Q12(a) Chapter 9 Examples Q15 65/4/1 2022 / Section C Q12(b) Chapter 9 Examples Q16 Chapter 9 Examples Q17 65/3/1 2026 / Section A Q19 Chapter 9 Examples Q18 Chapter 9 Miscellaneous Examples Q19 Chapter 9 Miscellaneous Examples Q20 Chapter 9 Miscellaneous Examples Q21 Chapter 9 Miscellaneous Examples Q22 Exercise 9.1 Q1 Exercise 9.1 Q2 Exercise 9.1 Q3 Exercise 9.1 Q4