Find the general solution to the differential equation .
Opening subject page...
Loading your content
Differential Equations Quiz
Practice Solving Exact Des in Differential Equations with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
Question 1 / 20
0 of 20 answered
Find the general solution to the differential equation (ysin(x)+xycos(x))dx+(xsin(x)+1)dy=0.
This quiz focuses on Solving Exact Des, giving you a quick way to practice the rules, question types, and explanations that matter most for Differential Equations.
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
Find the general solution to the differential equation (ysin(x)+xycos(x))dx+(xsin(x)+1)dy=0.
Explanation: When you encounter a differential equation in the form M(x,y)dx+N(x,y)dy=0, you should first check if it's exact. An exact equation has the property that ∂y∂M=∂x∂N, and its solution comes from finding a function F(x,y)=C whose total differential equals the given equation. Here, M(x,y)=ysin(x)+xycos(x) and N(x,y)=xsin(x)+1. Let's verify exactness: ∂y∂M=sin(x)+xcos(x) and ∂x∂N=sin(x)+xcos(x). Since these are equal, the equation is exact. To find the solution, integrate M with respect to x: F(x,y)=y∫(sin(x)+xcos(x))dx=y(xsin(x)+C1)=yxsin(x)+C1y. Adding any function of y alone, we get F(x,y)=yxsin(x)+g(y). Using ∂y∂F=N: xsin(x)+g′(y)=xsin(x)+1, so g′(y)=1 and g(y)=y. Therefore, F(x,y)=yxsin(x)+y=y(xsin(x)+1), giving us the solution y(xsin(x)+1)=C. Answer A omits the constant term. Answer C uses cosine instead of sine and has incorrect signs. Answer D includes extra terms that don't belong in this solution. Remember: for exact equations, always verify the exactness condition first, then integrate systematically to build the solution function.
Consider the initial value problem (xy+6x)dx+(ln(x)−2)dy=0, with the initial condition y(e)=4. What is the value of y(1)?
Explanation: Let M=y/x+6x and N=ln(x)−2. The equation is defined for x>0. Check for exactness: ∂y∂M=1/x and ∂x∂N=1/x. The equation is exact. Find the potential function F(x,y) by integrating N with respect to y: F(x,y)=∫(ln(x)−2)dy=y(ln(x)−2)+h(x). Differentiate with respect to x: ∂x∂F=y(1/x)+h′(x). Set this equal to M: y/x+h′(x)=y/x+6x. So, h′(x)=6x, which gives h(x)=3x2. The general solution is y(ln(x)−2)+3x2=C. Apply the initial condition y(e)=4: 4(ln(e)−2)+3e2=C⟹4(1−2)+3e2=C⟹C=3e2−4. The particular solution is y(ln(x)−2)+3x2=3e2−4. To find y(1), substitute x=1: y(1)(ln(1)−2)+3(1)2=3e2−4⟹y(1)(0−2)+3=3e2−4⟹−2y(1)=3e2−7⟹y(1)=27−3e2.
Consider the differential equation (2x+y)dx+(x−y)dy=0. Which of the following statements is true?
Explanation: When you encounter a differential equation in the form M(x,y)dx+N(x,y)dy=0, your first step should be checking if it's exact by testing whether ∂y∂M=∂x∂N. Here, M(x,y)=2x+y and N(x,y)=x−y. Computing the partial derivatives: ∂y∂M=1 and ∂x∂N=1. Since these are equal, the equation is exact. For an exact equation, there exists a function F(x,y) such that ∂x∂F=M and ∂y∂F=N. To find F, integrate M with respect to x: F(x,y)=∫(2x+y)dx=x2+xy+g(y) To find g(y), use the condition ∂y∂F=N: ∂y∂F=x+g′(y)=x−y Therefore, g′(y)=−y, so g(y)=−21y2 This gives us F(x,y)=x2+xy−21y2, and the general solution is x2+xy−21y2=C. Option A is wrong because no integrating factor is needed—the equation is already exact. Option B incorrectly claims the equation isn't exact when our calculation shows it is. Option C has the wrong solution form entirely. Always verify exactness first before seeking integrating factors. This systematic approach prevents unnecessary work and ensures you don't miss when an equation is already in its simplest exact form.
The differential equation M(x,y)dx+N(x,y)dy=0 is known to be exact with potential function F(x,y). If a new differential equation is formed as (M(x,y)+f(x))dx+(N(x,y)+g(y))dy=0, where f(x) and g(y) are continuous functions, under what condition is this new equation also exact?
Explanation: When you encounter questions about exactness of differential equations, remember that the key criterion is whether the mixed partial derivatives are equal: ∂y∂M=∂x∂N. Since the original equation M(x,y)dx+N(x,y)dy=0 is exact, we know that ∂y∂M=∂x∂N. For the new equation (M(x,y)+f(x))dx+(N(x,y)+g(y))dy=0, we need to check if ∂y∂[M(x,y)+f(x)]=∂x∂[N(x,y)+g(y)]. Computing these partial derivatives: the left side gives ∂y∂M+∂y∂f(x)=∂y∂M+0=∂y∂M, since f(x) doesn't depend on y. The right side gives ∂x∂N+∂x∂g(y)=∂x∂N+0=∂x∂N, since g(y) doesn't depend on x. Since ∂y∂M=∂x∂N from the original exact equation, the new equation is also exact regardless of what f(x) and g(y) are. This makes C correct. A is wrong because the derivatives of f and g don't appear in the exactness condition. B and D are incorrect because they impose unnecessary restrictions—the functions can be any continuous functions, not just constants or zero. Study tip: Remember that adding functions of only one variable to each term preserves exactness because mixed partials of single-variable functions are always zero.
For what values of the constants a and b is the differential equation (6xy3+bcos(y))dx+(ax2y2−xsin(y))dy=0 exact?
Explanation: For the differential equation M(x,y)dx+N(x,y)dy=0 to be exact, the condition ∂y∂M=∂x∂N must hold. Here, M(x,y)=6xy3+bcos(y) and N(x,y)=ax2y2−xsin(y). We compute the partial derivatives: ∂y∂M=∂y∂(6xy3+bcos(y))=18xy2−bsin(y). ∂x∂N=∂x∂(ax2y2−xsin(y))=2axy2−sin(y). For the equation to be exact, these two expressions must be identical for all x and y. This means we can equate the coefficients of like terms: 18xy2=2axy2⟹18=2a⟹a=9. −bsin(y)=−sin(y)⟹b=1. Thus, a=9 and b=1.
The differential equation (1+y2sin(2x))dx−2ycos2(x)dy=0 is exact. Let F(x,y) be its potential function satisfying F(0,1)=5. What is the value of F(π/2,2)?
Explanation: When you encounter an exact differential equation, you're looking for a potential function F(x,y) such that ∂x∂F=M and ∂y∂F=N, where the equation is written as Mdx+Ndy=0. Here, M=1+y2sin(2x) and N=−2ycos2(x). To find F(x,y), integrate M with respect to x: F(x,y)=∫(1+y2sin(2x))dx=x−2y2cos(2x)+g(y) To find g(y), use the condition ∂y∂F=N: ∂y∂F=−ycos(2x)+g′(y)=−2ycos2(x) Since cos(2x)=2cos2(x)−1, we have −ycos(2x)=−y(2cos2(x)−1)=−2ycos2(x)+y. Therefore: g′(y)=y, so g(y)=2y2+C Thus: F(x,y)=x−2y2cos(2x)+2y2+C Using F(0,1)=5: 0−21+21+C=5, so C=5. Therefore: F(x,y)=x+2y2(1−cos(2x))+5 At (π/2,2): F(π/2,2)=2π+24(1−(−1))+5=2π+4+5=2π+6 Choice A omits the constant and y2 term. Choice B includes only the original constant. Choice C includes the y2 contribution but misses part of the constant adjustment. Key strategy: Always verify your potential function by checking both partial derivative conditions, and don't forget to apply initial conditions to determine all constants.
Find the implicit solution to the initial value problem (y2exy2+4x3)dx+(2xyexy2−3y2)dy=0, with y(1)=0.
Explanation: When you encounter a differential equation of the form M(x,y)dx+N(x,y)dy=0, check if it's exact by verifying whether ∂y∂M=∂x∂N. Here, M=y2exy2+4x3 and N=2xyexy2−3y2. Taking partial derivatives: ∂y∂M=2yexy2+y2⋅exy2⋅2xy=2yexy2(1+xy2) ∂x∂N=2yexy2+2xy⋅exy2⋅y2=2yexy2(1+xy2) Since these are equal, the equation is exact. The solution has the form F(x,y)=C where ∂x∂F=M and ∂y∂F=N. Integrating ∂x∂F=y2exy2+4x3: F=exy2+x4+g(y) To find g(y), use ∂y∂F=N: 2xyexy2+g′(y)=2xyexy2−3y2 This gives g′(y)=−3y2, so g(y)=−y3. Therefore: F(x,y)=exy2+x4−y3 Applying the initial condition y(1)=0: e1⋅02+14−03=e0+1=2 The solution is exy2+x4−y3=2, which is choice C. Choice A has an extra factor of x in the exponential term. Choice B uses the wrong constant (1 instead of 2). Choice D has incorrect coefficients (4 and 3 instead of 1). Remember: always check if a differential equation is exact first, then integrate systematically and apply initial conditions carefully to determine the constant.
A first-order differential equation is given by dxdy=−3x2y22xy3+sec2(x). What is the general solution?
Explanation: First, rewrite the equation in the standard form M(x,y)dx+N(x,y)dy=0. From dxdy=−3x2y22xy3+sec2(x), we get (3x2y2)dy=−(2xy3+sec2(x))dx, which is (2xy3+sec2(x))dx+(3x2y2)dy=0. Let M(x,y)=2xy3+sec2(x) and N(x,y)=3x2y2. Check for exactness: ∂y∂M=6xy2 and ∂x∂N=6xy2. The equation is exact. We find a potential function F(x,y). Integrating N with respect to y: F(x,y)=∫3x2y2dy=x2y3+h(x). Differentiating with respect to x: ∂x∂F=2xy3+h′(x). Setting this equal to M: 2xy3+h′(x)=2xy3+sec2(x). This gives h′(x)=sec2(x), so h(x)=tan(x). The potential function is F(x,y)=x2y3+tan(x). The general solution is F(x,y)=C, which is x2y3+tan(x)=C.
For what value of the constant k is the differential equation (y3+kxy4−2x)dx+(3xy2+20x2y3)dy=0 exact?
Explanation: Let M(x,y)=y3+kxy4−2x and N(x,y)=3xy2+20x2y3. For the equation to be exact, the partial derivative of M with respect to y must equal the partial derivative of N with respect to x. First, compute ∂y∂M: ∂y∂(y3+kxy4−2x)=3y2+4kxy3. Next, compute ∂x∂N: ∂x∂(3xy2+20x2y3)=3y2+40xy3. Set the two partial derivatives equal to each other: 3y2+4kxy3=3y2+40xy3. Subtracting 3y2 from both sides gives: 4kxy3=40xy3. Assuming x and y are not identically zero, we can divide by 4xy3 to find k: k=440=10.
Find the particular solution to the exact differential equation (2xy2+cosx)dx+(2x2y−siny)dy=0 subject to the initial condition y(0)=π.
Explanation: The equation is exact because ∂y∂M=∂y∂(2xy2+cosx)=4xy and ∂x∂N=∂x∂(2x2y−siny)=4xy. To find the solution F(x,y)=C, we integrate M(x,y) with respect to x: F(x,y)=∫(2xy2+cosx)dx=x2y2+sinx+g(y). To find g(y), we differentiate F(x,y) with respect to y and set it equal to N(x,y): ∂y∂F=2x2y+g′(y)=2x2y−siny. This implies g′(y)=−siny. Integrating with respect to y gives g(y)=cosy. The general solution is F(x,y)=x2y2+sinx+cosy=C. Apply the initial condition y(0)=π: 02π2+sin(0)+cos(π)=C 0+0+(−1)=C⟹C=−1. Thus, the particular solution is x2y2+sinx+cosy=−1. Distractor B arises from the common error cos(π)=1.
A solution to the exact differential equation (yexy+cosx)dx+(xexy−1)dy=0 passes through the point (2π,0). What is the value of y when x=0?
Explanation: When you encounter a differential equation like this, you need to recognize it's exact and solve by finding a potential function whose partial derivatives match the given coefficients. For an exact equation Mdx+Ndy=0, there exists a function F(x,y) where ∂x∂F=M=yexy+cosx and ∂y∂F=N=xexy−1. To find F, integrate the first equation with respect to x: F(x,y)=∫(yexy+cosx)dx=exy+sinx+g(y) To find g(y), take the partial derivative with respect to y and set it equal to N: ∂y∂F=xexy+g′(y)=xexy−1 This gives us g′(y)=−1, so g(y)=−y+C. Therefore, F(x,y)=exy+sinx−y=C. Using the initial condition (2π,0): e(π/2)(0)+sin(2π)−0=1+1−0=2 So our solution is exy+sinx−y=2. When x=0: e0+sin(0)−y=2, which gives us 1+0−y=2, so y=−1. Choice A) y=2 incorrectly uses the constant value. Choice B) y=1 likely comes from forgetting the −y term. Choice C) y=0 might result from confusing the initial condition coordinates. Always verify your potential function by checking both partial derivatives match the original equation's coefficients.
The differential equation (2y2+3x)dx+2xydy=0 can be made exact by an integrating factor μ(x) that is a function of x alone. Find this integrating factor.
Explanation: When you encounter a differential equation that isn't exact, you need to find an integrating factor to make it exact. For the equation (2y2+3x)dx+2xydy=0, first check if it's exact by testing whether ∂y∂M=∂x∂N, where M=2y2+3x and N=2xy. We get ∂y∂M=4y and ∂x∂N=2y. Since 4y=2y, the equation isn't exact. To find an integrating factor μ(x) that depends only on x, use the formula: dxdμ=μ⋅N∂y∂M−∂x∂N Substituting our values: dxdμ=μ⋅2xy4y−2y=μ⋅2xy2y=xμ This gives us μdμ=xdx, which integrates to ln∣μ∣=ln∣x∣+C. Therefore, μ(x)=x. Looking at the wrong answers: A) x2 would arise from a different coefficient in our calculation. C) ex would result if the integrating factor formula yielded a constant instead of 1/x. D) 1/x would be correct if we had mistakenly swapped the numerator terms in our fraction. Study tip: Always verify that (∂y∂M−∂x∂N)/N depends only on x before using this method. If it depends on both variables, try (∂x∂N−∂y∂M)/M for a μ(y) instead.
The differential equation dx+(2y2−yx)dy=0 is not exact but can be made exact using an integrating factor μ(y) that is a function of y alone. Find the general solution of the resulting exact equation.
Explanation: When you encounter a non-exact differential equation, your goal is to find an integrating factor that makes it exact, then solve the resulting equation systematically. First, verify this equation isn't exact by checking if ∂y∂M=∂x∂N where M=1 and N=2y2−yx. Since ∂y∂M=0 but ∂x∂N=−y1, the equation is indeed non-exact. To find the integrating factor μ(y), use the formula: dydlnμ=N∂y∂M−∂x∂N=2y2−yx0−(−y1)=y(2y2−yx)1=2y3−x1 Actually, let's try μ(y)=y1. Multiplying the original equation by y1: y1dx+(2y−y2x)dy=0 Now M=y1 and N=2y−y2x. Check: ∂y∂M=−y21 and ∂x∂N=−y21. Perfect—it's exact! For an exact equation, F(x,y)=C where ∂x∂F=y1 and ∂y∂F=2y−y2x. Integrating the first: F=yx+g(y). Using the second condition gives g(y)=y2, so F=yx+y2. The answer is B. Choice A has the wrong sign, while C and D represent different solution approaches that don't match our exact equation's structure. Remember: always verify your integrating factor makes the equation exact before proceeding to solve.
The differential equation (2x+y)dx+(x−2y)dy=0 is exact, with general solution F(x,y)=x2+xy−y2=C. Which of the following differential equations has solution curves that are orthogonal trajectories to the solution curves of the original equation?
Explanation: The slope of the tangent line to the solution curves of the given equation Mdx+Ndy=0 is given by dxdy=−NM. For the given equation, the slope is dxdy=−x−2y2x+y=2y−x2x+y. The slope of the orthogonal trajectories, let's call it dxdy⊥, is the negative reciprocal of the original slope. dxdy⊥=−2y−x2x+y1=−2x+y2y−x=2x+yx−2y. Now, we convert this slope back into a differential equation of the form M⊥dx+N⊥dy=0. From dxdy=2x+yx−2y, we can write (2x+y)dy=(x−2y)dx. Rearranging this into the standard form gives: (x−2y)dx−(2x+y)dy=0. This matches option C. Option A results from a sign error when finding the negative reciprocal. Option B represents the original family of curves.
Find the general solution to the differential equation dxdy=sin(x)+yx−ycos(x).
Explanation: First, rewrite the equation in the standard form M(x,y)dx+N(x,y)dy=0. (sin(x)+y)dy=(x−ycos(x))dx (x−ycos(x))dx−(sin(x)+y)dy=0. Here, M(x,y)=x−ycos(x) and N(x,y)=−(sin(x)+y). Check for exactness: ∂y∂M=−cos(x). ∂x∂N=−cos(x). The equation is exact. Find the potential function F(x,y). Integrate M with respect to x: F(x,y)=∫(x−ycos(x))dx=2x2−ysin(x)+g(y). Differentiate F with respect to y and set it equal to N: ∂y∂F=−sin(x)+g′(y)=−sin(x)−y. This implies g′(y)=−y. Integrating gives g(y)=−2y2. The general solution is F(x,y)=C, which is 2x2−ysin(x)−2y2=C. Distractor B results from an incorrect sign during the initial rearrangement of the equation.
The implicit solution to an exact first-order differential equation is given by F(x,y)=x2sin(y)+y2ex=C. Which of the following is the differential equation?
Explanation: An exact differential equation is of the form M(x,y)dx+N(x,y)dy=0, where M=∂x∂F and N=∂y∂F for some function F(x,y). The solution is given by F(x,y)=C. Given F(x,y)=x2sin(y)+y2ex, we need to find its partial derivatives. M(x,y)=∂x∂F=∂x∂(x2sin(y)+y2ex)=2xsin(y)+y2ex. N(x,y)=∂y∂F=∂y∂(x2sin(y)+y2ex)=x2cos(y)+2yex. The corresponding differential equation is Mdx+Ndy=0, which is: (2xsin(y)+y2ex)dx+(x2cos(y)+2yex)dy=0. Distractor B incorrectly swaps M and N. Distractor C introduces an incorrect sign. Distractor D contains errors in partial differentiation.
Consider the differential equation M(x,y)dx+N(x,y)dy=0. If ∂y∂M=∂x∂N for all (x,y) in a simply connected region R, which statement is guaranteed to be true?
Explanation: The condition ∂y∂M=∂x∂N is the test for exactness. If a differential equation is exact on a simply connected region, there exists a potential function F(x,y) such that ∂x∂F=M and ∂y∂F=N. The general solution to the differential equation is given implicitly by F(x,y)=C, where C is an arbitrary constant. Each value of C defines a specific curve, and the set of these curves for all possible C forms a family of level curves of the surface z=F(x,y). Distractor A is incorrect; exact equations are not necessarily separable. Distractor B is incorrect; exactness alone does not guarantee uniqueness for an initial value problem, which requires additional conditions like the Lipschitz condition. Distractor C is incorrect because the partial derivatives are switched; it should be M=∂x∂F and N=∂y∂F.
Consider the differential equation (3x2y+ex)dx+(x3+2y)dy=0. After verifying that this equation is exact, what is the general solution?
Explanation: First verify exactness: ∂M/∂y = ∂(3x²y + eˣ)/∂y = 3x² and ∂N/∂x = ∂(x³ + 2y)/∂x = 3x². Since these are equal, the equation is exact. To find F(x,y), integrate M with respect to x: F = ∫(3x²y + eˣ)dx = x³y + eˣ + g(y). Then ∂F/∂y = x³ + g'(y) = N = x³ + 2y, so g'(y) = 2y and g(y) = y². Therefore F(x,y) = x³y + eˣ + y² = C. Choice B has wrong sign on y². Choice C incorrectly adds all terms. Choice D has coefficient error in y² term.
For the differential equation (yexy+2x)dx+(xexy+3y2)dy=0, which of the following represents the correct potential function F(x,y) such that dF=0?
Explanation: First check exactness: ∂M/∂y = ∂(yeˣʸ + 2x)/∂y = eˣʸ + xyeˣʸ and ∂N/∂x = ∂(xeˣʸ + 3y²)/∂x = eˣʸ + xyeˣʸ. Since these are equal, the equation is exact. To find F, integrate M with respect to x: F = ∫(yeˣʸ + 2x)dx = eˣʸ + x² + g(y). Then ∂F/∂y = xeˣʸ + g'(y) = N = xeˣʸ + 3y², so g'(y) = 3y² and g(y) = y³. Therefore F(x,y) = eˣʸ + x² + y³. Choice B incorrectly lists the coefficients M and N. Choice C has wrong coefficient on y³. Choice D incorrectly includes xy as a factor of eˣʸ.
The differential equation (ey+yex)dx+(xey+ex)dy=0 is exact. After finding the potential function F(x,y), what is ∂x∂y∂2F?
Explanation: When you encounter an exact differential equation, you're working with equations where M(x,y)dx+N(x,y)dy=0 and ∂y∂M=∂x∂N. The key insight is that there exists a potential function F(x,y) such that ∂x∂F=M and ∂y∂F=N. Here, M(x,y)=ey+yex and N(x,y)=xey+ex. The mixed partial derivative ∂x∂y∂2F can be found by taking ∂y∂M or ∂x∂N (they're equal for exact equations). Taking ∂y∂M=∂y∂(ey+yex)=ey+ex, which is answer B. Let's verify: ∂x∂N=∂x∂(xey+ex)=ey+ex. Perfect match. Looking at the wrong answers: A) ex+yex appears to be ∂x∂M, not the mixed partial. C) xey+yex incorrectly combines terms from both M and N. D) ey+xey seems to be ∂y∂N, which gives the wrong mixed partial. Remember: For exact equations, ∂x∂y∂2F=∂y∂M=∂x∂N. This equality is what makes the equation exact in the first place, and either calculation gives you the mixed partial derivative.