Detailed Explanation
A function is called a solution of a differential equation if, when we substitute the function and its derivative into the equation, both sides become equal (the equation is satisfied). Here we are given an explicit function \( y = \sqrt{a^2 - x^2} \). To verify it, we first differentiate \( y \) with respect to \( x \) to find \( \frac{dy}{dx} \), then plug \( y \) and \( \frac{dy}{dx} \) into the left-hand side of \( x + y \frac{dy}{dx} = 0 \). If the left-hand side reduces to \( 0 \), the function is indeed a solution.
Formula Used
\[ \frac{d}{dx}\left( \sqrt{u} \right) = \frac{1}{2\sqrt{u}} \cdot \frac{du}{dx} \]
Solution
- Step 1: Write down the given function. \[ y = \sqrt{a^2 - x^2} \] Here \( a \) is a constant and \( x \in (-a, a) \), so \( a^2 - x^2 > 0 \) and the square root is well defined.
- Step 2: Differentiate \( y \) with respect to \( x \) using the chain rule. Treating \( u = a^2 - x^2 \), we have \[ \frac{dy}{dx} = \frac{1}{2\sqrt{a^2 - x^2}} \cdot \frac{d}{dx}\left( a^2 - x^2 \right). \]
- Step 3: Compute the inner derivative. Since \( a^2 \) is constant, \[ \frac{d}{dx}\left( a^2 - x^2 \right) = -2x. \] Therefore \[ \frac{dy}{dx} = \frac{-2x}{2\sqrt{a^2 - x^2}} = \frac{-x}{\sqrt{a^2 - x^2}}. \]
- Step 4: Substitute \( y \) and \( \frac{dy}{dx} \) into the left-hand side of the differential equation. \[ x + y \frac{dy}{dx} = x + \sqrt{a^2 - x^2} \cdot \frac{-x}{\sqrt{a^2 - x^2}}. \]
- Step 5: Simplify by cancelling \( \sqrt{a^2 - x^2} \) (valid because \( y \ne 0 \)). \[ x + \left( -x \right) = x - x = 0. \] The left-hand side equals the right-hand side, so the equation is satisfied.
Final Answer
Since substituting \( y = \sqrt{a^2 - x^2} \) and \( \frac{dy}{dx} = \frac{-x}{\sqrt{a^2 - x^2}} \) makes \( x + y \frac{dy}{dx} = 0 \), the given function is a solution of the differential equation for \( x \in (-a, a) \) and \( y \ne 0 \).
Common Mistake
A common mistake is forgetting the chain rule and writing \( \frac{dy}{dx} = \frac{1}{2\sqrt{a^2 - x^2}} \) without multiplying by the inner derivative \( -2x \). Always differentiate the expression inside the square root as well.