Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games


Sign up

Log in

Opening subject page...

Loading your content

Practice

  • All Subjects
  • Algebra Flashcards
  • SAT Math Practice Tests
  • Math Question of the Day
  • Live Classes
  • On-Demand Courses

Varsity Tutors

  • Find a Tutor
  • Test Prep
  • Online Classes
  • K-12 Learning
  • College Search
  • VarsityTutors.com

© 2026 Varsity Tutors. All rights reserved.

← Back to quizzes

Differential Equations Quiz

Differential Equations Quiz: Integrating Factors Non Exact

Practice Integrating Factors Non Exact 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 / 14

0 of 14 answered

The differential equation (y4+2y)dx+(xy3+2y4−4x)dy=0(y^4 + 2y) dx + (xy^3 + 2y^4 - 4x) dy = 0(y4+2y)dx+(xy3+2y4−4x)dy=0 is not exact. An integrating factor of the form μ(y)=yk\mu(y) = y^kμ(y)=yk makes the equation exact. What is the value of kkk?

Select an answer to continue

What this quiz covers

This quiz focuses on Integrating Factors Non Exact, giving you a quick way to practice the rules, question types, and explanations that matter most for Differential Equations.

How to use this quiz

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.

All questions

Question 1

The differential equation (y4+2y)dx+(xy3+2y4−4x)dy=0(y^4 + 2y) dx + (xy^3 + 2y^4 - 4x) dy = 0(y4+2y)dx+(xy3+2y4−4x)dy=0 is not exact. An integrating factor of the form μ(y)=yk\mu(y) = y^kμ(y)=yk makes the equation exact. What is the value of kkk?

  1. k=3k = 3k=3
  2. k=−3k = -3k=−3 (correct answer)
  3. k=−2k = -2k=−2
  4. k=−4k = -4k=−4

Explanation: Let M(x,y)=y4+2yM(x,y) = y^4 + 2yM(x,y)=y4+2y and N(x,y)=xy3+2y4−4xN(x,y) = xy^3 + 2y^4 - 4xN(x,y)=xy3+2y4−4x. We calculate the partial derivatives: ∂M∂y=4y3+2\frac{\partial M}{\partial y} = 4y^3 + 2∂y∂M​=4y3+2 and ∂N∂x=y3−4\frac{\partial N}{\partial x} = y^3 - 4∂x∂N​=y3−4. Since ∂M∂y≠∂N∂x\frac{\partial M}{\partial y} \neq \frac{\partial N}{\partial x}∂y∂M​=∂x∂N​, the equation is not exact. For an integrating factor that is a function of yyy alone, μ(y)\mu(y)μ(y), the expression 1M(∂N∂x−∂M∂y)\frac{1}{M}\left(\frac{\partial N}{\partial x} - \frac{\partial M}{\partial y}\right)M1​(∂x∂N​−∂y∂M​) must be a function of yyy only. Let's compute this: (y3−4)−(4y3+2)y4+2y=−3y3−6y(y3+2)=−3(y3+2)y(y3+2)=−3y\frac{(y^3 - 4) - (4y^3 + 2)}{y^4 + 2y} = \frac{-3y^3 - 6}{y(y^3 + 2)} = \frac{-3(y^3 + 2)}{y(y^3 + 2)} = -\frac{3}{y}y4+2y(y3−4)−(4y3+2)​=y(y3+2)−3y3−6​=y(y3+2)−3(y3+2)​=−y3​. This is a function of yyy only. The integrating factor is μ(y)=e∫−3ydy=e−3ln⁡∣y∣=y−3\mu(y) = e^{\int -\frac{3}{y} dy} = e^{-3\ln|y|} = y^{-3}μ(y)=e∫−y3​dy=e−3ln∣y∣=y−3. Comparing this to the form μ(y)=yk\mu(y)=y^kμ(y)=yk, we find that k=−3k=-3k=−3.

Question 2

For a non-exact differential equation M(x,y)dx+N(x,y)dy=0M(x,y)dx + N(x,y)dy = 0M(x,y)dx+N(x,y)dy=0, an analyst seeks an integrating factor. Under which of the following conditions is the analyst guaranteed to find a simplified integrating factor μ(x)\mu(x)μ(x) that depends only on xxx?

  1. When the expression 1N(∂M∂y−∂N∂x)\frac{1}{N} \left( \frac{\partial M}{\partial y} - \frac{\partial N}{\partial x} \right)N1​(∂y∂M​−∂x∂N​) simplifies to a function of xxx alone. (correct answer)
  2. When the expression 1M(∂N∂x−∂M∂y)\frac{1}{M} \left( \frac{\partial N}{\partial x} - \frac{\partial M}{\partial y} \right)M1​(∂x∂N​−∂y∂M​) simplifies to a function of yyy alone.
  3. When N(x,y)N(x,y)N(x,y) is independent of yyy, i.e., N(x,y)=N(x)N(x,y)=N(x)N(x,y)=N(x).
  4. When M(x,y)M(x,y)M(x,y) and N(x,y)N(x,y)N(x,y) are both homogeneous functions of the same degree.

Explanation: If a non-exact differential equation Mdx+Ndy=0Mdx+Ndy=0Mdx+Ndy=0 has an integrating factor μ(x)\mu(x)μ(x) that depends only on xxx, then the equation μ(x)Mdx+μ(x)Ndy=0\mu(x)Mdx + \mu(x)Ndy=0μ(x)Mdx+μ(x)Ndy=0 must be exact. The condition for exactness is ∂∂y(μM)=∂∂x(μN)\frac{\partial}{\partial y}(\mu M) = \frac{\partial}{\partial x}(\mu N)∂y∂​(μM)=∂x∂​(μN). Applying the product rule gives μ∂M∂y=dμdxN+μ∂N∂x\mu \frac{\partial M}{\partial y} = \frac{d\mu}{dx}N + \mu \frac{\partial N}{\partial x}μ∂y∂M​=dxdμ​N+μ∂x∂N​. Rearranging this gives dμdxN=μ(∂M∂y−∂N∂x)\frac{d\mu}{dx}N = \mu (\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x})dxdμ​N=μ(∂y∂M​−∂x∂N​), which can be written as 1μdμdx=1N(∂M∂y−∂N∂x)\frac{1}{\mu}\frac{d\mu}{dx} = \frac{1}{N}(\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x})μ1​dxdμ​=N1​(∂y∂M​−∂x∂N​). For this to be solvable for μ(x)\mu(x)μ(x), the left side, which is a function of xxx alone, must equal the right side. Therefore, the right side must also be a function of xxx alone. This is the condition stated in choice A. Choice B is the condition for an integrating factor μ(y)\mu(y)μ(y). Choice C is not sufficient, as ∂M∂y\frac{\partial M}{\partial y}∂y∂M​ may still depend on yyy. Choice D describes a homogeneous equation, which is solved by a different method.

Question 3

The differential equation (ay3+bxy)dx+(2x2+3xy2)dy=0(ay^3 + bxy)dx + (2x^2 + 3xy^2)dy = 0(ay3+bxy)dx+(2x2+3xy2)dy=0 is made exact by the integrating factor μ(x)=x\mu(x) = xμ(x)=x. What is the value of a+ba+ba+b?

  1. 5
  2. 2
  3. 8 (correct answer)
  4. 6

Explanation: Multiplying the given differential equation by the integrating factor μ(x)=x\mu(x) = xμ(x)=x, we obtain a new equation: (axy3+bx2y)dx+(2x3+3x2y2)dy=0(axy^3 + bx^2y)dx + (2x^3 + 3x^2y^2)dy = 0(axy3+bx2y)dx+(2x3+3x2y2)dy=0. Let M∗(x,y)=axy3+bx2yM^*(x,y) = axy^3 + bx^2yM∗(x,y)=axy3+bx2y and N∗(x,y)=2x3+3x2y2N^*(x,y) = 2x^3 + 3x^2y^2N∗(x,y)=2x3+3x2y2. For this new equation to be exact, we must have ∂M∗∂y=∂N∗∂x\frac{\partial M^*}{\partial y} = \frac{\partial N^*}{\partial x}∂y∂M∗​=∂x∂N∗​. Calculating the partial derivatives: ∂M∗∂y=3axy2+bx2\frac{\partial M^*}{\partial y} = 3axy^2 + bx^2∂y∂M∗​=3axy2+bx2 ∂N∗∂x=6x2+6xy2\frac{\partial N^*}{\partial x} = 6x^2 + 6xy^2∂x∂N∗​=6x2+6xy2 Setting them equal: 3axy2+bx2=6x2+6xy23axy^2 + bx^2 = 6x^2 + 6xy^23axy2+bx2=6x2+6xy2. For this equality to hold for all xxx and yyy, the coefficients of like terms must be equal. Equating coefficients of xy2xy^2xy2: 3a=6  ⟹  a=23a = 6 \implies a = 23a=6⟹a=2. Equating coefficients of x2x^2x2: b=6b = 6b=6. The question asks for the value of a+ba+ba+b, which is 2+6=82+6=82+6=8.

Question 4

Consider the differential equation dydx=x2y−y32x3−4xy2\frac{dy}{dx} = \frac{x^2y - y^3}{2x^3 - 4xy^2}dxdy​=2x3−4xy2x2y−y3​. An integrating factor for this equation is of the form μ(y)=yk\mu(y) = y^kμ(y)=yk. Determine the value of kkk.

  1. k=7k = 7k=7
  2. k=−6k = -6k=−6
  3. k=−7k = -7k=−7 (correct answer)
  4. k=6k = 6k=6

Explanation: First, we rewrite the equation in the form M(x,y)dx+N(x,y)dy=0M(x,y)dx + N(x,y)dy = 0M(x,y)dx+N(x,y)dy=0. (2x3−4xy2)dy=(x2y−y3)dx(2x^3 - 4xy^2)dy = (x^2y - y^3)dx(2x3−4xy2)dy=(x2y−y3)dx (y3−x2y)dx+(2x3−4xy2)dy=0(y^3 - x^2y)dx + (2x^3 - 4xy^2)dy = 0(y3−x2y)dx+(2x3−4xy2)dy=0. So, M=y3−x2yM = y^3 - x^2yM=y3−x2y and N=2x3−4xy2N = 2x^3 - 4xy^2N=2x3−4xy2. We find the partial derivatives: ∂M∂y=3y2−x2\frac{\partial M}{\partial y} = 3y^2 - x^2∂y∂M​=3y2−x2 ∂N∂x=6x2−4y2\frac{\partial N}{\partial x} = 6x^2 - 4y^2∂x∂N​=6x2−4y2 The equation is not exact. Since the integrating factor depends on yyy, we compute the expression 1M(∂N∂x−∂M∂y)\frac{1}{M}(\frac{\partial N}{\partial x} - \frac{\partial M}{\partial y})M1​(∂x∂N​−∂y∂M​): (6x2−4y2)−(3y2−x2)y3−x2y=7x2−7y2y(y2−x2)=−7(y2−x2)y(y2−x2)=−7y\frac{(6x^2 - 4y^2) - (3y^2 - x^2)}{y^3 - x^2y} = \frac{7x^2 - 7y^2}{y(y^2 - x^2)} = \frac{-7(y^2 - x^2)}{y(y^2 - x^2)} = -\frac{7}{y}y3−x2y(6x2−4y2)−(3y2−x2)​=y(y2−x2)7x2−7y2​=y(y2−x2)−7(y2−x2)​=−y7​. This is a function of yyy only. The integrating factor is μ(y)=e∫−7ydy=e−7ln⁡∣y∣=y−7\mu(y) = e^{\int -\frac{7}{y} dy} = e^{-7\ln|y|} = y^{-7}μ(y)=e∫−y7​dy=e−7ln∣y∣=y−7. Comparing this to μ(y)=yk\mu(y) = y^kμ(y)=yk, we have k=−7k=-7k=−7.

Question 5

For which of the following non-exact differential equations can an integrating factor μ(x)\mu(x)μ(x), which depends only on xxx, be found?

  1. (y)dx+(2xy−e−2y)dy=0(y)dx + (2xy-e^{-2y})dy=0(y)dx+(2xy−e−2y)dy=0
  2. (2x+y2)dx+(2xy)dy=0(2x+y^2)dx + (2xy)dy = 0(2x+y2)dx+(2xy)dy=0
  3. (xy)dx+(y2+1)dy=0(xy)dx + (y^2+1)dy=0(xy)dx+(y2+1)dy=0
  4. (y2+x)dx+xy dy=0(y^2+x)dx + xy \, dy = 0(y2+x)dx+xydy=0 (correct answer)

Explanation: An integrating factor μ(x)\mu(x)μ(x) exists if the expression P(x)=1N(∂M∂y−∂N∂x)P(x) = \frac{1}{N}(\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x})P(x)=N1​(∂y∂M​−∂x∂N​) is a function of xxx alone. We test each option: (A) M=y,N=2xy−e−2yM=y, N=2xy-e^{-2y}M=y,N=2xy−e−2y. My=1,Nx=2yM_y=1, N_x=2yMy​=1,Nx​=2y. P(x)=1−2y2xy−e−2yP(x) = \frac{1-2y}{2xy-e^{-2y}}P(x)=2xy−e−2y1−2y​, not a function of xxx alone. (B) M=2x+y2,N=2xyM=2x+y^2, N=2xyM=2x+y2,N=2xy. My=2y,Nx=2yM_y=2y, N_x=2yMy​=2y,Nx​=2y. My=NxM_y=N_xMy​=Nx​, so the equation is already exact. (C) M=xy,N=y2+1M=xy, N=y^2+1M=xy,N=y2+1. My=x,Nx=0M_y=x, N_x=0My​=x,Nx​=0. P(x)=x−0y2+1=xy2+1P(x) = \frac{x-0}{y^2+1} = \frac{x}{y^2+1}P(x)=y2+1x−0​=y2+1x​, not a function of xxx alone. (D) M=y2+x,N=xyM=y^2+x, N=xyM=y2+x,N=xy. My=2y,Nx=yM_y=2y, N_x=yMy​=2y,Nx​=y. P(x)=2y−yxy=yxy=1xP(x) = \frac{2y-y}{xy} = \frac{y}{xy} = \frac{1}{x}P(x)=xy2y−y​=xyy​=x1​. This is a function of xxx alone, so an integrating factor μ(x)\mu(x)μ(x) can be found.

Question 6

The differential equation (ytan⁡x)dx+dy=0(y \tan x) dx + dy = 0(ytanx)dx+dy=0 is made exact by an integrating factor of the form μ(x)=sec⁡kx\mu(x) = \sec^k xμ(x)=seckx. What is the value of kkk?

  1. k=−1k = -1k=−1
  2. k=1k = 1k=1 (correct answer)
  3. k=2k = 2k=2
  4. k=−2k = -2k=−2

Explanation: Given the equation (ytan⁡x)dx+1dy=0(y \tan x) dx + 1 dy = 0(ytanx)dx+1dy=0, we have M(x,y)=ytan⁡xM(x,y) = y \tan xM(x,y)=ytanx and N(x,y)=1N(x,y) = 1N(x,y)=1. We calculate the partial derivatives: ∂M∂y=tan⁡x\frac{\partial M}{\partial y} = \tan x∂y∂M​=tanx and ∂N∂x=0\frac{\partial N}{\partial x} = 0∂x∂N​=0. The equation is not exact. To find an integrating factor that is a function of xxx only, we compute the expression 1N(∂M∂y−∂N∂x)=tan⁡x−01=tan⁡x\frac{1}{N}(\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}) = \frac{\tan x - 0}{1} = \tan xN1​(∂y∂M​−∂x∂N​)=1tanx−0​=tanx. Since this is a function of xxx alone, the integrating factor is μ(x)=e∫tan⁡xdx\mu(x) = e^{\int \tan x dx}μ(x)=e∫tanxdx. The integral of tan⁡x\tan xtanx is ln⁡∣sec⁡x∣\ln|\sec x|ln∣secx∣. Thus, μ(x)=eln⁡∣sec⁡x∣=∣sec⁡x∣\mu(x) = e^{\ln|\sec x|} = |\sec x|μ(x)=eln∣secx∣=∣secx∣. We can choose the positive value, so μ(x)=sec⁡x\mu(x) = \sec xμ(x)=secx. Comparing this with the given form μ(x)=sec⁡kx\mu(x) = \sec^k xμ(x)=seckx, we see that k=1k=1k=1.

Question 7

If multiplying the non-exact differential equation M(x,y)dx+N(x,y)dy=0M(x,y)dx + N(x,y)dy=0M(x,y)dx+N(x,y)dy=0 by a non-zero function μ(x,y)\mu(x,y)μ(x,y) results in an exact equation, which of the following statements must be true?

  1. The function μ(x,y)\mu(x,y)μ(x,y) is a particular solution to the original differential equation.
  2. The solutions to the new exact equation are also the solutions to the original equation. (correct answer)
  3. The original equation must have been a first-order linear differential equation.
  4. The function μ(x,y)\mu(x,y)μ(x,y) must be a function of either xxx alone or yyy alone.

Explanation: The purpose of an integrating factor μ(x,y)\mu(x,y)μ(x,y) is to transform a non-exact equation into an exact one without altering the solution set. If y(x)y(x)y(x) is a solution to the original equation, it satisfies M+Ny′=0M+Ny'=0M+Ny′=0. Multiplying by μ\muμ gives μM+μNy′=0\mu M + \mu N y' = 0μM+μNy′=0, so y(x)y(x)y(x) is also a solution to the new equation. Conversely, since μ\muμ is assumed to be non-zero, any solution to the new equation also solves the original. Therefore, the solutions are the same. A is incorrect; μ\muμ is a factor, not a solution curve y(x)y(x)y(x). C is incorrect; this method applies to a wide class of non-linear equations. D is incorrect; while we often seek integrating factors that depend on a single variable for simplicity, more general integrating factors depending on both xxx and yyy exist.

Question 8

What is the general solution of the differential equation (x2+y2+x)dx+(xy)dy=0(x^2+y^2+x)dx + (xy)dy=0(x2+y2+x)dx+(xy)dy=0?

  1. 3x4+6x2y2+4x3=C3x^4 + 6x^2y^2 + 4x^3 = C3x4+6x2y2+4x3=C (correct answer)
  2. 3x4+12x2y2+4x3=C3x^4 + 12x^2y^2 + 4x^3 = C3x4+12x2y2+4x3=C
  3. x4+2x2y2+x3=Cx^4 + 2x^2y^2 + x^3 = Cx4+2x2y2+x3=C
  4. 4x4+6x2y2+3x3=C4x^4 + 6x^2y^2 + 3x^3 = C4x4+6x2y2+3x3=C

Explanation: Let M=x2+y2+xM=x^2+y^2+xM=x2+y2+x and N=xyN=xyN=xy. We find ∂M∂y=2y\frac{\partial M}{\partial y} = 2y∂y∂M​=2y and ∂N∂x=y\frac{\partial N}{\partial x} = y∂x∂N​=y. The equation is not exact. We look for an integrating factor: 1N(∂M∂y−∂N∂x)=2y−yxy=1x\frac{1}{N}(\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}) = \frac{2y-y}{xy} = \frac{1}{x}N1​(∂y∂M​−∂x∂N​)=xy2y−y​=x1​. So, the integrating factor is μ(x)=e∫1xdx=x\mu(x) = e^{\int \frac{1}{x} dx} = xμ(x)=e∫x1​dx=x. Multiplying the DE by xxx yields (x3+xy2+x2)dx+(x2y)dy=0(x^3+xy^2+x^2)dx + (x^2y)dy = 0(x3+xy2+x2)dx+(x2y)dy=0. This new equation is exact. Let M∗=x3+xy2+x2M^*=x^3+xy^2+x^2M∗=x3+xy2+x2 and N∗=x2yN^*=x^2yN∗=x2y. We find the solution f(x,y)=Cf(x,y)=Cf(x,y)=C by integrating N∗N^*N∗ with respect to yyy: f(x,y)=∫x2y dy=12x2y2+h(x)f(x,y) = \int x^2y \, dy = \frac{1}{2}x^2y^2 + h(x)f(x,y)=∫x2ydy=21​x2y2+h(x). Differentiating with respect to xxx: ∂f∂x=xy2+h′(x)\frac{\partial f}{\partial x} = xy^2 + h'(x)∂x∂f​=xy2+h′(x). We set this equal to M∗M^*M∗: xy2+h′(x)=x3+xy2+x2xy^2 + h'(x) = x^3+xy^2+x^2xy2+h′(x)=x3+xy2+x2. This implies h′(x)=x3+x2h'(x) = x^3+x^2h′(x)=x3+x2. Integrating gives h(x)=14x4+13x3h(x) = \frac{1}{4}x^4 + \frac{1}{3}x^3h(x)=41​x4+31​x3. The general solution is 12x2y2+14x4+13x3=C1\frac{1}{2}x^2y^2 + \frac{1}{4}x^4 + \frac{1}{3}x^3 = C_121​x2y2+41​x4+31​x3=C1​. To clear the fractions, we can multiply by 12, giving 6x2y2+3x4+4x3=C6x^2y^2 + 3x^4 + 4x^3 = C6x2y2+3x4+4x3=C.

Question 9

The differential equation 2sin⁡(y2)dx+xycos⁡(y2)dy=02\sin(y^2)dx + xy\cos(y^2)dy = 02sin(y2)dx+xycos(y2)dy=0 is made exact by an integrating factor μ(x)=xk\mu(x) = x^kμ(x)=xk. What is the value of kkk?

  1. k=1k = 1k=1
  2. k=4k = 4k=4
  3. k=−3k = -3k=−3
  4. k=3k = 3k=3 (correct answer)

Explanation: Let M(x,y)=2sin⁡(y2)M(x,y) = 2\sin(y^2)M(x,y)=2sin(y2) and N(x,y)=xycos⁡(y2)N(x,y) = xy\cos(y^2)N(x,y)=xycos(y2). We calculate the partial derivatives using the chain rule: ∂M∂y=2cos⁡(y2)⋅(2y)=4ycos⁡(y2)\frac{\partial M}{\partial y} = 2\cos(y^2) \cdot (2y) = 4y\cos(y^2)∂y∂M​=2cos(y2)⋅(2y)=4ycos(y2). ∂N∂x=ycos⁡(y2)\frac{\partial N}{\partial x} = y\cos(y^2)∂x∂N​=ycos(y2). The equation is not exact. Since the integrating factor depends on xxx, we compute the expression 1N(∂M∂y−∂N∂x)\frac{1}{N}(\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x})N1​(∂y∂M​−∂x∂N​): 4ycos⁡(y2)−ycos⁡(y2)xycos⁡(y2)=3ycos⁡(y2)xycos⁡(y2)=3x\frac{4y\cos(y^2) - y\cos(y^2)}{xy\cos(y^2)} = \frac{3y\cos(y^2)}{xy\cos(y^2)} = \frac{3}{x}xycos(y2)4ycos(y2)−ycos(y2)​=xycos(y2)3ycos(y2)​=x3​. Since this is a function of xxx alone, the integrating factor is μ(x)=e∫3xdx=e3ln⁡∣x∣=∣x∣3\mu(x) = e^{\int \frac{3}{x} dx} = e^{3\ln|x|} = |x|^3μ(x)=e∫x3​dx=e3ln∣x∣=∣x∣3. We can take μ(x)=x3\mu(x) = x^3μ(x)=x3. Comparing this to the form μ(x)=xk\mu(x) = x^kμ(x)=xk, we have k=3k=3k=3.

Question 10

The equation y′−2xy=x2cos⁡(x)y' - \frac{2}{x}y = x^2 \cos(x)y′−x2​y=x2cos(x) is a first-order linear equation. It can also be written in the form M(x,y)dx+N(x,y)dy=0M(x,y)dx + N(x,y)dy = 0M(x,y)dx+N(x,y)dy=0 and made exact using an integrating factor. What is the integrating factor μ(x)\mu(x)μ(x) found by treating it as a non-exact equation?

  1. x2x^2x2
  2. x−2x^{-2}x−2 (correct answer)
  3. cos⁡(x)\cos(x)cos(x)
  4. e−2xe^{-2x}e−2x

Explanation: First, we rewrite the linear equation in differential form Mdx+Ndy=0Mdx+Ndy=0Mdx+Ndy=0. dydx=2xy+x2cos⁡(x)\frac{dy}{dx} = \frac{2}{x}y + x^2\cos(x)dxdy​=x2​y+x2cos(x) dy=(2yx+x2cos⁡(x))dxdy = (\frac{2y}{x} + x^2\cos(x))dxdy=(x2y​+x2cos(x))dx (2yx+x2cos⁡(x))dx−dy=0(\frac{2y}{x} + x^2\cos(x))dx - dy = 0(x2y​+x2cos(x))dx−dy=0. Here, M(x,y)=2yx+x2cos⁡(x)M(x,y) = \frac{2y}{x} + x^2\cos(x)M(x,y)=x2y​+x2cos(x) and N(x,y)=−1N(x,y)=-1N(x,y)=−1. We compute the partial derivatives: ∂M∂y=2x\frac{\partial M}{\partial y} = \frac{2}{x}∂y∂M​=x2​ and ∂N∂x=0\frac{\partial N}{\partial x} = 0∂x∂N​=0. The equation is not exact. We check for an integrating factor of xxx: 1N(∂M∂y−∂N∂x)=1−1(2x−0)=−2x\frac{1}{N}(\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}) = \frac{1}{-1}(\frac{2}{x} - 0) = -\frac{2}{x}N1​(∂y∂M​−∂x∂N​)=−11​(x2​−0)=−x2​. This is a function of xxx alone. The integrating factor is μ(x)=e∫−2xdx=e−2ln⁡∣x∣=eln⁡(x−2)=x−2\mu(x) = e^{\int -\frac{2}{x} dx} = e^{-2\ln|x|} = e^{\ln(x^{-2})} = x^{-2}μ(x)=e∫−x2​dx=e−2ln∣x∣=eln(x−2)=x−2. This matches the integrating factor found using the standard formula for first-order linear equations, e∫P(x)dxe^{\int P(x)dx}e∫P(x)dx, where P(x)=−2/xP(x)=-2/xP(x)=−2/x.

Question 11

Consider the initial value problem given by (3xy+y2)+(x2+xy)y′=0(3xy + y^2) + (x^2 + xy)y' = 0(3xy+y2)+(x2+xy)y′=0, with the initial condition y(1)=−4y(1) = -4y(1)=−4. What is the value of y(2)y(2)y(2)?

  1. −2+6-2 + \sqrt{6}−2+6​
  2. −3-3−3
  3. −2−2-2 - \sqrt{2}−2−2​
  4. −2−6-2 - \sqrt{6}−2−6​ (correct answer)

Explanation: First, write the equation in differential form: (3xy+y2)dx+(x2+xy)dy=0(3xy + y^2)dx + (x^2 + xy)dy = 0(3xy+y2)dx+(x2+xy)dy=0. Let M=3xy+y2M = 3xy + y^2M=3xy+y2 and N=x2+xyN = x^2 + xyN=x2+xy. Then ∂M∂y=3x+2y\frac{\partial M}{\partial y} = 3x + 2y∂y∂M​=3x+2y and ∂N∂x=2x+y\frac{\partial N}{\partial x} = 2x + y∂x∂N​=2x+y. The equation is not exact. We check for an integrating factor μ(x)\mu(x)μ(x): 1N(∂M∂y−∂N∂x)=(3x+2y)−(2x+y)x2+xy=x+yx(x+y)=1x\frac{1}{N}(\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}) = \frac{(3x+2y)-(2x+y)}{x^2+xy} = \frac{x+y}{x(x+y)} = \frac{1}{x}N1​(∂y∂M​−∂x∂N​)=x2+xy(3x+2y)−(2x+y)​=x(x+y)x+y​=x1​. The integrating factor is μ(x)=e∫1xdx=x\mu(x) = e^{\int \frac{1}{x} dx} = xμ(x)=e∫x1​dx=x. Multiplying the DE by xxx gives (3x2y+xy2)dx+(x3+x2y)dy=0(3x^2y + xy^2)dx + (x^3 + x^2y)dy = 0(3x2y+xy2)dx+(x3+x2y)dy=0. This equation is exact. The solution f(x,y)=Cf(x,y)=Cf(x,y)=C is found by integrating ∂f∂y=x3+x2y\frac{\partial f}{\partial y} = x^3 + x^2y∂y∂f​=x3+x2y, which gives f(x,y)=x3y+12x2y2+h(x)f(x,y) = x^3y + \frac{1}{2}x^2y^2 + h(x)f(x,y)=x3y+21​x2y2+h(x). Differentiating with respect to xxx gives ∂f∂x=3x2y+xy2+h′(x)\frac{\partial f}{\partial x} = 3x^2y + xy^2 + h'(x)∂x∂f​=3x2y+xy2+h′(x). Setting this equal to the new MMM, we get h′(x)=0h'(x)=0h′(x)=0. So, the general solution is x3y+12x2y2=Cx^3y + \frac{1}{2}x^2y^2 = Cx3y+21​x2y2=C. Using y(1)=−4y(1)=-4y(1)=−4: (1)3(−4)+12(1)2(−4)2=−4+8=4(1)^3(-4) + \frac{1}{2}(1)^2(-4)^2 = -4 + 8 = 4(1)3(−4)+21​(1)2(−4)2=−4+8=4. So C=4C=4C=4. The particular solution is x3y+12x2y2=4x^3y + \frac{1}{2}x^2y^2 = 4x3y+21​x2y2=4. For x=2x=2x=2, we have 8y+2y2=48y + 2y^2 = 48y+2y2=4, or y2+4y−2=0y^2+4y-2=0y2+4y−2=0. The quadratic formula gives y=−4±16−4(−2)2=−2±6y = \frac{-4 \pm \sqrt{16-4(-2)}}{2} = -2 \pm \sqrt{6}y=2−4±16−4(−2)​​=−2±6​. Since the initial condition is y(1)=−4y(1)=-4y(1)=−4, we need the branch of the solution that is near −4-4−4. The value −2−6≈−4.45-2-\sqrt{6} \approx -4.45−2−6​≈−4.45 is on this branch, while −2+6≈0.45-2+\sqrt{6} \approx 0.45−2+6​≈0.45 is not.

Question 12

A student attempts to solve (2x+y2)dx+2xydy=0(2x + y^2)dx + 2xy dy = 0(2x+y2)dx+2xydy=0 by finding an integrating factor. They compute ∂M∂y−∂N∂xM=2y−2y2x+y2=0\frac{\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}}{M} = \frac{2y - 2y}{2x + y^2} = 0M∂y∂M​−∂x∂N​​=2x+y22y−2y​=0 and conclude no integrating factor is needed. What error did the student make?

  1. They computed ∂M∂y\frac{\partial M}{\partial y}∂y∂M​ incorrectly as 2y2y2y instead of 222
  2. They used the wrong formula; they should compute ∂N∂x−∂M∂yN\frac{\frac{\partial N}{\partial x} - \frac{\partial M}{\partial y}}{N}N∂x∂N​−∂y∂M​​
  3. They computed ∂N∂x\frac{\partial N}{\partial x}∂x∂N​ correctly but their conclusion is wrong since the equation is exact (correct answer)
  4. They should have computed ∂M∂y−∂N∂xN\frac{\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}}{N}N∂y∂M​−∂x∂N​​ instead of dividing by MMM

Explanation: Let's check the student's work: M=2x+y2M = 2x + y^2M=2x+y2, N=2xyN = 2xyN=2xy. We have ∂M∂y=2y\frac{\partial M}{\partial y} = 2y∂y∂M​=2y and ∂N∂x=2y\frac{\partial N}{\partial x} = 2y∂x∂N​=2y. The student computed these correctly. Since ∂M∂y=∂N∂x\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}∂y∂M​=∂x∂N​, the equation is exact and no integrating factor is needed. The student's conclusion that no integrating factor is needed is actually correct, but their reasoning about the formula is confused. The correct interpretation is that when ∂M∂y=∂N∂x\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}∂y∂M​=∂x∂N​, the equation is already exact. The student happened to get the right answer but for partially wrong reasons - they were checking for an integrating factor when they should have recognized exactness.

Question 13

Consider the non-exact equation M(x,y)dx+N(x,y)dy=0M(x,y)dx + N(x,y)dy = 0M(x,y)dx+N(x,y)dy=0 where ∂M∂y−∂N∂xxN−yM=2x2+y2\frac{\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}}{xN - yM} = \frac{2}{x^2 + y^2}xN−yM∂y∂M​−∂x∂N​​=x2+y22​. What type of integrating factor should be sought?

  1. An integrating factor of the form μ(x)\mu(x)μ(x) only
  2. An integrating factor of the form μ(y)\mu(y)μ(y) only
  3. An integrating factor of the form μ(xy)\mu(xy)μ(xy)
  4. An integrating factor of the form μ(x2+y2)\mu(x^2 + y^2)μ(x2+y2) (correct answer)

Explanation: The given expression ∂M∂y−∂N∂xxN−yM=2x2+y2\frac{\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}}{xN - yM} = \frac{2}{x^2 + y^2}xN−yM∂y∂M​−∂x∂N​​=x2+y22​ suggests looking for an integrating factor that depends on x2+y2x^2 + y^2x2+y2. This is because the denominator xN−yMxN - yMxN−yM appears in the standard formula for integrating factors of the form μ(x2+y2)\mu(x^2 + y^2)μ(x2+y2). When the expression ∂M∂y−∂N∂xxN−yM\frac{\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}}{xN - yM}xN−yM∂y∂M​−∂x∂N​​ depends only on x2+y2x^2 + y^2x2+y2, then an integrating factor μ(x2+y2)\mu(x^2 + y^2)μ(x2+y2) exists where dln⁡μd(x2+y2)=12⋅2x2+y2=1x2+y2\frac{d\ln\mu}{d(x^2 + y^2)} = \frac{1}{2} \cdot \frac{2}{x^2 + y^2} = \frac{1}{x^2 + y^2}d(x2+y2)dlnμ​=21​⋅x2+y22​=x2+y21​. The other options (μ(x)\mu(x)μ(x), μ(y)\mu(y)μ(y), μ(xy)\mu(xy)μ(xy)) would require different expressions in their respective formulas.

Question 14

Consider the equation (2xy2+y)dx+(2x2y+3x)dy=0(2xy^2 + y)dx + (2x^2y + 3x)dy = 0(2xy2+y)dx+(2x2y+3x)dy=0. After determining it's not exact, you find that multiplying by 1xy\frac{1}{xy}xy1​ makes it exact. What is the resulting exact equation?

  1. (2y+1x)dx+(2x+3y)dy=0(2y + \frac{1}{x})dx + (2x + \frac{3}{y})dy = 0(2y+x1​)dx+(2x+y3​)dy=0 (correct answer)
  2. (2y+1x)dx+(2x+3)dy=0(2y + \frac{1}{x})dx + (2x + 3)dy = 0(2y+x1​)dx+(2x+3)dy=0
  3. (2xy+1)dx+(2xy+3)dy=0(2xy + 1)dx + (2xy + 3)dy = 0(2xy+1)dx+(2xy+3)dy=0
  4. 2y+1xdx+2x+3ydy=0\frac{2y + 1}{x}dx + \frac{2x + 3}{y}dy = 0x2y+1​dx+y2x+3​dy=0

Explanation: First verify the original equation is not exact: M=2xy2+yM = 2xy^2 + yM=2xy2+y, N=2x2y+3xN = 2x^2y + 3xN=2x2y+3x. We have ∂M∂y=4xy+1\frac{\partial M}{\partial y} = 4xy + 1∂y∂M​=4xy+1 and ∂N∂x=4xy+3\frac{\partial N}{\partial x} = 4xy + 3∂x∂N​=4xy+3. Since 4xy+1≠4xy+34xy + 1 \neq 4xy + 34xy+1=4xy+3, it's not exact. Multiplying by μ=1xy\mu = \frac{1}{xy}μ=xy1​: 2xy2+yxydx+2x2y+3xxydy=0\frac{2xy^2 + y}{xy}dx + \frac{2x^2y + 3x}{xy}dy = 0xy2xy2+y​dx+xy2x2y+3x​dy=0, which simplifies to y(2xy+1)xydx+x(2xy+3)xydy=0\frac{y(2xy + 1)}{xy}dx + \frac{x(2xy + 3)}{xy}dy = 0xyy(2xy+1)​dx+xyx(2xy+3)​dy=0, giving (2xy+1x)dx+(2xy+3y)dy=0(\frac{2xy + 1}{x})dx + (\frac{2xy + 3}{y})dy = 0(x2xy+1​)dx+(y2xy+3​)dy=0, or (2y+1x)dx+(2x+3y)dy=0(2y + \frac{1}{x})dx + (2x + \frac{3}{y})dy = 0(2y+x1​)dx+(2x+y3​)dy=0. Check exactness: ∂∂y(2y+1x)=2\frac{\partial}{\partial y}(2y + \frac{1}{x}) = 2∂y∂​(2y+x1​)=2 and ∂∂x(2x+3y)=2\frac{\partial}{\partial x}(2x + \frac{3}{y}) = 2∂x∂​(2x+y3​)=2. Now it's exact.